joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bfe8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48c248
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48c04b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048bcc8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d278
cmp al, 1
jne 0x48c04b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048bf90
test al, al
je 0x48c1d7
cmp dword [ebp - 8], 0
jge 0x48c069
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048bcc8
mov eax, dword [ebp - 0x210]
call fcn.00404950
cmp ebx, eax
jge 0x48c0b3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048bcc8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4e70e8]
and eax, 0xff
bt dword [edx], eax
jae 0x48c0b3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48c0c7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048bfc4
cmp ebx, dword [ebp - 8]
je 0x48c1c9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x48c0f3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ac0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e0a40]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48c1b6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ac0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e0a40]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045d080
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ac0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e0a40]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045d080
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c1bd
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48c22a
cmp dword [ebp - 8], 0
jge 0x48c1e2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048bcc8
mov eax, dword [ebp - 0x218]
call fcn.00404950
cmp eax, dword [ebp - 8]
jg 0x48c21c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048bcc8
mov eax, dword [ebp - 0x21c]
call fcn.00404950
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048bfc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c24f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004046b4
ret
Function at 0x490938
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426ecc
cmp ebx, dword [ebp - 8]
jge 0x49099b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427214
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427214
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427240
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x490961
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4909a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426ecc
cmp ebx, dword [ebp - 8]
jge 0x490a07
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427214
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427214
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427240
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4909cd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x49df9c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416f58]
call fcn.004050c8
xor eax, eax
push ebp
push 0x49e0e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e0ec4], 0
jne 0x49dfef
mov ecx, dword [0x4e68dc]
mov dl, 1
mov eax, dword [0x407cf0]
call fcn.0040c930
call fcn.00404090
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403190
mov eax, ebx
call fcn.00404f18
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49e0f0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040612c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f28
test eax, eax
jle 0x49e087
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49e080
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404918
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404900
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ba4
test eax, eax
jne 0x49e080
mov ebx, 0x15
jmp 0x49e08c
mov ebx, 0x10
jmp 0x49e08c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4e0ec4]
call fcn.0049def4
mov eax, dword [ebp - 8]
call fcn.0049def4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e0e7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046b4
lea eax, [ebp - 0x10]
mov edx, dword [0x416f58]
call fcn.00405198
ret

