joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fb58
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 0x40fbbc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
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.00405300
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a3d0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fbc3
lea eax, [ebp - 0xc]
call fcn.00405090
ret

Function at 0x4263e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x55b88c
cmp dword [esi], 0
jne 0x426486
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x55b888]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x551574
mov ecx, 2
call fcn.00402e14
mov edx, 0x4263b8
mov eax, dword [ebp - 8]
add eax, 5
call fcn.004263d8
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.004263d8
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x42644d
mov eax, dword [ebp - 8]
mov dword [0x55b888], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4283c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040555c
mov eax, dword [ebp - 8]
call fcn.0040555c
xor eax, eax
push ebp
push 0x4284cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405090
cmp dword [ebp - 4], 0
je 0x428420
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x428420
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040560c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040556c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4284b1
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.0040556c
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4284a1
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.004056f8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.0040556c
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
push ebx
mov eax, dword [ebx]
call fcn.0040536c
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.004055cc
jmp 0x4284a8
mov eax, ebx
call fcn.00405090
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4284d3
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050b4
ret

Function at 0x4286d8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
push esi
mov esi, 0x428730
lea edi, [ebp - 0x400]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop esi
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, ebx
call fcn.0040556c
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov eax, esi
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.00405300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x428b74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040556c
push eax
call 0x407cf4
cmp eax, 0xffffffff
je 0x428b8d
test al, 0x10
jne 0x428b91
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x429124
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040555c
xor eax, eax
push ebp
push 0x42920e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040536c
dec eax
jle 0x42918d
mov edx, dword [ebp - 4]
mov eax, 0x429224
call fcn.004056b0
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040536c
dec eax
cmp ebx, eax
jne 0x42918d
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.0040536c
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004055cc
mov eax, dword [ebp - 4]
call fcn.0040536c
mov ebx, eax
test ebx, ebx
jle 0x4291c4
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
call fcn.004055c4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov cl, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 8]
dec ebx
jne 0x4291a2
mov eax, dword [ebp - 4]
call fcn.0040536c
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 8], 0
jle 0x4291f8
lea eax, [ebp - 4]
call fcn.004055c4
mov edx, eax
mov ecx, dword [ebp - 8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429215
lea eax, [ebp - 4]
call fcn.00405090
ret

Function at 0x4296f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edx, [ebp - 4]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004056f8
cmp dword [ebp - 4], 0
jle 0x42972d
mov eax, ebx
call fcn.004055c4
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx]
call fcn.0040536c
mov esi, eax
test esi, esi
jle 0x429761
mov dword [ebp - 4], 1
mov eax, ebx
call fcn.004055c4
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov edi, dword [ebp - 4]
mov cl, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 4]
dec esi
jne 0x429741
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42a8d8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 4]
mov dword [edi], 0x10
push edi
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405300
mov eax, dword [esi]
call fcn.0040536c
mov ebx, eax
test ebx, ebx
jbe 0x42a94a
mov dword [edi], 1
mov eax, dword [esi]
mov edx, dword [edi]
mov al, byte [eax + edx - 1]
and eax, 0xff
bt dword [0x551958], eax
jae 0x42a945
mov eax, esi
call fcn.004055c4
mov edx, dword [edi]
mov byte [eax + edx - 1], 0x5f
inc dword [edi]
dec ebx
jne 0x42a921
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b0b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, ecx
shl edx, 2
add edx, eax
mov dword [esp], edx
mov eax, dword [esp]
call fcn.00406964
test eax, eax
je 0x42b10e
lea eax, [esp + 4]
push eax
push 0x40
push 4
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov dword [eax], ebx
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
push 4
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
push 4
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop ecx
pop edx
pop ebx
ret

