joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482e40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00482794
xor eax, eax
push ebp
push 0x482fb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x482f9b
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x482e8b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x482e95
call fcn.00403dd4
jmp 0x482fb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d454
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x482f90
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x482f43
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x482f30
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403758
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00482df8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x482fc4]
cmp dl, byte [eax + 0x28]
je 0x482f97
call fcn.0040ca64
jmp 0x482f97
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d474
jmp 0x482f97
cmp ecx, ebx
jge 0x482f5f
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d474
jmp 0x482e95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d454
cmp edx, dword [esp + 4]
jne 0x482f7f
cmp eax, dword [esp]
pop edx
pop eax
jne 0x482e95
push ebp
call fcn.00482df8
pop ecx
jmp 0x482f97
push ebp
call fcn.00482df8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482fb8
mov eax, dword [ebp - 4]
call fcn.004827a0
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48365c
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ecx, edx
mov ebx, eax
mov eax, ecx
mov esi, 0x3e8
cdq
idiv esi
mov dword [esp], eax
mov eax, ecx
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [esp + 4], eax
lea eax, [esp + 8]
call fcn.00481944
lea edx, [esp + 8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
call fcn.00481934
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
setg al
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x4856e0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov eax, dword [ebp - 4]
call fcn.00404840
xor eax, eax
push ebp
push 0x4857dc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f64
mov word [ebp - 0x414], 2
mov eax, dword [ebp - 4]
call fcn.00404850
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x410], eax
mov ax, word [ebp + 8]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x412], ax
mov byte [ebp - 0x404], 5
mov byte [ebp - 0x403], 1
mov byte [ebp - 0x402], 0
mov byte [ebp - 0x401], 1
lea edx, [ebp - 0x410]
lea eax, [ebp - 0x400]
mov ecx, 4
call fcn.004073f8
lea edx, [ebp - 0x412]
lea eax, [ebp - 0x3fc]
mov ecx, 2
call fcn.004073f8
push 0
push 0xa
lea eax, [ebp - 0x404]
push eax
push esi
call sub.wsock32.dll_send
inc eax
je 0x4857c6
push 0
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push esi
call sub.wsock32.dll_recv
inc eax
je 0x4857c6
cmp byte [ebp - 0x403], 0
jne 0x4857c6
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4857e3
lea eax, [ebp - 4]
call fcn.00404390
ret

Function at 0x4857f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
push edi
test dl, dl
je 0x485808
add esp, 0xfffffff0
call fcn.004038c0
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404840
xor eax, eax
push ebp
push 0x48589f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [edi + 0xc]
mov edx, dword [ebp - 4]
call fcn.004043e4
mov dl, 1
mov eax, dword [0x484338]
call fcn.00483e7c
mov dword [edi + 8], eax
lea eax, [ebp - 0x194]
push eax
mov dl, 1
mov al, 1
call fcn.004073c4
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x48586d
mov ecx, 0x287
mov edx, 0x4858cc
mov eax, 0x485910
call fcn.004042ec
xor ecx, ecx
mov dl, 1
mov eax, dword [0x481f68]
call fcn.00483980
mov esi, eax
mov dword [edi + 4], esi
mov eax, esi
mov dl, 1
call fcn.00483a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4858a6
lea eax, [ebp - 4]
call fcn.00404390
ret
Function at 0x4859d4
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x485c0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
sub cl, 1
jb 0x485a0a
je 0x485a70
jmp 0x485bf2
mov byte [ebp - 0x10f], 5
mov byte [ebp - 0x10e], 1
mov byte [ebp - 0x10d], 0
push 0
push 3
lea eax, [ebp - 0x10f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send
inc eax
je 0x485bf2
push 0
push 0xff
lea eax, [ebp - 0x10f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_recv
cmp eax, 2
jl 0x485bf2
cmp byte [ebp - 0x10e], 0
jne 0x485bf2
mov byte [ebp - 5], 1
jmp 0x485bf2
mov byte [ebp - 0x10f], 5
mov byte [ebp - 0x10e], 2
mov byte [ebp - 0x10d], 0
mov byte [ebp - 0x10c], 2
push 0
push 4
lea eax, [ebp - 0x10f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send
inc eax
je 0x485bf2
lea eax, [ebp - 0x10f]
xor ecx, ecx
mov edx, 0xff
call fcn.00402f64
push 0
push 0xff
lea eax, [ebp - 0x10f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_recv
cmp eax, 2
jl 0x485bf2
cmp byte [ebp - 0x10e], 2
jne 0x485bf2
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
call fcn.00404428
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 0x20]
call fcn.00404428
lea eax, [ebp - 0x10f]
xor ecx, ecx
mov edx, 0xff
call fcn.00402f64
mov byte [ebp - 0x10f], 1
mov eax, dword [ebp - 0xc]
call fcn.00404650
mov ebx, eax
mov byte [ebp - 0x10e], bl
mov esi, ebx
and esi, 0xff
dec esi
test esi, esi
jl 0x485b49
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov al, byte [eax + ebx]
lea edx, [ebx + 2]
mov byte [ebp + edx - 0x10f], al
inc ebx
dec esi
jne 0x485b35
mov eax, dword [ebp - 0x10]
call fcn.00404650
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00404650
add eax, 2
mov byte [ebp + eax - 0x10f], bl
mov eax, dword [ebp - 0xc]
call fcn.00404650
add eax, 2
movzx esi, byte [ebp + eax - 0x10f]
dec esi
test esi, esi
jl 0x485b9e
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00404650
add eax, 3
add eax, ebx
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ebx]
mov byte [ebp + eax - 0x10f], dl
inc ebx
dec esi
jne 0x485b80
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404650
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00404650
add ebx, eax
add ebx, 3
push ebx
lea eax, [ebp - 0x10f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send
inc eax
je 0x485bf2
push 0
push 0xff
lea eax, [ebp - 0x10f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_recv
inc eax
je 0x485bf2
cmp byte [ebp - 0x10e], 0
jne 0x485bf2
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485c14
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004043b4
ret
Function at 0x4954f0
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 0x495750
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x495553
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00495198
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d494
cmp al, 1
jne 0x495553
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00495460
test al, al
je 0x4956df
cmp dword [ebp - 8], 0
jge 0x495571
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.00495198
mov eax, dword [ebp - 0x210]
call fcn.00404650
cmp ebx, eax
jge 0x4955bb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00495198
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5241e8]
and eax, 0xff
bt dword [edx], eax
jae 0x4955bb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4955cf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004954cc
cmp ebx, dword [ebp - 8]
je 0x4956d1
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 0x4955fb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403758
and eax, 0x7f
movzx eax, word [eax*2 + 0x52133c]
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 0x4956be
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403758
and eax, 0x7f
movzx eax, word [eax*2 + 0x52133c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00466954
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403758
and eax, 0x7f
movzx eax, word [eax*2 + 0x52133c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00466954
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4956c5
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 0x495732
cmp dword [ebp - 8], 0
jge 0x4956ea
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00495198
mov eax, dword [ebp - 0x218]
call fcn.00404650
cmp eax, dword [ebp - 8]
jg 0x495724
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00495198
mov eax, dword [ebp - 0x21c]
call fcn.00404650
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004954cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495757
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004043b4
ret
Function at 0x4adbf4
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 [0x4172c0]
call fcn.00404d54
xor eax, eax
push ebp
push 0x4add38
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5217a8], 0
jne 0x4adc47
mov ecx, dword [0x523960]
mov dl, 1
mov eax, dword [0x407a74]
call fcn.0040cb4c
call fcn.00403d28
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f64
mov eax, ebx
call fcn.00404c04
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4add48
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.00405e50
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c14
test eax, eax
jle 0x4adcdf
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 0x4adcd8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404618
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404600
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040894c
test eax, eax
jne 0x4adcd8
mov ebx, 0x15
jmp 0x4adce4
mov ebx, 0x10
jmp 0x4adce4
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 [0x5217a8]
call fcn.004adb4c
mov eax, dword [ebp - 8]
call fcn.004adb4c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405e68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4add3f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043b4
lea eax, [ebp - 0x10]
mov edx, dword [0x4172c0]
call fcn.00404e24
ret
Function at 0x4aea74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4aeb2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404850
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4aeab6
call fcn.00403dd4
jmp 0x4aeb32
mov eax, ebx
call fcn.004027d4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00404850
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4aeadf
call fcn.00403dd4
jmp 0x4aeb32
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aeb3c
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4aeb00
call fcn.00403dd4
jmp 0x4aeb32
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aeb32
mov eax, dword [ebp - 8]
call fcn.004027f4
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bb2a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4bb2d2
mov eax, ebx
call fcn.004bbd58
cmp dword [ebx + 0x40], 0
je 0x4bb2cb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4bb343
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4bb335
cmp dword [ebx + 8], 0
je 0x4bb2f4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4bb306
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4bb335
cmp dword [ebx + 8], 0
je 0x4bb2e7
cmp eax, 3
je 0x4bb319
dec eax
jne 0x4bb2e7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4bb2e7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4bb2e7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4bb361
cmp dword [ebx + 0x14], 0xcc
je 0x4bb361
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004bb36c
pop ebx
ret
Function at 0x4cd918
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cda89
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cda64
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404578
lea eax, [ebp - 0x118]
mov edx, 0x4cdaa0
call fcn.00404658
mov eax, dword [ebp - 0x118]
call fcn.00404850
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4cd9d6
lea eax, [ebp - 0x111]
call fcn.004098f4
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404480
jmp 0x4cd9dd
mov eax, esi
call fcn.00404390
cmp bl, 0x61
jae 0x4cd9fe
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d960
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004043e4
jmp 0x4cda18
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d8d4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004043e4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4cdaac
call fcn.00409fd0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004043e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cda6b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4d829c
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004d7d3c
test byte [ebx + 0x23d], 4
jne 0x4d8331
mov edx, esp
mov eax, ebx
call fcn.0045f918
push esp
mov eax, ebx
call fcn.00466750
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4d82d1
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 0x4d8302
mov ecx, dword [0x523d0c]
mov dl, 1
mov eax, dword [0x4ad80c]
call fcn.0040cb4c
call fcn.00403d28
mov eax, ebx
call fcn.004d8870
cmp byte [ebx + 0x57], 0
jne 0x4d8338
mov eax, ebx
call fcn.00466954
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d8338
push 0
mov eax, ebx
call fcn.00466954
push eax
call sub.user32.dll_ShowWindow
jmp 0x4d8338
mov eax, ebx
call fcn.0046382c
add esp, 0x10
pop ebx
ret
Function at 0x4e2604
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.00404840
mov eax, dword [ebp - 8]
call fcn.00404840
xor eax, eax
push ebp
push 0x4e2721
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.00404850
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x4e2730
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.00404850
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4e2706
xor eax, eax
push ebp
push 0x4e26ff
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 0x4e26df
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4e26e3
xor eax, eax
jmp 0x4e26e5
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2706
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 0x4e2728
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043b4
ret
Function at 0x4e2738
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.00404840
mov eax, dword [ebp - 8]
call fcn.00404840
mov eax, dword [ebp - 0xc]
call fcn.00404840
mov eax, dword [ebp + 0xc]
call fcn.00404840
xor eax, eax
push ebp
push 0x4e28a7
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.00404850
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x4e28b8
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.00404850
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4e2884
xor edx, edx
push ebp
push 0x4e287d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404850
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404850
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404850
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x4e2866
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 0x4e285d
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4e2861
xor eax, eax
jmp 0x4e2863
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2884
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 0x4e28ae
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043b4
lea eax, [ebp + 0xc]
call fcn.00404390
ret
Function at 0x4e28c0
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, 0x4e2988
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4e298c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4e2988
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4e297f
xor eax, eax
push ebp
push 0x4e2978
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 0x4e297f
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 0x4e3f14
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff4
mov bl, 2
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00402f64
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4e3f4b
cmp byte [esp], 0x31
jne 0x4e3f49
mov bl, 1
jmp 0x4e3f4b
xor ebx, ebx
mov eax, ebx
add esp, 0xc
pop ebx
ret