joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ab94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45ac2e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jne 0x45abd2
mov byte [ebp - 0x100], 0x43
mov al, byte [ebp - 0x100]
push eax
call sub.user32.dll_IsCharAlphaA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45abef
mov byte [ebp - 0x100], 0x43
lea eax, [ebp - 0x104]
mov dl, byte [ebp - 0x100]
call fcn.00404ce0
mov edx, dword [ebp - 0x104]
mov ecx, dword [0x49ed9c]
mov ecx, dword [ecx]
mov eax, ebx
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ac35
lea eax, [ebp - 0x104]
call fcn.00404b00
ret

Function at 0x45ad14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x45ae9a
push dword fs:[edx]
mov dword fs:[edx], esp
cmp eax, 7
ja case.default.0x45ad45
jmp dword [eax*4 + 0x45ad4c]
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jne 0x45ad88
mov byte [ebp - 0x100], 0x43
mov al, byte [ebp - 0x100]
push eax
call sub.user32.dll_IsCharAlphaA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45ada5
mov byte [ebp - 0x100], 0x43
lea eax, [ebp - 0x104]
mov dl, byte [ebp - 0x100]
call fcn.00404ce0
mov edx, dword [ebp - 0x104]
mov ecx, dword [0x49e8b4]
mov ecx, dword [ecx]
mov eax, ebx
call fcn.00404e04
jmp case.default.0x45ad45
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jne 0x45adec
mov byte [ebp - 0x100], 0x43
mov al, byte [ebp - 0x100]
push eax
call sub.user32.dll_IsCharAlphaA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45ae09
mov byte [ebp - 0x100], 0x43
lea eax, [ebp - 0x108]
mov dl, byte [ebp - 0x100]
call fcn.00404ce0
mov edx, dword [ebp - 0x108]
mov ecx, dword [0x49e8f0]
mov ecx, dword [ecx]
mov eax, ebx
call fcn.00404e04
jmp case.default.0x45ad45
mov eax, ebx
call fcn.0045aa58
jmp case.default.0x45ad45
mov eax, ebx
call fcn.0045ab08
jmp case.default.0x45ad45
mov eax, ebx
mov edx, 0x45aeb0
call fcn.00404b54
jmp case.default.0x45ad45
mov eax, ebx
mov edx, 0x45aebc
call fcn.00404b54
jmp case.default.0x45ad45
mov eax, ebx
mov edx, 0x45aec8
call fcn.00404b54
jmp case.default.0x45ad45
mov eax, ebx
mov edx, dword [0x49edbc]
mov edx, dword [edx]
call fcn.00404cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aea1
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.00404b24
ret
Function at 0x45aecc
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0xa
call sub.kernel32.dll_Sleep_1
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x45af78]
call fcn.00402be0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b274
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fa0
mov eax, dword [ebp - 8]
call fcn.00404fa0
mov eax, dword [ebp - 0xc]
call fcn.00404fa0
mov eax, dword [ebp + 8]
call fcn.00404fa0
xor eax, eax
push ebp
push 0x45b3c6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0x45b3d8
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404fb0
push eax
push 0
push 2
push 0x110
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.00404fb0
push eax
mov eax, dword [ebp - 4]
call fcn.00404fb0
push eax
push ebx
call sub.advapi32.dll_CreateServiceA
mov ebx, eax
mov eax, dword [0x49eea4]
cmp dword [eax], 0
je 0x45b39b
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x400
mov edx, 1
mov eax, dword [ebp + 8]
call fcn.00405010
mov eax, 4
call fcn.00402744
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
call fcn.00404db8
inc eax
call fcn.00402744
mov esi, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
xor eax, eax
push ebp
push 0x45b394
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 0x18]
call fcn.00409b50
mov eax, dword [ebp - 0x14]
push eax
push 1
push ebx
mov eax, dword [0x49eea4]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b39b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00402764
mov eax, dword [ebp - 0x14]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b3cd
lea eax, [ebp - 0x18]
call fcn.00404b00
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b24
lea eax, [ebp + 8]
call fcn.00404b00
ret
Function at 0x45b3dc
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fa0
xor eax, eax
push ebp
push 0x45b48e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45b46e
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0xf003f
push 0
push 0x45b4a0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
je 0x45b456
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404fb0
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov edi, eax
test edi, edi
je 0x45b450
push edi
call sub.advapi32.dll_DeleteService
mov esi, 1
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
test esi, esi
jle 0x45b460
mov byte [ebp - 5], 1
jmp 0x45b464
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45b478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b495
lea eax, [ebp - 4]
call fcn.00404b00
ret

