joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a604
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45a6bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0045a59c
test al, al
je 0x45a69e
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040471c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x45a69e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404aec
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404aec
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404824
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x45a657
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a6c3
lea eax, [ebp - 0x2c]
call fcn.0040462c
lea eax, [ebp - 0xc]
call fcn.0040462c
ret

Function at 0x45a7e8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045a104
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404aec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45a846
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c9300]
mov dl, 1
mov eax, dword [0x459f90]
call fcn.0040c674
call fcn.00403f9c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45a850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404aec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45a8a8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c9628]
mov dl, 1
mov eax, dword [0x459f90]
call fcn.0040c674
call fcn.00403f9c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045a134
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x462858
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x4c93c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x46286c
Capabilities:
Hide graphical window

Disassembly:
push 9
mov eax, dword [0x4c93c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4c93c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x4c93c0]
mov eax, dword [eax]
cmp byte [eax + 0x5b], 0
jne 0x4628c1
mov eax, dword [0x4c93c0]
mov eax, dword [eax]
mov byte [eax + 0x5b], 1
mov eax, dword [0x4c93c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4628c1
mov edx, dword [0x4c93c0]
mov dl, 1
call fcn.00451d88
ret
Function at 0x4671a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467404
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x467207
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00466e4c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cf40
cmp al, 1
jne 0x467207
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00467114
test al, al
je 0x467393
cmp dword [ebp - 8], 0
jge 0x467225
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00466e4c
mov eax, dword [ebp - 0x210]
call fcn.004048ec
cmp ebx, eax
jge 0x46726f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00466e4c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4c95f4]
and eax, 0xff
bt dword [edx], eax
jae 0x46726f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x467283
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00467180
cmp ebx, dword [ebp - 8]
je 0x467385
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4672af
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a04
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6ecc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x467372
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a04
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6ecc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043f5cc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a04
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6ecc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043f5cc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467379
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4673e6
cmp dword [ebp - 8], 0
jge 0x46739e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00466e4c
mov eax, dword [ebp - 0x218]
call fcn.004048ec
cmp eax, dword [ebp - 8]
jg 0x4673d8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00466e4c
mov eax, dword [ebp - 0x21c]
call fcn.004048ec
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00467180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46740b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404650
ret
Function at 0x474cb4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70], edx
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.004031ec
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00404aec
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00404aec
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00404aec
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.00404aec
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x44]
mov eax, dword [eax*4 + 0x4c7300]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x474dd3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x7c], 1
xor eax, eax
push ebp
push 0x474dcc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x51], 0
je 0x474da3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0
jne 0x474d99
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x34]
jmp 0x474dab
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
jmp 0x474dab
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474e0f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
mov byte [eax + 0x7c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x51], 0
je 0x474df3
mov eax, dword [ebp - 4]
mov si, 0xffed
call fcn.00403a04
jmp 0x474e0f
mov eax, dword [ebp - 4]
push eax
mov dx, 0xffed
call fcn.00403a1c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0041c3cc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a7250
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4a7258
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a73f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x4a740c
mov eax, esi
call fcn.004a3ad8
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404680
lea ecx, [ebp - 0xc]
mov edx, 0x4a7420
mov eax, esi
call fcn.004a3ad8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404680
lea ecx, [ebp - 0x10]
mov edx, 0x4a7438
mov eax, esi
call fcn.004a3ad8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404680
lea ecx, [ebp - 0x14]
mov edx, 0x4a7454
mov eax, esi
call fcn.004a3ad8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404680
lea ecx, [ebp - 0x18]
mov edx, 0x4a7470
mov eax, esi
call fcn.004a3ad8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404680
lea ecx, [ebp - 0x20]
mov edx, 0x4a7488
mov eax, esi
call fcn.004a3ad8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408b0c
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00408dec
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x4a74a0
mov eax, esi
call fcn.004a3ad8
mov eax, dword [ebp - 0x24]
call fcn.00497780
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x4a74b0
mov eax, esi
call fcn.004a3ad8
mov eax, dword [ebp - 0x28]
call fcn.00497780
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x4a74c8
mov eax, esi
call fcn.004a3ad8
mov eax, dword [ebp - 4]
call fcn.00497334
test al, al
je 0x4a73ab
mov eax, dword [ebp - 4]
call fcn.00408db0
mov edi, eax
test edi, edi
jl 0x4a73a1
call fcn.0040a820
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x4a74d0]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x4a73b7
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x4a73b7
mov eax, dword [ebp - 4]
call fcn.00497780
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4a74dc
mov eax, esi
call fcn.004a3ad8
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a73fb
lea eax, [ebp - 0x30]
call fcn.0040462c
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404650
ret
Function at 0x4abd24
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4abf0c
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetTopWindow
mov ebx, eax
test ebx, ebx
jbe 0x4abee1
push 0
lea eax, [esi + 4]
mov ecx, 1
mov edx, dword [0x4ab640]
call fcn.0040597c
add esp, 4
test ebx, ebx
jbe 0x4abee1
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jbe 0x4abed9
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040489c
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 8]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040489c
lea edx, [ebp - 0x10c]
mov eax, 0x4abf24
call fcn.00408894
mov eax, dword [ebp - 0x10c]
push eax
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 4]
call fcn.00408b0c
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00408894
mov edx, dword [ebp - 0x110]
pop eax
call fcn.00404a38
je 0x4abe55
mov edx, dword [ebp - 8]
mov eax, 0x4abf38
call fcn.00404c30
test eax, eax
jle 0x4abed9
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x11c]
call fcn.00408d60
push dword [ebp - 0x11c]
push 0x4abf50
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040489c
push dword [ebp - 0x120]
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.004049ac
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.004ab854
mov eax, dword [esi + 4]
call fcn.004057a0
inc eax
push eax
lea eax, [esi + 4]
mov ecx, 1
mov edx, dword [0x4ab640]
call fcn.0040597c
add esp, 4
mov eax, dword [esi + 4]
call fcn.004057a0
mov edx, dword [esi + 4]
mov dword [edx + eax*4 - 4], ebx
test ebx, ebx
ja 0x4abda0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abf13
lea eax, [ebp - 0x120]
mov edx, 6
call fcn.00404650
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404650
ret
Function at 0x4abf70
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ac139
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4ac11b
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10c]
mov edx, 0x4ac154
call fcn.00404a38
je 0x4ac113
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x110]
call fcn.00408db0
push eax
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x4ac113
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x108]
mov ecx, 0xff
call fcn.0040489c
mov eax, dword [ebp - 0x114]
mov edx, 0x4ac160
call fcn.00404a38
jne 0x4ac113
mov byte [ebp - 9], 1
push 0
push 0
push 7
lea ecx, [ebp - 0x118]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x118]
call fcn.00408db0
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
mov eax, dword [ebp - 8]
call fcn.00404aec
push eax
push 0
push 0xc
lea ecx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x11c]
call fcn.00408db0
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 8
lea ecx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x120]
call fcn.00408db0
push eax
call sub.user32.dll_SendMessageA
inc ebx
dec esi
jne 0x4abfd3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac140
lea eax, [ebp - 0x120]
mov edx, 6
call fcn.00404650
ret
Function at 0x4afcf4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4afd22
mov eax, ebx
call fcn.004b07a8
cmp dword [ebx + 0x40], 0
je 0x4afd1b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4afd93
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4afd85
cmp dword [ebx + 8], 0
je 0x4afd44
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 0x4afd56
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4afd85
cmp dword [ebx + 8], 0
je 0x4afd37
cmp eax, 3
je 0x4afd69
dec eax
jne 0x4afd37
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 0x4afd37
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4afd37
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4afdb1
cmp dword [ebx + 0x14], 0xcc
je 0x4afdb1
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.004afdbc
pop ebx
ret

Function at 0x4c05d0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.004c0858
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
setae al
add esp, 0x94
ret

Function at 0x4c2038
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4c8c8c]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4c2074
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4c208c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4c2085
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004031ec
xor edx, edx
mov eax, 0x4c8e8c
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4c20f6
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4c20aa
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4c2334
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4c234d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4c2346
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4c235f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4c2358
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004c1f28
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4c2379
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004c2038
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4c23fe
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4c241b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004c1fb8
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4c2444
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c245c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4c2475
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4c246e
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4c2489
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004c1e20
test bl, bl
jne 0x4c255c
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4cb01c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4c24c0
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4c24d4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004c2334
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4c2506
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4c24b5
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4c2529
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4c253a
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4c254e
jmp 0x4c2617
cmp bl, 1
jne 0x4c2617
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4cb076
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4c257c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4c2590
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004c2334
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4c25c2
sub ebx, 6
inc dword [ebp - 8]
jne 0x4c2571
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4c25e9
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4c25fa
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4c260e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004c1ea4
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8