joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bf70
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ed38
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d404c]
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.004070c0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x41bfb6
mov al, 1
jmp 0x41c108
mov ecx, esi
call fcn.004070c0
push eax
lea ecx, [ebp - 0x28]
call fcn.00407220
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041bcc0
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407180
cmp ebx, 0xffffffff
jne 0x41bff5
xor al, al
jmp 0x41c108
mov ecx, esi
call fcn.004070c0
push eax
lea ecx, [ebp - 0x28]
call fcn.00407220
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
call fcn.004070c0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call ebx
test eax, eax
je 0x41c027
xor bl, bl
jmp 0x41c071
lea ecx, [ebp - 0x40]
call fcn.00407260
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041c740
test al, al
je 0x41c063
push 0
lea ecx, [ebp - 0x40]
call fcn.004070c0
push eax
call ebx
test eax, eax
je 0x41c063
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407180
xor bl, bl
jmp 0x41c071
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407180
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407180
test bl, bl
jne 0x41bfee
mov ecx, esi
call fcn.004070c0
push eax
call edi
test eax, eax
jne 0x41bfaf
lea ecx, [ebp - 0x28]
call fcn.00407260
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041c740
test al, al
je 0x41c0ca
lea ecx, [ebp - 0x28]
call fcn.004070c0
push eax
call edi
test eax, eax
je 0x41c0ca
mov bl, 1
jmp 0x41c0f7
mov ecx, esi
call fcn.004070c0
push eax
lea ecx, [ebp - 0x40]
call fcn.00407220
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.0041bc10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00407180
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407180
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.00477737
mov esp, ebp
pop ebp
ret
Function at 0x41c130
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x624]
sub esp, 0x624
push 0xffffffffffffffff
push 0x49ed68
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp + 0x620], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4d7578]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0x4d7578
test eax, eax
je 0x41c185
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, 0x4d7554
call fcn.004070b0
test al, al
jne 0x41c1e0
mov ecx, 0x4d7554
call fcn.004073c0
cmp esi, eax
je 0x41c1c2
call fcn.004073c0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x41c1b7
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
mov ecx, esi
call fcn.00407470
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4d7578]
test eax, eax
je 0x41c1d9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x41c2a7
push 0x20c
lea eax, [ebp + 0x414]
push 0
push eax
call fcn.0047a5f0
add esp, 0xc
lea eax, [ebp + 0x414]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x41c28e
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x61e], ax
lea eax, [ebp]
push eax
call fcn.0047a5f0
add esp, 0xc
lea eax, [ebp]
push 0x208
push eax
lea eax, [ebp + 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x41c272
test eax, eax
je 0x41c272
add eax, eax
cmp eax, 0x412
jae 0x41c2cf
xor ecx, ecx
mov word [ebp + eax], cx
lea eax, [ebp]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp]
push eax
jmp 0x41c1bb
lea eax, [ebp + 0x414]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp + 0x414]
push eax
jmp 0x41c1bb
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4d7578]
test eax, eax
je 0x41c2a5
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x620]
xor ecx, ebp
call fcn.00477737
lea esp, [ebp + 0x624]
pop ebp
ret
call fcn.00477d91
int3

Function at 0x41c2e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4d404c]
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.0047a5f0
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.004070c0
push eax
mov ecx, edi
call fcn.004070c0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41c375
xor eax, eax
mov word [esp + 0x216], ax
lea eax, [esp + 0xc]
push eax
call fcn.004075d0
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00407470
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00477737
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00477737
add esp, 0x210
ret
Function at 0x41c810
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4d404c]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.00477748
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.0047a5f0
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x41c86c
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.00477737
add esp, 0x120
ret
Function at 0x422010
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f948
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4d404c]
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.004070b0
test al, al
jne 0x42206a
cmp byte [ebp + 8], al
jne 0x422071
mov eax, dword [ebx]
test eax, eax
je 0x4221d1
cmp byte [eax + 0xa5], 0
je 0x4221d1
xor al, al
jmp 0x4221e7
mov ecx, esi
call fcn.004070b0
test al, al
jne 0x4221d1
push esi
call fcn.0040a970
add esp, 4
test al, al
je 0x422099
push esi
push edi
call fcn.00421bd0
jmp 0x4221cd
push 0xb
mov ecx, esi
call fcn.004070c0
push eax
mov ecx, edi
call fcn.004070c0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x4220be
mov al, 1
jmp 0x4221cd
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.00407260
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.0041c740
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.00407260
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0041c740
test al, al
jne 0x42210b
cmp byte [ebp - 0x60], al
je 0x422147
push 0xb
lea ecx, [ebp - 0x40]
call fcn.004070c0
push eax
lea ecx, [ebp - 0x58]
call fcn.004070c0
push eax
call ebx
test eax, eax
je 0x422147
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407180
mov al, 1
jmp 0x4221cd
mov ecx, esi
call fcn.0041bcc0
cmp eax, 0xffffffff
je 0x4221b0
push esi
lea ecx, [ebp - 0x28]
call fcn.00407280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0041c390
test al, al
je 0x4221a4
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041bd60
test al, al
je 0x4221a4
mov edx, esi
mov ecx, edi
call fcn.0041bd60
lea ecx, [ebp - 0x28]
test al, al
je 0x42219d
call fcn.0041bf70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00407180
jmp 0x422125
mov edx, esi
call fcn.0041bd60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00407180
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407180
xor al, al
test al, al
jne 0x4221e5
push edi
call fcn.0040a970
add esp, 4
test al, al
je 0x4221e5
mov ecx, edi
call fcn.0041bf70
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.00477737
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423930
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4d404c]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call fcn.0047a5f0
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4239ae
cmp dword [esp + 0x14], 6
jb 0x4239ae
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, 0x80000001
call fcn.004237a0
add esp, 0xc
test al, al
je 0x4239ae
cmp word [esi], 0
jne 0x423a06
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, 0x80000000
call fcn.004237a0
add esp, 0xc
test al, al
je 0x4239da
cmp word [esi], 0
jne 0x423a06
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, 0x80000001
call fcn.004237a0
add esp, 0xc
test al, al
je 0x423a1b
cmp word [esi], 0
je 0x423a1b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00477737
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.00477737
mov esp, ebp
pop ebp
ret
Function at 0x423ff0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.00490610
push 0xffffffffffffffff
push 0x49fd48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d404c]
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.0047a5f0
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x4241f1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x4241f1
push esi
call edi
cmp eax, 0xffa
jge 0x4241f1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x4bf130
lea eax, [ebp + 0x630]
push eax
call esi
push 0x4bf134
lea ecx, [ebp - 0x2c]
call fcn.00407220
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00415ab0
mov ecx, eax
call fcn.00415b70
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407180
test esi, esi
je 0x4241f1
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4241f1
lea ecx, [ebp]
call fcn.00423a30
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x424116
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 0x424124
inc edi
add esi, 0x210
cmp edi, 3
jl 0x4240f5
jmp 0x424146
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x42413e
add ebx, 0x10
test ebx, ebx
jne 0x4241ed
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 0x4241e8
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.0047a5f0
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 0x4241de
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 0x4241e8
inc esi
cmp esi, 2
jb 0x424180
mov eax, ebx
jmp 0x4241f3
mov ebx, 0x10
mov eax, ebx
jmp 0x4241f3
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.00477737
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x427880
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4d404c]
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.0047a5f0
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x427917
cmp dword [esp + 8], 6
jb 0x427917
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.00477737
add esp, 0x118
ret

Function at 0x427930
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0270
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4d404c]
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.00407220
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00415ab0
mov ecx, eax
call fcn.00415b70
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407180
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.00407220
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.00415ab0
mov ecx, eax
call fcn.00415b70
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00407180
test ebx, ebx
je 0x427a45
test esi, esi
je 0x427a45
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 0x42df30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d404c]
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, edx
mov dword [ebp - 0x2c], ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407280
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004089d0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00407460
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x42e05e
call fcn.004073c0
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x42dfa3
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x42dfbd
mov ecx, esi
cmp eax, 8
jb 0x42dfb2
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x42e126
mov ecx, esi
cmp eax, 8
jb 0x42dfc6
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x42dfdc
mov ecx, esi
cmp eax, 8
jb 0x42dfd5
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x42e02f
push 0x5c
lea eax, [ebp - 0x28]
push 0x2f
push eax
call fcn.00408810
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ecx, esi
cmp eax, 8
jb 0x42dff8
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x42e02f
mov ecx, esi
cmp eax, 8
jb 0x42e008
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x42e02f
mov ecx, esi
cmp eax, 8
jb 0x42e018
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x42e02f
cmp eax, 8
jb 0x42e025
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x42e107
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407180
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.00477737
mov esp, ebp
pop ebp
ret
call fcn.00407460
cmp eax, 2
jne 0x42e02f
lea ecx, [ebp - 0x28]
call fcn.004073c0
mov esi, eax
mov edi, dword [esi + 0x14]
cmp edi, 8
jb 0x42e07c
mov eax, dword [esi]
cmp word [eax + 2], 0x3a
jne 0x42e02f
mov eax, esi
cmp edi, 8
jb 0x42e08c
mov eax, dword [esi]
cmp word [eax], 0x61
jb 0x42e02f
mov eax, esi
cmp edi, 8
jb 0x42e09b
mov eax, dword [esi]
cmp word [eax], 0x7a
ja 0x42e02f
push 0x4b9970
call fcn.004075d0
mov edx, dword [esi + 0x10]
mov ecx, edi
sub ecx, edx
add esp, 4
cmp eax, ecx
ja 0x42e0f1
lea ebx, [edx + eax]
mov dword [esi + 0x10], ebx
cmp edi, 8
jb 0x42e0c6
mov esi, dword [esi]
push eax
lea eax, [esi + edx*2]
push 0x4b9970
push eax
call fcn.004077e0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.004077d0
mov ebx, dword [ebp - 0x2c]
add esp, 0x14
jmp 0x42e107
push eax
push 0x4b9970
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00407c00
lea ecx, [ebp - 0x28]
call fcn.004070c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42e02f
shr eax, 4
and al, 1
mov byte [ebx], al
mov bl, 1
jmp 0x42e031
Function at 0x42f210
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 + 0x4d7890], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x4d7590], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x4d7790], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x4d7690], al
inc esi
cmp esi, 0x100
jl 0x42f320
pop esi
add esp, 0x80
ret
Function at 0x430f90
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x628]
sub esp, 0x628
push 0xffffffffffffffff
push 0x4a1080
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp + 0x624], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x630]
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp + 0x634]
call fcn.00407260
mov dword [ebp - 4], 0
mov eax, dword [0x4d7578]
mov dword [ebp], 0
mov dword [ebp], 0x4d7578
test eax, eax
je 0x431004
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov ecx, 0x4d7554
call fcn.004070b0
test al, al
jne 0x431048
mov ecx, 0x4d7554
call fcn.004073c0
lea ecx, [ebp - 0x24]
cmp ecx, eax
je 0x4310fd
mov ecx, 0x4d7554
call fcn.004073c0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x43103f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x4310f5
push 0x20c
lea eax, [ebp + 0x418]
push 0
push eax
call fcn.0047a5f0
add esp, 0xc
lea eax, [ebp + 0x418]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x431199
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x622], ax
lea eax, [ebp + 4]
push eax
call fcn.0047a5f0
add esp, 0xc
lea eax, [ebp + 4]
push 0x208
push eax
lea eax, [ebp + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x4310de
test eax, eax
je 0x4310de
add eax, eax
cmp eax, 0x412
jae 0x4311ec
xor ecx, ecx
mov word [ebp + eax + 4], cx
lea eax, [ebp + 4]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp + 4]
jmp 0x4310f4
lea eax, [ebp + 0x418]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp + 0x418]
push eax
lea ecx, [ebp - 0x24]
call fcn.00407470
mov byte [ebp - 4], 0
mov eax, dword [0x4d7578]
test eax, eax
je 0x431111
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push edi
lea eax, [ebp - 0x24]
mov dword [ebp], 0
push eax
mov ecx, esi
call fcn.00430f20
test al, al
je 0x431130
mov bl, 1
jmp 0x4311b6
push 0x20c
lea eax, [ebp + 0x418]
push 0
push eax
call fcn.0047a5f0
add esp, 0xc
lea eax, [ebp + 0x418]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x4311b4
xor eax, eax
mov word [ebp + 0x622], ax
lea eax, [ebp + 0x418]
push eax
call fcn.004075d0
add esp, 4
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp + 0x418]
push eax
call fcn.00407470
push ebx
push edi
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00430f20
mov bl, al
jmp 0x4311b6
mov byte [ebp - 4], 0
mov eax, dword [0x4d7578]
test eax, eax
je 0x4311ad
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp], 0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00407180
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 + 0x624]
xor ecx, ebp
call fcn.00477737
lea esp, [ebp + 0x628]
pop ebp
ret 8
call fcn.00477d91
int3