joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443988
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x443b5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.0046af10
mov eax, dword [esi]
cmp byte [eax + 0x258], 0
je 0x443b41
call sub.KERNEL32.DLL_GetTickCount_1
mov edx, dword [esi]
sub eax, dword [edx + 0x268]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2c0]
jb 0x4439ee
mov eax, dword [esi]
add eax, 0x264
call fcn.0040530c
call sub.KERNEL32.DLL_GetTickCount_1
mov edx, dword [esi]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
cmp al, 8
je 0x443ac8
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [0x633b9c]
movzx eax, al
bt dword [edx], eax
jae 0x443a85
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.0046bfcc
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x443b0c
mov eax, dword [esi]
push dword [eax + 0x264]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.004054f4
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.004054f4
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x264
mov edx, 3
call fcn.004056a0
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x443b0c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.004054f4
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x264
call fcn.004055d8
jmp 0x443b0c
mov eax, dword [esi]
mov ebx, dword [eax + 0x264]
test ebx, ebx
je 0x443ab5
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x264
mov ecx, 1
mov edx, ebx
call fcn.00405844
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.004055cc
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.0040ebdc
cmp al, 2
je 0x443aa4
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x443af9
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x264
mov ecx, 1
xchg edx, eax
call fcn.00405844
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x443b1d
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x443b2a
push ebp
call fcn.004438a0
pop ecx
jmp 0x443b41
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [esi]
mov si, 0xffeb
call fcn.004045ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443b63
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405330
ret
Function at 0x44b3d8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040578c
xor eax, eax
push ebp
push 0x44b50d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x44b4e0
xor edx, edx
push ebp
push 0x44b4d9
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x44b425
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44b4ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x44b49d
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x44b464
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040579c
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004031c8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b4a4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x6330ec]
mov dl, 1
mov eax, dword [0x408fe4]
call fcn.0040e274
call fcn.00404c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b514
lea eax, [ebp - 4]
call fcn.0040530c
ret
Function at 0x44b51c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44b6d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405a90
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x44b6f0
call fcn.00405624
mov eax, ebx
call fcn.004276c4
mov edi, eax
dec edi
test edi, edi
jl 0x44b5d4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00427698
mov edx, dword [0x43ccec]
call fcn.0040453c
test al, al
je 0x44b5d0
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00427698
lea edx, [ebp - 0x14]
call fcn.00463ea0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405a90
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004056a0
inc esi
dec edi
jne 0x44b582
movzx eax, byte [0x44b6f4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x44b700
mov eax, dword [ebp - 8]
call fcn.0040f580
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004053a4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00463ea0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x44b6f0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00463ea0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x44b6f0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x44b6f0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x44b70c
call fcn.0040b68c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b6de
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405330
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405330
lea eax, [ebp - 0x14]
call fcn.0040530c
lea eax, [ebp - 0x10]
call fcn.0040530c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405330
ret
Function at 0x44cc9c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x44cd6e
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x44cd40
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x44cd2f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004031c8
mov eax, dword [ebp - 4]
call fcn.0044cbd8
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd36
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret

Function at 0x44cd80
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, ecx
mov edi, edx
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
jne 0x44cda2
xor edi, edi
jmp 0x44cdc1
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov ecx, ebp
dec ecx
mov eax, edi
call fcn.0040af80
call fcn.0040aef4
mov edi, eax
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x44cdf0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44ce62
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x44ce36
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00405504
jmp 0x44ce3d
mov eax, ebx
call fcn.0040530c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ce69
cmp dword [ebp - 8], 0
je 0x44ce59
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x44ce70
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44cf18
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x44ceeb
mov edx, ebx
mov eax, dword [0x42cbe4]
call fcn.0043168c
test al, al
je 0x44cedb
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0043159c
call fcn.00404d10
jmp 0x44cf1f
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x44cea3
mov ecx, dword [0x63321c]
mov dl, 1
mov eax, dword [0x408fe4]
call fcn.0040e274
call fcn.00404c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cf1f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44cf28
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44cf80
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cf87
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44cf90
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x44cfe5
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cfec
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x44d05c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44d0d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044cbd8
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00431660
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x44d0bb
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d0d8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44d0e0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44d155
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044cbd8
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x44d13f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d15c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44d1b0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44d1f4
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d1fb
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4503ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x4503cd
test edi, 0x40000
je 0x4503e7
test bl, bl
jne 0x450468
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x450468
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x45041a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x45042f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x45043e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x45044f
cmp byte [esp + 2], 0
je 0x450468
cmp byte [esp + 2], 0
je 0x450460
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x450468
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45070c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x450732
mov eax, esp
push eax
push 0x4506d4
call sub.user32.dll_EnumWindows
jmp 0x450745
mov eax, esp
push eax
push 0x4506b4
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x450808
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45085c]
test si, 4
je 0x45081d
or bl, 1
test si, 8
je 0x450827
or bl, 4
test si, 1
je 0x450831
or bl, 8
test si, 2
je 0x45083b
or bl, 0x10
test si, 0x10
je 0x450845
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450854
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45089c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45087a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450889
or bl, 4
test esi, 0x20000000
je 0x450894
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458c2c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458c3e
add esp, 0xfffffff0
call fcn.00404714
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427084
mov eax, dword [0x63326c]
mov dword [eax + 4], ebx
mov dword [eax], 0x458fd0
mov eax, dword [0x633284]
mov dword [eax + 4], ebx
mov dword [eax], 0x458fdc
mov eax, ebx
call fcn.00458fe8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a49c]
call fcn.00404380
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a49c]
call fcn.00404380
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a49c]
call fcn.00404380
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a49c]
call fcn.00404380
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a49c]
call fcn.00404380
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, 0x4543ec
push eax
push 0
push 0
mov eax, dword [0x63363c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42c4cc]
call fcn.0042de08
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42c4cc]
call fcn.0042de08
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42c4cc]
call fcn.0042de08
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459460
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459330
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459330
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459330
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458d7b
call fcn.0040476c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459114
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 0x4592bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4592a0
mov dl, 1
mov eax, dword [0x41ac7c]
call fcn.00404380
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040530c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45928f
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.004717c0
test al, al
je 0x459282
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, 0x4592d0
lea eax, [ebp - 0x254]
call fcn.0040b60c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x459282
xor eax, eax
push ebp
push 0x45927b
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 0x459308
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x459264
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040557c
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 0x459264
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040557c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459282
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459185
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004202f0
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 0x4592c6
lea eax, [ebp - 0x260]
call fcn.0040530c
ret

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

Disassembly:
push ecx
mov eax, dword [0x638c24]
cmp byte [eax + 0xad], 0
jne 0x459ca9
cmp dword [0x638c40], 0
jne 0x459c6a
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459bf4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x638c40], eax
cmp dword [0x638c3c], 0
jne 0x459c85
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x638c3c], eax
cmp dword [0x638c44], 0
jne 0x459ca9
push esp
push 0
push 0
push 0x459b98
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x638c44], eax
pop edx
ret
Function at 0x459eac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459ec3
add esp, 0xfffffff0
call fcn.00404714
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427084
mov eax, dword [0x6335f8]
cmp word [eax + 2], 0
jne 0x459eeb
mov eax, dword [0x6335f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bc0c
mov eax, dword [0x6337f8]
cmp word [eax + 2], 0
jne 0x459f05
mov eax, dword [0x6337f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045be18
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a49c]
call fcn.00404380
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a49c]
call fcn.00404380
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41a49c]
call fcn.00404380
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42d07c]
call fcn.004356dc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45a0bc
mov eax, dword [0x63339c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00435ab0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c4ec
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x63339c]
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.0040f074
test eax, eax
je 0x45a00c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040af48
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f0a8
test eax, eax
je 0x45a020
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040557c
mov byte [ebx + 0xd4], 0
push ebx
push 0x45b680
call fcn.00428820
mov dword [ebx + 0xc8], eax
mov eax, dword [0x632fd0]
cmp byte [eax], 0
jne 0x45a071
mov eax, ebx
call fcn.0045a200
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045c700
mov eax, ebx
call fcn.0045d264
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a0b1
call fcn.0040476c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret