joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b200
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, edx
mov edx, dword [edi + 8]
test edx, edx
mov dword [esp + 0xc], ebx
jne 0x49b258
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx]
push 0x63
push esi
push eax
push edi
call fcn.004ed570
cmp eax, 1
jne 0x49b3a8
mov ecx, dword [edi + 8]
cmp ecx, eax
je 0x49b3a8
cmp ecx, 2
je 0x49b3a8
push 6
mov edx, esi
mov ecx, edi
call fcn.004764c0
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
mov eax, dword [edi + 0x40]
test eax, eax
je 0x49b26b
cmp edx, 2
jne 0x49b277
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x49b277
pop edi
pop esi
mov eax, 2
pop ebx
pop ecx
ret 0x18
mov ecx, dword [eax + 0x1c]
mov esi, 1
cmp ecx, esi
je 0x49b28c
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 0x18
cmp edx, 2
push ebp
jne 0x49b2a4
mov ecx, dword [eax + 0x40]
cmp dword [ecx + 0x1c], esi
je 0x49b2a4
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 0x18
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x49b37b
cmp edx, 2
jne 0x49b2c2
mov ecx, dword [eax + 0x40]
mov ebp, dword [ecx + 0xc]
test ebp, ebp
jne 0x49b37b
xor ebp, ebp
cmp edx, 2
jne 0x49b2e7
mov edx, dword [eax + 0x40]
mov eax, dword [edx]
push eax
call fcn.00563a6c
mov ebp, eax
add esp, 4
test ebp, ebp
jge 0x49b2e1
xor ebp, ebp
jmp 0x49b2e7
cmp ebp, esi
jle 0x49b2e7
mov ebp, esi
mov ecx, dword [edi + 0x40]
mov ecx, dword [ecx]
cmp byte [ecx], 0x3d
jne 0x49b3bc
mov al, byte [ecx + 1]
test al, al
lea ebx, [ecx + 1]
je 0x49b377
mov esi, dword [esp + 0x28]
test esi, esi
je 0x49b343
mov ecx, dword [esi + 0xc7c]
call fcn.0042ae80
test eax, eax
je 0x49b343
mov eax, dword [esi + 0xc7c]
mov ecx, dword [eax + 0x520]
test ecx, ecx
je 0x49b343
add eax, 0x3f0
push ebx
push eax
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x49b343
mov esi, dword [esi + 0xc7c]
test esi, esi
jne 0x49b3af
mov esi, dword [0x592640]
test esi, esi
je 0x49b377
lea ecx, [ecx]
cmp dword [esi + 0x520], 3
jne 0x49b36d
lea edx, [esi + 0x3f0]
push ebx
push edx
call fcn.00572b46
add esp, 8
test eax, eax
je 0x49b3af
mov esi, dword [esi + 0x88c]
test esi, esi
jne 0x49b350
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 8]
test eax, eax
jle 0x49b39b
mov edx, dword [edi + 0x40]
mov ecx, dword [ebx]
call fcn.004c2730
mov dword [ebx], eax
mov ecx, dword [edi + 8]
dec ecx
mov eax, ecx
test eax, eax
mov dword [edi + 8], ecx
jg 0x49b382
mov dword [edi + 8], 0
mov eax, 2
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
mov ecx, dword [esi]
call fcn.005366c0
mov ebx, dword [esp + 0x10]
jmp 0x49b3c5
mov edx, dword [esp + 0x2c]
call fcn.004dc5a0
test eax, eax
je 0x49b37b
test ebp, ebp
jne 0x49b3ec
mov eax, dword [eax + 0x864]
test eax, eax
je 0x49b37b
mov ecx, dword [esp + 0x1c]
push ecx
push 0x1f4
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x49b37b
mov eax, dword [eax + 0x868]
test eax, eax
je 0x49b37b
mov edx, dword [esp + 0x1c]
push edx
push 0x1f4
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x49b37b
Function at 0x4a0650
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 8]
test eax, eax
push edi
mov edi, edx
jne 0x4a0678
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push eax
push edx
mov edx, dword [edi]
push esi
call fcn.004ed570
pop edi
pop esi
ret 0x10
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4a0730
cmp dword [eax + 0x1c], 1
je 0x4a0693
pop edi
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4a0702
mov eax, dword [eax]
movzx ecx, byte [eax]
push ecx
call fcn.00564077
add esp, 4
test eax, eax
je 0x4a0702
mov edx, dword [esi + 0x40]
mov eax, dword [edx]
push 0x2e
push eax
call fcn.00563730
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
add esp, 8
test eax, eax
push edx
je 0x4a06ee
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x4a0702
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
mov eax, dword [esp + 0x14]
push 0x5748e0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4a0702
call fcn.005637ee
push ecx
mov ecx, dword [esp + 0x18]
fstp qword [esp]
xor edx, edx
call fcn.0041e460
mov eax, dword [esi + 8]
test eax, eax
jle 0x4a0729
lea esp, [esp]
mov edx, dword [esi + 0x40]
mov ecx, dword [edi]
call fcn.004c2730
mov dword [edi], eax
mov ecx, dword [esi + 8]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 8], ecx
jg 0x4a0710
mov dword [esi + 8], 0
pop edi
mov eax, 2
pop esi
ret 0x10
Function at 0x4ac0c0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x4ac0ec
cmp byte [esi], 0
je 0x4ac0ec
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ac0ec
test al, 0x14
jne 0x4ac0ec
test ah, 0x11
jne 0x4ac0ec
and eax, 0xfffffffc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret

