joyce8/EMBER2024-capa huggingface dataset:
Function at 0x504698
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x5046c2
cmp dword [ebx + 0x64], 0
jne 0x5046c2
cmp dword [ebx + 0x6c], 0
jne 0x5046c2
mov edi, esi
jmp 0x504749
cmp edi, 0xffffffff
jne 0x5046ca
dec edi
jmp 0x504749
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x504749
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00503a94
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x504717
mov cx, word [esp]
sub cx, si
jmp 0x504719
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x504700
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x50473f
mov cx, word [esp]
sub cx, si
jmp 0x504741
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x504728
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x5047a6
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00504434
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x504791
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x5047a6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x5046a2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x50a9fc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x563dc0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x50aa1e
shr eax, 1
xor eax, 0xedb88320
jmp 0x50aa20
shr eax, 1
dec edx
jne 0x50aa0c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x50aa05
mov byte [0x5641c0], 1
pop esi
pop ebx
ret

Function at 0x50aa3c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5641c0], 0
jne 0x50aa53
call fcn.0050a9fc
mov eax, edi
dec eax
test eax, eax
jl 0x50aa7c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x563dc0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x50aa5d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x50d018
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x50d049
dec al
je 0x50d085
dec al
je 0x50d0c9
dec al
je 0x50d134
jmp 0x50d1be
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x50d1be
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x50d059
jmp 0x50d1be
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x50d1be
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x50d095
jmp 0x50d1be
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x50d1be
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x50d0f7
xor ebp, ebp
jmp 0x50d108
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x50d111
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x50d0d9
jmp 0x50d1be
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x50d1be
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x50d18c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0050aa84
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x50d148
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5270dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, dword [0x560cd4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x310]
mov edx, 0x7d
call fcn.004cb3e0
test ax, ax
je 0x52710a
mov eax, dword [ebx]
mov eax, dword [eax + 0x310]
call fcn.004ce6ac
xor eax, eax
xor esi, esi
mov edi, dword [0x561264]
mov edi, dword [edi]
mov ebp, dword [0x561244]
mov ebp, dword [ebp]
mov edx, dword [ebx]
mov edx, dword [edx + 0x310]
xchg edx, eax
call fcn.0045c040
mov eax, dword [ebx]
mov eax, dword [eax + 0x310]
mov edx, esi
call fcn.0045c064
mov eax, dword [ebx]
mov eax, dword [eax + 0x310]
mov edx, edi
call fcn.0045c08c
mov eax, dword [ebx]
mov eax, dword [eax + 0x310]
mov edx, ebp
call fcn.0045c0b0
mov eax, dword [ebx]
mov edx, dword [ebx]
mov edx, dword [edx + 0x310]
mov dword [edx + 0x27c], eax
mov dword [edx + 0x278], 0x52915c
mov bl, 1
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
mov eax, dword [0x561040]
mov eax, dword [eax]
call fcn.0047df70
sub edi, esi
cmp edi, 0x1f4
jbe 0x52717d
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x52caf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404e30
xor eax, eax
push ebp
push 0x52cc5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00409b9c
test al, al
je 0x52cc46
xor esi, esi
push ebp
push 0x52cc3f
push dword fs:[esi]
mov dword fs:[esi], esp
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00402f48
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403414
call fcn.004029a0
xor edx, edx
lea eax, [ebp - 0x154]
call fcn.00403430
call fcn.004029a0
push 0
lea edx, [ebp - 0x1d4]
mov ecx, 0x80
lea eax, [ebp - 0x154]
call fcn.004030a0
call fcn.004029a0
test bl, bl
je 0x52cbb5
cmp byte [ebp - 0x1d4], 0xfb
jne 0x52cbb5
cmp byte [ebp - 0x1d3], 0xa2
jne 0x52cbb5
call fcn.004043c8
jmp 0x52cc46
test bl, bl
jne 0x52cbd2
cmp byte [ebp - 0x1d4], 0
jne 0x52cbd2
cmp byte [ebp - 0x1d3], 1
jne 0x52cbd2
call fcn.004043c8
jmp 0x52cc46
mov ecx, 0x80
mov eax, 0x56024c
lea edx, [ebp - 0x1d4]
mov bl, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec ecx
jne 0x52cbe2
xor edx, edx
lea eax, [ebp - 0x154]
call fcn.00403430
call fcn.004029a0
push 0
lea edx, [ebp - 0x1d4]
mov ecx, 0x80
lea eax, [ebp - 0x154]
call fcn.004030c0
call fcn.004029a0
mov dword [ebp - 8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cc46
lea eax, [ebp - 0x154]
call fcn.004030e0
call fcn.004029a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cc63
lea eax, [ebp - 4]
call fcn.00404980
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x530c18
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x314]
mov edx, 0x7d
call fcn.004cb3e0
test ax, ax
je 0x530b85
mov eax, dword [ebx + 0x314]
call fcn.004ce6ac
xor eax, eax
xor esi, esi
mov edi, dword [0x561264]
mov edi, dword [edi]
mov edx, dword [0x561244]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov edx, dword [ebx + 0x314]
xchg edx, eax
call fcn.0045c040
mov eax, dword [ebx + 0x314]
mov edx, esi
call fcn.0045c064
mov eax, dword [ebx + 0x314]
mov edx, edi
call fcn.0045c08c
mov eax, dword [ebx + 0x314]
mov edx, dword [ebp - 8]
call fcn.0045c0b0
mov eax, dword [ebx + 0x314]
mov dword [eax + 0x27c], ebx
mov dword [eax + 0x278], 0x530d40
mov byte [ebp - 1], 1
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x561040]
mov eax, dword [eax]
call fcn.0047df70
sub ebx, esi
cmp ebx, 0x1f4
jbe 0x530bf1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x530c22
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x532cfc
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x532d85
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5642e0
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x532d6f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040cd94
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x532d9c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x56116c]
mov dl, 1
mov eax, dword [0x532500]
call fcn.0040d6c4
call fcn.0040431c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532d8c
lea eax, [ebp - 0x1c]
call fcn.00404980
ret

Function at 0x53342c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00533350
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403cc8
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x533490
call fcn.00532c44
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x533482
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403cc8
pop esi
pop ebx
ret

Function at 0x5334b4
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404e40
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004032d0
test ebx, ebx
je 0x5334ff
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x5335dc
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x53360d
mov ecx, dword [0x560fb0]
mov dl, 1
mov eax, dword [0x532500]
call fcn.0040d688
call fcn.0040431c
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x53363a
mov ecx, dword [0x560ec8]
mov dl, 1
mov eax, dword [0x532500]
call fcn.0040d688
call fcn.0040431c
xor eax, eax
push ebp
push 0x5336b6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403cc8
cmp byte [ebp + 8], 0
je 0x533692
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00533544
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0053342c
jmp 0x5336ac
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00532f30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5336d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5338b4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005331ec
xor eax, eax
push ebp
push 0x533a25
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x533a0f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x5338ff
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x533909
call fcn.004043c8
jmp 0x533a2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420c4c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x533a04
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x5339b7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x5339a4
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403cc8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0053386c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x533a38]
cmp dl, byte [eax + 0x28]
je 0x533a0b
call fcn.0040d5a0
jmp 0x533a0b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420c6c
jmp 0x533a0b
cmp ecx, ebx
jge 0x5339d3
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420c6c
jmp 0x533909
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420c4c
cmp edx, dword [esp + 4]
jne 0x5339f3
cmp eax, dword [esp]
pop edx
pop eax
jne 0x533909
push ebp
call fcn.0053386c
pop ecx
jmp 0x533a0b
push ebp
call fcn.0053386c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533a2c
mov eax, dword [ebp - 4]
call fcn.005331f8
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x533a3c
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 0x533b5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005331ec
xor eax, eax
push ebp
push 0x533b41
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 0x533a8c
call fcn.004043c8
jmp 0x533b48
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 0x533b2b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x533b2b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403cc8
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 0x533b2b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cd94
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, 0x533b78
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x56116c]
mov dl, 1
mov eax, dword [0x532500]
call fcn.0040d6c4
call fcn.0040431c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533b48
mov eax, dword [ebp - 4]
call fcn.005331f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533b65
lea eax, [ebp - 0x28]
call fcn.00404980
ret
Function at 0x533bc4
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 0x533d0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005331ec
xor eax, eax
push ebp
push 0x533cf1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x533c29
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x533c29
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 0x533cdb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x533c3c
call fcn.004043c8
jmp 0x533cf8
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 0x533cdb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x533cdb
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403cc8
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 0x533cdb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cd94
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, 0x533d28
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x56116c]
mov dl, 1
mov eax, dword [0x532500]
call fcn.0040d6c4
call fcn.0040431c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533cf8
mov eax, dword [ebp - 4]
call fcn.005331f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533d15
lea eax, [ebp - 0x28]
call fcn.00404980
ret
Function at 0x555e78
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x150], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x5560ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x40c]
add eax, 0x80
call fcn.00404980
xor edx, edx
push ebp
push 0x556084
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x5560bc
push 0
call sub.user32.dll_FindWindowA
test eax, eax
jne 0x55607a
mov edx, dword [0x5610c0]
mov edx, dword [edx]
lea eax, [ebp - 0x150]
mov ecx, 0x5560d0
call fcn.00404c8c
mov eax, dword [ebp - 0x150]
call fcn.00409b9c
test al, al
jne 0x555f67
push 0x10
lea edx, [ebp - 0x154]
mov eax, 0x5560e4
call fcn.004f24cc
mov eax, dword [ebp - 0x154]
call fcn.00404e40
push eax
lea edx, [ebp - 0x158]
mov eax, 0x5560f8
call fcn.004f24cc
mov eax, dword [ebp - 0x158]
call fcn.00404e40
mov edx, eax
mov eax, dword [0x561040]
mov eax, dword [eax]
pop ecx
call fcn.0047e2ac
mov eax, dword [0x561040]
mov eax, dword [eax]
call fcn.0047e208
mov edx, dword [0x5610c0]
mov edx, dword [edx]
lea eax, [ebp - 0x15c]
mov ecx, 0x5560d0
call fcn.00404c8c
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0x14c]
call fcn.00402f48
mov eax, dword [0x561178]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x14c]
call fcn.00403414
call fcn.004029a0
lea eax, [ebp - 0x14c]
call fcn.00403284
call fcn.004029a0
cmp eax, 0x5e800
je 0x555fff
mov edx, dword [0x5610c0]
mov edx, dword [edx]
lea eax, [ebp - 0x160]
mov ecx, 0x5560d0
call fcn.00404c8c
mov eax, dword [ebp - 0x160]
call fcn.00409bd0
push 0x5f5e0ff
call sub.kernel32.dll_Sleep_1
jmp 0x555fe7
lea eax, [ebp - 0x14c]
call fcn.004030e0
call fcn.004029a0
push 0
mov eax, dword [0x5610c0]
push dword [eax]
push 0x55614c
mov eax, dword [0x561014]
push dword [eax]
push 0x556168
mov eax, dword [0x560a54]
push dword [eax]
push 0x556174
mov eax, dword [0x5610cc]
push dword [eax]
push 0x556174
mov eax, dword [0x560ca8]
push dword [eax]
push 0x556174
mov eax, dword [0x5612a4]
push dword [eax]
push 0x556180
lea eax, [ebp - 0x164]
mov edx, 0xc
call fcn.00404d00
mov eax, dword [ebp - 0x164]
call fcn.00404e40
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55608e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5560b3
lea eax, [ebp - 0x164]
mov edx, 6
call fcn.004049a4
ret
Function at 0x4cdbff
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, 0x80000000
je 0x4cdc1c
mov edx, eax
and edx, 0x7fffffff
mov dword [ebp - 0xc], edx
jmp 0x4cdc21
xor edx, edx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3c]
push edi
mov esi, dword [eax + ebx + 0x78]
lea eax, [eax + ebx + 0x18]
add esi, ebx
mov eax, dword [eax + 0x64]
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24]
add edi, ebx
add ecx, ebx
add eax, ebx
test edx, edx
mov dword [ebp - 0x10], eax
je 0x4cdc61
mov eax, dword [esi + 0x10]
imul eax, eax, 0x3fffffff
add eax, edx
jmp 0x4cdc9f
and dword [ebp + 8], 0
cmp dword [esi + 0x18], 0
jbe 0x4cdca7
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, ebx
push eax
call fcn.004cdccd
pop ecx
test eax, eax
pop ecx
jne 0x4cdc95
inc dword [ebp + 8]
add dword [ebp - 8], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x4cdc6e
jmp 0x4cdca7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], 0
je 0x4cdcc5
cmp dword [ebp - 4], esi
jbe 0x4cdcc5
mov eax, dword [ebp - 0x14]
add eax, esi
cmp dword [ebp - 4], eax
jae 0x4cdcc5
push dword [ebp - 0xc]
push ebx
call dword [ebp + 0x10]
jmp 0x4cdcc8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4cdcf7
Capabilities:
Encode data using xor

Disassembly:
push ecx
push eax
push esi
push edi
mov ecx, edi
sub ecx, eax
mov esi, eax
mov edi, esi
lodsb al, byte [esi]
xor al, 0x4c
stosb byte es:[edi], al
loop 0x4cdd03
pop edi
pop esi
pop eax
pop ecx
ret

Function at 0x4cdd0e
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80