Function at 0x4a18bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004a135c
test byte [ebx + 0x23d], 4
jne 0x4a1951
mov edx, esp
mov eax, ebx
call fcn.00456200
push esp
mov eax, ebx
call fcn.0045ce7c
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4a18f1
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x4a1922
mov ecx, dword [0x4e6c54]
mov dl, 1
mov eax, dword [0x49dbb4]
call fcn.0040c930
call fcn.00404090
mov eax, ebx
call fcn.004a1e90
cmp byte [ebx + 0x57], 0
jne 0x4a1958
mov eax, ebx
call fcn.0045d080
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a1958
push 0
mov eax, ebx
call fcn.0045d080
push eax
call sub.user32.dll_ShowWindow
jmp 0x4a1958
mov eax, ebx
call fcn.0045a000
add esp, 0x10
pop ebx
ret
Function at 0x4aadbc
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b40
mov eax, dword [ebp - 8]
call fcn.00404b40
xor eax, eax
push ebp
push 0x4aaed9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00404b50
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x4aaee8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404b50
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4aaebe
xor eax, eax
push ebp
push 0x4aaeb7
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4aae97
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4aae9b
xor eax, eax
jmp 0x4aae9d
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaebe
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaee0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046b4
ret
Function at 0x4aaef0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b40
mov eax, dword [ebp - 8]
call fcn.00404b40
mov eax, dword [ebp - 0xc]
call fcn.00404b40
mov eax, dword [ebp + 0xc]
call fcn.00404b40
xor eax, eax
push ebp
push 0x4ab05f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404b50
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x4ab070
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404b50
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ab03c
xor edx, edx
push ebp
push 0x4ab035
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404b50
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404b50
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b50
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x4ab01e
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4ab015
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4ab019
xor eax, eax
jmp 0x4ab01b
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab03c
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab066
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046b4
lea eax, [ebp + 0xc]
call fcn.00404690
ret
Function at 0x4ab078
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4ab140
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4ab144
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4ab140
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ab137
xor eax, eax
push ebp
push 0x4ab130
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab137
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ac6cc
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff4
mov bl, 2
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00403190
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4ac703
cmp byte [esp], 0x31
jne 0x4ac701
mov bl, 1
jmp 0x4ac703
xor ebx, ebx
mov eax, ebx
add esp, 0xc
pop ebx
ret
Function at 0x4b4c08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4b4c11
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b40
xor eax, eax
push ebp
push 0x4b4e0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b48c8
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b48c8
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404728
mov eax, dword [ebp - 0x10]
call fcn.00404950
sar eax, 1
jns 0x4b4c6b
adc eax, 0
test eax, eax
jle 0x4b4dc7
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x4b4c8b
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404728
lea eax, [ebp - 0x18]
call fcn.00404690
mov eax, dword [ebp - 0x14]
call fcn.00404950
mov edi, eax
sar edi, 1
jns 0x4b4ca4
adc edi, 0
test edi, edi
jle 0x4b4dbd
mov ebx, 1
mov edx, 0x4b4e18
lea eax, [ebp - 0x28]
call fcn.00403074
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403044
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00403074
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403044
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.004048f4
mov eax, dword [ebp - 0x24]
call fcn.00408e70
mov byte [ebp - 0x19], al
mov edx, 0x4b4e18
lea eax, [ebp - 0x28]
call fcn.00403074
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403044
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00403074
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403044
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.004048f4
mov eax, dword [ebp - 0x34]
call fcn.00408e70
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x1a]
call fcn.00404878
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004b48c8
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.00404958
inc ebx
dec edi
jne 0x4b4cb1
inc esi
dec dword [ebp - 0x20]
jne 0x4b4c7b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.004046e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4e11
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004046b4
lea eax, [ebp - 0x24]
call fcn.00404690
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004046b4
lea eax, [ebp - 4]
call fcn.00404690
ret
Function at 0x4b8400
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b85e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004bc054
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4e3090], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4e3094], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4e3098], eax
mov eax, dword [0x4e70f4]
cmp dword [eax], 2
sete byte [0x4e2974]
push 0x4b85ec
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004bba94
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4e2974], 0
jne 0x4b848f
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004bbbd8
test al, al
je 0x4b848f
mov eax, dword [ebp - 0x4c]
mov dword [0x4ec5b0], eax
jmp 0x4b8496
xor eax, eax
mov dword [0x4ec5b0], eax
call fcn.004b8138
and eax, 0x7f
cmp eax, 0x12
ja case.0x4b84a7.0
jmp dword [eax*4 + 0x4b84ae]
mov byte [0x4e2960], 1
jmp case.0x4b84a7.0
mov byte [0x4e2964], 1
jmp case.0x4b84a7.0
mov byte [0x4e2968], 1
jmp case.0x4b84a7.0
mov byte [0x4e296c], 1
jmp case.0x4b84a7.0
mov byte [0x4e2970], 1
jmp case.0x4b84a7.0
mov byte [0x4e2978], 1
mov byte [0x4e297c], 1
jmp case.0x4b84a7.0
mov byte [0x4e2978], 1
mov byte [0x4e2980], 1
jmp case.0x4b84a7.0
mov byte [0x4e2978], 1
mov byte [0x4e2980], 1
mov byte [0x4e2984], 1
jmp case.0x4b84a7.0
mov byte [0x4e2988], 1
jmp case.0x4b84a7.0
mov byte [0x4e298c], 1
jmp case.0x4b84a7.0
mov byte [0x4e2990], 1
jmp case.0x4b84a7.0
mov byte [0x4e2994], 1
jmp case.0x4b84a7.0
mov byte [0x4e2998], 1
jmp case.0x4b84a7.0
mov byte [0x4e299c], 1
jmp case.0x4b84a7.0
mov byte [0x4e29a0], 1
jmp case.0x4b84a7.0
mov byte [0x4e29a4], 1
jmp case.0x4b84a7.0
mov byte [0x4e29a8], 1
jmp case.0x4b84a7.0
mov byte [0x4e29ac], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b85e7
lea eax, [ebp - 4]
call fcn.00404690
ret

Function at 0x4ba0c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4ba12c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404900
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408eac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba133
lea eax, [ebp - 0xc]
call fcn.00404690
ret
Function at 0x4bad88
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4bad9d
add esp, 0xfffffff0
call fcn.00403c28
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403894
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004046e4
mov eax, esi
call fcn.00404b50
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4badf2
mov ecx, dword [0x4e6f88]
mov dl, 1
mov eax, dword [0x4bab60]
call fcn.004b6108
call fcn.00404090
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4bae19
call fcn.00403c80
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4bbbd8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bbc8e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b50
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4bbc78
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404cdc
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b50
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4bbc78
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4bbca0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4bbc78
cmp dword [ebp - 8], 0x34
jne 0x4bbc78
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbc95
lea eax, [ebp - 0x10]
call fcn.00404690
ret
Function at 0x4c1cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x18], 0
je 0x4c1ce4
mov eax, esi
call fcn.004c1d80
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
test bl, bl
je 0x4c1d06
mov eax, dword [esi + 4]
cmp word [eax], 0x25ff
jne 0x4c1d06
add dword [esi + 0x18], 2
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x18]
sub eax, 5
mov byte [esi + 0xc], 0xe9
mov edx, eax
and dl, 0xff
mov byte [esi + 0xd], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + 0xe], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov byte [esi + 0xf], dl
shr eax, 0x18
and al, 0xff
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
mov al, byte [eax]
mov byte [esi + 0x11], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 1]
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 2]
mov byte [esi + 0x13], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 3]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 4]
mov byte [esi + 0x15], al
push esp
push 0x40
push 5
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4c1d7c
call fcn.0040dec0
pop edx
pop esi
pop ebx
ret