joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59b77b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x60cb19
call fcn.005c974f
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.005a2d4d
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x59b7c6
call fcn.005a2d4d
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x59b7d7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x59b7e4
or eax, 0xffffffff
jmp 0x59b940
mov ecx, esi
call fcn.0059b2cd
mov dword [ebp - 0x14], eax
call fcn.0059e16e
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x59b862
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x59b862
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x59b862
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00407a10
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x59b862
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x59b862
mov ecx, ebx
call fcn.005a184a
test eax, eax
je 0x59b862
push 0
mov ecx, ebx
call fcn.005a1865
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0059fc96
push dword [ebp - 0x14]
call fcn.0059e0c6
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0059b583
xor edi, edi
cmp eax, edi
je 0x59b8bf
test byte [esi + 0x3c], 0x10
je 0x59b8a9
push 4
pop edi
mov ecx, esi
call fcn.005a1707
test ax, 0x100
je 0x59b89f
push 5
pop edi
push edi
mov ecx, esi
call fcn.0059dc8e
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x59b8bf
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.005a1a34
or dword [ebp - 4], 0xffffffff
jmp 0x59b8ea
cmp dword [ebp - 0x28], edi
je 0x59b8f8
push 1
mov ecx, ebx
call fcn.005a1865
cmp dword [ebp - 0x2c], edi
je 0x59b908
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x59b921
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x59b921
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0059b307
cmp dword [esi + 0x58], edi
je 0x59b93d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.005c97f4
ret
Function at 0x59b9aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x59b9ca
cmp dword [edi + 0x54], 0
jne 0x59b9ca
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.005a2d4d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0059b971
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x59f266
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x59f29f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004314c0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004150b0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x5a0ef1
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 0x5a0f34
call fcn.005a2d4d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5a0f34
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x5a0f4f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.005a0aa8
test ebx, ebx
mov esi, eax
je 0x5a0f4d
test edi, edi
je 0x5a0f4d
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x5a6f2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x5a6f45
mov edi, dword [esi + 0xc]
jmp 0x5a6f85
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x5a6f5e
call fcn.005a4716
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5a6f73
call fcn.005a4716
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5a6f85
call fcn.005a4716
call fcn.005a2d4d
cmp dword [eax + 0x3c], 0
je 0x5a6f9a
push edi
mov ecx, ebx
call fcn.005a5e4e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005a6e49
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x5a6fb8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x5a6fc4
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5ad07e
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 0x5ad0a7
call fcn.005a2d4d
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 0x5ad0ca
push eax
push dword [esi + 4]
call fcn.005ad009
push esi
push eax
mov ecx, 0x702878
call fcn.005accbf
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x5adb34
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x60dff5
call fcn.005c971c
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.005adaf6
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401a30
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 0x5adb9a
push eax
push dword [esi + 8]
call fcn.005ad009
push dword [esi + 0xc]
mov ecx, 0x702878
push eax
call fcn.005accbf
mov eax, esi
call fcn.005c97f4
ret 0x18

Function at 0x5ae118
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x5ae121
xor eax, eax
jmp 0x5ae18a
cmp dword [esp + 8], 0
jne 0x5ae12d
call fcn.005a2358
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.005c3bf3
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5ae168
push dword [esi + 0x10]
call fcn.005caa5c
test eax, eax
pop ecx
jne 0x5ae168
mov esi, dword [esi + 0xc]
call fcn.005c9969
push esi
push dword [eax]
push 1
call fcn.005bc64c
push dword [esi + 0x10]
call fcn.005caa8b
test eax, eax
pop ecx
je 0x5ae187
push dword [esi + 0x10]
call fcn.005ca9b0
push eax
call fcn.00401310
pop ecx
pop ecx
jmp 0x5ae156
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x5aeaf1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6f1550]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x5aeb31
push 0x66d5f8
push 4
push eax
call fcn.005c51e5
push eax
call fcn.00401310
add esp, 0x10
jmp 0x5aeb43
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x5aebb1
push edi
call fcn.005c9956
mov edi, dword [eax]
call fcn.005c9956
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.005c197d
add esp, 0x18
mov ebx, eax
call fcn.005c9956
cmp dword [eax], 0
je 0x5aeb91
call fcn.005c9956
push dword [eax]
call fcn.0059ba16
pop ecx
jmp 0x5aeb98
call fcn.005c9956
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x5aebb1
cmp ebx, esi
jae 0x5aebb1
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x5aebb3
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005bf6a4
leave
ret
Function at 0x5afc0a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x5afc22
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x5afcc7
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x5affde
Capabilities:
Resolve dns

