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

Disassembly:
push 0x24
mov eax, 0x62a7c4
call fcn.005e37cd
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.005bc35c
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x5b4dc2
call fcn.005bc35c
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 0x5b4dd3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x5b4de0
or eax, 0xffffffff
jmp 0x5b4f3c
mov ecx, esi
call fcn.005b48c9
mov dword [ebp - 0x14], eax
call fcn.005b7772
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x5b4e5e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x5b4e5e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x5b4e5e
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0040f140
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x5b4e5e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x5b4e5e
mov ecx, ebx
call fcn.005bae59
test eax, eax
je 0x5b4e5e
push 0
mov ecx, ebx
call fcn.005bae74
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.005b92a2
push dword [ebp - 0x14]
call fcn.005b76ca
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.005b4b7f
xor edi, edi
cmp eax, edi
je 0x5b4ebb
test byte [esi + 0x3c], 0x10
je 0x5b4ea5
push 4
pop edi
mov ecx, esi
call fcn.005bad16
test ax, 0x100
je 0x5b4e9b
push 5
pop edi
push edi
mov ecx, esi
call fcn.005b7292
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x5b4ebb
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.005bb043
or dword [ebp - 4], 0xffffffff
jmp 0x5b4ee6
cmp dword [ebp - 0x28], edi
je 0x5b4ef4
push 1
mov ecx, ebx
call fcn.005bae74
cmp dword [ebp - 0x2c], edi
je 0x5b4f04
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x5b4f1d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x5b4f1d
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.005b4903
cmp dword [esi + 0x58], edi
je 0x5b4f39
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.005e3872
ret
Function at 0x5b4fa6
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 0x5b4fc6
cmp dword [edi + 0x54], 0
jne 0x5b4fc6
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.005bc35c
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.005b4f6d
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 0x5b886a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x5b88a3
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.00402c20
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004027b0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x5ba4fd
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 0x5ba540
call fcn.005bc35c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5ba540
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x5ba55b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.005ba0b4
test ebx, ebx
mov esi, eax
je 0x5ba559
test edi, edi
je 0x5ba559
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x5bf086
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 0x5bf0af
call fcn.005bc35c
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 0x5bf0d2
push eax
push dword [esi + 4]
call fcn.005bf011
push esi
push eax
mov ecx, 0x727610
call fcn.005becc7
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x5bfb3c
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x62b40e
call fcn.005e379a
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.005bfafe
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004019e0
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 0x5bfba2
push eax
push dword [esi + 8]
call fcn.005bf011
push dword [esi + 0xc]
mov ecx, 0x727610
push eax
call fcn.005becc7
mov eax, esi
call fcn.005e3872
ret 0x18

Function at 0x5c36d3
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 0x5c36e9
mov edi, dword [esi + 0xc]
jmp 0x5c3729
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x5c3702
call fcn.005bce76
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5c3717
call fcn.005bce76
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5c3729
call fcn.005bce76
call fcn.005bc35c
cmp dword [eax + 0x3c], 0
je 0x5c373e
push edi
mov ecx, ebx
call fcn.005c25ed
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005c35ed
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x5c375c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x5c3768
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 0x5c77dc
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x5c77e5
xor eax, eax
jmp 0x5c784e
cmp dword [esp + 8], 0
jne 0x5c77f1
call fcn.005bb967
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.005de623
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5c782c
push dword [esi + 0x10]
call fcn.005e32ec
test eax, eax
pop ecx
jne 0x5c782c
mov esi, dword [esi + 0xc]
call fcn.005dc337
push esi
push dword [eax]
push 1
call fcn.005ce35e
push dword [esi + 0x10]
call fcn.005e331b
test eax, eax
pop ecx
je 0x5c784b
push dword [esi + 0x10]
call fcn.005e47fc
push eax
call fcn.00401300
pop ecx
pop ecx
jmp 0x5c781a
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x5c81b5
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x7161c0]
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 0x5c81f5
push 0x68d898
push 4
push eax
call fcn.005deec1
push eax
call fcn.00401300
add esp, 0x10
jmp 0x5c8207
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x5c8275
push edi
call fcn.005dc324
mov edi, dword [eax]
call fcn.005dc324
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.005dbe85
add esp, 0x18
mov ebx, eax
call fcn.005dc324
cmp dword [eax], 0
je 0x5c8255
call fcn.005dc324
push dword [eax]
call fcn.005b5012
pop ecx
jmp 0x5c825c
call fcn.005dc324
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x5c8275
cmp ebx, esi
jae 0x5c8275
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x5c8277
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005d8d34
leave
ret
Function at 0x5c92ce
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 0x5c92e6
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 0x5c938e
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 0x5c96a5
Capabilities:
Resolve dns

