joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42d058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x42a8ec
push ecx
lea eax, [ebp - 0x14]
mov edi, edx
push eax
xor esi, esi
call fcn.0040e377
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x402d7c
push esi
push 0x64
push eax
call fcn.0040e44b
add esp, 0xc
cmp eax, 0xffffffff
je 0x402d5f
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 1
push 0xa
push eax
call fcn.0040e9f1
add esp, 0x10
cmp eax, 1
jne 0x402d5f
lea eax, [ebp - 0x10]
push eax
call fcn.0040ea9d
push 0
push 0x73
push dword [ebp - 0x14]
mov esi, eax
call fcn.0040e44b
add esp, 0x10
cmp eax, 0xffffffff
je 0x402d5f
push dword [ebp - 0x14]
push 1
push 0x4f
push edi
call fcn.0040e9f1
xor ecx, ecx
add esp, 0x10
cmp eax, 1
cmovne esi, ecx
push dword [ebp - 0x14]
call fcn.0040e7b5
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret
push str.fopen_error
call fcn.0040eacf
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret

Function at 0x403390
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x42d058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x1c], eax
mov bl, 1
mov eax, dword [ebp + 0xc]
push 0x42a910
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], ecx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.0040e377
add esp, 0xc
test eax, eax
je 0x4033e9
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret 0xc
push esi
push edi
push dword [ebp - 8]
call fcn.0040efb1
push 2
push 0
push dword [ebp - 8]
mov esi, eax
call fcn.0040e44b
push dword [ebp - 8]
call fcn.0040efb1
push 0
push esi
push dword [ebp - 8]
mov edi, eax
call fcn.0040e44b
push edi
call fcn.0040d8c4
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 1
push edi
push eax
call fcn.0040e9f1
lea eax, [edi + edi*2]
push eax
mov dword [ebp - 0x10], eax
call fcn.0040d8c4
mov esi, eax
mov eax, dword [ebp - 0x18]
sub edi, eax
push edi
mov edi, dword [ebp - 0x14]
add eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00408550
add esp, 0x48
test eax, eax
je 0x40345a
xor bl, bl
jmp 0x403487
push 0x42a914
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
call fcn.0040e377
add esp, 0xc
test eax, eax
je 0x403476
xor bl, bl
jmp 0x403487
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x10]
push esi
call fcn.0040e627
add esp, 0x10
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x403497
push eax
call fcn.0040e7b5
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x4034a7
push eax
call fcn.0040e7b5
add esp, 4
test edi, edi
je 0x4034b4
push edi
call fcn.0040d8dc
add esp, 4
test esi, esi
je 0x4034c1
push esi
call fcn.0040d8dc
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404160
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x42d058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, 1
mov dword [ebp - 0x408], 0
push str.Mozilla_4.0__compatible_
mov edi, ecx
mov dword [ebp - 0x40c], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x410], eax
test eax, eax
jne 0x4041bb
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret
push 0
push SysReAllocString
push 0
push 0
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4041a9
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x4041e0
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0040f700
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push edi
call ebx
test esi, esi
je 0x40421e
mov eax, 0x5a4d
cmp word [ebp - 0x404], ax
jne 0x40422a
xor esi, esi
cmp dword [ebp - 0x408], esi
ja 0x4041e0
jmp 0x404234
mov dword [ebp - 0x40c], 0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x410]
call esi
cmp dword [ebp - 0x40c], 0
mov ecx, dword [ebp - 4]
pop ebx
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret
Function at 0x404260
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x42d058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x2b4], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ecx, ecx
mov dword [ebp - 0x4c], 0x510051
xor bl, bl
mov dword [ebp - 0x48], 0x430050
mov dword [ebp - 0x44], 0x540052
mov dword [ebp - 0x40], 0x2e0050
mov dword [ebp - 0x3c], 0x780065
mov dword [ebp - 0x38], 0x65
mov dword [ebp - 0x34], 0x360033
mov dword [ebp - 0x30], 0x740030
mov dword [ebp - 0x2c], 0x610072
mov dword [ebp - 0x28], 0x2e0079
mov dword [ebp - 0x24], 0x780065
mov dword [ebp - 0x20], 0x65
mov dword [ebp - 0x88], 0x610042
mov dword [ebp - 0x84], 0x640069
mov dword [ebp - 0x80], 0x530075
mov dword [ebp - 0x7c], 0x530064
mov dword [ebp - 0x78], 0x630076
mov dword [ebp - 0x74], 0x65002e
mov dword [ebp - 0x70], 0x650078
mov word [ebp - 0x6c], cx
mov dword [ebp - 0x68], 0x78006b
mov dword [ebp - 0x64], 0x730065
mov dword [ebp - 0x60], 0x6f0063
mov dword [ebp - 0x5c], 0x650072
mov dword [ebp - 0x58], 0x65002e
mov dword [ebp - 0x54], 0x650078
mov word [ebp - 0x50], cx
mov dword [ebp - 0x1c], 0x610072
mov dword [ebp - 0x18], 0x6d0076
mov dword [ebp - 0x14], 0x6e006f
mov dword [ebp - 0x10], 0x2e0064
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
test eax, eax
je 0x40441f
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040f904
add esp, 8
test eax, eax
je 0x40441d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040f904
add esp, 8
test eax, eax
je 0x40441d
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040f904
add esp, 8
test eax, eax
je 0x40441d
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040f904
add esp, 8
test eax, eax
je 0x40441d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040f904
add esp, 8
test eax, eax
je 0x40441d
lea eax, [ebp - 0x2b4]
push eax
push esi
call edi
test eax, eax
jne 0x404393
jmp 0x40441f
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret
Function at 0x406f40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x42d058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, ecx
lea esi, [ecx + 1]
jmp 0x406f60
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406f60
sub ecx, esi
mov dword [ebp - 0x7c], 0
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.00406670
add esp, 4
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x14]
call fcn.00406740
xor esi, esi
lea edi, [ebp - 0x37]
mov bl, byte [ebp + esi - 0x14]
movzx eax, bl
push eax
lea eax, [edi - 1]
push str._02x
push eax
call fcn.0040e6a9
shl bl, 4
movzx eax, bl
push eax
push str._02x
push edi
call fcn.0040e6a9
inc esi
add esp, 0x18
add edi, 2
cmp esi, 0x10
jl 0x406fc1
push 0x20
lea eax, [ebp - 0x38]
push eax
push 0x42f4d0
call fcn.0040f0b0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x42f4d0
pop edi
pop esi
pop ebx
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret
Function at 0x40aeb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x40aebc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0040aee0

Function at 0x40c9e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x40ca05
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x40ca1d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x40ca4c
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x40ca8e
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x40cb62
sub edx, 0x10000
js 0x40cb62
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x40ca74
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x40ca74
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x40cae5
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x40cae2
add edx, 8
jne 0x40cac9
jmp 0x40cb53
add edx, 4
test eax, 0xffff
jne 0x40caf2
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x40cb53
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x40cb26
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x40ca74
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x40cb62
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x40ca74
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x40cb73
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41a4de
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00412960
mov dword [ebp - 0x14], eax
cmp dword [0x42f498], esi
jne 0x41a5d1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41a55e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41a6b1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41a6b1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a6b1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42f498], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42f49c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42f4a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42f4a8], eax
test eax, eax
je 0x41a5ce
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42f4a4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41a5f6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41a5e9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41a60b
push 4
pop eax
jmp 0x41a6b3
cmp dword [ebp - 0x14], esi
je 0x41a60b
push dword [0x42f498]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41a5f0
mov eax, dword [0x42f4a4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41a669
cmp dword [0x42f4a8], edi
je 0x41a669
push eax
call ebx
push dword [0x42f4a8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41a669
test eax, eax
je 0x41a669
call ecx
test eax, eax
je 0x41a65e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41a65e
test byte [ebp - 8], 1
jne 0x41a669
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41a699
mov eax, dword [0x42f49c]
cmp eax, edi
je 0x41a696
push eax
call ebx
test eax, eax
je 0x41a696
call eax
mov esi, eax
test esi, esi
je 0x41a696
mov eax, dword [0x42f4a0]
cmp eax, edi
je 0x41a696
push eax
call ebx
test eax, eax
je 0x41a696
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42f498]
call ebx
test eax, eax
je 0x41a6b1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41a6b3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret
Function at 0x10901650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x300
mov eax, dword [sym.imp.core.dll_int_GUnicodeOS]
cmp dword [eax], 0
push esi
mov esi, dword [sym.imp.core.dll_unsigned_short_int____cdecl_appStrcpy_unsigned_short_int___unsigned_short_int_const__]
push edi
push 0x100
jne 0x10901739
xor eax, eax
mov byte [esp + 0x10c], 0
mov ecx, 0x3f
lea edi, [esp + 0x10d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0xc], 0
mov ecx, 0x3f
lea edi, [esp + 0xd]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x20c], 0
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10c]
push ecx
stosb byte es:[edi], al
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
push 0x100
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
push 0x100
lea eax, [esp + 0x20c]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.core.dll_unsigned_short_int_const____cdecl_appFromAnsi_char_const___unsigned_short_int__]
lea ecx, [esp + 0x108]
push 0
push ecx
call edi
push eax
push 0x1092a5e0
call esi
lea edx, [esp + 0x18]
push 0
push edx
call edi
push eax
push 0x1092a7e0
call esi
lea eax, [esp + 0x228]
push 0
push eax
call edi
push eax
push 0x1092a9e0
call esi
add esp, 0x30
jmp 0x10901766
push 0x1092a5e0
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
push 0x100
push 0x1092a7e0
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0x100
push 0x1092a9e0
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.core.dll_int___cdecl_appStrlen_unsigned_short_int_const__]
push str..ICD
push 0x1092a9e0
call edi
lea ecx, [eax*2 + 0x1092a9d8]
add esp, 4
push ecx
call dword [sym.imp.core.dll_int___cdecl_appStricmp_unsigned_short_int_const___unsigned_short_int_const__]
add esp, 8
test eax, eax
jne 0x109017ac
push str..EXE
push 0x1092a9e0
call edi
lea edx, [eax*2 + 0x1092a9d8]
add esp, 4
push edx
call esi
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1090b150
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10918342
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call dword [0x10919034]
mov ecx, ebx
mov dword [esp + 0x30], 0
call dword [sym.imp.core.dll_public:_unsigned_short_int_const____thiscall_FString::operator_void_const]
push eax
call dword [sym.imp.core.dll_int___cdecl_appIsAbsolutePath_unsigned_short_int_const__]
add esp, 4
test eax, eax
jne 0x1090b1d3
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 4]
call dword [0x10919034]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call dword [sym.imp.core.dll_public:_class_FString____thiscall_FString::operator_class_FString_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call dword [sym.imp.core.dll_public:_void___thiscall_FString::destructor_void_]
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x4c]
push 0xc
lea edi, [esi + 0x1c]
push 1
mov ecx, edi
mov ebp, eax
call dword [sym.imp.core.dll_public:_int___thiscall_FArray::Add_int__int_]
mov edx, dword [edi]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x1090b203
push ebx
call dword [sym.imp.core.dll_public:_void___thiscall_FString::constructor_class_FString_const__]
push 0xc
lea edi, [esi + 0x28]
push 1
mov ecx, edi
call dword [sym.imp.core.dll_public:_int___thiscall_FArray::Add_int__int_]
mov ecx, dword [edi]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x1090b229
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.core.dll_public:_void___thiscall_FString::constructor_class_FString_const__]
test ebp, ebp
je 0x1090b255
push 4
lea edi, [esi + 0x40]
push 1
mov ecx, edi
call dword [sym.imp.core.dll_public:_int___thiscall_FArray::Add_int__int_]
mov ecx, dword [edi]
add esi, 0x34
push 4
mov dword [ecx + eax*4], ebp
push 1
mov ecx, esi
call dword [sym.imp.core.dll_public:_int___thiscall_FArray::Add_int__int_]
mov edx, dword [esi]
mov dword [edx + eax*4], ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.core.dll_public:_void___thiscall_FString::destructor_void_]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1090b7a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x808
mov eax, dword [sym.imp.core.dll_int_GUnicodeOS]
mov ecx, dword [eax]
push esi
xor eax, eax
test ecx, ecx
push edi
mov dword [esp + 0xc], 0
je 0x1090b7fd
mov word [esp + 0x10], ax
mov ecx, 0x1ff
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0x400
stosw word es:[edi], ax
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov esi, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call dword [sym.imp.core.dll_public:_void___thiscall_FString::constructor_unsigned_short_int_const__]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x400
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.core.dll_unsigned_short_int_const____cdecl_appFromAnsi_char_const___unsigned_short_int__]
mov esi, dword [ebp + 8]
add esp, 8
push eax
mov ecx, esi
call dword [sym.imp.core.dll_public:_void___thiscall_FString::constructor_unsigned_short_int_const__]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1090d8f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x109184af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x1091c820
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
call dword [sym.imp.core.dll_public:_void___thiscall_FArray::constructor_void_]
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
call fcn.10906750
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 2
mov dword [esi], 0x1091f2a0
call dword [sym.imp.core.dll_public:_void___thiscall_FString::constructor_void_]
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 3
call dword [sym.imp.core.dll_public:_void___thiscall_FString::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 4
call dword [sym.imp.core.dll_public:_void___thiscall_FString::constructor_void_]
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 5
call dword [sym.imp.core.dll_public:_void___thiscall_FString::constructor_void_]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x109173dc
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x10920a80
call fcn.10917764
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1091741c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1091741c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10917434
cmp eax, 0x20b
je 0x10917421
mov dword [ebp - 0x1c], ebx
jmp 0x10917448
cmp dword [ecx + 0x84], 0xe
jbe 0x1091741c
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x10917442
cmp dword [ecx + 0x74], 0xe
jbe 0x1091741c
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcr71.dll___set_app_type]
pop ecx
or dword [0x1094e540], 0xffffffff
or dword [0x1094e544], 0xffffffff
call dword [sym.imp.msvcr71.dll___p__fmode]
mov ecx, dword [0x1094e538]
mov dword [eax], ecx
call dword [sym.imp.msvcr71.dll___p__commode]
mov ecx, dword [0x1094e534]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcr71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1094e53c], eax
call fcn.109176be
call fcn.1091775e
cmp dword [0x1092a5d0], ebx
jne 0x109174a8
push fcn.1091775e
call dword [sym.imp.msvcr71.dll___setusermatherr]
pop ecx
call fcn.1091774c
push 0x10929028
push 0x10929024
call sub.msvcr71.dll__initterm
push 0x10917702
call fcn.109173ca
mov eax, dword [0x1094e530]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x1094e52c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.msvcr71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x109174fc
push 8
call sub.msvcr71.dll__amsg_exit
pop ecx
push 0x10929020
push section..data
call sub.msvcr71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.msvcr71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1091757a
cmp al, bl
je 0x10917526
cmp dword [ebp - 0x20], ebx
jne 0x1091757a
mov al, byte [esi]
cmp al, bl
je 0x10917536
cmp al, 0x20
ja 0x10917536
inc esi
mov dword [ebp - 0x24], esi
jmp 0x10917526
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x10917552
movzx eax, word [ebp - 0x54]
jmp 0x10917555
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.109115c0
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10917572
push esi
call dword [sym.imp.msvcr71.dll_exit]
call dword [sym.imp.msvcr71.dll__cexit]
jmp 0x109175cf
cmp al, 0x22
jne 0x10917589
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcr71.dll__ismbblead]
pop ecx
test eax, eax
je 0x1091759c
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x10917514
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.1091779f
ret