Function at 0x42b308
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
push esp
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, edi
mov ecx, esi
call fcn.00402e14
push esp
mov eax, dword [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42b8fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp], edx
mov ebp, eax
lea edi, [esp + 0x14]
mov eax, dword [0x55b8b0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42b948
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [0x55b8b0]
call fcn.0041c1f8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax]
jne 0x42b944
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
jmp 0x42ba2e
inc esi
dec ebx
jne 0x42b91c
mov dword [esp + 8], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
xor ebx, ebx
mov edx, edi
mov eax, dword [esp + 0xc]
call fcn.0042b500
test al, al
jne 0x42b968
mov byte [edi], 1
xor eax, eax
mov al, byte [edi]
add ebx, eax
xor eax, eax
mov al, byte [edi]
add dword [esp + 0xc], eax
cmp ebx, 5
jb 0x42b956
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.0042b654
mov edi, eax
add edi, 5
mov eax, edi
call fcn.00402b08
mov esi, eax
mov eax, 0x14
call fcn.00402b08
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
mov dword [eax + 4], esi
mov eax, dword [esp + 0x18]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x18]
mov dword [eax + 0x10], ebx
mov eax, ebx
call fcn.00402b08
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [eax + 0xc], ebp
mov edx, ebp
mov eax, dword [esp + 8]
mov ecx, ebx
call fcn.00402e14
mov edx, dword [esp + 0x18]
mov eax, dword [0x55b8b0]
call fcn.0041c088
lea eax, [esp + 0x10]
push eax
push 0x40
push edi
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, dword [esp + 8]
mov ecx, ebx
call fcn.00402e14
mov ecx, ebx
mov edx, dword [esp + 8]
mov eax, esi
call fcn.0042b720
mov edx, dword [esp + 8]
add edx, ebx
lea eax, [ebx + esi]
call fcn.0042b348
mov edx, dword [esp]
mov eax, dword [esp + 8]
call fcn.0042b348
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42bcc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, 0x40
mov eax, ebx
call fcn.00427dbc
test al, al
je 0x42bd14
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x42bd14
cmp dword [eax + 0x3c], 0
je 0x42bd14
mov eax, dword [eax + 0x3c]
add eax, ebx
mov dword [ebp - 4], eax
mov edx, 0xf8
mov eax, dword [ebp - 4]
call fcn.00427dbc
test al, al
je 0x42bd0f
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x42bd14
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ebp
ret
Function at 0x42c35c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x42c3d1
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
lea eax, [ebp - 7]
push eax
push 0x1004
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x2c]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405300
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a3d0
push 2
lea edx, [ebp - 0x27]
push edx
push eax
call sub.gdi32.dll_TranslateCharsetInfo
mov ebx, dword [ebp - 0x27]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c3d8
lea eax, [ebp - 0x2c]
call fcn.00405090
ret

Function at 0x42c590
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.0040556c
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.00403758
cmp dword [esp + 4], 0
je 0x42c5e2
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret
Function at 0x42c854
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42c9c1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x24], 0
jne 0x42c9a6
push 0
mov eax, dword [ebx + 0x1c]
push eax
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x28], esi
inc esi
jne 0x42c8be
push 0
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0x10]
call fcn.0040e338
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42c9d8
mov eax, ebx
call fcn.0042c5f4
mov word [ebx + 4], 2
mov edx, dword [ebx + 0x14]
mov eax, ebx
call fcn.0042c590
mov dword [ebx + 8], eax
mov ax, word [ebx + 0x18]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 6], ax
push 0
push 0
push 0
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x8004667e
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_ioctlsocket
push 0x10
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_connect
test eax, eax
je 0x42c940
push 0
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0x14]
call fcn.0040e338
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42c9f8
mov eax, ebx
call fcn.0042c5f4
cmp dword [ebx + 0x28], 0xffffffff
setne al
mov byte [ebx + 0x24], al
lea eax, [ebp - 0x18]
push eax
xor eax, eax
mov al, byte [ebx + 8]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
xor eax, eax
mov al, byte [ebx + 9]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebx + 0xa]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebx + 0xb]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
movzx eax, word [ebx + 0x18]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x40]
mov ecx, 4
mov eax, 0x42ca18
call fcn.0040b98c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x2c]
call fcn.004050e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c9c8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004050b4
ret
Function at 0x42ca3c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x42cad1
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp byte [ebx + 0x24], 0
je 0x42cabb
push 0
mov eax, dword [ebp - 4]
push eax
push edx
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x42cabb
call sub.wsock32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x42cabb
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test edi, edi
je 0x42cabb
push 0
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0040e338
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42caec
mov eax, ebx
call fcn.0042c5f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cad8
lea eax, [ebp - 0x10]
call fcn.00405090
ret