Function at 0x4ac0f0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x2f
push 0x598350
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac119
push 0x2f
push 0x598350
mov byte [eax], 0x5c
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac103
push 0x5902c8
push 0x5901c8
push 0x5900c8
push 0x5900c0
push 0x598350
call fcn.00563b42
mov al, byte [0x598350]
add esp, 0x14
cmp al, 0x5c
jne 0x4ac180
cmp byte [0x598351], 0x5c
jne 0x4ac180
mov al, byte [0x5901c8]
test al, al
jne 0x4ac1ee
mov al, byte [0x5902c8]
test al, al
jne 0x4ac1ee
push 0x598248
push str._smirc.ini
push 0x598350
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4ac1e5
mov al, byte [0x5901c8]
test al, al
jne 0x4ac192
mov al, byte [0x5902c8]
test al, al
je 0x4ac166
mov al, byte [0x5900c0]
test al, al
jne 0x4ac1e5
mov al, byte [0x5900c8]
test al, al
push 0x5902c8
push 0x5901c8
je 0x4ac1cd
push 0x5900c8
push 0x598248
push str._s_s_s_s
push 0x598350
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x4ac1e5
push 0x598248
push str._s_s_s
push 0x598350
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov al, byte [0x598350]
test al, al
je 0x4ac216
push 0x598350
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ac216
test al, 0x14
jne 0x4ac216
test ah, 0x11
jne 0x4ac216
and eax, 0xfffffffc
push eax
push 0x598350
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x4b0910
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x440
push esi
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
xor esi, esi
push eax
mov edx, str.main
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.004f79c0
cmp dword [0x5a13f0], esi
mov edi, 3
je 0x4b0975
mov ecx, dword [0x5a1b00]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4b0975
mov dword [esp + 8], edi
jmp 0x4b09a7
mov edx, dword [0x5a1b00]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4b0990
mov dword [esp + 8], 1
jmp 0x4b09a7
mov eax, dword [0x5a1b00]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and eax, 2
mov dword [esp + 8], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x4b0a41
mov dword [esp + 8], edi
mov ecx, dword [0x5a1b00]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x3c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x10]
push edi
sub ecx, esi
push ecx
sub eax, edx
push esi
push eax
push edx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x7c]
push str._d__d__d__d__d__d__d
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 0x598350
lea eax, [esp + 0x64]
push eax
mov edx, str.main
mov ecx, str.windows
call fcn.004ac220
pop edi
pop esi
add esp, 0x440
ret
cmp dword [esp + 8], esi
jne 0x4b09bb
mov edx, dword [0x5a1b00]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x4b09e5
Function at 0x4b9550
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x104
push ebp
push esi
mov esi, dword [esp + 0x110]
push edi
mov edi, ecx
mov ecx, esi
mov ebp, edx
call fcn.004dbea0
test eax, eax
je 0x4b96c1
test ebp, ebp
jne 0x4b95a0
mov al, byte [esi + 0x840]
test al, al
je 0x4b95a0
mov eax, dword [esi + 0x908]
test eax, eax
je 0x4b963f
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x104
ret 4
test edi, edi
je 0x4b9763
cmp byte [edi], 0
je 0x4b9763
push 0x40
push edi
call fcn.00563730
add esp, 8
test eax, eax
je 0x4b963b
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4b963b
push eax
mov edx, 0x104
lea ecx, [esp + 0x10]
call fcn.0041e120
lea eax, [esp + 0xc]
push 0x20
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x4b95ed
mov byte [eax], 0
mov al, byte [esp + 0xc]
test al, al
je 0x4b963b
lea ecx, [esp + 0xc]
push 0x2e
push ecx
call fcn.00563c90
mov edi, eax
add esp, 8
test edi, edi
je 0x4b963b
mov al, byte [edi + 1]
inc edi
test al, al
je 0x4b962f
movzx edx, byte [edi]
push edx
call fcn.005640c9
add esp, 4
test eax, eax
je 0x4b962c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4b9612
jmp 0x4b962f
mov byte [edi], 0
mov al, byte [esp + 0xc]
test al, al
jne 0x4b96cf
test ebp, ebp
jne 0x4b96ba
mov cl, byte [esi + 0x840]
test cl, cl
lea eax, [esi + 0x840]
je 0x4b967f
mov ecx, dword [esi + 0x908]
test ecx, ecx
jne 0x4b979c
mov ecx, dword [esi]
push 5
push 0
push eax
mov edx, 0x574b10
call fcn.0046d660
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x104
ret 4
mov ecx, dword [esi + 0xf28]
mov eax, dword [esi]
imul ecx, ecx, 0x64
push 0
push 0
push 0xa
push 0
push eax
push 0
push 5
push 0
push 0
lea ecx, [ecx + esi + 0xdfc]
xor edx, edx
call fcn.0052fff0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x104
ret 4
mov ecx, esi
call fcn.0053e510
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x104
ret 4
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esi + 0x908], eax
jne 0x4b970f
lea eax, [esp + 0xc]
lea edi, [esi + 0x840]
push eax
mov edx, 0x64
mov ecx, edi
mov dword [esi + 0x908], 0
mov byte [esi + 0x8a4], 0
call fcn.0041e120
jmp 0x4b973a
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
lea ecx, [esp + 0xc]
lea edi, [esi + 0x8a4]
push ecx
mov edx, 0x64
mov ecx, edi
mov dword [esi + 0x908], eax
call fcn.0041e120
mov byte [esi + 0x840], 0
mov ecx, edi
call fcn.005191e0
mov ecx, dword [esi]
push 5
push 0
push edi
mov edx, 0x574b10
call fcn.0046d660
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x104
ret 4
test ebp, ebp
jne 0x4b979c
mov eax, dword [esi + 0xf28]
mov edx, dword [esi]
imul eax, eax, 0x64
push ebp
push ebp
push 0xa
push ebp
push edx
push ebp
push 5
push ebp
push ebp
lea ecx, [eax + esi + 0xdfc]
xor edx, edx
call fcn.0052fff0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x104
ret 4
mov ecx, esi
call fcn.0053e510
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x104
ret 4
Function at 0x4bbbd0
Capabilities:
Capture screenshot
Get graphical window text

