joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f150
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.00520250
push 0xffffffffffffffff
push 0x529098
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp + 0x2838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x630]
push ebx
push eax
call fcn.004f1ee0
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x42f351
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x42f351
push esi
call edi
cmp eax, 0xffa
jge 0x42f351
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x55cc1c
lea eax, [ebp + 0x630]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2c]
call fcn.00406e70
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042cfd0
mov ecx, eax
call fcn.0042d090
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406de0
test esi, esi
je 0x42f351
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42f351
lea ecx, [ebp]
call fcn.0042eb90
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x42f276
push 1
push 0
lea eax, [ebp + 0x630]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x42f284
inc edi
add esi, 0x210
cmp edi, 3
jl 0x42f255
jmp 0x42f2a6
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x42f29e
add ebx, 0x10
test ebx, ebx
jne 0x42f34d
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x630]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x42f348
mov dword [ebp - 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x10], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2630]
push 0
push eax
call fcn.004f1ee0
add esp, 0xc
lea eax, [ebp + 0x2630]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42f33e
push 1
push 0
lea eax, [ebp + 0x630]
push eax
lea eax, [ebp + 0x2630]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x42f348
inc esi
cmp esi, 2
jb 0x42f2e0
mov eax, ebx
jmp 0x42f353
mov ebx, 0x10
mov eax, ebx
jmp 0x42f353
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2838]
xor ecx, ebp
call fcn.004ef136
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x4327e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x58a87c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.004f1ee0
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x432877
cmp dword [esp + 8], 6
jb 0x432877
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.004ef136
add esp, 0x118
ret

Function at 0x432890
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5295f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.00406e70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0042cfd0
mov ecx, eax
call fcn.0042d090
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406de0
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.00406e70
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.0042cfd0
mov ecx, eax
call fcn.0042d090
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406de0
test ebx, ebx
je 0x4329a5
test esi, esi
je 0x4329a5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434930
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5299e8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.00406d60
test al, al
jne 0x43498a
cmp byte [ebp + 8], al
jne 0x434991
mov eax, dword [ebx]
test eax, eax
je 0x434af1
cmp byte [eax + 0xa5], 0
je 0x434af1
xor al, al
jmp 0x434b07
mov ecx, esi
call fcn.00406d60
test al, al
jne 0x434af1
push esi
call fcn.00413940
add esp, 4
test al, al
je 0x4349b9
push esi
push edi
call fcn.00434560
jmp 0x434aed
push 0xb
mov ecx, esi
call fcn.00406d70
push eax
mov ecx, edi
call fcn.00406d70
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x4349de
mov al, 1
jmp 0x434aed
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.00406eb0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.004367c0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.00406eb0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.004367c0
test al, al
jne 0x434a2b
cmp byte [ebp - 0x60], al
je 0x434a67
push 0xb
lea ecx, [ebp - 0x40]
call fcn.00406d70
push eax
lea ecx, [ebp - 0x58]
call fcn.00406d70
push eax
call ebx
test eax, eax
je 0x434a67
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00406de0
mov al, 1
jmp 0x434aed
mov ecx, esi
call fcn.00436160
cmp eax, 0xffffffff
je 0x434ad0
push esi
lea ecx, [ebp - 0x28]
call fcn.00406ed0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00436580
test al, al
je 0x434ac4
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00436200
test al, al
je 0x434ac4
mov edx, esi
mov ecx, edi
call fcn.00436200
lea ecx, [ebp - 0x28]
test al, al
je 0x434abd
call fcn.00436310
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00406de0
jmp 0x434a45
mov edx, esi
call fcn.00436200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00406de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00406de0
xor al, al
test al, al
jne 0x434b05
push edi
call fcn.00413940
add esp, 4
test al, al
je 0x434b05
mov ecx, edi
call fcn.00436310
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef136
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4360b0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5273b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
and esi, 0xffffb1af
push esi
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4360f9
mov al, 1
jmp 0x436141
lea ecx, [ebp - 0x28]
call fcn.00406eb0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.004367c0
test al, al
je 0x43612e
push esi
lea ecx, [ebp - 0x28]
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43612e
mov bl, 1
jmp 0x436130
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406de0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef136
mov esp, ebp
pop ebp
ret