Function at 0x42cbbc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42cc73
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
jne 0x42cc02
cmp byte [ebx + 0x24], 0
je 0x42cc02
lea eax, [ebp - 4]
push eax
push 0x4004667f
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x42cc5d
cmp byte [ebx + 0x24], 0
je 0x42cc5d
push 0
push esi
push edi
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42cc5d
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
cmp esi, 0x2733
je 0x42cc5d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test esi, esi
je 0x42cc5d
push 0
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0040e338
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42cc8c
mov eax, ebx
call fcn.0042c5f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cc7a
lea eax, [ebp - 0x10]
call fcn.00405090
ret
Function at 0x42cca4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x42cd6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405090
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.0042cbbc
mov ebx, eax
test ebx, ebx
jbe 0x42cd4e
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004056f8
mov eax, dword [ebp - 8]
call fcn.0040536c
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0042cbbc
mov edx, eax
lea eax, [ebp - 8]
call fcn.004056f8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405374
mov eax, dword [ebp - 4]
lea eax, [esi + 0x2c]
mov edx, dword [ebp - 8]
call fcn.00405374
call sub.kernel32.dll_GetTickCount
mov edi, eax
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.0042cbbc
mov ebx, eax
push 1
call sub.kernel32.dll_Sleep
test ebx, ebx
ja 0x42cd4e
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0x3e8
jbe 0x42cd27
test ebx, ebx
jne 0x42cccd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cd73
lea eax, [ebp - 8]
call fcn.00405090
ret

Function at 0x42cd7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov edx, ebx
mov eax, esi
call fcn.0042cca4
cmp dword [ebx], 0
jne 0x42cd9f
push 1
call sub.kernel32.dll_Sleep
cmp dword [ebx], 0
jne 0x42cdb0
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, dword [esi + 0x20]
jb 0x42cd8a
pop edi
pop esi
pop ebx
ret
Function at 0x42d6f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d8cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x96
mov ecx, 5
xor edx, edx
div ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405090
lea eax, [ebp - 0x14]
push eax
mov edx, ebx
mov eax, 0x42d8e4
call fcn.004056b0
inc eax
push eax
mov eax, ebx
call fcn.0040536c
mov ecx, eax
mov eax, ebx
pop edx
call fcn.004055cc
call fcn.0042d0c8
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x42d8a5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x42d821
push 0x35
push 0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x42c418]
call fcn.0042c6d0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42d81a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0042d4d8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0042cb04
mov ebx, eax
mov eax, dword [ebp - 0x18]
call fcn.0040536c
cmp ebx, eax
jne 0x42d804
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0042cd7c
cmp dword [ebp - 0x10], 0
je 0x42d804
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0042d600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d821
mov eax, dword [ebp - 0xc]
call fcn.0040415c
ret
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x20]
jl 0x42d848
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x42d848
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 4]
jbe 0x42d787
inc dword [ebp - 0x24]
add dword [ebp - 4], 0x32
cmp dword [ebp - 0x24], 5
je 0x42d861
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x42d775
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x42d88f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, 0x42d8f0
mov dl, 1
mov eax, dword [0x42c504]
call fcn.0040ebbc
call fcn.00404a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d8ac
mov eax, dword [ebp - 0x1c]
call fcn.0040415c
ret

Function at 0x433008
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x433028
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x433016
pop edi
pop esi
pop ebx
ret