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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458114]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4580f5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458104
or bl, 4
test esi, 0x20000000
je 0x45810f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458164
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00458118
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x45e738
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e74a
add esp, 0xfffffff0
call fcn.00403a74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fa90
mov eax, dword [0x4cbbcc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45eadc
mov eax, dword [0x4cbbdc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45eae8
mov eax, ebx
call fcn.0045eaf4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415224]
call fcn.004036e0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415224]
call fcn.004036e0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415224]
call fcn.004036e0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415224]
call fcn.004036e0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415224]
call fcn.004036e0
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, 0x45afbc
push eax
push 0
push 0
mov eax, dword [0x4cbd64]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4215b8]
call fcn.00422ce4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4215b8]
call fcn.00422ce4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4215b8]
call fcn.00422ce4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ef5c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ee38
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ee38
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ee38
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e887
call fcn.00403acc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ec1c
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 0x45edc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45eda8
mov dl, 1
mov eax, dword [0x4158dc]
call fcn.004036e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040447c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ed97
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.0044c0f8
test al, al
je 0x45ed8a
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, 0x45edd8
lea eax, [ebp - 0x254]
call fcn.00409620
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ed8a
xor eax, eax
push ebp
push 0x45ed83
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 0x45ee10
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ed6c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046e4
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 0x45ed6c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ed8a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ec8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a090
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 0x45edce
lea eax, [ebp - 0x260]
call fcn.0040447c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4ccc34]
cmp byte [eax + 0xa5], 0
jne 0x45f76d
cmp dword [0x4ccc4c], 0
jne 0x45f72e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f6b8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4ccc4c], eax
cmp dword [0x4ccc48], 0
jne 0x45f749
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4ccc48], eax
cmp dword [0x4ccc50], 0
jne 0x45f76d
push esp
push 0
push 0
push 0x45f65c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4ccc50], eax
pop edx
ret
Function at 0x45f890
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f8a7
add esp, 0xfffffff0
call fcn.00403a74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fa90
mov eax, dword [0x4cbd50]
cmp word [eax + 2], 0
jne 0x45f8cf
mov eax, dword [0x4cbd50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460f6c
mov eax, dword [0x4cbe28]
cmp word [eax + 2], 0
jne 0x45f8e9
mov eax, dword [0x4cbe28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461164
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415224]
call fcn.004036e0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415224]
call fcn.004036e0
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], 0x80000018
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 [0x422090]
call fcn.00429b40
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45fa70
mov eax, dword [0x4cbc48]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429f10
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4616d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cbc48]
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.0040cbd0
test eax, eax
je 0x45f9de
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f68
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cbf8
test eax, eax
je 0x45f9f2
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.004046e4
mov eax, dword [0x4cbac0]
cmp byte [eax], 0
jne 0x45fa26
mov eax, ebx
call fcn.0045fb98
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.004618b0
mov eax, ebx
call fcn.004621f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45fa66
call fcn.00403acc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fe0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4ccc34]
cmp dword [eax + 0x30], 0
je 0x45feb6
cmp dword [ebx + 0x94], 0
jne 0x45feb0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fd9c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45feb0
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 0x45fe76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45feb0
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.00417aa8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fe85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460994
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 0x4609c9
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.0040456c
jmp 0x4609d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044d0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461a8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461acd
mov eax, esi
call fcn.00447784
test al, al
je 0x461acd
mov eax, dword [ebx + 0x84]
call fcn.00447480
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461acd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447480
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x465164
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x465192
mov eax, ebx
call fcn.00465c1c
cmp dword [ebx + 0x3c], 0
je 0x46518b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x465203
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4651f5
cmp dword [ebx + 8], 0
je 0x4651b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4651c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4651f5
cmp dword [ebx + 8], 0
je 0x4651a7
cmp eax, 3
je 0x4651d9
dec eax
jne 0x4651a7
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 0x4651a7
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4651a7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x465221
cmp dword [ebx + 0x10], 0xcc
je 0x465221
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046522c
pop ebx
ret
Function at 0x478840
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.0040492c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x478898
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cbff4]
mov dl, 1
mov eax, dword [0x478364]
call fcn.0040bfe8
call fcn.00403edc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047846c
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 0x478930
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x4cb6d8], 0
jne 0x478a02
mov byte [0x4cb6d8], 1
xor eax, eax
mov dword [0x4cb6d0], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x478978
cmp dword [esp + 0x1c], 3
jne 0x4789d8
cmp dword [esp + 0x20], 0x33
jbe 0x4789d8
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x478a0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x478a02
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x478a3c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x478a02
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x478a02
cmp byte [esp + 9], 0
jne 0x478a02
jmp 0x4789ed
push 0
push 0x478a3c
push 0x478a44
call sub.kernel32.dll_GetProfileIntA
test eax, eax
je 0x478a02
mov eax, dword [0x4cb6cc]
call fcn.0040492c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4cb6d0], eax
add esp, 0xac
ret
Function at 0x49f058
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x49f22e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x49f215
mov eax, dword [edi + 0x30]
call fcn.00404734
test eax, eax
jne 0x49f0ae
mov eax, dword [edi + 0x34]
call fcn.00404734
test eax, eax
jne 0x49f0ae
mov eax, edi
call fcn.0049f2cc
jmp 0x49f215
cmp dword [edi + 0xa0], 0
jne 0x49f0e5
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00408fc4
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ccdc8]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x49f11c
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00408fc4
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ccdc8]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.0049f30c
mov ebx, eax
test bl, bl
jne 0x49f1ca
mov eax, dword [edi + 0x30]
call fcn.00404734
test eax, eax
jne 0x49f154
mov eax, dword [edi + 0xc0]
call fcn.00404734
test eax, eax
je 0x49f1ca
mov eax, dword [edi + 0xc0]
call fcn.00404734
test eax, eax
je 0x49f176
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00408fc4
jmp 0x49f1a2
push dword [edi + 0x30]
push 0x49f248
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004047f4
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00408fc4
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x49f1ca
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.0049f30c
mov ebx, eax
test bl, bl
jne 0x49f1d7
mov eax, edi
call fcn.0049f2cc
jmp 0x49f215
mov eax, dword [edi + 0x58]
test eax, eax
je 0x49f1e6
mov dword [edi + 0xa8], eax
jmp 0x49f1f0
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.0049f384
test al, al
je 0x49f215
mov eax, edi
mov si, 0xffee
call fcn.0040390c
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.0049f430
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f235
lea eax, [ebp - 0x108]
call fcn.0040447c
ret
Function at 0x4a1aec
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 0x4a1d4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a1b4f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004a15b4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c7bc
cmp al, 1
jne 0x4a1b4f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004a18cc
test al, al
je 0x4a1cdb
cmp dword [ebp - 8], 0
jge 0x4a1b6d
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.004a15b4
mov eax, dword [ebp - 0x210]
call fcn.00404734
cmp ebx, eax
jge 0x4a1bb7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004a15b4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4cbfd0]
and eax, 0xff
bt dword [edx], eax
jae 0x4a1bb7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4a1bcb
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a1ac8
cmp ebx, dword [ebp - 8]
je 0x4a1ccd
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 0x4a1bf7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040390c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cba70]
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 0x4a1cba
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040390c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cba70]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00447480
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040390c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cba70]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00447480
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1cc1
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 0x4a1d2e
cmp dword [ebp - 8], 0
jge 0x4a1ce6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004a15b4
mov eax, dword [ebp - 0x218]
call fcn.00404734
cmp eax, dword [ebp - 8]
jg 0x4a1d20
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004a15b4
mov eax, dword [ebp - 0x21c]
call fcn.00404734
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a1ac8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1d53
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004044a0
ret
Function at 0x4ac58c
Capabilities:
Swap mouse buttons

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff34
mov dword [esp], edx
push edi
push edx
push eax
call sub.kernel32.dll_EnumTimeFormatsW
lea eax, [esp + 4]
push eax
push esi
lea eax, [esp + 0x9c]
push eax
push ebp
call sub.kernel32.dll_ReadConsoleInputA
mov eax, ebx
call fcn.0042b190
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x2c]
push eax
lea eax, [esp + 0xbc]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
call sub.advapi32.dll_AccessCheckByTypeResultList
mov eax, dword [esp + 0x2c]
push eax
call sub.user32.dll_SwapMouseButton
mov eax, dword [esp + 0x30]
push eax
call sub.gdi32.dll_GetPixelFormat
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
call fcn.00478a4c
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push eax
call sub.wininet.dll_HttpQueryInfoW
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
call fcn.0042ae5c
mov eax, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push eax
call sub.kernel32.dll_FlushViewOfFile
mov eax, dword [esp + 0x7c]
push eax
lea eax, [esp + 0x7c]
push eax
call sub.kernel32.dll_InterlockedExchangeAdd
mov eax, dword [esp + 0x80]
call fcn.0042adc8
mov eax, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push eax
call sub.wininet.dll_InternetSetOptionA
add esp, 0xcc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ac6c0
Capabilities:
Create mailslot
Manipulate console buffer

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff2c
lea edx, [esp + 0x5c]
call fcn.0042ad98
mov eax, ebx
call fcn.0042b180
lea eax, [esp + 4]
push eax
push dword [esp + 4]
push ebp
push edi
push esi
call sub.kernel32.dll_WriteConsoleOutputCharacterA
mov eax, dword [esp + 8]
call fcn.00435f28
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_EndDialog
lea edx, [esp + 0x84]
mov eax, dword [esp + 0x14]
call fcn.0042b168
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll_BeginUpdateResourceA
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push eax
call sub.kernel32.dll_CreateMailslotA
lea edx, [esp + 0xcc]
mov eax, dword [esp + 0x30]
call fcn.004075cc
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push eax
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x50]
push eax
call sub.mpr.dll_WNetUseConnectionA
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push eax
call sub.user32.dll_EnumDesktopWindows
add esp, 0xd4
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4ac81c
Capabilities:
Create mailslot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff38
push edi
push edx
push eax
call sub.kernel32.dll_EnumDateFormatsA
lea eax, [esp + 0x74]
push eax
call sub.comctl32.dll_PropertySheetA
push ebp
call sub.gdi32.dll_AddFontResourceA
mov ecx, dword [esp]
mov edx, ebx
mov eax, esi
call fcn.0042ace0
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_GetCPInfo
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_CreateMailslotA
mov eax, dword [esp + 0x18]
call fcn.0042afac
mov eax, dword [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.wininet.dll_InternetCanonicalizeUrlA
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push eax
call sub.advapi32.dll_LookupAccountSidA
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
call fcn.0042b19c
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push eax
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x5c]
push eax
call sub.advapi32.dll_QueryServiceLockStatusA
mov eax, dword [esp + 0x5c]
call fcn.00435f34
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push eax
call sub.gdi32.dll_GetTextExtentPoint32A
add esp, 0xc8
pop ebp
pop edi
pop esi
pop ebx
ret