Disassembly:
push esi
mov esi, ecx
call fcn.004dbea0
test eax, eax
je 0x4bbbed
mov ecx, dword [esi]
call fcn.005366c0
xor edx, edx
mov ecx, eax
pop esi
jmp fcn.004bb450
xor ecx, ecx
pop esi
jmp fcn.0051c6d0
Function at 0x4c1a50
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x579d58
push reloc.WSOCK32.dll_accept
mov esi, edx
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4c1a76
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, esi
lea edx, [eax + 1]
jmp 0x4c1a80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c1a80
mov ecx, dword [esp + 8]
sub eax, edx
inc eax
push eax
push esi
push 1
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov edx, dword [esp + 8]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret

Function at 0x4c1ac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x579d58
mov esi, edx
push reloc.WSOCK32.dll_accept
mov edi, ecx
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4c1aed
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push edi
push edx
mov dword [esp + 0x1c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
add esp, 8
ret

Function at 0x4c1b30
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0x579d58
push reloc.WSOCK32.dll_accept
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4c1b52
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 4]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret
Function at 0x4c1b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa4
push ebx
push ebp
push esi
mov eax, 0xa
push edi
mov edi, ecx
mov ecx, 0xe
mov ebx, 6
mov esi, 0xb
mov dword [esp + 0x28], ecx
mov ebp, 0x10
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov ecx, 8
mov dword [esp + 0x10], edx
mov edx, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ebx
mov ebx, 4
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xa4], eax
mov eax, edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0x11
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], 6
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 9
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 6
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], 0
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4c1ca0
sub eax, ecx
cmp eax, 5
jae 0x4c1cbb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa4
ret
mov ebx, dword [esp + 0x10]
push 0x2d
push ebx
call fcn.00563730
mov esi, eax
add esp, 8
test esi, esi
je 0x4c1cae
push ebx
mov byte [esi], 0
call fcn.00563a14
add esp, 4
mov byte [esi], 0x2d
inc esi
mov ebp, eax
cmp byte [esi], 0
je 0x4c1cae
push esi
call fcn.00563a14
mov ecx, edi
add esp, 4
mov dword [esp + 0x10], eax
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c1d00
sub ecx, edx
mov esi, 3
xor edx, edx
xor ebx, ebx
cmp ecx, esi
jle 0x4c1d38
jmp 0x4c1d20
movzx eax, byte [esi + edi]
imul eax, dword [esp + edx*4 + 0x14]
add ebx, eax
inc edx
cmp edx, 0x26
jle 0x4c1d33
xor edx, edx
inc esi
cmp esi, ecx
jl 0x4c1d20
cmp ebp, ebx
jne 0x4c1cae
mov esi, 3
xor edx, edx
xor ebx, ebx
cmp ecx, esi
jle 0x4c1d70
lea ecx, [ecx]
movzx eax, byte [esi + edi - 1]
movzx ebp, byte [esi + edi]
imul eax, ebp
imul eax, dword [esp + edx*4 + 0x14]
add ebx, eax
inc edx
cmp edx, 0x26
jle 0x4c1d6b
xor edx, edx
inc esi
cmp esi, ecx
jl 0x4c1d50
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
cmp ecx, ebx
pop ebp
sete al
pop ebx
add esp, 0xa4
ret
Function at 0x4c1e80
Capabilities:
Delete registry key

