joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458570
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x5213e4]
cmp byte [eax + 0xc], 0
je 0x4586dd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4586d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x522ba0], 0
jne 0x4585c4
push 0x4586e4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4586ec
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522ba0], eax
cmp dword [0x51de6c], 0
jne 0x4586bf
push 0x4586fc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x51de6c], eax
cmp dword [0x51de6c], 0
je 0x4586bf
push 0x458708
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522ba4], eax
push 0x458718
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522ba8], eax
push 0x45872c
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522bac], eax
push 0x458744
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522bb0], eax
push 0x45875c
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522bb4], eax
push 0x458770
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522bb8], eax
push 0x458788
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522bbc], eax
push 0x4587a0
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522bc0], eax
push 0x4587bc
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522bc4], eax
push 0x4587c8
mov eax, dword [0x51de6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x522bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4586dd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45ca3c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404630
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45ca8b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464bbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x464c0c]
test si, 4
je 0x464bd0
or bl, 1
test si, 8
je 0x464bda
or bl, 4
test si, 1
je 0x464be4
or bl, 8
test si, 2
je 0x464bee
or bl, 0x10
test si, 0x10
je 0x464bf8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x464c07
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x464c10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x464c48]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x464c29
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x464c38
or bl, 4
test esi, 0x20000000
je 0x464c43
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46b428
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46b43a
add esp, 0xfffffff0
call fcn.00403b64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422ed8
mov eax, dword [0x520c34]
mov dword [eax + 4], ebx
mov dword [eax], 0x46b7cc
mov eax, dword [0x520c48]
mov dword [eax + 4], ebx
mov dword [eax], 0x46b7d8
mov eax, ebx
call fcn.0046b7e4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419c68]
call fcn.00403810
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419c68]
call fcn.00403810
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419c68]
call fcn.00403810
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419c68]
call fcn.00403810
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419c68]
call fcn.00403810
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x467c00
push eax
push 0
push 0
mov eax, dword [0x520f70]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42499c]
call fcn.004261b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42499c]
call fcn.004261b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42499c]
call fcn.004261b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046bcdc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bb70
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bb70
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bb70
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46b577
call fcn.00403bbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46b954
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46baff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46bae0
mov dl, 1
mov eax, dword [0x41a2cc]
call fcn.00403810
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404630
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46bacf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004588d0
test al, al
je 0x46bac2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46bb10
lea eax, [ebp - 0x254]
call fcn.00409e10
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46bac2
xor eax, eax
push ebp
push 0x46babb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46bb48
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46baa4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46baa4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bac2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46b9c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ea40
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bb06
lea eax, [ebp - 0x260]
call fcn.00404630
ret

Function at 0x46c47c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x522bec]
cmp byte [eax + 0xa5], 0
jne 0x46c4ed
cmp dword [0x522c04], 0
jne 0x46c4ae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46c438
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x522c04], eax
cmp dword [0x522c00], 0
jne 0x46c4c9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x522c00], eax
cmp dword [0x522c08], 0
jne 0x46c4ed
push esp
push 0
push 0
push 0x46c3dc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x522c08], eax
pop edx
ret
Function at 0x46c614
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46c62b
add esp, 0xfffffff0
call fcn.00403b64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422ed8
mov eax, dword [0x520f48]
cmp word [eax + 2], 0
jne 0x46c653
mov eax, dword [0x520f48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046dd94
mov eax, dword [0x5210e4]
cmp word [eax + 2], 0
jne 0x46c66d
mov eax, dword [0x5210e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046df8c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419c68]
call fcn.00403810
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419c68]
call fcn.00403810
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42551c]
call fcn.0042dcd8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46c7f4
mov eax, dword [0x520d3c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e0a8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46e52c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x520d3c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040df48
test eax, eax
je 0x46c762
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004097f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040df70
test eax, eax
je 0x46c776
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
mov eax, dword [0x520a20]
cmp byte [eax], 0
jne 0x46c7aa
mov eax, ebx
call fcn.0046c91c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046e708
mov eax, ebx
call fcn.0046f0cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46c7ea
call fcn.00403bbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cb9c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x522bec]
cmp dword [eax + 0x30], 0
je 0x46cc46
cmp dword [ebx + 0x94], 0
jne 0x46cc40
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46cb2c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46cc40
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_GetWindowLongA
test al, 8
je 0x46cc06
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46cc40
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c354
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46cc15
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46d7a8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46d7dd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404720
jmp 0x46d7ea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404684
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46e8e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46e925
mov eax, esi
call fcn.00453e54
test al, al
je 0x46e925
mov eax, dword [ebx + 0x84]
call fcn.00453b50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46e925
push 0
mov eax, dword [ebx + 0x84]
call fcn.00453b50
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46f5e4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4191f0]
call fcn.00404fe8
xor eax, eax
push ebp
push 0x46f728
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51e0b4], 0
jne 0x46f637
mov ecx, dword [0x520a54]
mov dl, 1
mov eax, dword [0x407cf4]
call fcn.0040d134
call fcn.00403fcc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403078
mov eax, ebx
call fcn.00404e98
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46f738
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406210
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404ea8
test eax, eax
jle 0x46f6cf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46f6c8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004048b8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004048a0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c78
test eax, eax
jne 0x46f6c8
mov ebx, 0x15
jmp 0x46f6d4
mov ebx, 0x10
jmp 0x46f6d4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x51e0b4]
call fcn.0046f53c
mov eax, dword [ebp - 8]
call fcn.0046f53c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f72f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404654
lea eax, [ebp - 0x10]
mov edx, dword [0x4191f0]
call fcn.004050b8
ret