Disassembly:
push 0x18
mov eax, 0x62bf9a
call fcn.005e3803
mov esi, dword [ebp + 8]
mov ebx, ecx
call dword [0x717a4c]
xor edi, edi
mov dword [ebp - 0x24], edi
cmp esi, edi
mov dword [ebp - 4], edi
jne 0x5c96e5
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.004014f0
xor eax, eax
call fcn.005e3886
ret 8
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.005d9e90
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 0x5c971e
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x5c973c
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 0x5c9747
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.004014f0
mov eax, edi
jmp 0x5c96dd

Function at 0x5caf13
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 0x5caf59
call fcn.005bc35c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5caf59
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x5caf9c
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 0x5caf85
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 0x5caf85
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x5caf99
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 0x5d8d34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x7161c0]
jne 0x5d8d3e
repz ret
jmp fcn.005e643c
Function at 0x5de387
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 0x5de3c4
cmp dword [ebp + 0x14], edi
je 0x5de3c4
cmp ecx, edi
jne 0x5de3cb
call fcn.005dc324
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.005dcfdf
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x5de3df
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x5de400
cmp ebx, 0xffffffff
je 0x5de3ef
push ebx
push edi
push ecx
call fcn.005d9e90
add esp, 0xc
cmp esi, edi
je 0x5de3ac
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x5de3ac
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x5de41c
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x5de423
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x5de514
test word [esi + 0xc], 0x10c
je 0x5de477
mov eax, dword [esi + 4]
test eax, eax
je 0x5de477
jl 0x5de575
cmp ebx, eax
mov edi, ebx
jb 0x5de448
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x5de51c
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.005d8f18
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 0x5de50c
cmp ebx, dword [ebp - 0xc]
jb 0x5de4e4
cmp dword [ebp - 0xc], 0
je 0x5de4a1
mov ecx, DirectSoundCreate
xor edx, edx
cmp ebx, ecx
jbe 0x5de496
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x5de49d
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x5de4ac
mov eax, DirectSoundCreate
cmp ebx, eax
ja 0x5de4ac
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x5de548
push eax
push dword [ebp - 8]
push esi
call fcn.005e4649
pop ecx
push eax
call fcn.005e248d
add esp, 0xc
test eax, eax
je 0x5de587
cmp eax, 0xffffffff
je 0x5de575
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x5de50c
push esi
call fcn.005efde8
cmp eax, 0xffffffff
pop ecx
je 0x5de579
cmp dword [ebp - 4], 0
je 0x5de548
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 0x5de42b
mov eax, dword [ebp + 0x14]
jmp 0x5de3c6
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x5de533
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.005d9e90
add esp, 0xc
call fcn.005dc324
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x5de3bc
cmp dword [ebp + 0xc], 0xffffffff
je 0x5de55e
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.005d9e90
add esp, 0xc
call fcn.005dc324
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x5de3bc
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x5de3c6
or dword [esi + 0xc], 0x10
jmp 0x5de579
Function at 0x5e7d64
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 + 0x7170c8]
je 0x5e7d7f
inc edi
cmp edi, 0x17
jb 0x5e7d70
cmp edi, 0x17
jae 0x5e7eff
push ebp
push 3
call fcn.005f7b64
cmp eax, 1
pop ecx
je 0x5e7ecb
push 3
call fcn.005f7b64
test eax, eax
pop ecx
jne 0x5e7db3
cmp dword [0x7164c0], 1
je 0x5e7ecb
cmp ebx, 0xfc
je 0x5e7efe
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x727ee8
push ebp
call fcn.005deec1
add esp, 0xc
test eax, eax
je 0x5e7de9
push esi
push esi
push esi
push esi
push esi
call fcn.005dcee3
add esp, 0x14
push 0x104
mov esi, 0x727f01
push esi
push 0
mov byte [0x728005], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5e7e2d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.005deec1
add esp, 0xc
test eax, eax
je 0x5e7e2d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.005dcee3
add esp, 0x14
push esi
call fcn.005e3900
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x5e7e72
push esi
call fcn.005e3900
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x7281fc
push 0x638cb0
sub ecx, eax
push ecx
push eax
call fcn.005dfca8
add esp, 0x14
test eax, eax
je 0x5e7e72
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.005dcee3
add esp, 0x14
jmp 0x5e7e74
xor esi, esi
push 0x63bca4
push ebx
push ebp
call fcn.005e4bc4
add esp, 0xc
test eax, eax
je 0x5e7e94
push esi
push esi
push esi
push esi
push esi
call fcn.005dcee3
add esp, 0x14
push dword [edi*8 + 0x7170cc]
push ebx
push ebp
call fcn.005e4bc4
add esp, 0xc
test eax, eax
je 0x5e7eb6
push esi
push esi
push esi
push esi
push esi
call fcn.005dcee3
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.005f79a7
add esp, 0xc
jmp 0x5e7efe
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x5e7efe
cmp ebp, 0xffffffff
je 0x5e7efe
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x7170cc]
push dword [esi]
call fcn.005e3900
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 0x5f79a7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.005e5ddd
xor ebx, ebx
cmp dword [0x728578], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x5f7a7d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5f7b5d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x699c88
push edi
call esi
cmp eax, ebx
je 0x5f7b5d
push eax
call fcn.005e5d6f
mov dword [esp], 0x699c78
push edi
mov dword [0x728578], eax
call esi
push eax
call fcn.005e5d6f
mov dword [esp], 0x699c64
push edi
mov dword [0x72857c], eax
call esi
push eax
call fcn.005e5d6f
mov dword [0x728580], eax
lea eax, [ebp - 0xc]
push eax
call fcn.005de114
test eax, eax
pop ecx
pop ecx
je 0x5f7a4b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005dcee3
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x5f7a7d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.005e5d6f
cmp eax, ebx
pop ecx
mov dword [0x728588], eax
je 0x5f7a7d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005e5d6f
pop ecx
mov dword [0x728584], eax
mov eax, dword [0x728584]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x5f7b02
cmp dword [0x728588], ecx
je 0x5f7b02
push eax
call fcn.005e5de6
push dword [0x728588]
mov esi, eax
call fcn.005e5de6
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x5f7b02
cmp edi, ebx
je 0x5f7b02
call esi
cmp eax, ebx
je 0x5f7acf
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5f7acf
test byte [ebp - 0x18], 1
jne 0x5f7b02
lea eax, [ebp - 0x10]
push eax
call fcn.005de14b
test eax, eax
pop ecx
je 0x5f7aea
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005dcee3
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x5f7af9
or dword [ebp + 0x10], 0x200000
jmp 0x5f7b3d
or dword [ebp + 0x10], 0x40000
jmp 0x5f7b3d
mov eax, dword [0x72857c]
cmp eax, dword [ebp - 8]
je 0x5f7b3d
push eax
call fcn.005e5de6
cmp eax, ebx
pop ecx
je 0x5f7b3d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x5f7b3d
mov eax, dword [0x728580]
cmp eax, dword [ebp - 8]
je 0x5f7b3d
push eax
call fcn.005e5de6
cmp eax, ebx
pop ecx
je 0x5f7b3d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x728578]
call fcn.005e5de6
cmp eax, ebx
pop ecx
je 0x5f7b5d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5f7b5f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5fc8ea
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x7161c0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.005fc87f
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.005d9e90
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 0x5fc939
cmp dword [ebp - 0x1c], 5
jb 0x5fc951
jmp 0x5fc94d
cmp dword [ebp - 0x10], 1
jne 0x5fc951
cmp dword [ebp - 0x1c], 4
ja 0x5fc94d
jne 0x5fc951
cmp dword [ebp - 0x18], 0
jbe 0x5fc951
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x69be20
call fcn.005fc770
test eax, eax
jge 0x5fc972
mov byte [0x728898], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005d8d34
add ebp, 0x78
leave
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x62d24e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
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.00496910
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.004923b0
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x24], 1
call fcn.004923b0
lea ebx, [esi + 0x5c]
push 1
mov ecx, ebx
mov byte [esp + 0x24], 2
call fcn.004923b0
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