Disassembly:
push ecx
mov edx, 0x58f4e8
mov ecx, str.date
call fcn.004c1ac0
test eax, eax
je 0x4c1fbc
mov edx, 2
mov ecx, 0x58f4e8
call fcn.00475d70
mov edx, 0x58f4e8
mov ecx, str.DateUsed
call fcn.004c1a50
lea eax, [esp]
push eax
push 0x579d58
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4c1eea
mov ecx, dword [esp]
push str.date
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x58f4e8
mov ecx, str.name
call fcn.004c1ac0
test eax, eax
je 0x4c1f64
mov edx, 0x58f8d0
mov ecx, str.code
call fcn.004c1ac0
test eax, eax
je 0x4c1f50
mov edx, 2
mov ecx, 0x58f8d0
call fcn.00475d70
mov edx, 0x58f8d0
mov ecx, 0x58f4e8
call fcn.004c1d90
test eax, eax
je 0x4c1f50
mov edx, 0x58f4e8
mov ecx, str.UserName
call fcn.004c1a50
mov edx, 0x58f8d0
mov ecx, str.License
call fcn.004c1a50
mov ecx, str.name
call fcn.004c1b30
mov ecx, str.code
call fcn.004c1b30
mov edx, 0x58f4e8
mov ecx, str.lock
call fcn.004c1ac0
test eax, eax
je 0x4c1f90
mov edx, 0x58f4e8
mov ecx, str.LockOptions
call fcn.004c1a50
mov ecx, str.lock
call fcn.004c1b30
mov edx, 0x58f4e8
mov ecx, str.channels
call fcn.004c1ac0
test eax, eax
je 0x4c1fbc
mov ecx, str.channels
call fcn.004c1b30
mov edx, 0x58f4e8
mov ecx, str.Channels
call fcn.004c1a50
pop ecx
ret

Function at 0x4c2150
Capabilities:
Set registry value

Disassembly:
mov eax, dword [0x5988c8]
mov ecx, dword [0x5988c4]
push eax
push ecx
push str._ld__ld
push 0x58f4e8
mov dword [0x5988bc], 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, 0x58f4e8
mov ecx, str.LastRun
jmp fcn.004c1a50

