joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aabcc
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4aad4e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004aa7e4
mov eax, ebx
call fcn.00425780
dec al
je 0x4aac10
dec al
je 0x4aac16
jmp 0x4aac1c
mov byte [ebp - 0x77], 2
jmp 0x4aac20
mov byte [ebp - 0x77], 1
jmp 0x4aac20
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.0042570c
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov eax, ebx
call fcn.00425748
test al, 1
je 0x4aac6c
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.00425748
test al, 2
je 0x4aac7e
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.00425748
test al, 4
je 0x4aac90
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.00425748
test al, 8
je 0x4aaca2
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.00425698
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.00409fb8
mov edi, dword [ebx + 0x18]
cmp edi, 0x80000008
je 0x4aacd5
cmp edi, 0x20000000
jne 0x4aace1
mov dword [ebp - 0x88], 0x40000000
jmp 0x4aaceb
mov eax, edi
call fcn.00424fc8
mov dword [ebp - 0x7c], eax
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.004257b0
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.0042549c
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x4aad28
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004aa850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aad55
lea eax, [ebp - 0x94]
call fcn.00404890
ret
Function at 0x4b18e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b1a1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4b1a34
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.004b3068
mov eax, dword [ebp - 4]
call fcn.004b28f8
xor edx, edx
push ebp
push 0x4b19ff
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x4b199e
test si, si
jne 0x4b1950
mov eax, dword [ebp - 8]
call fcn.00409efc
mov esi, eax
cmp esi, 0xffff
jbe 0x4b1950
call fcn.004039e0
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x4b199e
cmp eax, 0xffffffff
jle 0x4b197f
sub ebx, eax
jmp 0x4b198e
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.004b2f9c
test ebx, ebx
je 0x4b199e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4b1953
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4b19e9
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x4b1a4c
mov dl, 1
mov eax, dword [0x4b0d60]
call fcn.0040d46c
call fcn.0040426c
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x4b19e9
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1a06
mov eax, dword [ebp - 4]
call fcn.004b2950
ret
Function at 0x4b1b60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b1cfa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b1d10
lea edx, [ebp - 0xc]
movzx eax, si
call fcn.00409580
push dword [ebp - 0xc]
push 0x4b1d20
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404c08
mov ecx, dword [ebp - 8]
mov dl, 8
mov eax, ebx
call fcn.004b3068
test si, si
jne 0x4b1c01
push 2
push 0x10000
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
cmp eax, 0xffffffff
jne 0x4b1bf0
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, ebx
call fcn.004b2f9c
mov eax, dword [ebp - 4]
call fcn.00404890
jmp 0x4b1c57
mov esi, eax
cmp esi, 0xffff
jbe 0x4b1c57
call fcn.004039e0
jmp 0x4b1c57
push 2
push 0x10000
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
movzx edx, si
cmp eax, edx
jge 0x4b1c57
test eax, eax
jne 0x4b1c31
mov eax, dword [ebp - 4]
call fcn.00404890
jmp 0x4b1cdf
inc eax
jne 0x4b1c42
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, ebx
call fcn.004b2f9c
mov eax, dword [0x511c04]
mov eax, dword [eax]
call fcn.0046b99c
cmp byte [ebx + 0x10090], 0
je 0x4b1c01
cmp byte [ebx + 0x10090], 0
jne 0x4b1caa
movzx edi, si
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00404ecc
push 0
push edi
mov eax, dword [ebp - 4]
call fcn.00404d98
mov edx, 1
dec edx
test eax, eax
je 0x4b1c87
cmp edx, dword [eax - 4]
jb 0x4b1c8c
call fcn.004039e0
inc edx
lea eax, [eax + edx - 1]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
mov edx, dword [ebp - 4]
xchg edx, eax
call fcn.00404ecc
jmp 0x4b1cdf
mov byte [ebx + 0x10090], 0
mov ecx, 0x4b1d2c
mov dl, 1
mov eax, dword [0x4b0d60]
call fcn.0040d46c
call fcn.0040426c
cmp word [ebx + 0x1028a], 0
je 0x4b1cdf
mov edx, ebx
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1d01
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004048b4
ret
Function at 0x4b212c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b22da
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4b22f0
mov dl, 8
mov eax, ebx
call fcn.004b3068
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0041bfd8
cmp byte [ebx + 0x10090], 0
jne 0x4b2286
xor eax, eax
mov dword [ebx + 0x1008c], eax
mov eax, dword [ebp - 4]
call fcn.0041bfec
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4b2191
call fcn.004039e0
mov dword [ebx + 0x100b8], eax
mov eax, dword [ebp - 4]
call fcn.0041bfec
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.0041bfb8
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4b21c0
call fcn.004039e0
cmp eax, 0x10000
jle 0x4b21cc
mov eax, 0x10000
lea edx, [ebx + 0x30]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
push 0
push esi
mov eax, dword [ebp - 8]
sub eax, esi
cmp eax, 0x10000
jbe 0x4b21f3
call fcn.004039e0
lea eax, [ebx + eax + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x4b22c4
test eax, eax
jle 0x4b2233
sub esi, eax
add dword [ebx + 0x1008c], eax
cmp word [ebx + 0x100ca], 0
je 0x4b2241
mov edx, ebx
mov eax, dword [ebx + 0x100cc]
call dword [ebx + 0x100c8]
jmp 0x4b2241
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.004b2f9c
mov eax, dword [0x511c04]
mov eax, dword [eax]
call fcn.0046b99c
test esi, esi
je 0x4b225a
cmp byte [ebx + 0x10090], 0
je 0x4b21df
mov eax, dword [ebp - 4]
call fcn.0041bfec
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.0041bfb8
cmp edx, dword [esp + 4]
jne 0x4b2275
cmp eax, dword [esp]
pop edx
pop eax
je 0x4b2286
cmp byte [ebx + 0x10090], 0
je 0x4b2197
cmp byte [ebx + 0x10090], 0
je 0x4b22c4
mov byte [ebx + 0x10090], 0
mov ecx, 0x4b2304
mov dl, 1
mov eax, dword [0x4b0d60]
call fcn.0040d46c
call fcn.0040426c
cmp word [ebx + 0x1028a], 0
je 0x4b22c4
mov edx, ebx
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b22e1
lea eax, [ebp - 0xc]
call fcn.00404890
ret
Function at 0x4b2318
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b24d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4b24ec
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.004b3068
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100bc], edx
mov eax, dword [ebp - 4]
call fcn.004b28f8
xor eax, eax
push ebp
push 0x4b24b7
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4b2419
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
je 0x4b2456
test ebx, ebx
jle 0x4b23de
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.0041c21c
mov eax, dword [ebp - 4]
add dword [eax + 0x100bc], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100c2], 0
je 0x4b23d4
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x100c4]
call dword [ebx + 0x100c0]
mov eax, dword [ebp - 4]
call fcn.004b28f8
jmp 0x4b2408
inc ebx
jne 0x4b2408
call sub.wsock32.dll_WSAGetLastError
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10094], ebx
cmp ebx, 0x2749
je 0x4b2456
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.004b2f9c
mov eax, dword [0x511c04]
mov eax, dword [eax]
call fcn.0046b99c
cmp esi, 0xffffffff
je 0x4b2456
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x4b2456
cmp esi, 0xffffffff
je 0x4b2370
mov eax, dword [ebp - 8]
call fcn.0041bfec
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x4b244e
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4b2370
jmp 0x4b2456
pop edx
pop eax
jg 0x4b2370
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4b24a1
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x4b2504
mov dl, 1
mov eax, dword [0x4b0d60]
call fcn.0040d46c
call fcn.0040426c
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x4b24a1
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b24be
mov eax, dword [ebp - 4]
call fcn.004b2950
ret
Function at 0x4b2ea4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b2f70
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4b2f84
mov dl, 4
mov eax, ebx
call fcn.004b3068
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x4b2f5a
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x4b2f4c
test byte [ebx + 0x1c], 8
jne 0x4b2f09
cmp word [ebx + 0x10052], 0
je 0x4b2f09
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x4b2f5a
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x4b2f2c
call fcn.004039e0
mov word [ebx + 0x10290], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10294]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
jmp 0x4b2f5a
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.004b2f9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2f77
lea eax, [ebp - 4]
call fcn.00404890
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x4b314c
mov dl, 8
mov eax, ebx
call fcn.004b3068
push 2
push 1
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x4b313e
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x4d1d4c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d1eb9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d1e8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x511c04]
mov eax, dword [eax]
call fcn.0046b99c
mov eax, dword [0x511df0]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00469b18
push 0xffff
lea eax, [ebp - 0x14]
mov ecx, 0x4d1ed0
mov edx, dword [ebp - 4]
call fcn.00404b94
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x4174b0]
call fcn.0041c4c8
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x378]
mov eax, dword [eax + 0x254]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x78]
push 0xffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4174b0]
call fcn.0041c4c8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov cl, 1
mov dl, 1
mov eax, dword [0x4a7e58]
call fcn.004a8150
mov dword [ebp - 0xc], eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041bfd8
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0041c254
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1e92
lea eax, [ebp - 0xc]
call fcn.0040f238
lea eax, [ebp - 8]
call fcn.0040f238
lea eax, [ebp - 0x10]
call fcn.0040f238
lea eax, [ebp - 0x18]
mov ecx, 0x4d1ed0
mov edx, dword [ebp - 4]
call fcn.00404b94
mov eax, dword [ebp - 0x18]
call fcn.004099b0
test al, al
je 0x4d1e7c
lea eax, [ebp - 0x1c]
mov ecx, 0x4d1ed0
mov edx, dword [ebp - 4]
call fcn.00404b94
mov eax, dword [ebp - 0x1c]
call fcn.00404d40
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x511df0]
mov eax, dword [eax]
xor edx, edx
call fcn.00469b18
ret
Function at 0x4d8590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d86b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
lea ecx, [ebp - 4]
mov eax, dword [ebx + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 4]
call fcn.004099b0
test al, al
je 0x4d869e
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebx + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409de8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00408ef8
mov eax, dword [ebp - 8]
mov edx, 0x4d86d0
call fcn.00404c8c
jne 0x4d8663
push 0x20003
push 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebx + 0x218]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404d40
push eax
call sub.winmm.dll_PlaySoundA
test eax, eax
jne 0x4d869e
push 0
mov cx, word [0x4d86d8]
mov dl, 2
mov eax, 0x4d86e4
call fcn.00443884
jmp 0x4d869e
push 1
push 0
push 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebx + 0x218]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00404d40
push eax
push 0x4d870c
mov eax, esi
call fcn.00451810
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d86c0
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004048b4
ret

Function at 0x4de784
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4de7b2
mov eax, ebx
call fcn.004df23c
cmp dword [ebx + 0x3c], 0
je 0x4de7ab
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4de823
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4de815
cmp dword [ebx + 8], 0
je 0x4de7d4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4de7e6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4de815
cmp dword [ebx + 8], 0
je 0x4de7c7
cmp eax, 3
je 0x4de7f9
dec eax
jne 0x4de7c7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4de7c7
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4de7c7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4de841
cmp dword [ebx + 0x10], 0xcc
je 0x4de841
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004de84c
pop ebx
ret
Function at 0x50c18c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, edx
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.00404890
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x50c1e8
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x50c1dc
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebp
call fcn.00404a80
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x50c1cb
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x50c1f4
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [ebp + 0xc]
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push edi
push 0
push ebx
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x50c33e
xor eax, eax
push ebp
push 0x50c337
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x4000
mov eax, dword [ebp - 0xc]
call fcn.004027bc
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x50c2ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x511c04]
mov eax, dword [eax]
call fcn.0046b99c
mov dword [esi], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00403308
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.mpr.dll_WNetEnumResourceA
mov ebx, eax
mov eax, dword [0x511c04]
mov eax, dword [eax]
call fcn.0046b99c
cmp ebx, 0xea
jne 0x50c2b0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004027fc
cmp ebx, 0xea
je 0x50c25a
test ebx, ebx
sete byte [ebp - 1]
cmp byte [ebp - 1], 0
jne 0x50c2e5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004027dc
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [esi], eax
mov eax, dword [0x511c04]
mov eax, dword [eax]
call fcn.0046b99c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50c314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c33e
mov eax, dword [ebp - 8]
push eax
call sub.mpr.dll_WNetCloseEnum
mov eax, dword [0x511c04]
mov eax, dword [eax]
call fcn.0046b99c
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x563d1a01
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x99f3993
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x43fa20
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x43fa90
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x43fa4a
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
push edi
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x43fa6e
cmp eax, 0xffffffff
je 0x43fa6e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x694990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f6000]
push edi
jmp 0x6949aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6949b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6949a0
mov eax, 1
add ebx, ebx
jne 0x6949c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6949d4
jne 0x6949f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6949f3
dec eax
add ebx, ebx
jne 0x6949e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6949b8
add ebx, ebx
jne 0x6949ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x694a45
xor ecx, ecx
sub eax, 3
jb 0x694a0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x694a7a
sar eax, 1
mov ebp, eax
jmp 0x694a16
add ebx, ebx
jne 0x694a16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6949e4
inc ecx
add ebx, ebx
jne 0x694a24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6949e4
add ebx, ebx
jne 0x694a31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x694a26
jne 0x694a42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x694a26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x694a64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x694a56
jmp 0x6949a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x694a64
add edi, ecx
jmp 0x6949a6
pop esi
mov edi, esi
mov ecx, 0xc60c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x694a82
cmp byte [edi], 0x26
jne 0x694a82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x694a87
lea edi, [esi + 0x290000]
mov eax, dword [edi]
or eax, eax
je 0x694aff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2964ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x296614]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x694ab4
mov ecx, edi
jns 0x694ae3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x29661c]
or eax, eax
je 0x694af9
mov dword [ebx], eax
add ebx, 4
jmp 0x694ad1
call dword [esi + 0x296618]
mov ebp, dword [esi + 0x296620]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x694b33
sub esp, 0xffffff80
jmp 0x5890db