joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ac60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45ac93
push esi
call fcn.0045dd70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45ac8c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45ad19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45ad02
mov eax, dword [esi + 8]
test eax, eax
je 0x45acb7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45acfe
cmp eax, 2
je 0x45ad02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45acaa
cmp eax, 3
je 0x45acdd
cmp eax, 1
jne 0x45acaa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45acaa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45acaa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045ad40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45ad28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045ad40
add esp, 4
pop esi
ret

Function at 0x485504
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48553c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00483591
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00483569
jmp 0x485548
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x486bf9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x486c3b
call fcn.0048c923
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x486c3b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x486c32
xor eax, eax
jmp 0x486c43
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00486c49
pop edi
pop esi
pop ebx
ret 4

Function at 0x48ce53
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48ce81
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48ce9f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048cdb9
jmp 0x48ce9f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48ce9f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048cdb9
test edi, edi
mov eax, edi
jne 0x48ce89
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401139
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401174
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401170
lea ebx, [ebx]
cmp esi, eax
jae 0x401174
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401160
cmp esi, eax
jb 0x40117a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4014a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ef68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x461cb4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x30]
test ebx, ebx
mov dword [esp + 0xc], 0
je 0x4014e9
mov eax, dword [ebx]
jmp 0x4014eb
xor eax, eax
fld qword [esp + 0x34]
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [ecx + 0x24]
push edx
push edi
call eax
test eax, eax
jge 0x401527
push 0x4582d4
push edi
push eax
call fcn.0044a580
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004012f0
test ebx, ebx
je 0x401569
lea edx, [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x401569
mov eax, dword [ebx]
test eax, eax
je 0x401550
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x401560
push eax
call fcn.00423ef9
add esp, 4
push ebx
call fcn.00423ef9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x401850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ef68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x461cb4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x30]
test ebx, ebx
mov dword [esp + 0xc], 0
je 0x401899
mov eax, dword [ebx]
jmp 0x40189b
xor eax, eax
fld qword [esp + 0x38]
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [ecx + 0x250]
push edx
push edi
call eax
test eax, eax
jge 0x4018df
push 0x4582d4
push edi
push eax
call fcn.0044a580
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004012f0
test ebx, ebx
je 0x401921
lea edx, [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x401921
mov eax, dword [ebx]
test eax, eax
je 0x401908
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x401918
push eax
call fcn.00423ef9
add esp, 4
push ebx
call fcn.00423ef9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x20
Function at 0x405fe0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x44feb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x461cb4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, 0x46648d
mov ecx, dword [esi - 4]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esi - 4]
push edx
push eax
call ebx
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push eax
push ecx
call ebx
add esi, 0xf3
cmp esi, 0x46c379
jle 0x406017
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x45674c
call fcn.0041ed40
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x456764
mov dword [esp + 0x34], 0
call fcn.0041ed40
mov dword [esp + 0x30], 0xffffffff
call fcn.0041af00
add esp, 8
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x41b3b0
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push 0
push 0
push 0
push 0x40f6f0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x410e90
push 0
push 0
call esi
mov esi, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x466248
push 0x67
push esi
mov dword [0x4661b4], esi
call edi
push 0x64
push 0x4661e0
push 0x6d
push esi
call edi
mov eax, esi
call fcn.0041b4e0
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x466248
push 0x4661e0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
je 0x41b4c8
push 0
push 0x41b660
push eax
push 0x67
push esi
mov dword [0x4661bc], eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov esi, eax
push 0
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
je 0x41b4bc
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x41b4a9
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call edi
test eax, eax
jne 0x41b486
pop ebp
pop ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x1c
ret 0x10
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10