Function at 0x436160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5273b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4361de
lea ecx, [ebp - 0x28]
call fcn.00406eb0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.004367c0
test al, al
je 0x4361cd
lea ecx, [ebp - 0x28]
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef136
mov esp, ebp
pop ebp
ret
Function at 0x436310
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529da8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00406d70
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x436356
mov al, 1
jmp 0x4364a8
mov ecx, esi
call fcn.00406d70
push eax
lea ecx, [ebp - 0x28]
call fcn.00406e70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00436160
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406de0
cmp ebx, 0xffffffff
jne 0x436395
xor al, al
jmp 0x4364a8
mov ecx, esi
call fcn.00406d70
push eax
lea ecx, [ebp - 0x28]
call fcn.00406e70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
call fcn.00406d70
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call ebx
test eax, eax
je 0x4363c7
xor bl, bl
jmp 0x436411
lea ecx, [ebp - 0x40]
call fcn.00406eb0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004367c0
test al, al
je 0x436403
push 0
lea ecx, [ebp - 0x40]
call fcn.00406d70
push eax
call ebx
test eax, eax
je 0x436403
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00406de0
xor bl, bl
jmp 0x436411
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00406de0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406de0
test bl, bl
jne 0x43638e
mov ecx, esi
call fcn.00406d70
push eax
call edi
test eax, eax
jne 0x43634f
lea ecx, [ebp - 0x28]
call fcn.00406eb0
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004367c0
test al, al
je 0x43646a
lea ecx, [ebp - 0x28]
call fcn.00406d70
push eax
call edi
test eax, eax
je 0x43646a
mov bl, 1
jmp 0x436497
mov ecx, esi
call fcn.00406d70
push eax
lea ecx, [ebp - 0x40]
call fcn.00406e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.004360b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00406de0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406de0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef136
mov esp, ebp
pop ebp
ret
Function at 0x4364d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x58a87c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
lea eax, [esp + 4]
push esi
push edi
push 0x20c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.004f1ee0
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.00406d70
push eax
mov ecx, edi
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x436565
xor eax, eax
mov word [esp + 0x216], ax
lea eax, [esp + 0xc]
push eax
call fcn.00407530
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00407120
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004ef136
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ef136
add esp, 0x210
ret
Function at 0x446880
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c5b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.004ef147
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00448570
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00448570
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.00406eb0
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.004467e0
mov byte [ebp - 4], 8
lea esi, [edi + 0xb8]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00406eb0
mov byte [ebp - 4], 9
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xf0]
call fcn.00406eb0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x108]
call fcn.00409310
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x120]
call fcn.00409310
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x449d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5273b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406ed0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00411e50
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00407110
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x449eab
call fcn.00403750
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x449df0
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x449e0a
mov ecx, esi
cmp eax, 8
jb 0x449dff
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x449f26
mov ecx, esi
cmp eax, 8
jb 0x449e13
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x449e29
mov ecx, esi
cmp eax, 8
jb 0x449e22
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x449e7c
push 0x5c
lea eax, [ebp - 0x28]
push 0x2f
push eax
call fcn.00411c10
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ecx, esi
cmp eax, 8
jb 0x449e45
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x449e7c
mov ecx, esi
cmp eax, 8
jb 0x449e55
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x449e7c
mov ecx, esi
cmp eax, 8
jb 0x449e65
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x449e7c
cmp eax, 8
jb 0x449e72
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x449f07
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406de0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef136
mov esp, ebp
pop ebp
ret
call fcn.00407110
cmp eax, 2
jne 0x449e7c
lea ecx, [ebp - 0x28]
call fcn.00403750
mov edx, eax
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x449ec9
mov edx, dword [eax]
cmp word [edx + 2], 0x3a
jne 0x449e7c
mov edx, eax
cmp ecx, 8
jb 0x449ed9
mov edx, dword [eax]
cmp word [edx], 0x61
jb 0x449e7c
cmp ecx, 8
jb 0x449ee6
mov eax, dword [eax]
cmp word [eax], 0x7a
ja 0x449e7c
push 0x55c2ac
call fcn.00407530
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x55c2ac
call fcn.004078b0
lea ecx, [ebp - 0x28]
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x449e7c
shr eax, 4
and al, 1
mov byte [edi], al
mov bl, 1
jmp 0x449e7e
Function at 0x44a8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x5900b0], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x58fdb0], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x58ffb0], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x58feb0], al
inc esi
cmp esi, 0x100
jl 0x44a9f0
pop esi
add esp, 0x80
ret
Function at 0x44ee90
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x30]
sub esp, 0x30
push 0xffffffffffffffff
push 0x52d516
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp + 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x38]
mov edi, dword [esi]
test edi, edi
jne 0x44eed3
xor al, al
jmp 0x44f09a
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0044f0c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00406d60
test al, al
jne 0x44f05d
lea ecx, [ebp - 0x44]
call fcn.00406d60
test al, al
jne 0x44f05d
cmp dword [ebp - 0x2c], 0
jne 0x44f02f
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
jne 0x44efc8
lea eax, [ebp]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp + 0x24], xmm0
call fcn.004481a0
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00406d60
test al, al
jne 0x44efac
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp]
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44efac
test edi, edi
je 0x44efac
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
push 8
lea eax, [ebp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44efa5
xorps xmm0, xmm0
movlpd qword [ebp + 0x24], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x28]
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00406de0
mov dword [esi + 8], edi
mov edx, edi
mov dword [esi + 0xc], ebx
mov ecx, ebx
or edx, ecx
je 0x44f056
lea eax, [ebp + 0x1c]
push eax
call fcn.004b1b20
mov ecx, dword [esi + 8]
add esp, 4
mov esi, dword [esi + 0xc]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
cmp edx, esi
ja 0x44eff2
jb 0x44f056
cmp eax, ecx
jb 0x44f056
push esi
push ecx
push edx
push eax
call fcn.0044f360
test al, al
je 0x44f05d
lea ecx, [ebp + 0x1c]
call fcn.004b1d00
test eax, eax
js 0x44f056
lea ecx, [ebp + 0x1c]
call fcn.004b1d00
cmp eax, 3
jg 0x44f056
call fcn.004f7ef7
xor edx, edx
mov ecx, 0xf0
div ecx
cmp edx, 1
jne 0x44f05d
mov bl, dl
jmp 0x44f05f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44f05a
cmp ecx, eax
jbe 0x44f05a
sub ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
add edx, 2
cmp edx, dword [ebp - 0x2c]
jb 0x44f05d
mov bl, 1
jmp 0x44f05f
mov dword [esi + 0x10], ecx
xor bl, bl
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.00406de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00406de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.00406de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00406de0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c]
xor ecx, ebp
call fcn.004ef136
lea esp, [ebp + 0x30]
pop ebp
ret 4
Function at 0x44f170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d598
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call fcn.004f7fa9
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x44f24a
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.004481a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00406d60
test al, al
jne 0x44f23b
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44f23b
test esi, esi
je 0x44f23b
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef136
mov esp, ebp
pop ebp
ret 4