joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cc00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45ea24
cmp dword [edi], 0
jne 0x41cc7c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45ea20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45d4d8
mov ecx, 2
call fcn.004028d0
mov edx, 0x41cbd8
lea eax, [esi + 5]
call fcn.0041cbf8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041cbf8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41cc51
mov dword [0x45ea20], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41de10
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41de16
ret

Function at 0x420218
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x420269
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420250
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420240
jmp 0x420269
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x420251
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42af70
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 0x42aea4
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret

Function at 0x42b0e8
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 0x42b171
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042aa64
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 0x42b114
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042a628
cmp dword [ebp - 0xc], 0
je 0x42b15b
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.00404804
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 0x42b178
lea eax, [ebp - 0xc]
call fcn.00404354
ret
Function at 0x42e1f8
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 [0x45ebac], 0
je 0x42e353
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45de7c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42e353
mov eax, dword [0x45ebb0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45ebac]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x42e322
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x45ebac]
call fcn.00413d1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42e316
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42e316
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42e316
mov eax, dword [ebp - 0x14]
call fcn.0043963c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42e316
push ebp
call fcn.0042e1ac
pop ecx
test al, al
jne 0x42e316
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42e2d2
mov eax, dword [ebp - 0x14]
call fcn.00437ac0
dec eax
jle 0x42e316
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.00403778
cmp byte [ebp - 1], 0
je 0x42e316
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42e316
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45ebb0]
call fcn.0042d668
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x42e264
mov eax, dword [0x45ebb0]
cmp dword [eax + 8], 0
jle 0x42e33a
mov eax, dword [0x45ebb0]
call fcn.0042d714
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42e353
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042dfe8
pop ecx
test al, al
jne 0x42e353
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 0x432a2c
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 0x432a7f
mov eax, dword [ebp - 0x14]
call fcn.0044cda0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x432a7f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x432a7f
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 0x432c0e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x432ac8
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x432ac8
mov eax, dword [ebp - 0x14]
call fcn.0044cda0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x432c03
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xec]
test al, al
jne 0x432c0e
jmp 0x432c03
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x432bde
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x432bde
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x432b0b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x432b05
sub eax, 3
je 0x432b05
sub eax, 3
jne 0x432b0b
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x432b22
dec eax
je 0x432b39
dec eax
je 0x432b60
dec eax
je 0x432b39
jmp 0x432b6d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x45de7c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00458814
jmp 0x432c03
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x432b53
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403778
jmp 0x432c0e
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x432c03
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x432c03
mov eax, dword [0x45eb68]
cmp byte [eax + 0x20], 0
je 0x432c03
mov eax, dword [0x45eb68]
cmp dword [eax + 0x1c], 0
je 0x432c03
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x45eb68]
cmp eax, dword [edx + 0x1c]
jne 0x432c03
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.0044ccbc
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.00403778
jmp 0x432c0e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x432c03
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.00430ad8
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 0x436e78
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 0x436e99
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x436ece
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x436ebe
mov eax, dword [ebp - 4]
call fcn.00435558
test eax, eax
jne 0x436ebe
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x436ff8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043684c
jmp 0x436ff8
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 0x436ff1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0043963c
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.004328e0
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.00436e78
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.0043963c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436ff8
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 0x43f080
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x45dfcc]
cmp byte [eax + 0xc], 0
je 0x43f1f2
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43f1eb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45ebbc], 0
jne 0x43f0d9
push 0x43f1f8
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x43f200
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebbc], eax
cmp dword [0x45da08], 0
jne 0x43f1d4
push 0x43f210
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45da08], eax
cmp dword [0x45da08], 0
je 0x43f1d4
push 0x43f21c
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebc0], eax
push 0x43f22c
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebc4], eax
push 0x43f240
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebc8], eax
push 0x43f258
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebcc], eax
push 0x43f270
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebd0], eax
push 0x43f284
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebd4], eax
push 0x43f29c
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebd8], eax
push 0x43f2b4
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebdc], eax
push 0x43f2d0
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebe0], eax
push 0x43f2dc
mov eax, dword [0x45da08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebe4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f1f2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x443904
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.00404354
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 0x44395d
push pe_nt_image_headers32
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, pe_nt_image_headers32
call fcn.004045bc
mov esp, ebp
pop ebp
ret
Function at 0x44cc18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x44cc70]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x44cc32
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x44cc3c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x44cc46
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x44cc50
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x44cc5a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44cc6a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x44cc74
Capabilities:
Log keystrokes via polling

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x454bca
add esp, 0xfffffff0
call fcn.004038c8
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.0041bb7c
mov eax, dword [0x45dce8]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x455128
mov eax, dword [0x45dcf4]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x455148
mov eax, dword [ebp - 4]
call fcn.00455168
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411620]
call fcn.0040354c
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411620]
call fcn.0040354c
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x411620]
call fcn.0040354c
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x411620]
call fcn.0040354c
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x411620]
call fcn.0040354c
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, 0x450648
push eax
push 0
push 0
mov eax, dword [0x45de18]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d514]
call fcn.0041e918
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d514]
call fcn.0041e918
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d514]
call fcn.0041e918
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.004556b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x455500
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x455500
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x455500
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x454d52
call fcn.00403920
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4552b8
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 0x455483
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455461
mov dl, 1
mov eax, dword [0x411b10]
call fcn.0040354c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404354
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 0x45544a
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.0043f420
test al, al
je 0x45543e
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, 0x455494
lea eax, [ebp - 0x25c]
call fcn.00409064
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45543e
xor eax, eax
push ebp
push 0x455437
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x4554cc
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455420
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004045bc
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 0x455420
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004045bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45543e
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x45532d
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.00415cb4
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 0x45548a
lea eax, [ebp - 0x268]
call fcn.00404354
ret
Function at 0x455fbc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x45ec00]
cmp byte [eax + 0xa5], 0
jne 0x456033
cmp dword [0x45ec18], 0
jne 0x455ff1
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455f78
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45ec18], eax
cmp dword [0x45ec14], 0
jne 0x45600c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45ec14], eax
cmp dword [0x45ec1c], 0
jne 0x456033
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x455f18
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x45ec1c], eax
pop ecx
pop ebp
ret

Function at 0x4560fc
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.00456094
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x45611d
xor eax, eax
call fcn.004560cc
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 0x456137
mov al, 1
call fcn.004560cc
mov esp, ebp
pop ebp
ret

Function at 0x4567f4
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 [0x45ec00]
cmp dword [eax + 0x30], 0
je 0x4568be
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x4568b5
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 0x456774
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x4568b5
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 0x45686f
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 0x4568b5
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.00413d1c
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x456884
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x457530
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 0x457575
push pe_nt_image_headers32
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.00404444
jmp 0x457586
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004043a8
mov esp, ebp
pop ebp
ret