Disassembly:
push 0x18
mov eax, 0x60e2ef
call fcn.005c9785
mov esi, dword [ebp + 8]
mov ebx, ecx
call dword [0x6f2dcc]
xor edi, edi
mov dword [ebp - 0x24], edi
cmp esi, edi
mov dword [ebp - 4], edi
jne 0x5b001e
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.00401500
xor eax, eax
call fcn.005c9808
ret 8
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.005c0060
add esp, 0xc
push esi
mov word [ebp - 0x20], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x5b0057
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x5b0075
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea ecx, [ebp - 0x20]
mov word [ebp - 0x1e], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
mov edi, eax
jmp 0x5b0080
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.00401500
mov eax, edi
jmp 0x5b0016

Function at 0x5b184d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x5b1893
call fcn.005a2d4d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5b1893
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x5b18d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x5b18bf
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x5b18bf
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x5b18d3
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x5bf6a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6f1550]
jne 0x5bf6ae
repz ret
jmp fcn.005cc96c
Function at 0x5c3957
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x5c3994
cmp dword [ebp + 0x14], edi
je 0x5c3994
cmp ecx, edi
jne 0x5c399b
call fcn.005c9956
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.005c70f2
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x5c39af
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x5c39d0
cmp ebx, 0xffffffff
je 0x5c39bf
push ebx
push edi
push ecx
call fcn.005c0060
add esp, 0xc
cmp esi, edi
je 0x5c397c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x5c397c
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x5c39ec
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x5c39f3
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x5c3ae4
test word [esi + 0xc], 0x10c
je 0x5c3a47
mov eax, dword [esi + 4]
test eax, eax
je 0x5c3a47
jl 0x5c3b45
cmp ebx, eax
mov edi, ebx
jb 0x5c3a18
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x5c3aec
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.005bf888
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x5c3adc
cmp ebx, dword [ebp - 0xc]
jb 0x5c3ab4
cmp dword [ebp - 0xc], 0
je 0x5c3a71
mov ecx, DirectSoundCreate
xor edx, edx
cmp ebx, ecx
jbe 0x5c3a66
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x5c3a6d
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x5c3a7c
mov eax, DirectSoundCreate
cmp ebx, eax
ja 0x5c3a7c
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x5c3b18
push eax
push dword [ebp - 8]
push esi
call fcn.005ca7fd
pop ecx
push eax
call fcn.005c8acd
add esp, 0xc
test eax, eax
je 0x5c3b57
cmp eax, 0xffffffff
je 0x5c3b45
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x5c3adc
push esi
call fcn.005d58b6
cmp eax, 0xffffffff
pop ecx
je 0x5c3b49
cmp dword [ebp - 4], 0
je 0x5c3b18
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x5c39fb
mov eax, dword [ebp + 0x14]
jmp 0x5c3996
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x5c3b03
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.005c0060
add esp, 0xc
call fcn.005c9956
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x5c398c
cmp dword [ebp + 0xc], 0xffffffff
je 0x5c3b2e
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.005c0060
add esp, 0xc
call fcn.005c9956
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x5c398c
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x5c3996
or dword [esi + 0xc], 0x10
jmp 0x5c3b49
Function at 0x5ce542
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x6f2458]
je 0x5ce55d
inc edi
cmp edi, 0x17
jb 0x5ce54e
cmp edi, 0x17
jae 0x5ce6dd
push ebp
push 3
call fcn.005de3ad
cmp eax, 1
pop ecx
je 0x5ce6a9
push 3
call fcn.005de3ad
test eax, eax
pop ecx
jne 0x5ce591
cmp dword [0x6f16e0], 1
je 0x5ce6a9
cmp ebx, 0xfc
je 0x5ce6dc
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x703120
push ebp
call fcn.005c51e5
add esp, 0xc
test eax, eax
je 0x5ce5c7
push esi
push esi
push esi
push esi
push esi
call fcn.005c6ff6
add esp, 0x14
push 0x104
mov esi, 0x703139
push esi
push 0
mov byte [0x70323d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5ce60b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.005c51e5
add esp, 0xc
test eax, eax
je 0x5ce60b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.005c6ff6
add esp, 0x14
push esi
call fcn.005c9890
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x5ce650
push esi
call fcn.005c9890
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x703434
push 0x619c2c
sub ecx, eax
push ecx
push eax
call fcn.005c71f9
add esp, 0x14
test eax, eax
je 0x5ce650
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.005c6ff6
add esp, 0x14
jmp 0x5ce652
xor esi, esi
push 0x61cc14
push ebx
push ebp
call fcn.005cb0e8
add esp, 0xc
test eax, eax
je 0x5ce672
push esi
push esi
push esi
push esi
push esi
call fcn.005c6ff6
add esp, 0x14
push dword [edi*8 + 0x6f245c]
push ebx
push ebp
call fcn.005cb0e8
add esp, 0xc
test eax, eax
je 0x5ce694
push esi
push esi
push esi
push esi
push esi
call fcn.005c6ff6
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.005de1f0
add esp, 0xc
jmp 0x5ce6dc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x5ce6dc
cmp ebp, 0xffffffff
je 0x5ce6dc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x6f245c]
push dword [esi]
call fcn.005c9890
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x5de1f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.005cc301
xor ebx, ebx
cmp dword [0x7037b0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x5de2c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5de3a6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x679a00
push edi
call esi
cmp eax, ebx
je 0x5de3a6
push eax
call fcn.005cc293
mov dword [esp], 0x6799f0
push edi
mov dword [0x7037b0], eax
call esi
push eax
call fcn.005cc293
mov dword [esp], 0x6799dc
push edi
mov dword [0x7037b4], eax
call esi
push eax
call fcn.005cc293
mov dword [0x7037b8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.005c36e4
test eax, eax
pop ecx
pop ecx
je 0x5de294
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005c6ff6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x5de2c6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.005cc293
cmp eax, ebx
pop ecx
mov dword [0x7037c0], eax
je 0x5de2c6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005cc293
pop ecx
mov dword [0x7037bc], eax
mov eax, dword [0x7037bc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x5de34b
cmp dword [0x7037c0], ecx
je 0x5de34b
push eax
call fcn.005cc30a
push dword [0x7037c0]
mov esi, eax
call fcn.005cc30a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x5de34b
cmp edi, ebx
je 0x5de34b
call esi
cmp eax, ebx
je 0x5de318
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5de318
test byte [ebp - 0x18], 1
jne 0x5de34b
lea eax, [ebp - 0x10]
push eax
call fcn.005c371b
test eax, eax
pop ecx
je 0x5de333
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005c6ff6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x5de342
or dword [ebp + 0x10], 0x200000
jmp 0x5de386
or dword [ebp + 0x10], 0x40000
jmp 0x5de386
mov eax, dword [0x7037b4]
cmp eax, dword [ebp - 8]
je 0x5de386
push eax
call fcn.005cc30a
cmp eax, ebx
pop ecx
je 0x5de386
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x5de386
mov eax, dword [0x7037b8]
cmp eax, dword [ebp - 8]
je 0x5de386
push eax
call fcn.005cc30a
cmp eax, ebx
pop ecx
je 0x5de386
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x7037b0]
call fcn.005cc30a
cmp eax, ebx
pop ecx
je 0x5de3a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5de3a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5e2f3c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x6f1550]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.005e2ed1
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.005c0060
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 0x5e2f8b
cmp dword [ebp - 0x1c], 5
jb 0x5e2fa3
jmp 0x5e2f9f
cmp dword [ebp - 0x10], 1
jne 0x5e2fa3
cmp dword [ebp - 0x1c], 4
ja 0x5e2f9f
jne 0x5e2fa3
cmp dword [ebp - 0x18], 0
jbe 0x5e2fa3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x67bb90
call fcn.005e2dc2
test eax, eax
jge 0x5e2fc4
mov byte [0x703ad0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005bf6a4
add ebp, 0x78
leave
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x60f5ae
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebp, [esi + 0x7c]
push ebp
push ecx
push edx
mov ecx, esi
call fcn.00485c30
xor edi, edi
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x24], edi
mov dword [esi], vtable.CBaseRenderer.0
mov dword [esi + 0xc], vtable.CBaseRenderer.2.0
mov dword [esi + 0x10], vtable.CBaseRenderer.1.0
mov dword [esi + 0x50], edi
call fcn.00481980
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x24], 1
call fcn.00481980
lea ebx, [esi + 0x5c]
push 1
mov ecx, ebx
mov byte [esp + 0x24], 2
call fcn.00481980
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebp
lea eax, [esi + 0x94]
push eax
call ebp
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebp
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10