joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47997c
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 0x479a9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479148
xor eax, eax
push ebp
push 0x479a81
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 0x4799cc
call fcn.00404198
jmp 0x479a88
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 0x479a6b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x479a6b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b1c
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 0x479a6b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c948
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, 0x479ab8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f01fc]
mov dl, 1
mov eax, dword [0x478658]
call fcn.0040d26c
call fcn.004040ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479a88
mov eax, dword [ebp - 4]
call fcn.00479154
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479aa5
lea eax, [ebp - 0x28]
call fcn.00404750
ret
Function at 0x479b04
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 0x479c4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479148
xor eax, eax
push ebp
push 0x479c31
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x479b69
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x479b69
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 0x479c1b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x479b7c
call fcn.00404198
jmp 0x479c38
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 0x479c1b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x479c1b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b1c
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 0x479c1b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c948
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, 0x479c68
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f01fc]
mov dl, 1
mov eax, dword [0x478658]
call fcn.0040d26c
call fcn.004040ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479c38
mov eax, dword [ebp - 4]
call fcn.00479154
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479c55
lea eax, [ebp - 0x28]
call fcn.00404750
ret

Function at 0x47a26c
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.00478570
lea edx, [esp + 8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
call fcn.00478560
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 0x4952a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404c00
xor eax, eax
push ebp
push 0x49545b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404750
mov eax, dword [ebp - 8]
call fcn.00404a10
mov edi, eax
mov dword [ebp - 0xc], 1
test edi, edi
jne 0x4952f8
xor ebx, ebx
jmp 0x495438
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov bl, byte [eax + edx - 1]
inc dword [ebp - 0xc]
dec edi
xor eax, eax
mov al, bl
shr eax, 2
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0xe]
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.00495284
test al, al
jne 0x495329
mov bl, 1
jmp 0x495438
lea eax, [ebp - 0x14]
mov dl, byte [ebp - 0xe]
call fcn.00404938
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00404a18
mov eax, ebx
test edi, edi
jne 0x495348
xor ebx, ebx
jmp 0x495355
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov bl, byte [edx + ecx - 1]
inc dword [ebp - 0xc]
dec edi
and al, 3
shl eax, 4
xor edx, edx
mov dl, bl
shr edx, 4
add al, dl
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0xe]
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.00495284
test al, al
jne 0x495380
mov bl, 1
jmp 0x495438
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 0xe]
call fcn.00404938
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00404a18
mov eax, ebx
test edi, edi
jge 0x4953a1
mov byte [ebp - 0xe], 0x3d
jmp 0x4953de
test edi, edi
jne 0x4953a9
xor ebx, ebx
jmp 0x4953b6
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov bl, byte [edx + ecx - 1]
inc dword [ebp - 0xc]
dec edi
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, bl
shr edx, 6
add al, dl
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0xe]
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.00495284
test al, al
jne 0x4953de
mov bl, 1
jmp 0x495438
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0xe]
call fcn.00404938
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.00404a18
test edi, edi
jge 0x4953fd
mov byte [ebp - 0xe], 0x3d
jmp 0x495419
and bl, 0x3f
mov byte [ebp - 0xd], bl
lea ecx, [ebp - 0xe]
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.00495284
test al, al
jne 0x495419
mov bl, 1
jmp 0x495438
lea eax, [ebp - 0x20]
mov dl, byte [ebp - 0xe]
call fcn.00404938
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.00404a18
test edi, edi
jg 0x4952f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495462
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404774
lea eax, [ebp - 8]
call fcn.00404750
ret

Function at 0x495b6c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [esp]
call fcn.00404d9c
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x495ba2
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409ce4
jmp 0x495ba9
mov eax, ebx
call fcn.00404750
add esp, 0x104
pop ebx
ret
Function at 0x495bb4
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [esp]
call fcn.00404d9c
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x495bea
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409ce4
jmp 0x495bf1
mov eax, ebx
call fcn.00404750
add esp, 0x104
pop ebx
ret

Function at 0x496b44
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe10
push ebx
xor edx, edx
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x496d94
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x496ba0
mov edx, 0x496da8
mov eax, ebx
call fcn.0042113c
mov eax, ebx
call fcn.00403920
lea edx, [ebp - 0x1d8]
xor eax, eax
call fcn.00402b40
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 4]
call fcn.004099ac
lea eax, [ebp - 8]
mov ecx, 0x496dc0
mov edx, dword [ebp - 4]
call fcn.00404a5c
mov edx, 0x496dd0
lea eax, [ebp - 0x1d4]
call fcn.00402ed0
lea eax, [ebp - 0x1d4]
call fcn.00402c6c
call fcn.00402920
lea eax, [ebp - 0x1dc]
mov ecx, dword [ebp - 8]
mov edx, 0x496de4
call fcn.00404a5c
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d4]
call fcn.00404e2c
call fcn.004033b0
call fcn.00402920
mov edx, 0x496df4
lea eax, [ebp - 0x1d4]
call fcn.00404e2c
call fcn.004033b0
call fcn.00402920
push 0x496e04
push dword [ebp - 4]
push 0x496e14
push dword [ebp - 8]
lea eax, [ebp - 0x1e0]
mov edx, 4
call fcn.00404ad0
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d4]
call fcn.00404e2c
call fcn.004033b0
call fcn.00402920
push 0x496e20
push dword [ebp - 8]
push 0x496e38
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00404ad0
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d4]
call fcn.00404e2c
call fcn.004033b0
call fcn.00402920
lea eax, [ebp - 0x1e8]
mov ecx, dword [ebp - 4]
mov edx, 0x496e50
call fcn.00404a5c
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1d4]
call fcn.00404e2c
call fcn.004033b0
call fcn.00402920
lea eax, [ebp - 0x1f0]
mov edx, dword [0x4f00d8]
mov edx, dword [edx]
call fcn.00404948
mov ecx, dword [ebp - 0x1f0]
lea eax, [ebp - 0x1ec]
mov edx, 0x496e70
call fcn.00404a5c
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1d4]
call fcn.00404e2c
call fcn.004033b0
call fcn.00402920
mov edx, 0x496e80
lea eax, [ebp - 0x1d4]
call fcn.00404e2c
call fcn.00402f8c
call fcn.00402920
lea eax, [ebp - 0x1d4]
call fcn.00402f98
call fcn.00402920
push 0
push 0
push 0
push 0x496e90
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x4f0120]
mov eax, dword [eax]
call fcn.00476de0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496d9b
lea eax, [ebp - 0x1f0]
mov edx, 7
call fcn.00404774
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404774
ret
Function at 0x4b8fbc
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b915b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
mov edx, 0x20000013
mov eax, ebx
call fcn.004b8ad8
test al, al
je 0x4b9087
cmp dword [ebp - 8], 0x12c
jb 0x4b9087
mov eax, dword [ebp - 8]
sub eax, 0x197
jne 0x4b9087
push 0
push 0x4b916c
call sub.user32.dll_FindWindowA
mov edi, eax
jmp 0x4b9065
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x40]
call fcn.00404c10
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x40]
call fcn.00404a10
push eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004b8aac
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
mov edx, 0x20000013
mov eax, ebx
call fcn.004b8ad8
cmp dword [ebp - 8], 0x197
jne 0x4b9087
push 7
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, edi
call fcn.004b8b08
cmp eax, 0x2f00
je 0x4b902b
cmp dword [ebp - 8], 0x12c
jb 0x4b9106
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00404d9c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404c10
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.004b8ad8
test al, al
je 0x4b9145
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00404d9c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push eax
push 1
mov ecx, 0x4b9184
mov dl, 1
mov eax, dword [0x407e78]
call fcn.0040d1b0
call fcn.004040ec
jmp 0x4b9145
cmp dword [ebp - 8], 0xc8
jb 0x4b9145
cmp dword [ebp - 8], 0x12c
jae 0x4b9145
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov edx, 0x20000005
mov eax, ebx
call fcn.004b8ad8
test al, al
je 0x4b9145
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x64], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9162
lea eax, [ebp - 0x18]
call fcn.00404750
ret
Function at 0x4b9878
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffb4
mov dword [esp + 4], edx
mov dword [esp], eax
lea eax, [esp + 0x14]
xor ecx, ecx
mov edx, 0x1c
call fcn.0040313c
lea eax, [esp + 0x30]
xor ecx, ecx
mov edx, 0x1c
call fcn.0040313c
mov dword [esp + 8], 0x1c
mov eax, 0x4ed940
lea edx, [esp + 0x14]
lea ebx, [esp + 0x30]
xor ecx, ecx
mov cl, byte [eax]
dec ecx
and ecx, 7
mov esi, 0x80
shr esi, cl
xor ecx, ecx
mov cl, byte [eax]
dec ecx
shr ecx, 3
mov edi, dword [esp]
movzx ecx, byte [edi + ecx]
and esi, ecx
jbe 0x4b98df
mov byte [edx], 1
xor ecx, ecx
mov cl, byte [eax + 0x1c]
dec ecx
and ecx, 7
mov esi, 0x80
shr esi, cl
xor ecx, ecx
mov cl, byte [eax + 0x1c]
dec ecx
shr ecx, 3
mov edi, dword [esp]
movzx ecx, byte [edi + ecx]
and esi, ecx
jbe 0x4b9906
mov byte [ebx], 1
inc ebx
inc edx
inc eax
dec dword [esp + 8]
jne 0x4b98ba
mov dword [esp + 8], 0x10
mov ebx, 0x4ed9a8
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 0
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
call fcn.004029b4
mov al, byte [ebx]
xor edx, edx
mov dl, al
mov ecx, 0x1c
sub ecx, edx
lea edx, [esp + 0x14]
and eax, 0xff
lea eax, [esp + eax + 0x14]
call fcn.004029b4
xor eax, eax
mov al, byte [ebx]
mov edx, 0x1d
sub edx, eax
lea edx, [esp + edx + 0x13]
mov ecx, eax
lea eax, [esp + 0xc]
call fcn.004029b4
mov word [esp + 0xc], 0
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [esp + 0xc]
lea eax, [esp + 0x30]
call fcn.004029b4
mov al, byte [ebx]
xor edx, edx
mov dl, al
mov ecx, 0x1c
sub ecx, edx
lea edx, [esp + 0x30]
and eax, 0xff
lea eax, [esp + eax + 0x30]
call fcn.004029b4
xor eax, eax
mov al, byte [ebx]
mov edx, 0x1d
sub edx, eax
lea edx, [esp + edx + 0x2f]
mov ecx, eax
lea eax, [esp + 0xc]
call fcn.004029b4
mov edi, 0x30
mov eax, 0x4ed978
mov edx, dword [esp + 0x10]
mov esi, edx
mov dl, byte [eax]
cmp dl, 0x1c
ja 0x4b99eb
and edx, 0xff
mov dl, byte [esp + edx + 0x13]
mov byte [esi], dl
jmp 0x4b99f7
and edx, 0xff
mov dl, byte [esp + edx + 0x13]
mov byte [esi], dl
inc esi
inc eax
dec edi
jne 0x4b99d6
add dword [esp + 0x10], 0x30
inc ebx
dec dword [esp + 8]
jne 0x4b9924
add esp, 0x4c
pop edi
pop esi
pop ebx
ret

Function at 0x4b9a14
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff38
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
lea ebx, [esp + 0x98]
mov dword [esp + 0xc], 1
mov edx, 0x4ed9b8
lea esi, [esp + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
xor ecx, ecx
mov cl, byte [edx]
dec ecx
and ecx, 7
mov eax, 0x80
shr eax, cl
xor ecx, ecx
mov cl, byte [edx]
dec ecx
shr ecx, 3
mov edi, dword [esp]
and al, byte [edi + ecx]
test al, al
jbe 0x4b9a6b
mov al, 1
cmp dword [esp + 0xc], 0x20
jg 0x4b9a76
mov byte [esi], al
jmp 0x4b9a7c
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
inc dword [esp + 0xc]
inc dword [esp + 0x10]
inc esi
inc edx
cmp dword [esp + 0xc], 0x41
jne 0x4b9a48
mov dword [esp + 0xc], 0x10
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
Function at 0x4bb9dc
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 0x4bbc3c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4bba3f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004bb4a4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040db78
cmp al, 1
jne 0x4bba3f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004bb7bc
test al, al
je 0x4bbbcb
cmp dword [ebp - 8], 0
jge 0x4bba5d
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.004bb4a4
mov eax, dword [ebp - 0x210]
call fcn.00404a10
cmp ebx, eax
jge 0x4bbaa7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004bb4a4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4f0354]
and eax, 0xff
bt dword [edx], eax
jae 0x4bbaa7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4bbabb
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004bb9b8
cmp ebx, dword [ebp - 8]
je 0x4bbbbd
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 0x4bbae7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b1c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4edc88]
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 0x4bbbaa
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b1c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4edc88]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045d6d8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b1c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4edc88]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045d6d8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbbb1
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 0x4bbc1e
cmp dword [ebp - 8], 0
jge 0x4bbbd6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004bb4a4
mov eax, dword [ebp - 0x218]
call fcn.00404a10
cmp eax, dword [ebp - 8]
jg 0x4bbc10
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004bb4a4
mov eax, dword [ebp - 0x21c]
call fcn.00404a10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bb9b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbc43
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404774
ret
Function at 0x4ddc40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4ddc6a
cmp dword [ebx + 0x64], 0
jne 0x4ddc6a
cmp dword [ebx + 0x6c], 0
jne 0x4ddc6a
mov esi, edi
jmp 0x4ddd03
cmp esi, 0xffffffff
jne 0x4ddc75
dec esi
jmp 0x4ddd03
mov eax, dword [ebx + 0x64]
mov edx, edi
sub edx, 0x106
add edx, edi
cmp eax, edx
jb 0x4ddd03
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.004d98b0
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x4ddcc3
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x4ddccb
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x4ddcaa
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x4ddcf4
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x4ddcfc
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x4ddcdb
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4ddd61
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004dd968
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4ddd4c
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4ddd61
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4ddc4a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e0ec0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e10c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebx + 0x20c]
call fcn.004e0c74
mov word [ebp - 2], ax
mov al, byte [ebx + 0x210]
sub al, 2
jae 0x4e1071
lea eax, [ebp - 0x14]
mov dl, byte [0x4efc50]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.00403020
lea eax, [ebp - 0x1c]
mov dl, byte [0x4efc54]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.00402ff0
lea edx, [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.004049b4
mov eax, dword [ebp - 8]
call fcn.00404a10
mov edx, eax
add edx, 2
lea eax, [ebp - 8]
call fcn.00404d9c
mov eax, dword [ebp - 8]
call fcn.00404a10
mov esi, eax
lea eax, [ebp - 8]
call fcn.00404c68
lea edx, [eax + esi - 2]
lea eax, [ebp - 2]
mov ecx, 2
call fcn.004029b4
mov eax, dword [ebx + 0x22c]
call fcn.00404c10
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4e0fdf
cmp byte [ebx + 0x210], 1
jne 0x4e0fa0
mov dword [ebp - 0xc], 0x1000000
jmp 0x4e0fdf
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x22c]
call fcn.00404c10
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4e0fd6
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, 4
call fcn.004029b4
jmp 0x4e0fdf
mov dl, 4
mov eax, ebx
call fcn.004e6080
mov eax, dword [ebp - 8]
call fcn.00404a10
mov edx, eax
add edx, 4
lea eax, [ebp - 8]
call fcn.00404d9c
mov eax, dword [ebp - 8]
call fcn.00404a10
mov esi, eax
lea eax, [ebp - 8]
call fcn.00404c68
lea edx, [eax + esi - 4]
lea eax, [ebp - 0xc]
mov ecx, 4
call fcn.004029b4
cmp dword [ebx + 0x218], 0
je 0x4e102e
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x218]
call fcn.00404a18
lea eax, [ebp - 8]
mov edx, 0x4e10dc
call fcn.00404a18
cmp dword [ebp - 0xc], 0x1000000
jne 0x4e1068
cmp byte [ebx + 0x210], 1
jne 0x4e1068
push dword [ebp - 8]
push dword [ebx + 0x22c]
push 0x4e10dc
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404ad0
mov byte [ebx + 0x222], 2
jmp 0x4e1097
cmp byte [ebx + 0x210], 2
jne 0x4e1097
cmp byte [ebx + 0x222], 1
jne 0x4e1097
mov byte [ebx + 0x222], 2
lea eax, [ebp - 8]
mov edx, 0x4e10e8
call fcn.004047e8
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov dl, byte [ebx + 0x208]
mov eax, ebx
call fcn.004e6080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e10cb
lea eax, [ebp - 8]
call fcn.00404750
ret