joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423c31
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x334], 0
je 0x423c62
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x34]
and dword [eax + 0x334], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x324], 0
je 0x423d40
mov eax, dword [ebp - 0x34]
push dword [eax + 0x324]
call fcn.004152de
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x423d36
push 2
push 0
push dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
call fcn.004251c1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x324]
cmp eax, dword [ecx + 0x320]
jne 0x423d36
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x202
mov ecx, dword [ebp - 8]
call fcn.004157b2
mov ecx, dword [ebp - 8]
call fcn.004159ad
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x423d18
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x423d18
push 1
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x423d36
mov ecx, dword [ebp - 8]
call fcn.0040285c
test eax, eax
je 0x423d36
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.0040285c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
and dword [eax + 0x324], 0
cmp dword [ebp - 0xc], 0
je 0x423da1
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.004149a7
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.00414985
mov ecx, eax
call fcn.00413706
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
leave
ret 0xc
Function at 0x4291e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4291eb
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x429228
mov eax, dword [ebp - 0xc]
jmp 0x42927e
cmp dword [ebp - 4], 1
je 0x429239
cmp dword [ebp - 4], 2
je 0x429239
push 0xd
pop eax
jmp 0x42927e
cmp dword [ebp + 0xc], 0
je 0x429272
cmp dword [ebp - 8], 0
je 0x42926b
mov eax, dword [ebp - 8]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x429264
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2 - 2]
test eax, eax
je 0x429269
push 0xd
pop eax
jmp 0x42927e
jmp 0x429272
mov eax, dword [ebp + 0xc]
and word [eax], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc
Function at 0x429cd2
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2693
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0x104]
call fcn.00429f03
cmp dword [ebp + 8], 0
jne 0x429d1b
xor al, al
jmp 0x429e94
lea ecx, [ebp - 0xfc]
call fcn.00441348
and dword [ebp - 4], 0
push 0x80
lea ecx, [ebp - 0xfc]
call fcn.0042bd8e
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0xfc]
call fcn.00413706
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x6c], 0x80
mov eax, dword [ebp - 0x104]
add eax, 0x4c
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x64]
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x429df0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x429df0
cmp dword [ebp - 0x70], 0x44
jbe 0x429da4
push 0x80004005
call fcn.00401c30
cmp dword [ebp - 0x6c], 0x80
jbe 0x429dc9
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xfc]
call fcn.0042bdae
lea ecx, [ebp - 0xfc]
call fcn.00413706
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x104]
add eax, 0x4c
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x64]
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x429e6d
mov eax, dword [ebp - 0x104]
mov byte [eax + 0x48], 1
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x104]
call fcn.00429fd6
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x429e6d
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x104]
add ecx, 0x54
call fcn.00401cb6
push dword [ebp + 8]
mov ecx, dword [ebp - 0x104]
add ecx, 0x50
call fcn.00401cb6
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x104]
add ecx, 0x5c
call fcn.00401cb6
mov byte [ebp - 0xfd], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.0042bd70
mov al, byte [ebp - 0xfd]
jmp 0x429e94
mov ecx, dword [ebp - 0x104]
call fcn.00429f03
mov byte [ebp - 0xfe], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.0042bd70
mov al, byte [ebp - 0xfe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047676d
leave
ret 8
Function at 0x43812a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2b82
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x43816a
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax + 0x41]
test eax, eax
jne 0x438176
mov al, 1
jmp 0x438302
mov dword [ebp - 0x10], 8
call fcn.0043dbeb
push eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x68]
call dword [eax + 4]
mov dword [ebp - 0x3c], eax
call fcn.0043dbeb
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043dbf3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x4381b6
xor al, al
jmp 0x438302
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0043731f
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.004373bf
mov ecx, eax
call fcn.004376d7
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00428568
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.004373bf
mov ecx, eax
call fcn.004376d7
push eax
mov eax, dword [ebp - 0x68]
add eax, 0x44
push eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x3c]
call fcn.0043a8cd
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x43822e
cmp dword [ebp - 0x6c], 1
je 0x438235
cmp dword [ebp - 0x6c], 3
je 0x4382c7
jmp 0x4382dc
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x34]
call fcn.004373bf
mov ecx, eax
call fcn.004376d7
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x38], ecx
je 0x438293
mov eax, dword [ebp - 0x68]
push dword [eax + 0x4c]
push dword [ebp - 0x38]
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.004373bf
mov ecx, eax
call fcn.004376d7
push eax
call sub.MSVCR80.dll_fwrite
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x438293
mov byte [ebp - 0x61], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406b99
mov al, byte [ebp - 0x61]
jmp 0x438302
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax + 0x41]
test eax, eax
jne 0x4382b3
mov byte [ebp - 0x62], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406b99
mov al, byte [ebp - 0x62]
jmp 0x438302
cmp dword [ebp - 0x38], 0
jne 0x4382c5
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00437358
jmp 0x4382f1
mov byte [ebp - 0x63], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406b99
mov al, byte [ebp - 0x63]
jmp 0x438302
mov byte [ebp - 0x64], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406b99
mov al, byte [ebp - 0x64]
jmp 0x438302
jmp 0x4381c6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047676d
leave
ret
Function at 0x444af0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
jmp 0x444b27
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jge 0x444b46
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x18], eax
jmp 0x444b1e
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
jmp 0x444b5f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x444bb7
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x61c88647
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1c]
xor edx, eax
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor edx, ecx
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
jmp 0x444b56
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x444be0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
jmp 0x444c17
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jge 0x444c36
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x18], eax
jmp 0x444c0e
mov dword [ebp - 0x1c], 0xe3779b90
mov dword [ebp - 8], 0
jmp 0x444c4f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x444cab
mov ecx, dword [ebp - 4]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x1c]
xor ecx, edx
mov eax, dword [ebp - 4]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
mov edx, dword [ebp - 0x20]
sub edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov edx, dword [ebp - 0x20]
shr edx, 5
add edx, dword [ebp - 0x14]
xor eax, edx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x61c88647
mov dword [ebp - 0x1c], edx
jmp 0x444c46
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x445720
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp + 8]
test eax, eax
je 0x445746
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
jmp 0x445755
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44579b
cmp dword [ebp + 0xc], 0
je 0x44579b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push 4
lea edx, [ebp - 8]
push edx
push 0x1002
push 0xffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 8]
push ecx
push 0x1001
push 0xffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x445a90
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00445a40
mov ecx, dword [ebp - 0x1c]
call fcn.00445c50
movzx eax, al
test eax, eax
je 0x445b5a
push 0x10000
mov cl, byte [ebp + 0x10]
push ecx
call fcn.00445720
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xffffffff
je 0x445b47
push 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call fcn.004456f0
add esp, 8
mov ax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004456b0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x445b2f
cmp dword [ebp - 0x18], 0xffffffff
jne 0x445b47
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x445b47
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.00445c90
movzx eax, al
test eax, eax
je 0x445b47
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 4], 1
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 4]
test eax, eax
jne 0x445b5a
mov ecx, dword [ebp - 0x1c]
call fcn.00445a40
mov ecx, dword [ebp - 0x1c]
mov al, byte [ecx + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445c90
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov dword [ebp - 0x22c], ecx
mov eax, dword [ebp - 0x22c]
cmp dword [eax], 0xffffffff
je 0x445ee0
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x3e8
mov dword [ebp - 0x21c], edx
movzx eax, byte [ebp + 8]
test eax, eax
jne 0x445cd9
mov ecx, dword [ebp - 0x21c]
shl ecx, 1
mov dword [ebp - 0x21c], ecx
cmp dword [ebp - 0x21c], 0
jle 0x445ee0
mov ecx, dword [ebp - 0x22c]
call fcn.00445c50
movzx edx, al
test edx, edx
je 0x445ee0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x224], 0
jmp 0x445d2b
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [ebp - 0x108]
jae 0x445d54
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp + edx*4 - 0x104]
cmp ecx, dword [eax]
jne 0x445d52
jmp 0x445d54
jmp 0x445d1c
mov edx, dword [ebp - 0x224]
cmp edx, dword [ebp - 0x108]
jne 0x445d8f
cmp dword [ebp - 0x108], 0x40
jae 0x445d8f
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
mov dword [ebp + eax*4 - 0x104], edx
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
xor ecx, ecx
jne 0x445d10
mov dword [ebp - 0x228], 0
jmp 0x445db2
mov edx, dword [ebp - 0x228]
add edx, 1
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x218]
jae 0x445ddb
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp + ecx*4 - 0x214]
cmp eax, dword [edx]
jne 0x445dd9
jmp 0x445ddb
jmp 0x445da3
mov ecx, dword [ebp - 0x228]
cmp ecx, dword [ebp - 0x218]
jne 0x445e16
cmp dword [ebp - 0x218], 0x40
jae 0x445e16
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
mov dword [ebp + edx*4 - 0x214], ecx
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
xor eax, eax
jne 0x445d97
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xc350
mov dword [ebp - 0x220], 0
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x445e75
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
add eax, 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x220], eax
jmp 0x445ea4
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jle 0x445eca
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
push edx
call sub.WS2_32.dll___WSAFDIsSet
neg eax
sbb eax, eax
neg eax
jmp 0x445ee2
mov eax, dword [ebp - 0x21c]
sub eax, 0xc350
mov dword [ebp - 0x21c], eax
jmp 0x445cd9
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x4464f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0x447330
push 0
push 0
call sub.MSVCR80.dll__beginthreadex
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0xffffffff
jne 0x446549
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0
jne 0x44655f
mov edx, dword [ebp - 8]
mov byte [edx + 0x18], 1
xor al, al
jmp 0x446561
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x44e851
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x4d2a20]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor ecx, ecx
cmp eax, ecx
push edi
je 0x44e8be
cmp dword [ebp + 0xc], ecx
jle 0x44e8be
cmp ebx, ecx
je 0x44e8be
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0044eb05
pop ecx
lea edi, [esp + 8]
call fcn.0044ebac
mov al, 1
jmp 0x44e8c0
xor al, al
mov ecx, dword [esp + 0x64]
pop edi
pop ebx
xor ecx, esp
call fcn.0047676d
mov esp, ebp
pop ebp
ret
Function at 0x44e97c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a2508
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2178
call fcn.0049ea10
mov eax, dword [0x4d2a20]
xor eax, esp
mov dword [esp + 0x2174], eax
push ebx
push edi
mov eax, dword [0x4d2a20]
xor eax, esp
push eax
lea eax, [esp + 0x2188]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.0042e2c0
xor ebx, ebx
push ebx
push ebx
push 0x80
push 3
push 1
push SysReAllocString
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x21ac], ebx
call fcn.0043576c
test eax, eax
jge 0x44ea20
lea ecx, [esp + 0x10]
call fcn.004357b4
mov eax, ebx
mov ecx, dword [esp + 0x2188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x2174]
xor ecx, esp
call fcn.0047676d
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x6c], bl
xor eax, eax
lea edi, [esp + 0x6d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov edi, 0x2000
jmp 0x44ea75
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
call fcn.0044eb05
pop ecx
lea eax, [esp + 0xc]
push eax
push edi
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.0043debf
cmp dword [esp + 0xc], ebx
jne 0x44ea5f
lea ecx, [esp + 0x10]
call fcn.0040695c
lea edi, [esp + 0x14]
lea ebx, [esp + 0x6c]
call fcn.0044ebac
xor edi, edi
push 0xfe
lea eax, [esp + 0x82]
push edi
push eax
mov word [esp + 0x88], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ebx, [esp + 0x7c]
movzx eax, byte [esp + edi + 0x6c]
push eax
push str._.2x
push 0xffffffffffffffff
push 3
push ebx
call sub.MSVCR80.dll__snwprintf_s
add esp, 0x14
add ebx, 4
inc edi
cmp edi, 0x10
jb 0x44ead0
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.00401cb6
xor ebx, ebx
inc ebx
jmp 0x44e9f2

Function at 0x44f695
Capabilities:
Resolve dns

Disassembly:
push 0xc
push 0x4c8990
call fcn.00476f00
and dword [ebp - 4], 0
call fcn.00406b11
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
jmp 0x44f6bc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
test eax, eax
je 0x44f6d7
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
call fcn.00476f45
ret 4

Function at 0x44f7a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push ebx
je 0x44f7b0
push 0x11
push 2
jmp 0x44f7b4
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44f7f7
push esi
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push edi
push 4
lea eax, [ebp + 8]
push eax
push 0x1002
mov edi, 0xffff
push edi
push ebx
mov dword [ebp + 8], 0x10000
call esi
push 4
lea eax, [ebp + 8]
push eax
push 0x1001
push edi
push ebx
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x44f825
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 4], eax
or eax, 0xffffffff
cmp dword [ebp + 8], eax
je 0x44f864
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push eax
call fcn.004456b0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0x14]
push esi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047676d
leave
ret