Function at 0x45b4d8
Capabilities:
Stop service

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov ebx, eax
mov byte [esp], 1
mov eax, ebx
call fcn.0045b6d8
mov esi, eax
xor eax, eax
mov al, bl
lea eax, [eax + eax*8]
push esi
lea esi, [eax*4 + 0x49fd78]
lea edi, [esp + 8]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [esp + 4]
push eax
push 1
push esi
call sub.advapi32.dll_ControlService
test eax, eax
jne 0x45b525
push esi
call sub.advapi32.dll_CloseServiceHandle
mov byte [esp], 0
jmp 0x45b52b
push esi
call sub.advapi32.dll_CloseServiceHandle
mov al, byte [esp]
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x45b538
Capabilities:
Pause service
Stop service

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov ebx, eax
mov byte [esp], 1
mov eax, ebx
call fcn.0045b6d8
mov esi, eax
xor eax, eax
mov al, bl
lea eax, [eax + eax*8]
push esi
lea esi, [eax*4 + 0x49fd78]
lea edi, [esp + 8]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [esp + 4]
push eax
push 2
push esi
call sub.advapi32.dll_ControlService
test eax, eax
jne 0x45b585
push esi
call sub.advapi32.dll_CloseServiceHandle
mov byte [esp], 0
jmp 0x45b58b
push esi
call sub.advapi32.dll_CloseServiceHandle
mov al, byte [esp]
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x45b598
Capabilities:
Continue service
Stop service

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov ebx, eax
mov byte [esp], 1
mov eax, ebx
call fcn.0045b6d8
mov esi, eax
xor eax, eax
mov al, bl
lea eax, [eax + eax*8]
push esi
lea esi, [eax*4 + 0x49fd78]
lea edi, [esp + 8]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [esp + 4]
push eax
push 3
push esi
call sub.advapi32.dll_ControlService
test eax, eax
jne 0x45b5e5
push esi
call sub.advapi32.dll_CloseServiceHandle
mov byte [esp], 0
jmp 0x45b5eb
push esi
call sub.advapi32.dll_CloseServiceHandle
mov al, byte [esp]
add esp, 0x20
pop edi
pop esi
pop ebx
ret
Function at 0x45b638
Capabilities:
Modify service

Disassembly:
push ebx
push esi
mov bl, 1
call fcn.0045b6d8
mov esi, eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call sub.advapi32.dll_ChangeServiceConfigA
test eax, eax
jne 0x45b66b
push esi
call sub.advapi32.dll_CloseServiceHandle
xor ebx, ebx
jmp 0x45b671
push esi
call sub.advapi32.dll_CloseServiceHandle
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45b764
Capabilities:
Query service configuration

Disassembly:
push ebx
push esi
add esp, 0xfffffbfc
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00404b00
mov eax, ebx
call fcn.0045b6d8
mov ebx, eax
lea eax, [esp + 4]
mov edx, 0x400
call fcn.00407cdc
push esp
push 0x400
lea eax, [esp + 0xc]
push eax
push 1
push ebx
call sub.ADVAPI32.DLL_QueryServiceConfig2A
test al, al
je 0x45b7b0
mov eax, esi
lea edx, [esp + 8]
call fcn.00404cf0
push ebx
call sub.advapi32.dll_CloseServiceHandle
add esp, 0x404
pop esi
pop ebx
ret
Function at 0x45d3e0
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 0x45d469
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a45e8
push 0x101
call sub.wsock32.dll_WSAStartup_1
mov ebx, eax
test ebx, ebx
je 0x45d453
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b8b4
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, 0x45d480
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x49eda0]
mov dl, 1
mov eax, dword [0x45c544]
call fcn.0040c200
call fcn.004044dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d470
lea eax, [ebp - 0x1c]
call fcn.00404b00
ret

Function at 0x45db34
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0045da58
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403f0c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45db98
call fcn.0045d328
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45db8a
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.00403f0c
pop esi
pop ebx
ret

