joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441cc0
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c8678]
xor eax, esp
mov dword [esp + 0x14], eax
mov ax, word [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push 0x11
push 2
push 2
mov word [esp + 0x14], 2
mov word [esp + 0x16], ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], 0x10000
je 0x441d33
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [esp + 0xc]
push edx
push 0x1002
push 0xffff
push esi
call edi
push 4
lea eax, [esp + 0xc]
push eax
push 0x1001
push 0xffff
push esi
call edi
pop edi
cmp byte [esp + 0x28], 0
je 0x441d77
lea ecx, [esp + 4]
push ecx
push 0x8004667e
push esi
mov dword [esp + 0x10], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x441d77
cmp esi, 0xffffffff
je 0x441d64
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0046fb90
add esp, 0x18
ret
push 0x10
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x441d58
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046fb90
add esp, 0x18
ret

Function at 0x4439c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a6b3e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8678]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
lea ebp, [esi + 4]
mov dword [esi], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea edi, [esi + 0x14]
mov dword [esp + 0x30], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esp + 0x14]
push eax
push 0x4c83e0
push 0x4c83a8
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.0040c060
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.0040be00
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x30], 1
je 0x443a51
push eax
call fcn.0046fbc9
add esp, 4
push edi
mov ecx, ebp
call fcn.0040be00
mov edx, dword [str.www.tencent.com.]
mov dword [esi + 0x24], edx
mov eax, dword [0x4b15b8]
mov dword [esi + 0x28], eax
mov ecx, dword [0x4b15bc]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4b15c0]
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x444840
Capabilities:
Access peb ldr_data
Get ntdll base address
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4a6c54
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c8678]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x28]
mov dword [esi], 0x4b15c8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x65
mov dword [esi + 0x18], 0x12dd668
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], 0x34
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov edx, 1
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x4018], eax
mov dword [esi + 0x401c], eax
mov dword [esi + 0x4020], eax
mov dword [esi + 0x4028], eax
mov dword [esi + 0x402c], eax
mov dword [esi + 0x4030], eax
cmp ecx, 0xffffffff
mov eax, 2
mov byte [esp + 0x1c], al
je 0x44495a
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0xc]
push 0x8004667e
push edx
mov dword [esi + 0x10], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
mov dword [esp + 0x24], 0x10000
je 0x44494d
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 0x28]
push eax
push 0x1002
push 0xffff
push edi
call ebx
push 4
lea ecx, [esp + 0x28]
push ecx
push 0x1001
push 0xffff
push edi
call ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push esi
push edx
call fcn.00443e90
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x444980
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c8678]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 8], 0x10000
je 0x4449dd
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 0x10]
push eax
push 0x1002
push 0xffff
push edi
call ebp
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1001
push 0xffff
push edi
call ebp
pop ebp
lea edx, [esp + 8]
push edx
push 0x8004667e
push edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x444a5f
mov eax, dword [esp + 0x24]
mov cx, word [eax + 4]
mov edx, dword [eax]
push 0x10
lea eax, [esp + 0x10]
mov word [esp + 0x12], cx
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov word [esp + 0x18], 2
mov dword [esp + 0x1c], edx
call dword [sym.imp.WS2_32.dll_connect]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push esi
push edx
mov dword [esi + 0x10], 1
call fcn.00443f10
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push esi
push eax
call fcn.00444560
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0046fb90
add esp, 0x18
ret 4
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x444a6e
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [esi + 0xc], 0xffffffff
pop esi
xor ecx, esp
xor al, al
call fcn.0046fb90
add esp, 0x18
ret 4

Function at 0x444a95
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 2
push edi
jne 0x444b26
mov eax, dword [esi + 0x4018]
test eax, eax
je 0x444ab7
mov ecx, dword [esi + 0x401c]
sub ecx, eax
jne 0x444b26
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
je 0x444ad6
push 0
push ebx
push ebp
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
jmp 0x444ad9
or edi, 0xffffffff
cmp edi, ebx
je 0x444b1a
jge 0x444b26
cmp edi, 0xffffffff
je 0x444b26
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x4014]
call fcn.00414190
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [ebx + ebp]
push ecx
add edi, ebp
push edi
push edx
push eax
lea ecx, [esi + 0x4014]
call fcn.0043ac10
mov ecx, dword [esi + 0xc]
push esi
push ecx
mov ecx, dword [esi + 4]
call fcn.00443f10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
Function at 0x445790
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
test eax, eax
push edi
mov ebp, ecx
jne 0x4457a8
xor edi, edi
jmp 0x4457ad
mov edi, dword [esi + 8]
sub edi, eax
push 0
lea eax, [edi + 0x4000]
push eax
mov ecx, esi
call fcn.0040bf20
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4457cd
mov eax, dword [esi + 8]
sub eax, ecx
cmp edi, eax
jb 0x4457d2
call fcn.00470037
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
add eax, edi
cmp ecx, 0xffffffff
je 0x44586c
push 0
push 0x4000
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jle 0x445865
cmp ebx, 0x4000
je 0x445863
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x445811
call fcn.00470037
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x44581e
call fcn.00470037
add edi, ebp
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], ebp
ja 0x44582e
cmp edi, dword [esi + 4]
jae 0x445833
call fcn.00470037
mov dword [esp + 0x14], edi
add edi, ebx
cmp edi, dword [esi + 8]
mov ebp, esi
ja 0x445845
cmp edi, dword [esi + 4]
jae 0x44584a
call fcn.00470037
mov ecx, dword [esp + 0x20]
push ecx
push esi
push edi
push ebp
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040b990
jmp 0x4458e4
test ebx, ebx
je 0x4458c0
cmp ebx, 0xffffffff
jne 0x4458e4
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x44587d
call fcn.00470037
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x44588a
call fcn.00470037
add edi, ebx
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], ebx
ja 0x44589a
cmp edi, dword [esi + 4]
jae 0x44589f
call fcn.00470037
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push edi
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040b990
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4458e4
cmp dword [ebp + 0x10], 2
jne 0x4458da
xor eax, eax
cmp byte [esp + 0x20], al
push eax
setne al
mov ecx, ebp
push eax
push 2
call fcn.00445670
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x4458f7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 8
ret 8
Function at 0x445910
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c4]
mov edx, dword [eax + 0x3c0]
mov ebp, dword [edx + ecx*4]
add eax, 0x3b4
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x4090]
lea ebx, [ebx]
mov eax, dword [esi + 0x4034]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4048]
push ecx
push 0
push 0x400b
push edi
push eax
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xa
jbe 0x445a14
cmp byte [edi], 0
jne 0x445a14
cmp byte [edi + 1], 0
jne 0x445a14
cmp byte [edi + 2], 0
jne 0x445a14
cmp byte [edi + 3], 1
jne 0x445a14
lea esi, [edi + 0xa]
test esi, esi
lea eax, [ebx - 0xa]
je 0x445a10
cmp eax, 0x34
jbe 0x445a10
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x34
jbe 0x445a10
lea ecx, [ebx - 0xa]
cmp eax, ecx
ja 0x445a10
cmp eax, 0x4000
jae 0x445a10
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x12dd668
jne 0x445a10
mov ecx, esi
call fcn.00441bf0
mov edx, dword [edi + 4]
push 0x4000
mov dword [ebp + 9], edx
mov ax, word [edi + 8]
lea ecx, [ebp + 0xf]
push esi
push ecx
mov word [ebp + 0xd], ax
mov dword [ebp], 3
mov byte [ebp + 8], 0
call fcn.00470480
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.004456f0
mov esi, dword [esp + 0x10]
cmp ebx, 0x400b
je 0x445940
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c4]
mov edx, dword [eax + 0x3c0]
mov ebp, dword [edx + ecx*4]
add eax, 0x3b4
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x4090]
lea ebx, [ebx]
mov eax, dword [esi + 0x4034]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4048]
push ecx
push 0
push 0x400b
push edi
push eax
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xa
jbe 0x445a14
cmp byte [edi], 0
jne 0x445a14
cmp byte [edi + 1], 0
jne 0x445a14
cmp byte [edi + 2], 0
jne 0x445a14
cmp byte [edi + 3], 1
jne 0x445a14
lea esi, [edi + 0xa]
test esi, esi
lea eax, [ebx - 0xa]
je 0x445a10
cmp eax, 0x34
jbe 0x445a10
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x34
jbe 0x445a10
lea ecx, [ebx - 0xa]
cmp eax, ecx
ja 0x445a10
cmp eax, 0x4000
jae 0x445a10
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x12dd668
jne 0x445a10
mov ecx, esi
call fcn.00441bf0
mov edx, dword [edi + 4]
push 0x4000
mov dword [ebp + 9], edx
mov ax, word [edi + 8]
lea ecx, [ebp + 0xf]
push esi
push ecx
mov word [ebp + 0xd], ax
mov dword [ebp], 3
mov byte [ebp + 8], 0
call fcn.00470480
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.004456f0
mov esi, dword [esp + 0x10]
cmp ebx, 0x400b
je 0x445940
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x446310
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x20
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
cmp eax, 2
jne 0x44641f
mov eax, dword [edi + 0x4018]
test eax, eax
push esi
lea esi, [edi + 0x4014]
je 0x44640a
mov ecx, dword [esi + 8]
sub ecx, eax
je 0x44640a
test eax, eax
push ebx
jne 0x44634b
xor ebx, ebx
jmp 0x446350
mov ebx, dword [esi + 8]
sub ebx, eax
test eax, eax
je 0x44635b
mov edx, dword [esi + 8]
sub edx, eax
jne 0x446360
call fcn.00470037
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
mov ecx, dword [esi + 4]
je 0x446378
push 0
push ebx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x44637b
or eax, 0xffffffff
mov edx, dword [esi + 4]
test edx, edx
pop ebx
jne 0x446387
xor ecx, ecx
jmp 0x44638c
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jne 0x4463b0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.004435b0
push 0
push 0
mov ecx, esi
call fcn.0040bf20
pop esi
pop edi
add esp, 0x20
ret 4
test eax, eax
jle 0x4463a8
test edx, edx
je 0x4463a8
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jae 0x4463a8
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004421e0
mov ecx, eax
call fcn.0040b8f0
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004421e0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0040b990
pop esi
pop edi
add esp, 0x20
ret 4
mov ecx, dword [edi + 0xc]
push edi
push ecx
mov ecx, dword [edi + 4]
call fcn.004435b0
pop esi
pop edi
add esp, 0x20
ret 4
cmp eax, 1
jne 0x4463a9
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push edx
mov dword [edi + 0x10], 2
call fcn.004435b0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.00443e90
push 0
push 1
push 1
mov ecx, edi
call fcn.00445670
pop edi
add esp, 0x20
ret 4
Function at 0x447870
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4a6f6f
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4c8678]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8678]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, ecx
lea eax, [esi + 8]
mov dword [esi], 0x4b173c
push eax
mov dword [esp + 0x18], esi
mov dword [esi + 4], 0x4b153c
call ebp
lea edi, [esi + 0x20]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1b4], ebx
call fcn.00442090
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x2c]
mov ecx, edi
mov byte [esp + 0x1b4], 1
call fcn.00442090
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x38]
mov ecx, edi
mov byte [esp + 0x1b4], 2
call fcn.00442090
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x350], ebx
mov byte [esi + 0x354], bl
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
lea ecx, [esi + 0x38c]
push ecx
mov dword [esi + 0x388], 0x4b153c
call ebp
lea edi, [esi + 0x3a4]
mov ecx, edi
mov byte [esp + 0x1b4], 7
call fcn.004420d0
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x1bc]
mov dword [esi + 0x3b0], eax
mov eax, dword [eax + 0x10]
add eax, 2
push eax
lea ecx, [esi + 0x3b4]
mov byte [esp + 0x1b8], 8
call fcn.00441fb0
lea edi, [esi + 0x3cc]
mov byte [esi + 0x3c8], bl
mov eax, 0x447730
mov dword [edi], 0x4b0cec
mov dword [edi + 4], ebx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
mov byte [edi + 0x18], 1
mov dword [esi + 0x3e8], ebx
lea edx, [esi + 0x400]
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
push edx
mov dword [esi + 0x3fc], 0x4b153c
call ebp
lea eax, [esp + 0x18]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
mov ecx, edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x24c], ebx
call fcn.00435300
mov eax, esi
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0046fb90
add esp, 0x1a4
ret 4
Function at 0x449050
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

Function at 0x449890
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2f0
mov eax, dword [0x4c8678]
xor eax, esp
mov dword [esp + 0x2ec], eax
mov eax, dword [esp + 0x2fc]
push ebx
mov ebx, dword [esp + 0x304]
push ebp
mov ebp, dword [esp + 0x30c]
push esi
mov esi, dword [esp + 0x304]
push edi
mov edi, dword [esp + 0x304]
push 0x64
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x30], eax
call fcn.004700e0
mov edx, ebx
shr edx, 8
movzx eax, dl
movzx ecx, bl
shl ecx, 8
or eax, ecx
shl eax, 8
mov edx, ebx
shr edx, 0x10
movzx ecx, dl
or eax, ecx
shl eax, 8
shr ebx, 0x18
or eax, ebx
push eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov edx, eax
shr edx, 0x10
mov ch, dl
mov edx, eax
shr edx, 0x18
mov cl, dl
push ecx
mov ecx, eax
shr ecx, 8
movzx eax, al
movzx edx, cl
shl eax, 8
or edx, eax
push edx
mov ecx, esi
movzx edx, si
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
shr ecx, 0x10
push ecx
push edx
push edi
push str._X__X__X__X__X_X
lea eax, [esp + 0x54]
push 0x63
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
push str.CLSID_sLocalServer32
lea edx, [esp + 0x12c]
push 0x103
push edx
call esi
add esp, 0x40
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xf8]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4499b9
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4499bd
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4499ca
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x2fc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046fb90
add esp, 0x2f0
ret 0x14
Function at 0x450bb0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a7ffc
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8678]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov edi, ecx
push 1
xor ebx, ebx
push 3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1f], bl
call fcn.00433540
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x174], ebx
call fcn.004505d0
push str.Global.db
push eax
lea ecx, [esp + 0xec]
push ecx
mov byte [esp + 0x178], 1
call fcn.00432770
add esp, 8
push eax
call fcn.00432a00
mov ebp, 8
add esp, 8
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x16c], bl
jb 0x450c4f
mov edx, dword [esp + 0x20]
push edx
call fcn.0046fbc9
add esp, 4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xe0]
call fcn.00430bd0
cmp dword [eax + 0x18], ebp
jb 0x450c6a
mov eax, dword [eax + 4]
jmp 0x450c6d
add eax, 4
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0x50], ebp
mov esi, eax
jb 0x450c95
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0046fbc9
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jne 0x450d98
push 1
push 3
lea ecx, [esp + 0x5c]
call fcn.00433540
push 1
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x174], 2
call fcn.004505d0
push str.Global.db
push eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x178], 3
call fcn.00432770
add esp, 8
push eax
call fcn.00432a00
add esp, 8
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x16c], 2
jb 0x450d11
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0046fbc9
add esp, 4
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x58]
call fcn.00430bd0
cmp dword [eax + 0x18], ebp
jb 0x450d29
mov eax, dword [eax + 4]
jmp 0x450d2c
add eax, 4
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0x34], ebp
mov esi, eax
jb 0x450d54
mov eax, dword [esp + 0x20]
push eax
call fcn.0046fbc9
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov byte [esp + 0x16c], bl
call fcn.0042f650
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0xac], 0x4af4f8
call fcn.0048e467
add esp, 4
cmp esi, 0xffffffff
je 0x450dc6
mov eax, dword [esp + 0x174]
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x450dbf
cmp dword [esp + 0x18], 0x10
jne 0x450dbf
mov byte [esp + 0x17], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x130]
mov dword [esp + 0x16c], 0xffffffff
call fcn.0042f650
lea ecx, [esp + 0x130]
push ecx
mov dword [esp + 0x134], 0x4af4f8
call fcn.0048e467
mov al, byte [esp + 0x1b]
add esp, 4
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret 4