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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov eax, 0x5c67f8
call fcn.00496b84
mov word [ebp - 0x34], 8
lea eax, [ebp - 4]
call fcn.00401ab4
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.00401ab4
push eax
inc dword [ebp - 0x28]
mov edx, 0x5bd76e
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x28]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0xbc]
lea eax, [ebp - 8]
call fcn.004a448c
inc dword [ebp - 0x28]
pop edx
pop ecx
call fcn.004a4688
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004a4660
dec dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
mov dl, 1
mov eax, dword [0x45aa70]
call fcn.004604c8
mov dword [ebp - 0x48], eax
mov word [ebp - 0x34], 0x14
mov dl, 1
mov eax, dword [0x4b59d8]
call fcn.004b5c64
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x5d4c9c]
mov eax, dword [ecx]
call fcn.0046c31c
mov dword [ebp - 0x50], eax
mov edx, dword [0x5d4c9c]
mov eax, dword [edx]
call fcn.0046c310
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
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.00460a34
call fcn.0045c904
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.004b6188
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 0x411df6
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x411e23
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 0x411e50
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.00401ae4
push eax
call fcn.0040dbc8
pop ecx
push eax
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
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 0x411e84
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
mov eax, 0x5c68bc
call fcn.00496b84
xor edx, edx
mov dword [ebp - 0x34], edx
mov word [ebp - 0x20], 8
lea eax, [ebp - 4]
call fcn.00401ab4
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push 4
call fcn.004959ac
pop ecx
mov dword [ebp - 0x3c], eax
push 4
call fcn.004959ac
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.004959ac
pop ecx
mov dword [ebp - 0x4c], eax
jmp 0x411f3e
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 0x411f3b
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x80]
lea eax, [ebp - 8]
call fcn.004a448c
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004a4660
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
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 0x411eef
mov word [ebp - 0x20], 0x2c
lea edx, [ebp - 4]
lea eax, [ebp - 0xc]
call fcn.004a44c4
mov edx, eax
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004a4660
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.004a4630
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
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 0x4125e8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
mov eax, 0x5c6d18
call fcn.00496b84
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x41261e
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x4126db
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 0x4126ca
mov word [ebp - 0x1c], 8
lea eax, [ebp - 8]
call fcn.00401ab4
push eax
inc dword [ebp - 0x10]
lea edx, [ebp - 0x13c]
lea eax, [ebp - 4]
call fcn.004a448c
inc dword [ebp - 0x10]
mov eax, dword [eax]
pop edx
call fcn.0048b798
lea eax, [ebp - 8]
call fcn.00401ae4
push eax
call sub.USER32.DLL_CharLowerA
push eax
call fcn.00401d68
pop ecx
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
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 0x412644
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 0x44aa70
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 0x44aaf9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5d5780
push 0x101
call sub.WSOCK32.DLL_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x44aae3
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0048dc4c
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, 0x44ab10
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x5d4dd8]
mov dl, 1
mov eax, dword [0x449e6c]
call fcn.0048e584
call fcn.00493178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ab00
lea eax, [ebp - 0x1c]
call fcn.0049367c
ret
Function at 0x44b18c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0044b0b0
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00492bfc
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.WSOCK32.DLL_connect
mov edx, 0x44b1f0
call fcn.0044a9b8
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x44b1e2
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.00492bfc
pop esi
pop ebx
ret

Function at 0x44b214
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.0044af30
xor eax, eax
push ebp
push 0x44b293
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0049367c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x44b24d
call fcn.00493218
jmp 0x44b29a
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 0x44b27d
push dword [ebp - 0x14]
call sub.WSOCK32.DLL_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00493834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b29a
mov eax, dword [ebp - 4]
call fcn.0044af3c
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b348
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00493ac0
push eax
call sub.WSOCK32.DLL_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.0049271c
test ebx, ebx
je 0x44b393
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 0x44b3d8
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 0x44b400
mov edx, edi
mov eax, esi
call fcn.0044b348
mov dword [ebx + 4], eax
jmp 0x44b43d
cmp dword [ebp - 4], 0
je 0x44b419
mov eax, dword [ebp - 4]
call fcn.00493ac0
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 4], eax
jmp 0x44b43d
cmp byte [ebp + 0xc], 0
jne 0x44b426
xor eax, eax
mov dword [ebx + 4], eax
jmp 0x44b43d
mov ecx, dword [0x5d4de0]
mov dl, 1
mov eax, dword [0x449e6c]
call fcn.0048e548
call fcn.00493178
cmp dword [ebp + 0x14], 0
je 0x44b459
mov edx, dword [ebp + 0x14]
mov eax, esi
call fcn.0044b3a4
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
jmp 0x44b467
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 0x44b470
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 0x44b4a1
mov ecx, dword [0x5d4de4]
mov dl, 1
mov eax, dword [0x449e6c]
call fcn.0048e548
call fcn.00493178
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 0x44b4ce
mov ecx, dword [0x5d4de8]
mov dl, 1
mov eax, dword [0x449e6c]
call fcn.0048e548
call fcn.00493178
xor eax, eax
push ebp
push 0x44b552
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.00492bfc
cmp byte [ebp + 8], 0
je 0x44b52c
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.0044b3d8
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.0044b10c
jmp 0x44b548
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.0044aca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b56f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44b578
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 0x44b5a9
mov ecx, dword [0x5d4dec]
mov dl, 1
mov eax, dword [0x449e6c]
call fcn.0048e548
call fcn.00493178
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 0x44b5d6
mov ecx, dword [0x5d4de8]
mov dl, 1
mov eax, dword [0x449e6c]
call fcn.0048e548
call fcn.00493178
xor eax, eax
push ebp
push 0x44b655
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.00492bfc
cmp byte [ebp + 8], 0
je 0x44b631
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.0044b3d8
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.0044b18c
jmp 0x44b64b
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.0044aca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b672
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44b854
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.0044af30
xor edx, edx
push ebp
push 0x44b9b4
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 0x44b99e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x44b89e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44b8a8
call fcn.00493218
jmp 0x44b9bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00484214
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 0x44b993
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 0x44b951
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x44b941
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00492bfc
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.0044b80c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x44b9c4]
cmp dl, byte [eax + 0x28]
je 0x44b99a
call fcn.0048e430
jmp 0x44b99a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00484224
jmp 0x44b99a
cmp eax, ebx
jge 0x44b96a
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00484224
jmp 0x44b8a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00484214
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00484230
cmp ebx, eax
jne 0x44b8a8
push ebp
call fcn.0044b80c
pop ecx
jmp 0x44b99a
push ebp
call fcn.0044b80c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b9bb
mov eax, dword [ebp - 4]
call fcn.0044af3c
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b9c8
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 0x44baea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044af30
xor eax, eax
push ebp
push 0x44bacd
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 0x44ba18
call fcn.00493218
jmp 0x44bad4
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 0x44bab7
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44bab7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00492bfc
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 0x44bab7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048dc4c
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, 0x44bb04
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5d4dd8]
mov dl, 1
mov eax, dword [0x449e6c]
call fcn.0048e584
call fcn.00493178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bad4
mov eax, dword [ebp - 4]
call fcn.0044af3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44baf1
lea eax, [ebp - 0x28]
call fcn.0049367c
ret
Function at 0x44bb50
Capabilities:
Receive data
Receive 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 ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44bc9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044af30
xor eax, eax
push ebp
push 0x44bc7d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x44bbb5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44bbb5
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 0x44bc67
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44bbc8
call fcn.00493218
jmp 0x44bc84
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 0x44bc67
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44bc67
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00492bfc
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 0x44bc67
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048dc4c
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, 0x44bcb4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5d4dd8]
mov dl, 1
mov eax, dword [0x449e6c]
call fcn.0048e584
call fcn.00493178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bc84
mov eax, dword [ebp - 4]
call fcn.0044af3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bca1
lea eax, [ebp - 0x28]
call fcn.0049367c
ret
Function at 0x4513c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451529
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00493714
mov eax, dword [ebp - 0x10]
call fcn.0045104c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x451412
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00493b44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004519b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4514e7
xor eax, eax
push ebp
push 0x4514e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004511bc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00451558
test al, al
je 0x4514be
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00493764
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4514be
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00493ac0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x4514b8
mov eax, dword [ebp - 0x14]
call fcn.00493ac0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00493834
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004513c0
dec ebx
cmp ebx, 0xffffffff
jne 0x451471
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4514e7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004511bc
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00493ac0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004511a8
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451530
lea eax, [ebp - 0x3c]
call fcn.0049367c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004936a0
ret

Function at 0x451558
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0049271c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x5d4eb0]
cmp byte [edx + 8], 0
je 0x4515bc
mov edx, dword [0x5d4e98]
cmp dword [edx], 2
jne 0x4515bc
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret