joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4394c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x4393f4
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret

Function at 0x439638
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4396c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00438fbc
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x439664
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00438b2c
cmp dword [ebp - 0xc], 0
je 0x4396ab
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.00404644
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4396c8
lea eax, [ebp - 0xc]
call fcn.00404184
ret
Function at 0x43cad8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x49bb58], 0
je 0x43cc33
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x49ac0c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43cc33
mov eax, dword [0x49bb5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x49bb58]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x43cc02
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x49bb58]
call fcn.00419ee8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43cbf6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43cbf6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43cbf6
mov eax, dword [ebp - 0x14]
call fcn.004481d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43cbf6
push ebp
call fcn.0043ca8c
pop ecx
test al, al
jne 0x43cbf6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43cbb2
mov eax, dword [ebp - 0x14]
call fcn.00446550
dec eax
jle 0x43cbf6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403550
cmp byte [ebp - 1], 0
je 0x43cbf6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43cbf6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x49bb5c]
call fcn.0043bf54
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x43cb44
mov eax, dword [0x49bb5c]
cmp dword [eax + 8], 0
jle 0x43cc1a
mov eax, dword [0x49bb5c]
call fcn.0043c000
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43cc33
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043c8c8
pop ecx
test al, al
jne 0x43cc33
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441310
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x441363
mov eax, dword [ebp - 0x14]
call fcn.0045b8e0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x441363
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x441363
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x4414f2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x4413ac
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x4413ac
mov eax, dword [ebp - 0x14]
call fcn.0045b8e0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4414e7
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x4414f2
jmp 0x4414e7
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x4414c2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x4414c2
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x4413ef
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x4413e9
sub eax, 3
je 0x4413e9
sub eax, 3
jne 0x4413ef
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x441406
dec eax
je 0x44141d
dec eax
je 0x441444
dec eax
je 0x44141d
jmp 0x441451
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x49ac0c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.004674dc
jmp 0x4414e7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x441437
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403550
jmp 0x4414f2
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x4414e7
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x4414e7
mov eax, dword [0x49bb14]
cmp byte [eax + 0x20], 0
je 0x4414e7
mov eax, dword [0x49bb14]
cmp dword [eax + 0x1c], 0
je 0x4414e7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x49bb14]
cmp eax, dword [edx + 0x1c]
jne 0x4414e7
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.0045b7fc
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403550
jmp 0x4414f2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x4414e7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0043f3d4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4458c4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x4458e5
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x44591a
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x44590a
mov eax, dword [ebp - 4]
call fcn.00443ea0
test eax, eax
jne 0x44590a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x445a44
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00445298
jmp 0x445a44
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x445a3d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004481d0
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.004411c4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004458c4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004481d0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445a44
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x44df3c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x49adc8]
cmp byte [eax + 0xc], 0
je 0x44e0ae
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44e0a7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49bb68], 0
jne 0x44df95
push 0x44e0b4
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x44e0bc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb68], eax
cmp dword [0x497c78], 0
jne 0x44e090
push 0x44e0cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x497c78], eax
cmp dword [0x497c78], 0
je 0x44e090
push 0x44e0d8
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb6c], eax
push 0x44e0e8
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb70], eax
push 0x44e0fc
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb74], eax
push 0x44e114
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb78], eax
push 0x44e12c
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb7c], eax
push 0x44e140
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb80], eax
push 0x44e158
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb84], eax
push 0x44e170
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb88], eax
push 0x44e18c
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb8c], eax
push 0x44e198
mov eax, dword [0x497c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e0ae
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404184
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x452aa5
push 0x100
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, 0x100
call fcn.004043f4
mov esp, ebp
pop ebp
ret
Function at 0x45b758
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x45b7b0]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x45b772
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x45b77c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x45b786
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x45b790
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x45b79a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b7aa
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x45b7b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x45b7f8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b7d5
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b7e5
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x45b7ef
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x463758
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x46376a
add esp, 0xfffffff0
call fcn.00403678
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00421450
mov eax, dword [0x49a9d4]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x463cc8
mov eax, dword [0x49a9e0]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x463ce8
mov eax, dword [ebp - 4]
call fcn.00463d08
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00403324
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00403324
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00403324
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00403324
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00403324
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x45f118
push eax
push 0
push 0
mov eax, dword [0x49ab6c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423660]
call fcn.00424e74
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x423660]
call fcn.00424e74
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x423660]
call fcn.00424e74
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00464254
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4640a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4640a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4640a0
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4638f2
call fcn.004036d0
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x463e58
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464023
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x464001
mov dl, 1
mov eax, dword [0x4179e0]
call fcn.00403324
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404184
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x463fea
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0044e2dc
test al, al
je 0x463fde
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x464034
lea eax, [ebp - 0x25c]
call fcn.004099b8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x463fde
xor eax, eax
push ebp
push 0x463fd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x46406c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x463fc0
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.004043f4
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x463fc0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.004043f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463fde
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x463ecd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.0041cb18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46402a
lea eax, [ebp - 0x268]
call fcn.00404184
ret
Function at 0x464b5c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x49bbb4]
cmp byte [eax + 0xa5], 0
jne 0x464bd3
cmp dword [0x49bbcc], 0
jne 0x464b91
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464b18
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49bbcc], eax
cmp dword [0x49bbc8], 0
jne 0x464bac
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49bbc8], eax
cmp dword [0x49bbd0], 0
jne 0x464bd3
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x464ab8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49bbd0], eax
pop ecx
pop ebp
ret

Function at 0x464c9c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00464c34
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x464cbd
xor eax, eax
call fcn.00464c6c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x464cd7
mov al, 1
call fcn.00464c6c
mov esp, ebp
pop ebp
ret

Function at 0x46539c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x49bbb4]
cmp dword [eax + 0x30], 0
je 0x465466
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x46545d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x46531c
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x46545d
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x465417
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x46545d
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00419ee8
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x46542c
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x466180
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x4661c5
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404274
jmp 0x4661d6
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004041d8
mov esp, ebp
pop ebp
ret
Function at 0x467658
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x4676ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004486a0
test al, al
je 0x4676ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004481d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4676ab
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004481d0
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x46f090
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x49bbe4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x46f0b2
shr eax, 1
xor eax, 0xedb88320
jmp 0x46f0b4
shr eax, 1
dec edx
jne 0x46f0a0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x46f099
mov byte [0x49bfe4], 1
pop esi
pop ebx
ret

Function at 0x46f0d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x49bfe4], 0
jne 0x46f0e7
call fcn.0046f090
mov eax, edi
sub eax, 1
jno 0x46f0f3
call fcn.00403294
test eax, eax
jl 0x46f119
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x49bbe4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x46f0fa
mov eax, ebx
pop edi
pop esi
pop ebx
ret