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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c6672
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004c5d1c
xor eax, eax
push ebp
push 0x4c6655
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4c65a0
call fcn.00403b64
jmp 0x4c665c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4c663f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4c663f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004034e8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4c663f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c6b0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4c668c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x51b468]
mov dl, 1
mov eax, dword [0x4c55f4]
call fcn.0040cfd4
call fcn.00403ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c665c
mov eax, dword [ebp - 4]
call fcn.004c5d28
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6679
lea eax, [ebp - 0x28]
call fcn.0040413c
ret
Function at 0x4c66d8
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c6822
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004c5d1c
xor eax, eax
push ebp
push 0x4c6805
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4c673d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4c673d
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4c67ef
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4c6750
call fcn.00403b64
jmp 0x4c680c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4c67ef
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4c67ef
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004034e8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4c67ef
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c6b0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4c683c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x51b468]
mov dl, 1
mov eax, dword [0x4c55f4]
call fcn.0040cfd4
call fcn.00403ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c680c
mov eax, dword [ebp - 4]
call fcn.004c5d28
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6829
lea eax, [ebp - 0x28]
call fcn.0040413c
ret

Function at 0x4c6f3c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040413c
push 0
push 0
push 0x4c6f90
call sub.kernel32.dll_GetEnvironmentVariableA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4c6f89
mov edx, dword [ebp - 8]
dec edx
mov eax, dword [ebp - 4]
call fcn.00404788
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004045fc
push eax
push 0x4c6f90
call sub.kernel32.dll_GetEnvironmentVariableA
pop ecx
pop ecx
pop ebp
ret
Function at 0x4c6f98
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045ec
xor eax, eax
push ebp
push 0x4c7132
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040413c
mov word [0x51d280], 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4a4a48]
call fcn.0040568c
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4c7101
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4c7140
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c70a9
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov ecx, 4
call fcn.004029a4
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x20]
mov eax, 8
call fcn.00408e9c
lea eax, [ebp - 0x24]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040465c
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0x20]
call fcn.0040465c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
pop ecx
call fcn.00404448
jmp 0x4c70b6
lea eax, [ebp - 0x20]
mov edx, 0x4c7164
call fcn.004041d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4c7178
push dword [ebp - 0x20]
push 0x4c7194
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004044bc
mov eax, dword [ebp - 0x2c]
call fcn.004045fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c7101
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4a4acc]
call fcn.004a4f58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7139
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404160
lea eax, [ebp - 0xc]
mov edx, dword [0x4a4a48]
call fcn.004057ac
lea eax, [ebp - 4]
call fcn.0040413c
ret
Function at 0x4c71a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
xor edx, edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045ec
xor eax, eax
push ebp
push 0x4c732d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51d2a0], 0xa
jge 0x4c730c
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 4]
mov edx, 0x4c7340
call fcn.00404448
mov eax, dword [ebp - 0x184]
call fcn.004045fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c730c
mov dword [ebp - 0xc], 0x64
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x7d]
push eax
push 0
push 0
push 0x4c7354
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4c7303
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x17d]
push eax
push 0
push 0
push 0x4c7368
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4c7303
mov byte [ebp - 0x11], 0
mov eax, dword [0x51d2a0]
dec eax
test eax, eax
jl 0x4c72ae
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x51d2f8]
call fcn.004045fc
lea edx, [ebp - 0x7d]
call fcn.00408898
test eax, eax
jne 0x4c72a6
mov byte [ebp - 0x11], 1
jmp 0x4c72ae
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4c7285
cmp byte [ebp - 0x11], 0
jne 0x4c7303
inc dword [0x51d2a0]
mov eax, dword [0x51d2a0]
lea eax, [eax*4 + 0x51d2a4]
lea edx, [ebp - 0x17d]
mov ecx, pe_nt_image_headers32
call fcn.004043ac
mov eax, dword [0x51d2a0]
lea eax, [eax*4 + 0x51d2cc]
mov edx, dword [ebp - 4]
call fcn.00404190
mov eax, dword [0x51d2a0]
lea eax, [eax*4 + 0x51d2f4]
lea edx, [ebp - 0x7d]
mov ecx, 0x65
call fcn.004043ac
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7334
lea eax, [ebp - 0x184]
call fcn.0040413c
lea eax, [ebp - 4]
call fcn.0040413c
ret
Function at 0x4ca2a4
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x4ca432
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x51ad5c]
cmp byte [eax], 0
jne 0x4ca2cd
call fcn.004ca6ec
mov byte [0x51d28a], 0
cmp dword [0x51d2a0], 1
jle 0x4ca392
cmp dword [0x51d298], 0
je 0x4ca392
lea eax, [ebp - 4]
call fcn.004c6f3c
lea edx, [ebp - 0x10]
mov eax, dword [0x51d274]
call fcn.004094fc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4ca448
call fcn.00404448
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00404740
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4ca392
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004043fc
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004043fc
sub ebx, eax
sub ebx, dword [ebp - 0xc]
inc ebx
push ebx
mov eax, dword [ebp - 8]
call fcn.004043fc
mov edx, eax
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
pop ecx
call fcn.0040465c
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040465c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
pop ecx
call fcn.00404448
mov eax, dword [ebp - 4]
call fcn.004045fc
push eax
push 0x4ca44c
call sub.kernel32.dll_SetEnvironmentVariableA
cmp dword [0x51d324], 0
jbe 0x4ca3ad
mov eax, dword [0x51d324]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
mov dword [0x51d324], eax
cmp dword [0x51d328], 0
jbe 0x4ca3c8
mov eax, dword [0x51d328]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
mov dword [0x51d328], eax
mov eax, 0x51d274
call fcn.0040413c
mov eax, 0x51d278
call fcn.0040413c
mov eax, 0x51d27c
call fcn.0040413c
mov word [0x51d280], 0
mov byte [0x51d282], 0
mov al, byte [0x4ca454]
mov byte [0x51d283], al
mov eax, 0x51d298
call fcn.0040413c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca439
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404160
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404160
ret
Function at 0x4cb6ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405810
xor eax, eax
push ebp
push 0x4cb7ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4a4a48]
call fcn.0040568c
add esp, 4
mov eax, dword [ebp - 4]
call fcn.004054d0
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x4a4a48]
call fcn.0040568c
add esp, 4
mov eax, dword [ebp - 4]
call fcn.004054d0
mov esi, eax
test esi, esi
jns 0x4cb723
add esi, 7
sar esi, 3
dec esi
test esi, esi
jl 0x4cb775
inc esi
xor ebx, ebx
xor eax, eax
mov edx, ebx
shl edx, 3
add edx, eax
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx]
mov ecx, dword [ebp - 0x10]
xor byte [ecx + eax], dl
inc eax
cmp eax, 8
jne 0x4cb730
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004cb7dc
cmp byte [ebp - 5], 0
jne 0x4cb771
mov eax, ebx
shl eax, 3
push eax
push 8
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.004cb5ec
inc ebx
dec esi
jne 0x4cb72e
cmp byte [ebp - 5], 0
je 0x4cb78e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x4a4a48]
call fcn.004057e8
jmp 0x4cb79f
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x4a4a48]
call fcn.004057e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb7d5
lea eax, [ebp - 0x14]
mov edx, dword [0x4a4a48]
mov ecx, 2
call fcn.00404cc8
lea eax, [ebp - 4]
mov edx, dword [0x4a4a48]
call fcn.004057ac
ret
Function at 0x4ea0e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4ea0e8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ea2eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x51b48c]
cmp byte [eax], 0
jne 0x4ea2b3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
jne 0x4ea2a3
xor edx, edx
push ebp
push 0x4ea27f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 1
je 0x4ea147
mov eax, dword [0x51b4dc]
test byte [eax], 2
jne 0x4ea1cb
mov eax, dword [ebp - 4]
call fcn.004e9f7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x4ea304
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b79a0
mov ebx, eax
mov dx, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dl, 2
mov eax, ebx
call fcn.004b7704
mov edx, 0x41
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 1
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b79a0
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00413f6c
jmp 0x4ea275
mov edx, 0xff
mov eax, dword [0x4a4acc]
call fcn.004a4e7c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ea252
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0xff
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
push eax
mov eax, dword [0x51aeac]
mov eax, dword [eax]
call eax
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4a4acc]
call fcn.004a4f58
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00404190
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea259
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4a4acc]
call fcn.004a4e98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ea2a3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.00404190
jmp 0x4ea2c8
mov edx, dword [0x51afc8]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
mov ecx, 0x4ea37c
call fcn.00404448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea2f2
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404160
lea eax, [ebp - 0x1c]
call fcn.004109f0
ret
Function at 0x4eb3f8
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov ebx, ecx
mov edi, edx
mov esi, eax
push 0
mov eax, dword [edi]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4eb42a
mov eax, dword [edi]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [edi], eax
test bl, bl
je 0x4eb44b
push 1
push 0x400
push 0x400
mov eax, dword [esi + 0xc4]
push eax
lea eax, [esp + 0x10]
push eax
call sub.user32.dll_PeekMessageA
mov al, 1
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x5124fc
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1d4], ecx
mov edi, edx
xor eax, eax
push ebp
push 0x5125c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, edi
call fcn.0040413c
push 0x40
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x5125a8
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x51259d
test ebx, ebx
jne 0x51256e
mov eax, dword [esi + ebx*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, edi
call fcn.004098d8
jmp 0x51259c
push dword [edi]
push 0x5125d8
mov eax, dword [esi + ebx*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0x1d4]
call fcn.004098d8
push dword [ebp - 0x1d4]
mov eax, edi
mov edx, 3
call fcn.004044bc
inc ebx
cmp dword [esi + ebx*4], 0
jne 0x512557
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5125c8
lea eax, [ebp - 0x1d4]
call fcn.0040413c
ret
Function at 0x4dabf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x4dad52
cmp edi, esi
je 0x4dad52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x4dad42
add edi, 4
jmp 0x4daca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x4dacb8
mov dword [ebp - 4], 2
jmp 0x4dacd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x4daccf
mov dword [ebp - 4], 1
jmp 0x4dacd9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x4dad52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x4dad10
mov byte [ecx + 2], 0x3d
jmp 0x4dad1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x4dad2c
mov byte [ecx], 0x3d
jmp 0x4dad32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x4daca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1ca6380
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x1ca68a0
test edx, edx
je 0x1ca68a0
call fcn.01ca6397
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x1caa080
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.01caa089
Function at 0x1cba790
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov eax, dword [0x1d8f008]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
lea esi, [ebp - 0x24]
mov ecx, esi
push str.type
call fcn.01cf1750
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edi, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.01cf1750
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.01cba840
add esp, 0xc
cmp byte [ebp - 0x25], 0
js 0x1cba82b
cmp byte [ebp - 0x19], 0
jns 0x1cba7fc
push dword [ebp - 0x24]
call fcn.01cc3180
add esp, 4
lea ecx, [ebp - 0x18]
call fcn.01cbaa50
mov dword [0x1da26f8], eax
cmp byte [ebp - 0xd], 0
jns 0x1cba81a
push dword [ebp - 0x18]
call fcn.01cc3180
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01cc3f9d
add esp, 0x28
pop esi
pop edi
pop ebp
ret
push dword [ebp - 0x30]
call fcn.01cc3180
add esp, 4
cmp byte [ebp - 0x19], 0
jns 0x1cba7fc
jmp 0x1cba7f1
Function at 0x1cbab40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x1d8f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 6
push 0x1d7fd9a
call fcn.01d1b7e0
mov ecx, edi
push 0xd
push str.0.0.0.0_devel
call fcn.01d1b7e0
cmp byte [esi + 0xb], 0
js 0x1cbab8a
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x1cbab98
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], 0
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x1cbaba9
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1cbad09
mov esi, eax
push eax
call fcn.01cc31b3
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp byte [ebx + 0xb], 0
jns 0x1cbabd3
mov ebx, dword [ebx]
push edi
push esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1cbacfc
lea esi, [ebp - 0x20]
mov ecx, esi
push 0x1d7fdc4
call fcn.01cf1750
mov ecx, edi
mov edx, esi
push dword [ebp + 0x10]
call fcn.01d1f200
add esp, 4
cmp byte [ebp - 0x15], 0
jns 0x1cbac13
push dword [ebp - 0x20]
call fcn.01cc3180
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
lea ebx, [ebp - 0x2c]
mov ecx, ebx
push 0x1d7fdee
call fcn.01cf1750
mov ecx, edi
mov edx, ebx
push esi
call fcn.01d1f200
add esp, 4
cmp byte [ebp - 0x21], 0
jns 0x1cbac55
push dword [ebp - 0x2c]
call fcn.01cc3180
add esp, 4
movzx eax, byte [ebp - 0x15]
mov edx, eax
and edx, 0x7f
test al, al
cmovs edx, dword [ebp - 0x1c]
cmovs esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
push edx
push esi
call fcn.01cf1490
cmp dword [ebp - 0x28], 1
jne 0x1cbac81
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x31
je 0x1cbac90
mov ecx, dword [ebp + 0x10]
push 6
push str._devel
call fcn.01cb8fd0
lea esi, [ebp - 0x2c]
mov ecx, esi
push 0x1d7fe1a
call fcn.01cf1750
mov ecx, edi
mov edx, esi
push dword [ebp + 0xc]
call fcn.01d1f200
add esp, 4
cmp byte [ebp - 0x21], 0
jns 0x1cbacbf
push dword [ebp - 0x2c]
call fcn.01cc3180
add esp, 4
mov ecx, esi
push str.SpecialBuild
call fcn.01cf1750
mov ecx, edi
mov edx, esi
push dword [ebp + 0x14]
call fcn.01d1f200
add esp, 4
cmp byte [ebp - 0x21], 0
jns 0x1cbaceb
push dword [ebp - 0x2c]
call fcn.01cc3180
add esp, 4
cmp byte [ebp - 0x15], 0
jns 0x1cbacfc
push dword [ebp - 0x20]
call fcn.01cc3180
add esp, 4
test edi, edi
je 0x1cbad09
push edi
call fcn.01cc31bc
add esp, 4
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.01d1f4c0
add esp, 8
mov esi, dword [ebp + 0x18]
cmp byte [esi + 0xb], 0
jns 0x1cbad2a
push dword [esi]
call fcn.01cc3180
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x20]
movsd qword [esi], xmm0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cc3f9d
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret