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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov eax, 0x5c9674
call fcn.00496c14
mov word [ebp - 0x34], 8
lea eax, [ebp - 4]
call fcn.00401ad8
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.00401ad8
push eax
inc dword [ebp - 0x28]
mov edx, 0x5c06b3
lea eax, [ebp - 0xc]
call fcn.004a451c
inc dword [ebp - 0x28]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0xbc]
lea eax, [ebp - 8]
call fcn.004a451c
inc dword [ebp - 0x28]
pop edx
pop ecx
call fcn.004a4718
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004a46f0
dec dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
mov dl, 1
mov eax, dword [0x45ab00]
call fcn.00460558
mov dword [ebp - 0x48], eax
mov word [ebp - 0x34], 0x14
mov dl, 1
mov eax, dword [0x4b5a68]
call fcn.004b5cf4
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x5d7c28]
mov eax, dword [ecx]
call fcn.0046c3ac
mov dword [ebp - 0x50], eax
mov edx, dword [0x5d7c28]
mov eax, dword [edx]
call fcn.0046c3a0
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.00460ac4
call fcn.0045c994
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.004b6218
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 0x411c8e
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x411cbb
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 0x411ce8
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.00401b08
push eax
call fcn.0040dc18
pop ecx
push eax
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
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 0x411d1c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
mov eax, 0x5c9738
call fcn.00496c14
xor edx, edx
mov dword [ebp - 0x34], edx
mov word [ebp - 0x20], 8
lea eax, [ebp - 4]
call fcn.00401ad8
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push 4
call fcn.00495a3c
pop ecx
mov dword [ebp - 0x3c], eax
push 4
call fcn.00495a3c
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.00495a3c
pop ecx
mov dword [ebp - 0x4c], eax
jmp 0x411dd6
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 0x411dd3
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x80]
lea eax, [ebp - 8]
call fcn.004a451c
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004a46f0
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
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 0x411d87
mov word [ebp - 0x20], 0x2c
lea edx, [ebp - 4]
lea eax, [ebp - 0xc]
call fcn.004a4554
mov edx, eax
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
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 0x412480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
mov eax, 0x5c9b94
call fcn.00496c14
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4124b6
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x412573
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 0x412562
mov word [ebp - 0x1c], 8
lea eax, [ebp - 8]
call fcn.00401ad8
push eax
inc dword [ebp - 0x10]
lea edx, [ebp - 0x13c]
lea eax, [ebp - 4]
call fcn.004a451c
inc dword [ebp - 0x10]
mov eax, dword [eax]
pop edx
call fcn.0048b828
lea eax, [ebp - 8]
call fcn.00401b08
push eax
call sub.USER32.DLL_CharLowerA
push eax
call fcn.00401d8c
pop ecx
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
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 0x4124dc
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 0x44ab00
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 0x44ab89
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5d870c
push 0x101
call sub.WSOCK32.DLL_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x44ab73
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0048dcdc
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, 0x44aba0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x5d7d64]
mov dl, 1
mov eax, dword [0x449efc]
call fcn.0048e614
call fcn.00493208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ab90
lea eax, [ebp - 0x1c]
call fcn.0049370c
ret
Function at 0x44b21c
Capabilities:
Connect socket

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

Function at 0x44b2a4
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.0044afc0
xor eax, eax
push ebp
push 0x44b323
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0049370c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x44b2dd
call fcn.004932a8
jmp 0x44b32a
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 0x44b30d
push dword [ebp - 0x14]
call sub.WSOCK32.DLL_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.004938c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b32a
mov eax, dword [ebp - 4]
call fcn.0044afcc
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b3d8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00493b50
push eax
call sub.WSOCK32.DLL_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004927ac
test ebx, ebx
je 0x44b423
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 0x44b468
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 0x44b490
mov edx, edi
mov eax, esi
call fcn.0044b3d8
mov dword [ebx + 4], eax
jmp 0x44b4cd
cmp dword [ebp - 4], 0
je 0x44b4a9
mov eax, dword [ebp - 4]
call fcn.00493b50
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 4], eax
jmp 0x44b4cd
cmp byte [ebp + 0xc], 0
jne 0x44b4b6
xor eax, eax
mov dword [ebx + 4], eax
jmp 0x44b4cd
mov ecx, dword [0x5d7d6c]
mov dl, 1
mov eax, dword [0x449efc]
call fcn.0048e5d8
call fcn.00493208
cmp dword [ebp + 0x14], 0
je 0x44b4e9
mov edx, dword [ebp + 0x14]
mov eax, esi
call fcn.0044b434
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
jmp 0x44b4f7
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 0x44b500
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 0x44b531
mov ecx, dword [0x5d7d70]
mov dl, 1
mov eax, dword [0x449efc]
call fcn.0048e5d8
call fcn.00493208
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 0x44b55e
mov ecx, dword [0x5d7d74]
mov dl, 1
mov eax, dword [0x449efc]
call fcn.0048e5d8
call fcn.00493208
xor eax, eax
push ebp
push 0x44b5e2
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.00492c8c
cmp byte [ebp + 8], 0
je 0x44b5bc
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.0044b468
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.0044b19c
jmp 0x44b5d8
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.0044ad34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b5ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44b608
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 0x44b639
mov ecx, dword [0x5d7d78]
mov dl, 1
mov eax, dword [0x449efc]
call fcn.0048e5d8
call fcn.00493208
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 0x44b666
mov ecx, dword [0x5d7d74]
mov dl, 1
mov eax, dword [0x449efc]
call fcn.0048e5d8
call fcn.00493208
xor eax, eax
push ebp
push 0x44b6e5
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.00492c8c
cmp byte [ebp + 8], 0
je 0x44b6c1
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.0044b468
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.0044b21c
jmp 0x44b6db
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.0044ad34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b702
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44b8e4
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.0044afc0
xor edx, edx
push ebp
push 0x44ba44
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 0x44ba2e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x44b92e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44b938
call fcn.004932a8
jmp 0x44ba4b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004842a4
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 0x44ba23
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 0x44b9e1
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x44b9d1
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00492c8c
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.0044b89c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x44ba54]
cmp dl, byte [eax + 0x28]
je 0x44ba2a
call fcn.0048e4c0
jmp 0x44ba2a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004842b4
jmp 0x44ba2a
cmp eax, ebx
jge 0x44b9fa
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004842b4
jmp 0x44b938
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004842a4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004842c0
cmp ebx, eax
jne 0x44b938
push ebp
call fcn.0044b89c
pop ecx
jmp 0x44ba2a
push ebp
call fcn.0044b89c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ba4b
mov eax, dword [ebp - 4]
call fcn.0044afcc
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ba58
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 0x44bb7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044afc0
xor eax, eax
push ebp
push 0x44bb5d
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 0x44baa8
call fcn.004932a8
jmp 0x44bb64
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 0x44bb47
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44bb47
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00492c8c
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 0x44bb47
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048dcdc
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, 0x44bb94
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5d7d64]
mov dl, 1
mov eax, dword [0x449efc]
call fcn.0048e614
call fcn.00493208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bb64
mov eax, dword [ebp - 4]
call fcn.0044afcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bb81
lea eax, [ebp - 0x28]
call fcn.0049370c
ret
Function at 0x44bbe0
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 0x44bd2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044afc0
xor eax, eax
push ebp
push 0x44bd0d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x44bc45
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44bc45
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 0x44bcf7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44bc58
call fcn.004932a8
jmp 0x44bd14
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 0x44bcf7
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44bcf7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00492c8c
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 0x44bcf7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048dcdc
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, 0x44bd44
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5d7d64]
mov dl, 1
mov eax, dword [0x449efc]
call fcn.0048e614
call fcn.00493208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bd14
mov eax, dword [ebp - 4]
call fcn.0044afcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bd31
lea eax, [ebp - 0x28]
call fcn.0049370c
ret
Function at 0x451450
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 0x4515b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004937a4
mov eax, dword [ebp - 0x10]
call fcn.004510dc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4514a2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00493bd4
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.00451a40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x451577
xor eax, eax
push ebp
push 0x451570
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0045124c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004515e8
test al, al
je 0x45154e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004937f4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x45154e
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.00493b50
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x451548
mov eax, dword [ebp - 0x14]
call fcn.00493b50
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004938c4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00451450
dec ebx
cmp ebx, 0xffffffff
jne 0x451501
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451577
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0045124c
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00493b50
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00451238
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 0x4515c0
lea eax, [ebp - 0x3c]
call fcn.0049370c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00493730
ret

Function at 0x4515e8
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.004927ac
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 [0x5d7e3c]
cmp byte [edx + 8], 0
je 0x45164c
mov edx, dword [0x5d7e24]
cmp dword [edx], 2
jne 0x45164c
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