Function at 0x421360
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov ecx, dword [esi + 0xc]
xor eax, eax
test ecx, ecx
je 0x4213bd
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edi
push 1
push edx
push eax
push 0x32
push 0x14f
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0xc]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x1c], 0
mov edi, eax
jne 0x4213bc
mov edx, dword [esi + 0x10]
cmp dword [edx + 0x10], 1
jle 0x4213bc
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x4211b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, edi
pop edi
ret
Function at 0x422280
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x451012
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x461cb4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x4583d4
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.004230a0
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.004238d0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x46cc8c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x24], 2
call fcn.00423340
test eax, eax
jne 0x422381
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x422370
or eax, 4
and eax, 0x17
test dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
je 0x422381
push ebx
call fcn.00420d80
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x4238d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44ed1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x461cb4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0044a2df
push 4
mov dword [esp + 0x20], 0
call fcn.00423ece
mov edi, eax
add esp, 4
test edi, edi
je 0x423950
call fcn.00449ed7
mov dword [edi], eax
call fcn.00449d0b
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00449c7d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x423945
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00449c9e
jmp 0x423952
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4256ad
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4256d6
call fcn.00424e3e
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4256f9
push eax
push dword [esi + 4]
call fcn.00425638
push esi
push eax
mov ecx, 0x463620
call fcn.004252c9
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x425ee7
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x44e517
call fcn.00434c7b
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00425ea9
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.0041ecf0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x425f4d
push eax
push dword [esi + 8]
call fcn.00425638
push dword [esi + 0xc]
mov ecx, 0x463620
push eax
call fcn.004252c9
mov eax, esi
call fcn.00434d1a
ret 0x18
Function at 0x42824d
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x428256
xor eax, eax
jmp 0x4282bf
cmp dword [esp + 8], 0
jne 0x428262
call fcn.00423ff7
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004376cb
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42829d
push dword [esi + 0x10]
call fcn.00437410
test eax, eax
pop ecx
jne 0x42829d
mov esi, dword [esi + 0xc]
call fcn.0043507a
push esi
push dword [eax]
push 1
call fcn.00430089
push dword [esi + 0x10]
call fcn.0043743f
test eax, eax
pop ecx
je 0x4282bc
push dword [esi + 0x10]
call fcn.00437364
push eax
call fcn.00401040
pop ecx
pop ecx
jmp 0x42828b
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4282c8
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x4282d2
call fcn.00423ff7
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0043400e
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x4282ff
mov esi, dword [esi + 0xc]
call fcn.0043507a
push esi
push dword [eax]
push 1
call fcn.00430089
pop esi
ret 8

