joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a58b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10c
cmp byte [eax], 0
push esi
mov esi, dword [ebp + 8]
mov cl, 1
je 0x45a5a5
mov byte [esi + 0x14], cl
cmp byte [eax + 2], 0
je 0x45a5ae
mov byte [esi + 0x16], cl
cmp byte [eax + 3], 0
je 0x45a5b7
mov byte [esi + 0x17], cl
cmp byte [esi + 0x14], 0
je 0x45a5c7
cmp byte [esi + 0x1a], 0
je 0x45a5c7
mov byte [esi + 0x14], 0
cmp byte [esi + 0x15], 0
je 0x45a5d7
cmp byte [esi + 0x1b], 0
je 0x45a5d7
mov byte [esi + 0x15], 0
cmp byte [esi + 0x16], 0
je 0x45a5e7
cmp byte [esi + 0x1c], 0
je 0x45a5e7
mov byte [esi + 0x16], 0
cmp byte [esi + 0x17], 0
je 0x45a5f7
cmp byte [esi + 0x1d], 0
je 0x45a5f7
mov byte [esi + 0x17], 0
cmp byte [esi + 0x18], 0
je 0x45a607
cmp byte [esi + 0x1e], 0
je 0x45a607
mov byte [esi + 0x18], 0
cmp dword [esi + 0x20], 0
je 0x45a67c
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x45a7ba
mov cl, byte [esi + 0x1a]
test cl, cl
jne 0x45a62c
mov byte [ebp - 0x6c], cl
mov al, byte [esi + 0x1b]
test al, al
jne 0x45a636
mov byte [ebp - 0x6b], al
test cl, cl
jne 0x45a644
test al, al
jne 0x45a644
mov byte [ebp - 0xfc], al
cmp byte [esi + 0x1c], 0
jne 0x45a651
mov byte [ebp - 0xfb], 0
cmp byte [esi + 0x1d], 0
jne 0x45a65e
mov byte [ebp - 0xfa], 0
test cl, cl
jne 0x45a668
mov byte [ebp - 0xb1], cl
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
lea edx, [ebp - 0xc]
push edx
call fcn.0044a778
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call edi
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x45a6b5
push 0xa0
call ebx
mov edx, 0x8000
test dx, ax
je 0x45a6d3
cmp byte [esi + 0x1a], 0
jne 0x45a6d3
push 0xa0
lea eax, [ebp - 0xc]
push eax
call fcn.004527f3
lea ecx, [ebp - 0xc]
push ecx
push esi
call fcn.004523f6
push 0xa1
call edi
mov edx, 0x8000
test dx, ax
jne 0x45a6f5
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x45a713
cmp byte [esi + 0x1b], 0
jne 0x45a713
push 0xa1
lea edx, [ebp - 0xc]
push edx
call fcn.004527f3
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.004523f6
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
jne 0x45a72f
push 0x11
call ebx
mov edx, 0x8000
test dx, ax
je 0x45a74a
cmp byte [esi + 0x1c], 0
jne 0x45a74a
push 0x11
lea eax, [ebp - 0xc]
push eax
call fcn.004527f3
lea ecx, [ebp - 0xc]
push ecx
push esi
call fcn.004523f6
push 0x12
call edi
mov edx, 0x8000
test dx, ax
jne 0x45a766
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
je 0x45a781
cmp byte [esi + 0x1d], 0
jne 0x45a781
push 0x12
lea edx, [ebp - 0xc]
push edx
call fcn.004527f3
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.004523f6
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
jne 0x45a79d
push 0x5b
call ebx
mov edx, 0x8000
test dx, ax
je 0x45a7b8
cmp byte [esi + 0x1e], 0
jne 0x45a7b8
push 0x5b
lea eax, [ebp - 0xc]
push eax
call fcn.004527f3
lea ecx, [ebp - 0xc]
push ecx
push esi
call fcn.004523f6
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45b83c
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
call fcn.00402b70
lea ecx, [ebp - 0x1c]
call fcn.00402b70
lea ecx, [ebp - 0x3c]
call fcn.00402b70
mov ebx, str.SOFTWAREClasses_
lea eax, [ebp - 0x2c]
call fcn.0040d3d0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0040dfa0
mov edi, str.CLSID
lea eax, [ebp - 0x2c]
call fcn.0040dfa0
mov ebx, 0x4986ec
lea eax, [ebp - 0x1c]
call fcn.0040d3d0
test esi, esi
je 0x45b8c5
cmp word [esi], 0x5c
je 0x45b8c5
cmp word [esi + 2], 0x5c
je 0x45b8c5
mov ebx, 0x498724
lea eax, [ebp - 0x1c]
call fcn.0040d3d0
mov edi, esi
lea eax, [ebp - 0x1c]
call fcn.0040dfa0
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x45b91c
push 0x20
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00413580
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x58], 0
call fcn.0040ef10
mov edi, str.IPC_
mov eax, esi
call fcn.0040dfa0
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x3c]
push 0
push ebx
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x48], edx
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov edi, eax
test edi, edi
js 0x45b9b2
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
push edx
push reloc.WSOCK32.dll_bind
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov edi, eax
test edi, edi
jne 0x45b9b2
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
test edi, edi
jne 0x45b9ac
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x264]
push edx
push 0
push 0
push 0
push eax
mov dword [ebp + 0xc], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x45b9a6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
shr eax, 1
xor ecx, ecx
mov dword [ebp + 0xc], eax
mov word [ebp + eax*2 - 0x264], cx
push edx
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edi, eax
mov ecx, dword [ebp - 0xc]
push ecx
call esi
mov edx, dword [ebp - 8]
push edx
call esi
lea ecx, [ebp - 0x3c]
call fcn.00402610
lea ecx, [ebp - 0x1c]
call fcn.00402610
lea ecx, [ebp - 0x2c]
call fcn.00402610
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d460
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push edi
mov dword [esi + 0x170], ecx
mov dword [esi + 0x174], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp eax, dword [esi + 0x178]
jne 0x45d4ae
cmp ecx, dword [esi + 0x17c]
je 0x45d4cb
cmp dword [ebp + 0x10], 1
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], ecx
jl 0x45d4cb
push ecx
push eax
push esi
push 0xfffffffffffffff5
push ebx
call fcn.004580d7
mov ecx, dword [ebx + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [ebx + 0x1c]
movzx edi, ax
push edx
shr edi, 0xf
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
shr eax, 0xf
mov dword [ebp + 0xc], eax
cmp edi, dword [esi + 0x180]
je 0x45d56a
cmp dword [ebp + 0x10], 1
jl 0x45d56a
cmp byte [esi + 0x1ac], 0
je 0x45d56a
test edi, edi
je 0x45d516
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
push esi
push 0xfffffffffffffff9
jmp 0x45d55a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push esi
push 0xfffffffffffffff8
push ebx
call fcn.004580d7
cmp byte [esi + 0x188], 0
je 0x45d560
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x1000000
je 0x45d54f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push esi
push 0xfffffffffffffffa
jmp 0x45d55a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push ecx
push edx
push esi
push 0xfffffffffffffff4
push ebx
call fcn.004580d7
mov eax, dword [ebp + 0xc]
mov byte [esi + 0x188], 0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45d577
mov dword [esi + 0x180], edi
cmp eax, dword [esi + 0x184]
je 0x45d5a9
cmp ecx, 1
jl 0x45d5a9
test eax, eax
je 0x45d595
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
push esi
push 0xfffffffffffffff7
jmp 0x45d5a0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push esi
push 0xfffffffffffffff6
push ebx
call fcn.004580d7
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
je 0x45d5b5
mov dword [esi + 0x184], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46032b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.00402b70
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 1
call fcn.00413580
mov esi, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ebp + 0x14], 2
jb 0x460386
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.00459a6f
cmp word [eax], bx
je 0x460386
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
call fcn.00459a6f
mov edi, eax
call fcn.00411080
mov ebx, eax
cmp dword [ebp + 0x14], 3
jb 0x4603a2
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
push eax
call fcn.00459a6f
mov edi, eax
call fcn.00411080
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
jb 0x4603df
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xc]
push eax
call fcn.00459a6f
cmp word [eax], 0
je 0x4603df
mov edx, dword [esi + 4]
mov edi, dword [edx + 0xc]
push 0x29
push edi
call fcn.0045341c
test al, al
jne 0x4603df
mov esi, edi
call fcn.0040e0c0
push eax
lea esi, [ebp - 0x18]
call fcn.0040ef10
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0x14], 5
jb 0x4603f6
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x10]
call fcn.0040d5b0
movzx ecx, ax
mov dword [ebp - 8], ecx
push 0x3c
lea edx, [ebp - 0x54]
push 0
push edx
call fcn.00413580
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], eax
mov eax, dword [ecx]
add esp, 0xc
push eax
call fcn.00459a6f
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test ebx, ebx
je 0x460457
push ebx
call fcn.00411c3e
add esp, 4
test edi, edi
je 0x460464
push edi
call fcn.00411c3e
add esp, 4
test esi, esi
jne 0x4604a2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
push 1
add eax, ecx
call fcn.0040b6b0
mov esi, dword [ebp + 0x18]
call fcn.00406310
mov dword [esi + 8], 1
mov dword [esi], 0
lea ecx, [ebp - 0x18]
call fcn.00402610
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0xc], 0
je 0x4604c7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x450], eax
lea ecx, [ebp - 0x18]
call fcn.00402610
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 0x18]
call fcn.00406310
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], 1
mov dword [esi], 1
test eax, eax
je 0x46048f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00402610
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x460640
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2030
call fcn.004271f0
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.00402b70
lea ecx, [ebp - 0x28]
call fcn.00402b70
mov eax, dword [ebp + 8]
push eax
xor esi, esi
call fcn.00459a6f
mov edi, eax
movzx eax, word [edi]
xor bl, bl
mov dword [ebp - 8], edi
test ax, ax
je 0x46076a
mov edi, edi
inc esi
cmp ax, 0x25
jne 0x460745
cmp word [edi + esi*2], ax
jne 0x4606a3
push 0x25
lea eax, [ebp - 0x18]
mov bl, 1
call fcn.0040c3d0
inc esi
jmp 0x46074e
mov ebx, 0x4986ec
lea eax, [ebp - 0x28]
call fcn.0040d3d0
movzx eax, word [edi + esi*2]
cmp eax, 0x25
je 0x4606dc
lea esp, [esp]
test ax, ax
je 0x4606dc
movzx eax, ax
push eax
lea eax, [ebp - 0x28]
call fcn.0040c3d0
movzx eax, word [edi + esi*2 + 2]
inc esi
cmp eax, 0x25
jne 0x4606c0
cmp word [edi + esi*2], 0
je 0x460783
mov eax, dword [ebp - 0x28]
push 0xfff
lea edx, [ebp - 0x202c]
push edx
xor ecx, ecx
push eax
inc esi
mov word [ebp - 0x202c], cx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
lea eax, [ebp - 0x18]
je 0x460720
lea edi, [ebp - 0x202c]
call fcn.0040dfa0
mov edi, dword [ebp - 8]
mov bl, 1
jmp 0x46074e
mov edi, 0x49fdb4
mov bl, 1
call fcn.0040dfa0
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x18]
call fcn.00402a60
lea eax, [ebp - 0x18]
call fcn.0040dfa0
mov edi, dword [ebp - 8]
jmp 0x46074e
push eax
lea eax, [ebp - 0x18]
call fcn.0040c3d0
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x460680
test bl, bl
je 0x46076a
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x18]
call fcn.0040f470
lea ecx, [ebp - 0x28]
call fcn.00402610
lea ecx, [ebp - 0x18]
call fcn.00402610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x49fdb4
lea eax, [ebp - 0x18]
call fcn.0040dfa0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x18]
call fcn.00402a60
jmp 0x46075f
Function at 0x463e9e
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x38
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00413580
add esp, 0xc
mov eax, 1
lea ecx, [ebp - 0x4c]
push ecx
push 0
push esi
mov dword [ebp - 0x4c], 0x7c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
call fcn.00413501
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x463f01
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
push 0
mov ecx, edi
call fcn.0040b7c0
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
push 0
lea ecx, [edi + 0x10]
call fcn.0040b7c0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
push 0
lea ecx, [edi + 0x20]
call fcn.0040b7c0
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
push 0
lea ecx, [edi + 0x30]
call fcn.0040b7c0
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
lea esi, [edi + 0x40]
push 0
mov ecx, esi
call fcn.0040b7c0
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
lea ecx, [edi + 0x50]
push 0
call fcn.0040b7c0
lea eax, [edi + 0x50]
push eax
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.00453013
push eax
lea esi, [edi + 0x60]
call fcn.0040ef10
lea ecx, [ebp - 0x10]
call fcn.00402610
mov ax, word [ebp - 0x34]
mov word [edi + 0x78], ax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x74], eax
dec eax
je 0x463fb9
dec eax
je 0x463fa7
mov dword [edi + 0x70], 3
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x70], 2
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x70], 1
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x464108
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0xd0], 0
je 0x46414a
test al, al
je 0x46414a
lea eax, [esi + 0xd4]
push eax
call fcn.004374a7
push esi
push 0
push 0x4640f6
call fcn.00416354
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
pop esi
pop ecx
pop ebp
ret 8
push eax
push esi
call fcn.00463fcb
pop esi
pop ecx
pop ebp
ret 8
Function at 0x46ac2c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, 0x4986ec
call fcn.0040d3d0
mov esi, dword [ebp + 8]
push esi
call fcn.0043bd8c
test al, al
jne 0x46acb7
mov eax, dword [esi]
push edi
push 0
push 0
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x46ac66
mov edi, 0x7fff
xor ecx, ecx
lea ebx, [edi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413649
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push ebx
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov word [esi + edi*2], dx
test eax, eax
mov eax, dword [ebp + 0xc]
pop edi
jne 0x46acbf
mov ebx, 0x4986ec
call fcn.0040d3d0
push esi
call fcn.00411c3e
add esp, 4
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov ebx, esi
call fcn.0040d3d0
push esi
call fcn.00411c3e
add esp, 4
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x46b7e6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0xb0
push edx
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x46b81b
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi]
push 0
push 0
push 0xe
push ecx
call edi
mov edi, eax
test edi, edi
je 0x46b811
cmp edi, dword [ebp - 8]
jb 0x46b811
cmp edi, dword [ebp - 4]
jb 0x46b811
push ebx
xor ecx, ecx
lea ebx, [edi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413649
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push ebx
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46b89a
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x46b878
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebp - 8]
lea ebx, [esi + eax*2]
mov eax, dword [ebp + 0xc]
call fcn.0040d3d0
push esi
call fcn.00411c3e
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call fcn.00411c3e
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x46e0c8
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea ecx, [ebp - 0x10]
push ecx
mov eax, 2
push edx
mov word [ebx], ax
call fcn.00462ecd
mov eax, dword [eax]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
lea esi, [ebp - 0x10]
mov edi, eax
call fcn.004013d0
cmp edi, 0xffffffff
jne 0x46e13a
mov eax, dword [ebp + 0x10]
push 0x49ef80
push eax
call fcn.00452ff7
add esp, 8
test al, al
je 0x46e13a
push 0
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add eax, ecx
call fcn.0040b6b0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 2
jmp 0x46e11a
mov eax, dword [ebp + 0x14]
lea ecx, [eax - 1]
mov dword [ebx + 4], edi
cmp ecx, 0xfffe
ja 0x46e134
push eax
call dword [sym.imp.WSOCK32.dll_htons]
pop edi
mov word [ebx + 2], ax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4714c5
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov al, byte [0x4ab6cf]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x8000
push edi
mov byte [ebp - 4], al
call fcn.00414f29
add esp, 4
push eax
call fcn.00414e3e
add esp, 8
mov esi, eax
push ebx
mov dword [ebp - 8], esi
call fcn.00449aac
test al, al
je 0x471522
push edi
push ebx
call fcn.00448e3a
push eax
push 1
push ebx
call fcn.00470fd9
push eax
call fcn.004150a6
add esp, 0x10
mov ebx, eax
jmp 0x471571
push esi
jmp 0x471584
lea esi, [ebp - 0x1c]
call fcn.0040e180
mov esi, ebx
call fcn.0040e0c0
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00460e2c
mov edx, dword [ebp - 0x1c]
push edx
push 0x49ba74
push edi
call fcn.00415120
add esp, 0xc
cmp byte [ebp - 4], 0
mov dword [ebp - 0xc], eax
je 0x471563
push ebx
call fcn.00459a6f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea esi, [ebp - 0x1c]
call fcn.004013d0
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push edi
call fcn.004153b6
add esp, 4
cmp esi, 0xffffffff
jne 0x47151f
push 0x4000
push edi
call fcn.00414f29
add esp, 4
push eax
call fcn.00414e3e
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471a55
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
mov byte [ebp + 0xb], 1
cmp dword [ebx + 4], esi
je 0x471b70
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
mov ecx, dword [ebp + 0xc]
mov byte [edx], 0
mov byte [eax], 0
mov dword [ecx], esi
lea ebx, [ebx]
push esi
push ebx
call fcn.0043be1a
movzx eax, word [eax]
cmp eax, 0x2b
je 0x471ab8
cmp eax, 0x5e
je 0x471ab3
cmp eax, 0x21
je 0x471ab3
cmp eax, 0x23
jne 0x471aeb
cmp eax, 0x2b
jne 0x471ac1
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
inc esi
jmp 0x471a95
cmp eax, 0x5e
jne 0x471acf
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
inc esi
jmp 0x471a95
cmp eax, 0x21
jne 0x471add
mov ecx, dword [ebp + 0x18]
mov byte [ecx], 1
inc esi
jmp 0x471a95
cmp eax, 0x23
jne 0x471ae8
mov edx, dword [ebp + 0x1c]
mov byte [edx], 1
inc esi
jmp 0x471a95
push esi
inc esi
push ebx
mov dword [ebp + 0x1c], esi
call fcn.0043be1a
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x471bd9
mov eax, 0x40
lea ecx, [ebp - 0x10]
call fcn.0040dfc0
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x7d
call fcn.00469552
test al, al
je 0x471bb5
mov edx, dword [ebp - 0x10]
mov eax, dword [edi*4 + 0x4a6b18]
push edx
push eax
call fcn.0041398d
add esp, 8
test eax, eax
je 0x471b45
inc edi
cmp edi, 0x62
jl 0x471b27
cmp edi, 0x62
jne 0x471bac
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.0040d450
movzx ecx, word [eax]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov edx, dword [ebp + 0xc]
cwde
mov dword [edx], eax
cmp eax, 0xffffffff
jne 0x471b7b
mov ecx, esi
call fcn.00402610
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, 0x200
je 0x471b88
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
test eax, 0x400
je 0x471b95
mov edx, dword [ebp + 0x18]
mov byte [edx], 1
test eax, 0x100
je 0x471bcf
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
mov byte [eax], 1
call fcn.00402610
jmp 0x471c12
cmp byte [edi + 0x4a6ca0], 0
je 0x471bc3
lea ecx, [ebp - 0x10]
mov byte [ebp + 0xb], 0
call fcn.00402610
jmp 0x471c12
movzx ecx, byte [edi + str._f_b_b..__reepqrstuvwxyz________t___]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
lea ecx, [ebp - 0x10]
call fcn.00402610
jmp 0x471c12
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov ecx, dword [ebp + 0xc]
cwde
mov dword [ecx], eax
cmp eax, 0xffffffff
je 0x471b70
test eax, 0x200
je 0x471bf8
mov edx, dword [ebp + 0x14]
mov byte [edx], 1
test eax, 0x400
je 0x471c05
mov ecx, dword [ebp + 0x18]
mov byte [ecx], 1
test eax, 0x100
je 0x471c12
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp + 0xc]
and dword [eax], 0xff
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18