joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415ee4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.USER32.DLL_FindWindowA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x415f75
push 4
push 0x2000
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp - 0x10]
call sub.USER32.DLL_GetWindowThreadProcessId
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x415f75
mov eax, dword [ebp - 4]
push dword [eax]
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x415f65
push 0xfffffffffffffff7
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_TerminateProcess
test eax, eax
je 0x415f65
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_GlobalUnlock
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_GlobalFree
mov al, 1
jmp 0x415f77
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_GlobalUnlock
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_GlobalFree
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x415f7c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x4a0238
call fcn.0048715c
xor edx, edx
mov dword [ebp - 0x2c], edx
jmp 0x415fe4
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4a8ac8]
call fcn.0042bd2c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x415fe1
mov word [ebp - 0x18], 0x14
dec dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 4
mov edx, 2
call fcn.00496390
dec dword [ebp - 0xc]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00496390
push dword [ebp - 4]
call fcn.00485e08
pop ecx
mov word [ebp - 0x18], 8
inc dword [ebp - 0x2c]
mov ecx, dword [0x4a8ac8]
mov eax, dword [ecx + 8]
cmp eax, dword [ebp - 0x2c]
jg 0x415f93
mov eax, dword [0x4a8ac8]
mov edx, dword [eax]
call dword [edx + 8]
push 0
push 0x415d60
call sub.USER32.DLL_EnumWindows
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41610c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x416131
xor eax, eax
jmp 0x416173
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp - 8]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x416164
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_DeleteService
test eax, eax
je 0x41615a
mov byte [ebp - 1], 1
push dword [ebp - 8]
call sub.ADVAPI32.DLL_CloseServiceHandle
jmp 0x416168
mov byte [ebp - 1], 0
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x416178
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4161a0
xor eax, eax
jmp 0x416230
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp - 8]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4161bd
xor eax, eax
jmp 0x416230
lea edx, [ebp - 0x2c]
push edx
push 1
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_ControlService
test eax, eax
je 0x41621d
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_QueryServiceStatus
test eax, eax
je 0x41620d
jmp 0x416207
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_Sleep
lea edx, [ebp - 0x2c]
push edx
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_QueryServiceStatus
test eax, eax
je 0x41620d
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jae 0x41620d
cmp dword [ebp - 0x28], 3
je 0x4161e1
cmp dword [ebp - 0x28], 1
jne 0x416219
mov byte [ebp - 1], 1
jmp 0x41621d
mov byte [ebp - 1], 0
push dword [ebp - 8]
call sub.ADVAPI32.DLL_CloseServiceHandle
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x416dbc
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1d], 0
jne 0x416e96
mov edx, dword [ebp + 8]
mov byte [edx + 0x1d], 1
mov cl, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
mov byte [eax + 0x1c], cl
mov word [ebp - 0x14], 1
mov word [ebp - 0x12], 1
mov dword [ebp - 0x10], 0x2b11
mov word [ebp - 6], 0x10
movzx edx, word [ebp - 0x12]
movzx ecx, word [ebp - 6]
imul edx, ecx
test edx, edx
jns 0x416e0a
add edx, 7
sar edx, 3
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
imul dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov word [ebp - 4], 0
push 0x10000
push 0
mov edx, dword [ebp + 8]
push dword [edx + 0x14]
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push dword [ebp + 8]
call sub.WINMM.DLL_waveInOpen
push 0xf000
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00416c1c
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
push 0x20
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
mov eax, dword [ebp + 8]
push dword [eax]
call sub.WINMM.DLL_waveInPrepareHeader
cmp byte [ebp + 0xc], 0
je 0x416e96
push 0xf000
mov edx, dword [ebp + 8]
push dword [edx]
call fcn.00416c1c
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
push 0x20
mov eax, dword [ebp + 8]
push dword [eax + 8]
mov edx, dword [ebp + 8]
push dword [edx]
call sub.WINMM.DLL_waveInPrepareHeader
mov esp, ebp
pop ebp
ret
Function at 0x417a38
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 1
jl 0x417a48
cmp dword [ebp + 8], 9
jle 0x417a53
push str.bad_pack_level
call fcn.0041e815
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x4a8b14], eax
push 0x10000
push 0
push 0x4e5360
call fcn.00486c5c
add esp, 0xc
mov edx, dword [ebp + 8]
movzx ecx, word [edx*8 + 0x4a0686]
mov dword [0x4a8b10], ecx
mov eax, dword [ebp + 8]
movzx edx, word [eax*8 + 0x4a0684]
mov dword [0x4a8b18], edx
mov ecx, dword [ebp + 8]
movzx eax, word [ecx*8 + 0x4a0688]
mov dword [0x4a8b1c], eax
mov edx, dword [ebp + 8]
movzx ecx, word [edx*8 + 0x4a068a]
mov dword [0x4a8b0c], ecx
cmp dword [ebp + 8], 1
jne 0x417ac1
mov eax, dword [ebp + 0xc]
or word [eax], 4
jmp 0x417ace
cmp dword [ebp + 8], 9
jne 0x417ace
mov edx, dword [ebp + 0xc]
or word [edx], 2
xor ecx, ecx
mov dword [0x4a8afc], ecx
xor eax, eax
mov dword [0x4a8af0], eax
push 0x10000
push 0x4c5360
call dword [0x4a8ae4]
add esp, 8
mov dword [0x4a8b08], eax
cmp dword [0x4a8b08], 0
je 0x417b07
cmp dword [0x4a8b08], 0xffffffff
jne 0x417b1c
mov dword [0x4a8b04], 1
xor edx, edx
mov dword [0x4a8b08], edx
pop ecx
pop ebp
ret
xor ecx, ecx
mov dword [0x4a8b04], ecx
jmp 0x417b2b
call fcn.00417d6e
cmp dword [0x4a8b08], 0x106
jae 0x417b40
cmp dword [0x4a8b04], 0
je 0x417b26
xor eax, eax
mov dword [0x4a8af4], eax
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [0x4a8af4]
shl ecx, 5
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x4c5360]
xor ecx, edx
and ecx, 0x7fff
mov dword [0x4a8af4], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jb 0x417b4c
pop ecx
pop ebp
ret
Function at 0x417eb2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [0x4a8af8], 2
jmp 0x4180df
mov edx, dword [0x4a8af4]
shl edx, 5
mov ecx, dword [0x4a8afc]
add ecx, 3
xor eax, eax
mov al, byte [ecx + 0x4c535f]
xor edx, eax
and edx, 0x7fff
mov dword [0x4a8af4], edx
mov edx, dword [0x4a8af4]
movzx ecx, word [edx*2 + 0x4e5360]
mov dword [ebp - 4], ecx
mov eax, dword [0x4a8afc]
and eax, 0x7fff
mov word [eax*2 + 0x4d5360], cx
mov edx, dword [0x4a8af4]
mov ax, word [0x4a8afc]
mov word [edx*2 + 0x4e5360], ax
cmp dword [ebp - 4], 0
je 0x417f61
mov edx, dword [0x4a8afc]
sub edx, dword [ebp - 4]
cmp edx, 0x7efa
ja 0x417f61
push dword [ebp - 4]
call fcn.00417b7a
pop ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [0x4a8b08]
jbe 0x417f61
mov eax, dword [0x4a8b08]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jb 0x41805b
mov edx, dword [ebp - 0xc]
sub edx, 3
push edx
mov ecx, dword [0x4a8afc]
sub ecx, dword [0x4a8b00]
push ecx
call fcn.0041c5ab
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
sub dword [0x4a8b08], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x4a8b10]
ja 0x418014
dec dword [ebp - 0xc]
inc dword [0x4a8afc]
mov ecx, dword [0x4a8af4]
shl ecx, 5
mov eax, dword [0x4a8afc]
add eax, 3
xor edx, edx
mov dl, byte [eax + 0x4c535f]
xor ecx, edx
and ecx, 0x7fff
mov dword [0x4a8af4], ecx
mov ecx, dword [0x4a8af4]
movzx eax, word [ecx*2 + 0x4e5360]
mov dword [ebp - 4], eax
mov edx, dword [0x4a8afc]
and edx, 0x7fff
mov word [edx*2 + 0x4d5360], ax
mov ecx, dword [0x4a8af4]
mov ax, word [0x4a8afc]
mov word [ecx*2 + 0x4e5360], ax
dec dword [ebp - 0xc]
jne 0x417fa1
inc dword [0x4a8afc]
jmp 0x418083
mov edx, dword [ebp - 0xc]
add dword [0x4a8afc], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [0x4a8afc]
xor edx, edx
mov dl, byte [eax + 0x4c5360]
mov dword [0x4a8af4], edx
mov ecx, dword [0x4a8af4]
shl ecx, 5
mov eax, dword [0x4a8afc]
xor edx, edx
mov dl, byte [eax + 0x4c5361]
xor ecx, edx
and ecx, 0x7fff
mov dword [0x4a8af4], ecx
jmp 0x418083
mov ecx, dword [0x4a8afc]
xor eax, eax
mov al, byte [ecx + 0x4c5360]
push eax
push 0
call fcn.0041c5ab
add esp, 8
mov dword [ebp - 8], eax
dec dword [0x4a8b08]
inc dword [0x4a8afc]
cmp dword [ebp - 8], 0
je 0x4180ca
push 0
mov edx, dword [0x4a8afc]
sub edx, dword [0x4a8af0]
push edx
cmp dword [0x4a8af0], 0
jl 0x4180ae
mov ecx, 0x4c5360
add ecx, dword [0x4a8af0]
jmp 0x4180b0
xor ecx, ecx
push ecx
call fcn.0041c3db
add esp, 0xc
mov eax, dword [0x4a8afc]
mov dword [0x4a8af0], eax
jmp 0x4180ca
call fcn.00417d6e
cmp dword [0x4a8b08], 0x106
jae 0x4180df
cmp dword [0x4a8b04], 0
je 0x4180c5
cmp dword [0x4a8b08], 0
jne 0x417ecc
push 1
mov edx, dword [0x4a8afc]
sub edx, dword [0x4a8af0]
push edx
cmp dword [0x4a8af0], 0
jl 0x418111
mov eax, 0x4c5360
add eax, dword [0x4a8af0]
jmp 0x418113
xor eax, eax
push eax
call fcn.0041c3db
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x41e3e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x41e3f7
mov dword [ebp - 4], 0xffffffff
jmp 0x41e42f
mov eax, dword [0x4a13b0]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x41e42f
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4a13b4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp + 8]
dec dword [ebp + 0xc]
jne 0x41e405
mov ecx, dword [ebp - 4]
mov dword [0x4a13b0], ecx
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
pop ecx
pop ebp
ret
Function at 0x41fdd4
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 0x41ff10
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x41ff28
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00420ea8
mov eax, dword [ebp - 4]
call fcn.00420738
xor edx, edx
push ebp
push 0x41fef3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x41fe92
test si, si
jne 0x41fe44
mov eax, dword [ebp - 8]
call fcn.00439db8
mov esi, eax
cmp esi, 0xffff
jbe 0x41fe44
call fcn.0044a3ec
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 0x41fe92
cmp eax, 0xffffffff
jle 0x41fe73
sub ebx, eax
jmp 0x41fe82
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.00420ddc
test ebx, ebx
je 0x41fe92
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x41fe47
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x41fedd
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x41ff40
mov dl, 1
mov eax, dword [0x41f4a8]
call fcn.0043ccd0
call fcn.0044ac78
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x41fedd
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 0x41fefa
mov eax, dword [ebp - 4]
call fcn.00420790
ret
Function at 0x420ce4
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 0x420db0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x420dc4
mov dl, 4
mov eax, ebx
call fcn.00420ea8
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x420d9a
movzx eax, si
push eax
call sub.WSOCK32.DLL_closesocket
test eax, eax
jne 0x420d8c
test byte [ebx + 0x1c], 8
jne 0x420d49
cmp word [ebx + 0x10052], 0
je 0x420d49
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x420d9a
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x420d6c
call fcn.0044a3ec
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 0x420d9a
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.00420ddc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420db7
lea eax, [ebp - 4]
call fcn.0044b1dc
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x420f8c
mov dl, 8
mov eax, ebx
call fcn.00420ea8
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 0x420f7e
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x421000
Capabilities:
Set socket configuration

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x421190
mov dl, 8
mov eax, ebx
call fcn.00420ea8
cmp dword [ebx + 0x100a4], 0
jne 0x421036
lea eax, [ebx + 0x30]
mov edx, dword [ebx + 0x10274]
call fcn.00439e7c
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 0x10268], eax
jmp 0x421050
lea eax, [ebx + 0x30]
mov edx, dword [ebx + 0x100a4]
call fcn.00439e7c
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 0x10268], eax
cmp dword [ebx + 0x10268], 0xffffffff
jne 0x421186
xor eax, eax
mov dword [ebx + 0x10268], eax
mov eax, ebx
call fcn.00420738
mov byte [ebx + 0x100d0], 0
push 0x400
mov eax, dword [ebx + 0x10278]
push eax
lea eax, [ebx + 0x30]
push eax
push 0x466
mov eax, dword [ebx + 0x10294]
push eax
call sub.WSOCK32.DLL_WSAAsyncGetHostByName
push 2
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x4a8308]
mov eax, dword [eax]
call fcn.00471770
cmp byte [ebx + 0x100d0], 0
jne 0x4210c2
cmp byte [ebx + 0x100b1], 0
jne 0x4210c2
cmp byte [ebx + 0x10090], 0
je 0x421094
mov eax, ebx
call fcn.00420790
cmp byte [ebx + 0x100b1], 0
je 0x4210e8
mov ecx, 0x4211a8
mov dl, 1
mov eax, dword [0x41f450]
call fcn.0043ccd0
call fcn.0044ac78
cmp byte [ebx + 0x10090], 0
je 0x421107
mov ecx, 0x4211c8
mov dl, 1
mov eax, dword [0x41f450]
call fcn.0043ccd0
call fcn.0044ac78
cmp byte [ebx + 0x100b0], 0
jne 0x421126
mov ecx, 0x4211e8
mov dl, 1
mov eax, dword [0x41f450]
call fcn.0043ccd0
call fcn.0044ac78
lea eax, [ebx + 0x10268]
mov edx, dword [ebx + 0x10278]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov dl, byte [edx]
mov byte [eax], dl
mov edx, dword [ebx + 0x10278]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov edx, dword [ebx + 0x10278]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov dl, byte [edx + 2]
mov byte [eax + 2], dl
mov edx, dword [ebx + 0x10278]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov dl, byte [edx + 3]
mov byte [eax + 3], dl
cmp word [ebx + 0x1006a], 0
je 0x421186
mov edx, ebx
mov eax, dword [ebx + 0x1006c]
call dword [ebx + 0x10068]
pop ebx
ret

