joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0f37
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b2bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x5cceb0
mov dword [esp + 0xc], esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
lea ebp, [esi + 0x84]
mov ecx, ebp
mov byte [esp + 0x18], 7
call fcn.00431bc0
mov dword [ebp + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
lea ebp, [esi + 0xb8]
mov ecx, ebp
mov byte [esp + 0x18], 0xa
call fcn.00431bc0
mov dword [ebp + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0xc8]
mov ecx, ebp
mov byte [esp + 0x18], 0xb
call fcn.00423450
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0x11], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov eax, 0xff
mov word [esi + 0xb2], ax
mov word [esi + 0xb0], ax
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c4b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b3898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x60]
fld dword [ecx + 8]
mov dword [esp + 0x48], 0x42480000
fadd dword [eax + 8]
fld dword [eax + 4]
fadd dword [ecx + 4]
fld dword [eax]
fadd dword [ecx]
fstp dword [esp + 8]
mov edx, dword [esp + 8]
mov dword [esp + 0x3c], edx
fstp dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
fld dword [esp + 0x44]
fadd dword [ecx + 8]
fld dword [esp + 0x40]
fadd dword [ecx + 4]
fld dword [esp + 0x3c]
fadd dword [ecx]
fstp dword [esp + 8]
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [eax]
fstp dword [esp + 0x10]
fld dword [eax + 8]
mov ecx, dword [esp + 0x10]
fld dword [eax + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [0x6247dc]
fstp dword [esp + 0x18]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x1c]
lea eax, [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
lea edx, [esp + 0x20]
push eax
xor ebx, ebx
mov dword [esp + 0x10], edx
push 0x42c80000
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004c3980
cmp byte [esp + 8], bl
jne 0x4c4c4a
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4c4cd2
push eax
call fcn.0057ad56
add esp, 4
pop esi
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 8
mov eax, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x28]
cmp ebp, eax
push edi
mov edi, ebp
je 0x4c4cc3
lea ebx, [ebx]
mov ecx, dword [esi + 0x9ec]
mov eax, dword [esi + 0x9e8]
cmp ecx, eax
mov edx, dword [edi]
mov dword [esp + 0x64], edx
je 0x4c4c85
cmp dword [eax], edx
je 0x4c4c81
add eax, 4
cmp eax, ecx
jne 0x4c4c76
cmp ecx, eax
jne 0x4c4cb8
mov ecx, dword [esi + 0x9dc]
mov eax, dword [esi + 0x9d8]
cmp ecx, eax
je 0x4c4ca4
cmp dword [eax], edx
je 0x4c4ca0
add eax, 4
cmp eax, ecx
jne 0x4c4c95
cmp ecx, eax
jne 0x4c4cb8
lea eax, [esp + 0x64]
push eax
lea ecx, [esi + 0x9d4]
call fcn.004aff50
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add edi, 4
cmp edi, eax
jne 0x4c4c60
cmp ebp, ebx
je 0x4c4cd0
push ebp
call fcn.0057ad56
add esp, 4
pop edi
pop ebp
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8
Function at 0x4cceb0
Capabilities:
Access peb ldr_data

Disassembly:
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 4]
mov dword [esp + 0xc], eax
mov eax, dword [0x629458]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
jmp fcn.004ccd20