Function at 0x4c3370
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
mov edi, ecx
cmp byte [edi], 0
mov ebx, edx
jne 0x4c3380
pop edi
xor eax, eax
pop ebx
ret
push esi
push 0x5b
push edi
call fcn.00563730
mov esi, eax
add esp, 8
test esi, esi
je 0x4c33df
inc esi
push 0x5d
push esi
call fcn.00563730
add esp, 8
test eax, eax
je 0x4c33df
mov byte [eax], 0
cmp byte [esi], 0
je 0x4c33df
push 0x2e
push esi
call fcn.00563730
add esp, 8
test eax, eax
je 0x4c33df
push esi
call fcn.00563a6c
add esp, 4
test eax, eax
jg 0x4c3457
cmp byte [edi], 9
mov eax, edi
jne 0x4c33da
mov cl, byte [eax + 1]
inc eax
cmp cl, 9
je 0x4c33d1
cmp byte [eax], 0x2a
je 0x4c3457
cmp byte [edi], 9
mov esi, edi
jne 0x4c33ee
mov al, byte [esi + 1]
inc esi
cmp al, 9
je 0x4c33e6
cmp byte [esi], 0x2a
jne 0x4c3445
mov eax, dword [0x594094]
push eax
xor edx, edx
mov ecx, 0xe11
call fcn.0041c9e0
mov ecx, dword [ebx]
mov edx, eax
call fcn.004fc570
pop esi
pop edi
xor eax, eax
pop ebx
ret
push str.__.server__s
push 0x5990e0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebx]
add esp, 0xc
push ebx
push 0
push 0
push 0
push 0
mov edx, 0x5990e0
call fcn.0043bba0
pop esi
pop edi
mov eax, 1
pop ebx
ret
push 0x20
push esi
call fcn.00563730
add esp, 8
test eax, eax
je 0x4c340e
mov byte [eax], 0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
push esi
jns 0x4c3414
push str.__.server__m__s
jmp 0x4c3419
Function at 0x4c3a20
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x34
test eax, eax
push esi
push edi
mov edi, edx
mov esi, ecx
je 0x4c3a3a
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, edi
dec eax
je 0x4c3b5f
dec eax
je 0x4c3ab3
mov ecx, esi
call fcn.004c39d0
mov ebx, eax
test ebx, ebx
jle 0x4c3c0f
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
cdq
idiv ebx
mov ebp, 2
mov dword [esp + 0x10], eax
lea esp, [esp]
lea edx, [esp + 0x24]
push edx
push ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push 0x101a
push esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
dec ebx
jns 0x4c3a80
jmp 0x4c3c0f
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x10], eax
mov ebp, 2
mov dword [esp + 0x24], ebp
fild dword [esp + 0x10]
fmul qword [0x579df0]
call fcn.00563394
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x101a
push esi
mov dword [esp + 0x3c], eax
call ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ebp
fild dword [esp + 0x10]
fmul qword [0x579df0]
call fcn.00563394
sub edi, eax
sub edi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push 1
push 0x101a
push esi
mov dword [esp + 0x3c], edi
call ebx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
push ecx
jmp 0x4c3bfa
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
sub ecx, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x55555556
imul ecx
lea ecx, [esp + 0x24]
push ecx
mov eax, edx
push 0
shr eax, 0x1f
push 0x101a
add edx, eax
mov ebp, 2
push esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], edx
call ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov edx, ecx
sub edx, edi
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
sub ecx, edi
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push 0x101a
push esi
mov dword [esp + 0x34], ebp
call ebx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
push edx
push ebp
push 0x101a
push esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], ebp
call ebx
mov eax, dword [esp + 0x48]
test eax, eax
pop ebp
pop ebx
je 0x4c3c22
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x34
ret 4
Function at 0x4c45e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [0x5988d4]
mov ecx, dword [0x5988d0]
push ebx
push eax
push ecx
push str._lu__d
push 0x58f8d0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, 0x58f8d0
mov ecx, str.LockOptions
call fcn.004c1a50
mov ebx, dword [0x5988d8]
test ebx, ebx
mov byte [0x58f8d0], 0
je 0x4c46b2
push ebp
mov bp, word [0x574e3c]
push esi
push edi
nop
mov eax, 0x58f8d0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4638
sub eax, edx
mov edx, eax
mov eax, dword [ebx]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4648
sub eax, esi
add eax, edx
cmp eax, 0x3b5
ja 0x4c46af
mov al, byte [0x58f8d0]
test al, al
je 0x4c467b
mov edi, 0x58f8d0
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4c4670
mov word [edi], bp
mov eax, dword [ebx]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4680
mov edi, 0x58f8d0
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4c4690
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x4c4630
pop edi
pop esi
pop ebp
mov edx, 0x58f8d0
mov ecx, str.Channels
pop ebx
jmp fcn.004c1a50