Function at 0x479ab8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427348
cmp ebx, dword [ebp - 8]
jge 0x479b1b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427744
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427744
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427770
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x479ae1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x479b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427348
cmp ebx, dword [ebp - 8]
jge 0x479b87
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427744
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427744
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427770
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x479b4d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47d9c0
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 0x47dc20
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47da23
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0047d488
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040da7c
cmp al, 1
jne 0x47da23
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0047d7a0
test al, al
je 0x47dbaf
cmp dword [ebp - 8], 0
jge 0x47da41
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.0047d488
mov eax, dword [ebp - 0x210]
call fcn.004048f0
cmp ebx, eax
jge 0x47da8b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0047d488
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5213c0]
and eax, 0xff
bt dword [edx], eax
jae 0x47da8b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x47da9f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047d99c
cmp ebx, dword [ebp - 8]
je 0x47dba1
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 0x47dacb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a3c
and eax, 0x7f
movzx eax, word [eax*2 + 0x51e25c]
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 0x47db8e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a3c
and eax, 0x7f
movzx eax, word [eax*2 + 0x51e25c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00453b50
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a3c
and eax, 0x7f
movzx eax, word [eax*2 + 0x51e25c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00453b50
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47db95
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 0x47dc02
cmp dword [ebp - 8], 0
jge 0x47dbba
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0047d488
mov eax, dword [ebp - 0x218]
call fcn.004048f0
cmp eax, dword [ebp - 8]
jg 0x47dbf4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0047d488
mov eax, dword [ebp - 0x21c]
call fcn.004048f0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047d99c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dc27
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404654
ret
Function at 0x4a698c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a69ba
mov eax, ebx
call fcn.004a7440
cmp dword [ebx + 0x40], 0
je 0x4a69b3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a6a2b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a6a1d
cmp dword [ebx + 8], 0
je 0x4a69dc
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 0x4a69ee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a6a1d
cmp dword [ebx + 8], 0
je 0x4a69cf
cmp eax, 3
je 0x4a6a01
dec eax
jne 0x4a69cf
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 0x4a69cf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a69cf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a6a49
cmp dword [ebx + 0x14], 0xcc
je 0x4a6a49
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.004a6a54
pop ebx
ret
Function at 0x4c29f8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c2b32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041d008
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x4c2a74
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4c2a74
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408a98
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x520b04]
mov ebx, dword [ebx]
mov eax, 0x4c2b48
call ebx
dec eax
jne 0x4c2a74
mov ebx, 1
jmp 0x4c2a76
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x4c2b17
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004c2508
test al, al
jne 0x4c2b0b
mov eax, dword [ebp - 4]
call fcn.004c29ec
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404684
xor edx, edx
push ebp
push 0x4c2af9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x4c2aef
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.004c2e0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2b0b
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4c2a8e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2b39
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404654
ret