Function at 0x4d0070
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x20]
test ecx, ecx
push edi
jle 0x4d00a2
mov eax, dword [esi + 0x1c]
sub eax, ecx
test eax, eax
jle 0x4d0095
mov edx, dword [esi + 0x14]
push eax
lea eax, [edx + ecx]
push eax
push edx
call fcn.0057a980
add esp, 0xc
mov ecx, dword [esi + 0x20]
sub dword [esi + 0x1c], ecx
mov dword [esi + 0x20], 0
mov al, byte [esi + 0x41]
test al, al
mov eax, dword [esi + 0x18]
je 0x4d014e
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xc]
sub eax, ecx
mov ecx, dword [esi + 0x10]
sub ecx, edx
cmp ecx, eax
jge 0x4d00c3
mov eax, ecx
test eax, eax
jle 0x4d0185
mov ecx, dword [esi + 0x64]
push 0
push eax
mov eax, dword [esi + 8]
add eax, edx
push eax
push ecx
call sub.WS2_32.dll_recv
mov edi, eax
test edi, edi
jge 0x4d00f4
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4d00fa
pop edi
xor al, al
pop esi
ret
je 0x4d017b
mov ecx, dword [esi + 0xc]
add ecx, edi
mov edi, ecx
cmp edi, 8
mov dword [esi + 0xc], ecx
jl 0x4d0185
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
and edi, 0xfffffff8
push edi
lea edx, [esi + 0x52]
push edx
push eax
add ecx, dword [esi + 0x1c]
push ecx
call fcn.004fb190
mov edx, dword [esi + 0x1c]
add edx, eax
mov eax, dword [esi + 0xc]
add esp, 0x10
cmp eax, edi
mov dword [esi + 0x1c], edx
jle 0x4d0146
mov ecx, dword [esi + 8]
sub eax, edi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call fcn.0057a980
add esp, 0xc
sub dword [esi + 0xc], edi
pop edi
mov al, 1
pop esi
ret
mov ecx, dword [esi + 0x1c]
sub eax, ecx
test eax, eax
jle 0x4d0185
push 0
push eax
mov eax, dword [esi + 0x14]
add eax, ecx
mov ecx, dword [esi + 0x64]
push eax
push ecx
call sub.WS2_32.dll_recv
mov edi, eax
test edi, edi
jge 0x4d0180
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4d0182
pop edi
xor al, al
pop esi
ret
je 0x4d017b
add dword [esi + 0x1c], edi
pop edi
mov al, 1
pop esi
ret
Function at 0x4d0230
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.004d01d0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea edi, [esi + 0x68]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
push 0
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
push 1
push 2
mov dword [ecx + 0xc], eax
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x64], eax
jne 0x4d0282
mov ecx, esi
call fcn.004d01d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
pop edi
xor al, al
pop esi
pop ecx
ret 8
lea ecx, [esp + 8]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x14], 1
call sub.WS2_32.dll_ioctlsocket
mov ecx, edi
call fcn.00540620
mov edx, dword [esi + 0x64]
push eax
push edi
push edx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x4d02e0
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4d02e0
push 0x5ce24c
call fcn.004fa0d0
add esp, 4
mov ecx, esi
call fcn.004d01d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop edi
xor al, al
pop esi
pop ecx
ret 8
push 0
call fcn.0057c372
mov ecx, dword [esp + 0x18]
add esp, 4
add eax, ecx
mov dword [esi + 4], eax
pop edi
mov al, 1
pop esi
pop ecx
ret 8

Function at 0x4d0300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b3b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x620368]
xor eax, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0xc]
call fcn.004d1450
mov eax, dword [esp + 0x34]
push eax
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004d1470
push 3
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004d0230
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
call fcn.00401000
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x14]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0057b3d4
add esp, 0x20
ret 0xc
Function at 0x4d0570
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x41]
test al, al
push edi
je 0x4d0603
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
sub edi, eax
test edi, edi
jle 0x4d0634
mov edx, dword [esi + 0x30]
push edi
add edx, eax
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x42]
push ecx
push edx
add eax, dword [esi + 0x2c]
push eax
call fcn.004fb120
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x3c]
add ecx, eax
mov eax, ecx
add edx, edi
add esp, 0x10
test eax, eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x3c], edx
jle 0x4d062d
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x64]
push 0
push eax
push ecx
push edx
call sub.WS2_32.dll_send
mov edi, eax
test edi, edi
jl 0x4d0625
mov eax, dword [esi + 0x2c]
cmp eax, edi
jle 0x4d05ef
mov ecx, dword [esi + 0x24]
sub eax, edi
push eax
lea eax, [ecx + edi]
push eax
push ecx
call fcn.0057a980
add esp, 0xc
mov eax, dword [esi + 0x2c]
sub eax, edi
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.004d0190
pop edi
mov al, 1
pop esi
ret
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
sub eax, ecx
test eax, eax
jle 0x4d0634
mov edx, dword [esi + 0x30]
push 0
push eax
mov eax, dword [esi + 0x64]
add edx, ecx
push edx
push eax
call sub.WS2_32.dll_send
test eax, eax
jge 0x4d062a
pop edi
xor al, al
pop esi
ret
add dword [esi + 0x3c], eax
mov ecx, esi
call fcn.004d0190
pop edi
mov al, 1
pop esi
ret

Function at 0x4d0640
Capabilities:
Get socket status

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
mov eax, dword [esi + 0x64]
cmp eax, 0xffffffff
je 0x4d0765
mov dword [esp + 0x114], eax
mov dword [esp + 0x10], eax
mov ecx, 1
lea eax, [esp + 4]
push eax
push 0
mov dword [esp + 0x118], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x11c]
push edx
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
je 0x4d0765
mov al, byte [esi + 0x40]
test al, al
jne 0x4d06fb
mov ecx, dword [esi + 0x64]
lea eax, [esp + 0xc]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4d06d0
mov edx, dword [esi]
mov ecx, esi
mov byte [esi + 0x40], 1
call dword [edx + 4]
pop esi
add esp, 0x210
ret
push 0
call fcn.0057c372
mov ecx, dword [esi + 4]
add esp, 4
cmp eax, ecx
jle 0x4d0765
mov ecx, esi
call fcn.004d01d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop esi
add esp, 0x210
ret
mov edx, dword [esi + 0x64]
lea ecx, [esp + 0xc]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4d072c
mov eax, dword [esi + 0x38]
cmp eax, dword [esi + 0x3c]
jle 0x4d072c
mov ecx, esi
call fcn.004d0570
test al, al
jne 0x4d072c
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4d0757
mov ecx, dword [esi + 0x64]
lea eax, [esp + 0x110]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4d074c
mov ecx, esi
call fcn.004d0070
test al, al
je 0x4d0757
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test al, al
jne 0x4d0765
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
mov ecx, esi
call fcn.004d01d0
pop esi
add esp, 0x210
ret
Function at 0x4d0920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b3b59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc], ebx
mov dword [ebx], 0x5ce28c
call fcn.004d1450
xor eax, eax
lea ecx, [ebx + 0x80]
mov dword [esp + 0x18], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push eax
push 0x8000
mov byte [esp + 0x20], 1
mov dword [ebx + 0x64], 0xffffffff
mov byte [ebx + 0x41], al
mov byte [ebx + 0x40], al
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x78], eax
mov byte [ebx + 0x7c], al
call fcn.00477ec0
mov edi, dword [ebx + 0x84]
mov ecx, 0x2000
mov esi, 0x606470
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4d1470
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov al, byte [ecx]
cmp al, 0x30
jl 0x4d149e
cmp al, 0x39
jg 0x4d149e
push ecx
call sub.WS2_32.dll_inet_addr
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
push eax
call sub.WS2_32.dll_htons
mov word [esi + 2], ax
mov al, 1
pop esi
ret 8
push ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4d14c6
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov dword [esi + 4], edx
call sub.WS2_32.dll_htons
mov word [esi + 2], ax
mov al, 1
pop esi
ret 8
xor al, al
pop esi
ret 8
Function at 0x4d2370
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [ecx + 4]
push 0x10
push eax
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
push ecx
call sub.WS2_32.dll_sendto
ret 0xc
Function at 0x4de310
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b42bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esi], 0x5ce930
xor ebx, ebx
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], ebx
push edi
mov dword [esp + 0x10], esi
mov byte [esi + 8], bl
lea ecx, [esi + 0x30]
mov dword [esp + 0x1c], ebx
call fcn.004fb880
lea ebp, [esi + 0x44]
mov ecx, ebp
mov byte [esp + 0x1c], 1
call fcn.004de070
lea edi, [esi + 0x88]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
push 6
push 0x5ce934
lea ecx, [esi + 0x48]
mov byte [esp + 0x24], 3
mov dword [esi + 0x84], ebp
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call fcn.004041a0
push 0x80
mov ecx, edi
mov dword [esi + 0x70], ebx
call fcn.004dcd50
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4dee40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b4388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x5ce9d8
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.004dafd0
mov eax, 0x3f800000
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
xor eax, eax
lea ecx, [esi + 0x38]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004db730
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4e1540
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 4]
test al, al
mov byte [ecx + 0x19], al
je 0x4e155a
mov eax, dword [ecx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x4e3780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b46b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x5ceb50
mov dword [esi + 4], 0x5ceb4c
mov dword [esi + 8], 0x5ceb48
mov dword [esi + 0x50], 0x5ceb44
mov eax, dword [esi + 0x68]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], 3
je 0x4e37d6
push eax
call fcn.0057ad56
add esp, 4
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x4e37ef
push eax
call fcn.0057ad56
add esp, 4
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x4e3808
push eax
call fcn.0057ad56
add esp, 4
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
lea edi, [esi + 0x20]
push eax
push ecx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004e2ce0
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
add esp, 4
lea ecx, [esi + 0xc]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.00450ad0
mov dword [esi + 8], 0x5ceb38
mov dword [0x65b9fc], ebx
mov ecx, esi
mov dword [esi + 4], 0x5ceb34
mov dword [esp + 0x24], 0xffffffff
call fcn.004cf880
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4e4170
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x620368]
mov ecx, dword [ebp + 0x398]
push ebx
xor eax, ebp
cmp ecx, 2
push esi
mov dword [ebp + 0x38c], eax
push edi
jae 0x4e4381
mov eax, dword [0x65cee8]
cmp dword [0x65d764], eax
je 0x4e43da
mov cl, byte [0x65d717]
test cl, cl
mov dword [0x65d764], eax
je 0x4e41dc
cmp ax, 0x404
jne 0x4e41dc
mov eax, 0x7000404
mov dword [0x65d71c], eax
mov dword [0x65d720], 0
jmp 0x4e4383
cmp eax, 0xe0080404
je 0x4e41ff
cmp eax, 0xe0090404
je 0x4e41ff
cmp eax, 0xe00a0404
je 0x4e41ff
cmp eax, 0xe00b0404
je 0x4e41ff
cmp eax, 0xe00e0804
jne 0x4e4212
push 0x3ff
lea ecx, [ebp - 0x74]
push ecx
push eax
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
jne 0x4e4223
xor eax, eax
mov dword [0x65d720], eax
mov dword [0x65d71c], eax
jmp 0x4e4381
mov eax, dword [0x65cef4]
xor edi, edi
cmp eax, edi
jne 0x4e42c3
mov esi, dword [sym.imp.KERNEL32.DLL_CompareStringA]
push 0xffffffffffffffff
push 0x5cebac
push 0xffffffffffffffff
lea edx, [ebp - 0x74]
push edx
push 1
push 0x409
call esi
cmp eax, 2
je 0x4e42c3
push 0xffffffffffffffff
push 0x5ceb9c
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4e42c3
push 0xffffffffffffffff
push 0x5ceb8c
push 0xffffffffffffffff
lea ecx, [ebp - 0x74]
push ecx
push 1
push 0x409
call esi
cmp eax, 2
je 0x4e42c3
push 0xffffffffffffffff
push 0x5ceb7c
push 0xffffffffffffffff
lea edx, [ebp - 0x74]
push edx
push 1
push 0x409
call esi
cmp eax, 2
je 0x4e42c3
push 0xffffffffffffffff
push 0x5ceb6c
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x4e4375
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x74]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, dword [0x65cee8]
mov esi, eax
cmp esi, edi
je 0x4e4375
add eax, 3
and eax, 0xfffffffc
call fcn.0057caf0
mov eax, dword [ebp - 0x7c]
mov edi, esp
push edi
push esi
push eax
lea ecx, [ebp - 0x74]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4e4373
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x78]
push eax
push 0x5ca4d0
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4e4373
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 8]
xor edx, edx
mov dh, al
and eax, 0xffff0000
or edx, eax
shl edx, 8
mov eax, edx
mov edx, dword [0x65cef4]
test edx, edx
jne 0x4e43c1
cmp bx, 0x404
jne 0x4e43a5
cmp eax, 0x4020000
je 0x4e43c1
cmp eax, 0x4030000
je 0x4e43c1
cmp eax, 0x4040000
je 0x4e43c1
cmp eax, 0x5000000
je 0x4e43c1
cmp eax, 0x5010000
je 0x4e43c1
cmp eax, 0x5020000
je 0x4e43c1
cmp eax, 0x6000000
je 0x4e43c1
xor edi, edi
mov dword [0x65d720], edi
mov dword [0x65d71c], edi
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x38c]
xor ecx, ebp
call fcn.0057b3d4
add ebp, 0x390
mov esp, ebp
pop ebp
ret 4
cmp bx, 0x804
jne 0x4e4373
cmp eax, 0x4010000
je 0x4e43c1
cmp eax, 0x4020000
je 0x4e43c1
cmp eax, 0x5030000
jne 0x4e4373
movzx edx, bx
or edx, eax
mov dword [0x65d71c], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x398]
mov dword [0x65d720], eax
mov eax, dword [ecx*4 + 0x65d71c]
jmp 0x4e4383
Function at 0x4e43f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x620368]
mov ecx, dword [0x65cee8]
xor eax, esp
cmp ecx, 0xe00e0804
mov dword [esp + 0x114], eax
je 0x4e4539
cmp ecx, 0xe0090404
je 0x4e4539
mov eax, dword [0x65d71c]
test eax, eax
je 0x4e4539
push ebx
xor bl, bl
cmp cx, 0x404
jne 0x4e4550
push ebp
push esi
push edi
mov ecx, 0xa
mov esi, 0x5cebe4
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
and eax, 0xffff0000
movsw word es:[edi], word [esi]
mov ebp, eax
cmp ebp, 0x5010000
movsb byte es:[edi], byte [esi]
mov eax, 0x5cebdc
jae 0x4e446c
mov eax, 0x5cebd0
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e4470
lea edi, [esp + 0x20]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4e4480
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x10]
push eax
and ecx, 3
push 0x20019
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x2c]
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e451e
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x5cebbc
push edx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e4513
cmp ebp, 0x5000000
mov al, byte [esp + 0x14]
ja 0x4e44f9
cmp al, 0x22
je 0x4e4511
cmp al, 0x23
je 0x4e4511
cmp ebp, 0x5010000
je 0x4e4509
cmp ebp, 0x5020000
jne 0x4e4513
cmp al, 0x22
jb 0x4e4513
cmp al, 0x24
ja 0x4e4513
mov bl, 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0057b3d4
add esp, 0x118
ret
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0057b3d4
add esp, 0x118
ret
mov ecx, dword [esp + 0x118]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0057b3d4
add esp, 0x118
ret