Function at 0x45dbbc
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045d8dc
xor eax, eax
push ebp
push 0x45dc3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b00
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45dbf5
call fcn.00404588
jmp 0x45dc42
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x45dc25
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dc42
mov eax, dword [ebp - 4]
call fcn.0045d8e8
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45dc48
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045d8dc
xor eax, eax
push ebp
push 0x45dcc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b00
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45dc84
call fcn.00404588
jmp 0x45dcc8
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname_1
test eax, eax
jne 0x45dcab
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404d68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dcc8
mov eax, dword [ebp - 4]
call fcn.0045d8e8
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dcd0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045d8dc
xor eax, eax
push ebp
push 0x45dd4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45dd06
call fcn.00404588
jmp 0x45dd52
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x45dd35
mov ax, word [ebp - 0x1a]
push eax
call sub.wsock32.dll_ntohs
movzx eax, ax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dd52
mov eax, dword [ebp - 4]
call fcn.0045d8e8
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x45de8c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404fb0
push eax
call sub.wsock32.dll_gethostbyname_1
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403288
test ebx, ebx
je 0x45ded7
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 0x45dfb4
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 0x45dfe5
mov ecx, dword [0x49eef4]
mov dl, 1
mov eax, dword [0x45c544]
call fcn.0040c1c4
call fcn.004044dc
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 0x45e012
mov ecx, dword [0x49ebd0]
mov dl, 1
mov eax, dword [0x45c544]
call fcn.0040c1c4
call fcn.004044dc
xor eax, eax
push ebp
push 0x45e093
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.00403f0c
cmp byte [ebp + 8], 0
je 0x45e06d
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.0045df1c
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.0045dab4
jmp 0x45e089
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.0045d614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e0b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45e0bc
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 0x45e0ed
mov ecx, dword [0x49ec58]
mov dl, 1
mov eax, dword [0x45c544]
call fcn.0040c1c4
call fcn.004044dc
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 0x45e11a
mov ecx, dword [0x49ebd0]
mov dl, 1
mov eax, dword [0x45c544]
call fcn.0040c1c4
call fcn.004044dc
xor eax, eax
push ebp
push 0x45e196
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.00403f0c
cmp byte [ebp + 8], 0
je 0x45e172
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.0045df1c
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.0045db34
jmp 0x45e18c
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.0045d614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e1b3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45e394
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.0045d8dc
xor eax, eax
push ebp
push 0x45e506
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 0x45e4f0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45e3df
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45e3e9
call fcn.00404588
jmp 0x45e50d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418a3c
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 + 8]
mov ebx, eax
test ebx, ebx
jle 0x45e4e5
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 0x45e497
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x45e484
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403f0c
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.0045e34c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x45e518]
cmp dl, byte [eax + 0x28]
je 0x45e4ec
call fcn.0040c0ac
jmp 0x45e4ec
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418a5c
jmp 0x45e4ec
cmp ecx, ebx
jge 0x45e4b3
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.00418a5c
jmp 0x45e3e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418a3c
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418a70
cmp edx, dword [esp + 4]
jne 0x45e4d4
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45e3e9
push ebp
call fcn.0045e34c
pop ecx
jmp 0x45e4ec
push ebp
call fcn.0045e34c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e50d
mov eax, dword [ebp - 4]
call fcn.0045d8e8
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e51c
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 0x45e63e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045d8dc
xor eax, eax
push ebp
push 0x45e621
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 0x45e56c
call fcn.00404588
jmp 0x45e628
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 0x45e60b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45e60b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403f0c
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 0x45e60b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b8b4
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, 0x45e658
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x49eda0]
mov dl, 1
mov eax, dword [0x45c544]
call fcn.0040c200
call fcn.004044dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e628
mov eax, dword [ebp - 4]
call fcn.0045d8e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e645
lea eax, [ebp - 0x28]
call fcn.00404b00
ret
Function at 0x45e6a4
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 0x45e7ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045d8dc
xor eax, eax
push ebp
push 0x45e7d1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45e709
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45e709
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 0x45e7bb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45e71c
call fcn.00404588
jmp 0x45e7d8
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 0x45e7bb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45e7bb
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403f0c
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 0x45e7bb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b8b4
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, 0x45e808
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x49eda0]
mov dl, 1
mov eax, dword [0x45c544]
call fcn.0040c200
call fcn.004044dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e7d8
mov eax, dword [ebp - 4]
call fcn.0045d8e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e7f5
lea eax, [ebp - 0x28]
call fcn.00404b00
ret