Function at 0x42ec61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42eca4
call fcn.00424e3e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42eca4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ecbf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042e818
test ebx, ebx
mov esi, eax
je 0x42ecbd
test edi, edi
je 0x42ecbd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43148f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461cb4]
jne 0x431499
repz ret
jmp fcn.004384fb

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x432c19
call fcn.0043507a
mov dword [eax], esi
call fcn.00435067
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004318a1
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x432bf5
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x432c48
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043508d
pop ecx
call fcn.00435067
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x432c6f
test al, 1
je 0x432c6f
test byte [esp + 0xc], 2
je 0x432c6f
call fcn.0043507a
mov dword [eax], 5
call fcn.00435067
mov dword [eax], 0xd
jmp 0x432c3f
xor eax, eax
pop esi
ret
Function at 0x443b68
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00439b93
xor ebx, ebx
cmp dword [0x465eb4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x443c3d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x443ba8
xor eax, eax
jmp 0x443d01
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x455288
push edi
call esi
cmp eax, ebx
je 0x443ba1
push eax
call fcn.00439b30
mov dword [esp], 0x455278
push edi
mov dword [0x465eb4], eax
call esi
push eax
call fcn.00439b30
mov dword [esp], 0x455264
push edi
mov dword [0x465eb8], eax
call esi
push eax
call fcn.00439b30
mov dword [0x465ebc], eax
lea eax, [ebp - 8]
push eax
call fcn.0043822e
test eax, eax
pop ecx
pop ecx
je 0x443c0b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004317a5
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x443c3d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00439b30
cmp eax, ebx
pop ecx
mov dword [0x465ec4], eax
je 0x443c3d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439b30
pop ecx
mov dword [0x465ec0], eax
mov eax, dword [0x465ec0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x443cb6
cmp dword [0x465ec4], esi
je 0x443cb6
push eax
call fcn.00439b9c
pop ecx
call eax
cmp eax, ebx
je 0x443c83
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x465ec4]
call fcn.00439b9c
pop ecx
call eax
test eax, eax
je 0x443c83
test byte [ebp - 0x18], 1
jne 0x443cb6
lea eax, [ebp - 0xc]
push eax
call fcn.004382a1
test eax, eax
pop ecx
je 0x443c9e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004317a5
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x443cad
or dword [ebp + 0x10], 0x200000
jmp 0x443ce7
or dword [ebp + 0x10], 0x40000
jmp 0x443ce7
mov eax, dword [0x465eb8]
cmp eax, esi
je 0x443ce7
push eax
call fcn.00439b9c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x443ce7
mov eax, dword [0x465ebc]
cmp eax, esi
je 0x443ce7
push dword [ebp - 4]
push eax
call fcn.00439b9c
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x465eb4]
call fcn.00439b9c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44ac54
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x461cb4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044abe9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004354a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44aca3
cmp dword [ebp - 0x1c], 5
jb 0x44acbb
jmp 0x44acb7
cmp dword [ebp - 0x10], 1
jne 0x44acbb
cmp dword [ebp - 0x1c], 4
ja 0x44acb7
jne 0x44acbb
cmp dword [ebp - 0x18], 0
jbe 0x44acbb
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x456418
call fcn.0044aabd
test eax, eax
jge 0x44acdc
mov byte [0x46cc80], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043148f
add ebp, 0x78
leave
ret
Function at 0x4162d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [esi + 4]
dec eax
test eax, eax
jle 0x416409
push ebx
push ebp
push edi
mov edi, dword [esi + 8]
xor ebx, ebx
lea ecx, [edi - 1]
test ecx, ecx
jle 0x4163f1
mov ecx, edi
mov edx, dword [esi]
imul ecx, dword [esp + 0x10]
fld dword [esp + 0x18]
add ecx, ebx
lea eax, [ecx + ecx*2]
mov ebp, dword [edx + eax*8 + 0x10]
lea eax, [edx + eax*8]
mov dword [esi + 0x34], ebp
mov ebp, dword [eax + 0x14]
mov dword [esi + 0x38], ebp
fadd dword [eax]
fstp dword [esi + 0x24]
fld dword [esp + 0x1c]
fadd dword [eax + 4]
fstp dword [esi + 0x28]
mov ebp, dword [eax + 8]
mov dword [esi + 0x2c], ebp
mov ebp, dword [eax + 0xc]
mov dword [esi + 0x30], ebp
mov ebp, dword [eax + 0x28]
fld dword [esp + 0x18]
mov dword [esi + 0x4c], ebp
mov ebp, dword [eax + 0x2c]
mov dword [esi + 0x50], ebp
lea ebp, [ecx + ecx*2 + 3]
add ecx, edi
fadd dword [edx + ebp*8]
fstp dword [esi + 0x3c]
fld dword [esp + 0x1c]
fadd dword [eax + 0x1c]
fstp dword [esi + 0x40]
mov ebp, dword [eax + 0x20]
mov dword [esi + 0x44], ebp
mov eax, dword [eax + 0x24]
mov dword [esi + 0x48], eax
lea eax, [ecx + ecx*2]
fld dword [esp + 0x18]
mov edi, dword [edx + eax*8 + 0x28]
lea eax, [edx + eax*8]
mov dword [esi + 0x64], edi
lea ecx, [ecx + ecx*2 + 3]
mov edi, dword [eax + 0x2c]
mov dword [esi + 0x68], edi
fadd dword [edx + ecx*8]
fstp dword [esi + 0x54]
fld dword [esp + 0x1c]
fadd dword [eax + 0x1c]
fstp dword [esi + 0x58]
mov edx, dword [eax + 0x20]
mov dword [esi + 0x5c], edx
mov ecx, dword [eax + 0x24]
fld dword [esp + 0x18]
mov dword [esi + 0x60], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x7c], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x80], ecx
fadd dword [eax]
fstp dword [esi + 0x6c]
fld dword [esp + 0x1c]
fadd dword [eax + 4]
fstp dword [esi + 0x70]
mov edx, dword [eax + 8]
mov dword [esi + 0x74], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x78], eax
mov ecx, dword [0x46e2ec]
lea eax, [esi + 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x124]
mov edi, dword [esi + 8]
inc ebx
lea eax, [edi - 1]
cmp ebx, eax
jl 0x4162fb
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
inc eax
dec ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4162eb
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8