joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e2148
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5e215f
add esp, 0xfffffff0
call fcn.00408aa8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c6570
mov eax, dword [0x62d8b4]
cmp byte [eax], 0
jne 0x5e218c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x62dc74]
cmp word [eax + 2], 0
jne 0x5e21a6
mov eax, dword [0x62dc74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005e460c
mov eax, dword [0x62ddd0]
cmp word [eax + 2], 0
jne 0x5e21c0
mov eax, dword [0x62ddd0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005e4a24
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x508428]
call fcn.00510b30
mov esi, eax
mov dword [ebx + 0x54], esi
mov byte [esi + 0x25], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5e4fd0
mov dl, 1
mov eax, dword [0x485cc0]
call fcn.00408488
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x485cc0]
call fcn.00408488
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x50d7d0]
call fcn.0051b344
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5e23b4
mov eax, dword [0x62dae8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0051b93c
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5e52bc
mov dl, 1
mov eax, dword [0x485cc0]
call fcn.00408488
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x62dae8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426770
test eax, eax
je 0x5e22d7
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00426574
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00426754
test eax, eax
je 0x5e22ef
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040ae98
push ebx
push 0x5e3fe4
call fcn.005d1f7c
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x62d8b4]
cmp byte [eax], 0
jne 0x5e2340
mov eax, ebx
call fcn.005e257c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005e5664
mov eax, ebx
call fcn.005e619c
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5e23ab
call fcn.00408b00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e28ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5e294e
cmp dword [ebx + 0xac], 0
jne 0x5e2948
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5e27ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5e2948
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5e290e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5e2948
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004b07c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5e291d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5e2c84
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x635c04]
cmp dword [eax + 0x190], 0
je 0x5e2de9
test bl, bl
jne 0x5e2d3e
cmp dword [esi + 0xb4], 0
jne 0x5e2d33
mov eax, esi
call fcn.005e5fec
push eax
push 0x5e2b8c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5e2d04
mov eax, dword [0x635c04]
cmp byte [eax + 0xeb], 0
je 0x5e2d04
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5e2ce5
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e2d04
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e2ced
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e2d33
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b07c4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e2d13
inc dword [esi + 0xb4]
jmp 0x5e2de9
cmp dword [esi + 0xb4], 0
jle 0x5e2de9
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5e2de9
cmp dword [esi + 0x58], 0
je 0x5e2d9e
mov eax, dword [0x635c04]
cmp byte [eax + 0xeb], 0
je 0x5e2d9e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5e2d7f
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e2d9e
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e2d87
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e2dcd
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b07c4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e2dad
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5ce990]
call fcn.0040d428
pop edi
pop esi
pop ebx
ret
Function at 0x5e3bf0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5e3c4b
cmp byte [ebx + 0xeb], 0
jne 0x5e3c4b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a468
mov eax, dword [esi]
test eax, eax
je 0x5e3c38
mov eax, dword [eax - 4]
test eax, eax
jne 0x5e3c58
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a6c0
jmp 0x5e3c58
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a6c0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5e5878
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5e58e9
mov eax, esi
call fcn.0054b3b4
test al, al
je 0x5e58e9
mov eax, dword [ebx + 0x98]
call fcn.0054af4c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e58e9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x17c]
test al, al
je 0x5e58da
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054af4c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00540be0
jmp 0x5e58e9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005e5684
pop esi
pop ebx
ret
Function at 0x5eb4e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x98], 0
jne 0x5eb566
mov eax, dword [ebx + 8]
call fcn.0054af4c
mov ecx, eax
mov dl, 1
mov eax, dword [0x55a3d4]
call fcn.0054483c
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
xor edx, edx
mov eax, esi
call fcn.00560740
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5eadb0
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054af4c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054af4c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa8], 0
jne 0x5eb5e8
mov eax, dword [ebx + 8]
call fcn.0054af4c
mov ecx, eax
mov dl, 1
mov eax, dword [0x55a3d4]
call fcn.0054483c
mov dword [ebx + 0xa8], eax
mov esi, dword [ebx + 0xa8]
mov dl, 1
mov eax, esi
call fcn.00560740
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5eadfc
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa8]
call fcn.0054af4c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa8]
call fcn.0054af4c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x5eb666
mov eax, dword [ebx + 8]
call fcn.0054af4c
mov ecx, eax
mov dl, 1
mov eax, dword [0x55af18]
call fcn.0054483c
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov byte [esi + 0x2c8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0054af4c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0054af4c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5f1d64
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 0x5f1df1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x635c38
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x5f1dd9
lea ecx, [ebp - 0x1c]
mov eax, ebx
xor edx, edx
call fcn.0042b174
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x5f1e0c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x62dea0]
mov dl, 1
mov eax, dword [0x5f03d8]
call fcn.0042d2e0
call fcn.00409978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f1df8
lea eax, [ebp - 0x1c]
call fcn.0040a2d0
pop eax
jmp eax

Function at 0x5f252c
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x5f2588]
cmp al, byte [ebx + 0x28]
je 0x5f2550
mov esi, 0x401
mov eax, ebx
call fcn.005f2698
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x5f2588]
cmp al, byte [ebx + 0x28]
jne 0x5f2580
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5f2620
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.005f252c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.0040888c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x5f2688
call fcn.005f1ca8
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x5f2676
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.0040888c
pop esi
pop ebx
ret

Function at 0x5f2b18
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x5f2ba6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0
call fcn.0040ac20
mov eax, dword [ebp - 0xc]
call fcn.0040ab94
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.00407ca8
test ebx, ebx
je 0x5f2b88
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 8], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 7], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 6], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f2bad
lea eax, [ebp - 0xc]
call fcn.0040a2f4
pop eax
jmp eax
Function at 0x5f2e18
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 edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5f2e49
mov ecx, dword [0x62dd14]
mov dl, 1
mov eax, dword [0x5f03d8]
call fcn.0042d20c
call fcn.00409978
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 0x5f2e76
mov ecx, dword [0x62dc68]
mov dl, 1
mov eax, dword [0x5f03d8]
call fcn.0042d20c
call fcn.00409978
xor eax, eax
push ebp
push 0x5f2ef2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.0040888c
cmp byte [ebp + 8], 0
je 0x5f2ece
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005f2c34
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x18]
add edi, 0x18
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.005f2620
jmp 0x5f2ee8
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005f1fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f2f0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5f3124
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005f23d0
xor eax, eax
push ebp
push 0x5f329a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x5f3282
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x5f3170
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5f317a
call fcn.00409a6c
jmp 0x5f32a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b5d24
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 + 0x18]
mov ebx, eax
test ebx, ebx
jle 0x5f3277
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
mov edi, eax
cmp edi, 0xffffffff
jne 0x5f3229
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x5f3216
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040888c
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.005f30dc
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x5f32ac]
cmp dl, byte [eax + 0x28]
je 0x5f327e
call fcn.0042d0a4
jmp 0x5f327e
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b5d44
jmp 0x5f327e
cmp edi, ebx
jge 0x5f3245
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b5d44
jmp 0x5f317a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b5d24
cmp edx, dword [esp + 4]
jne 0x5f3266
cmp eax, dword [esp]
pop edx
pop eax
jne 0x5f317a
push ebp
call fcn.005f30dc
pop ecx
jmp 0x5f327e
push ebp
call fcn.005f30dc
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f32a1
mov eax, dword [ebp - 4]
call fcn.005f23d8
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f32e0
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 0x5f3408
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005f23d0
xor eax, eax
push ebp
push 0x5f33e9
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 0x5f3330
call fcn.00409a6c
jmp 0x5f33f0
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 0x5f33d1
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5f33d1
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040888c
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 0x5f33d1
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0042b174
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x5f3424
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x62dea0]
mov dl, 1
mov eax, dword [0x5f03d8]
call fcn.0042d2e0
call fcn.00409978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f33f0
mov eax, dword [ebp - 4]
call fcn.005f23d8
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f340f
lea eax, [ebp - 0x28]
call fcn.0040a2d0
pop eax
jmp eax
Function at 0x5f3474
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5f35eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005f23d0
xor eax, eax
push ebp
push 0x5f35cc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x5f34d9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5f34d9
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 0x5f35b4
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5f34ec
call fcn.00409a6c
jmp 0x5f35d3
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x5f3513
cmp dword [ebp - 0x10], 0
jle 0x5f3513
cmp ebx, dword [ebp - 0x10]
jle 0x5f3513
mov ebx, dword [ebp - 0x10]
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 0x5f35b4
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5f35b4
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040888c
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 0x5f35b4
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0042b174
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x5f3608
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x62dea0]
mov dl, 1
mov eax, dword [0x5f03d8]
call fcn.0042d2e0
call fcn.00409978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f35d3
mov eax, dword [ebp - 4]
call fcn.005f23d8
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f35f2
lea eax, [ebp - 0x2c]
call fcn.0040a2d0
pop eax
jmp eax
Function at 0x5f3d8c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp bl, 0x90
jne 0x5f3de1
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test bl, bl
je 0x5f3dcc
and byte [ebp - 0x72], 0xfe
jmp 0x5f3dd0
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x5f3e68
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x5f3e68
mov eax, ebx
movzx eax, al
bt dword [0x62cdc1], eax
jae 0x5f3e36
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.005f3d40
pop ecx
cmp byte [ebp - 1], 0
je 0x5f3e63
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.005f3d40
pop ecx
jmp 0x5f3e63
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.005f3d40
pop ecx
cmp byte [ebp - 1], 0
je 0x5f3e63
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.005f3d40
pop ecx
dec si
jne 0x5f3df6
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f3e70
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
and al, 0xff
mov edx, ebx
movzx edx, dl
bt dword [0x62cdc1], edx
jae 0x5f3ea4
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.005f3d40
pop ecx
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.005f3d40
pop ecx
pop ebx
pop ebp
ret
Function at 0x5f7fa8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5f7fd6
mov eax, ebx
call fcn.005f8a64
cmp dword [ebx + 0x40], 0
je 0x5f7fcf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5f8047
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5f8039
cmp dword [ebx + 8], 0
je 0x5f7ff8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5f800a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5f8039
cmp dword [ebx + 8], 0
je 0x5f7feb
cmp eax, 3
je 0x5f801d
dec eax
jne 0x5f7feb
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 0x5f7feb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5f7feb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5f8065
cmp dword [ebx + 0x14], 0xcc
je 0x5f8065
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005f8070
pop ebx
ret

Function at 0x60c85c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6361dc], 0
jne 0x60c873
call fcn.0060c818
mov eax, edi
dec eax
test eax, eax
jl 0x60c89b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x635ddc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x60c87d
mov eax, ebx
pop edi
pop esi
pop ebx
ret