Function at 0x42535c
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 0x4253e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f9050
push 0x101
call sub.WSOCK32.DLL_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4253cf
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0043c478
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, 0x4253fc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4a8114]
mov dl, 1
mov eax, dword [0x424748]
call fcn.0043cdc8
call fcn.0044ac78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4253ec
lea eax, [ebp - 0x1c]
call fcn.0044b1dc
ret
Function at 0x425ab0
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004259d4
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.0044a6a8
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.WSOCK32.DLL_connect
mov edx, 0x425b14
call fcn.004252a4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x425b06
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.0044a6a8
pop esi
pop ebx
ret

Function at 0x425be0
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0044b68c
push eax
call sub.WSOCK32.DLL_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00449dc0
test ebx, ebx
je 0x425c2b
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 0x425c70
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov word [ebx], 2
test edi, edi
je 0x425c98
mov edx, edi
mov eax, esi
call fcn.00425be0
mov dword [ebx + 4], eax
jmp 0x425cd5
cmp dword [ebp - 4], 0
je 0x425cb1
mov eax, dword [ebp - 4]
call fcn.0044b68c
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 4], eax
jmp 0x425cd5
cmp byte [ebp + 0xc], 0
jne 0x425cbe
xor eax, eax
mov dword [ebx + 4], eax
jmp 0x425cd5
mov ecx, dword [0x4a811c]
mov dl, 1
mov eax, dword [0x424748]
call fcn.0043cd8c
call fcn.0044ac78
cmp dword [ebp + 0x14], 0
je 0x425cf1
mov edx, dword [ebp + 0x14]
mov eax, esi
call fcn.00425c3c
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
jmp 0x425cff
mov ax, word [ebp + 0x10]
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x425d08
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 0x425d39
mov ecx, dword [0x4a8120]
mov dl, 1
mov eax, dword [0x424748]
call fcn.0043cd8c
call fcn.0044ac78
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 0x425d66
mov ecx, dword [0x4a8124]
mov dl, 1
mov eax, dword [0x424748]
call fcn.0043cd8c
call fcn.0044ac78
xor eax, eax
push ebp
push 0x425de7
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.0044a6a8
cmp byte [ebp + 8], 0
je 0x425dc1
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00425c70
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00425a30
jmp 0x425ddd
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00425590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x425e04
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x425e10
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 0x425e41
mov ecx, dword [0x4a8128]
mov dl, 1
mov eax, dword [0x424748]
call fcn.0043cd8c
call fcn.0044ac78
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 0x425e6e
mov ecx, dword [0x4a8124]
mov dl, 1
mov eax, dword [0x424748]
call fcn.0043cd8c
call fcn.0044ac78
xor eax, eax
push ebp
push 0x425eea
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.0044a6a8
cmp byte [ebp + 8], 0
je 0x425ec6
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.00425c70
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.00425ab0
jmp 0x425ee0
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.00425590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x425f07
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc