joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450e24
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 0x450ead
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004507a8
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x450e50
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00450318
cmp dword [ebp - 0xc], 0
je 0x450e97
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.00404c34
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 0x450eb4
lea eax, [ebp - 0xc]
call fcn.00404774
ret

Function at 0x454730
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 [0x4e8bb4], 0
je 0x45488b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4e7bd4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45488b
mov eax, dword [0x4e8bb8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e8bb4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x45485a
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4e8bb4]
call fcn.0041ece4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45484e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45484e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45484e
mov eax, dword [ebp - 0x14]
call fcn.0045fe70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45484e
push ebp
call fcn.004546e4
pop ecx
test al, al
jne 0x45484e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45480a
mov eax, dword [ebp - 0x14]
call fcn.0045e1f0
dec eax
jle 0x45484e
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.00403b7c
cmp byte [ebp - 1], 0
je 0x45484e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45484e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e8bb8]
call fcn.00453bac
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x45479c
mov eax, dword [0x4e8bb8]
cmp dword [eax + 8], 0
jle 0x454872
mov eax, dword [0x4e8bb8]
call fcn.00453c58
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45488b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00454520
pop ecx
test al, al
jne 0x45488b
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 0x458fb0
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 0x459003
mov eax, dword [ebp - 0x14]
call fcn.00473a94
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x459003
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x459003
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 0x459192
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x45904c
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x45904c
mov eax, dword [ebp - 0x14]
call fcn.00473a94
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x459187
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 0x459192
jmp 0x459187
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x459162
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x459162
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x45908f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x459089
sub eax, 3
je 0x459089
sub eax, 3
jne 0x45908f
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x4590a6
dec eax
je 0x4590bd
dec eax
je 0x4590e4
dec eax
je 0x4590bd
jmp 0x4590f1
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4e7bd4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0047f770
jmp 0x459187
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x4590d7
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403b7c
jmp 0x459192
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x459187
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x459187
mov eax, dword [0x4e8b70]
cmp byte [eax + 0x20], 0
je 0x459187
mov eax, dword [0x4e8b70]
cmp dword [eax + 0x1c], 0
je 0x459187
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4e8b70]
cmp eax, dword [edx + 0x1c]
jne 0x459187
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.004739b0
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.00403b7c
jmp 0x459192
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x459187
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.0045705c
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 0x45d564
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 0x45d585
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x45d5ba
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x45d5aa
mov eax, dword [ebp - 4]
call fcn.0045bb40
test eax, eax
jne 0x45d5aa
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45d6e4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045cf38
jmp 0x45d6e4
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 0x45d6dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045fe70
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.00458e64
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.0045d564
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.0045fe70
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d6e4
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 0x465c94
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4e7e9c]
cmp byte [eax + 0xc], 0
je 0x465e06
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x465dff
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e8bc4], 0
jne 0x465ced
push 0x465e0c
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x465e14
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8bc4], eax
cmp dword [0x4e4e30], 0
jne 0x465de8
push 0x465e24
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4e4e30], eax
cmp dword [0x4e4e30], 0
je 0x465de8
push 0x465e30
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8bc8], eax
push 0x465e40
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8bcc], eax
push 0x465e54
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8bd0], eax
push 0x465e6c
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8bd4], eax
push 0x465e84
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8bd8], eax
push 0x465e98
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8bdc], eax
push 0x465eb0
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8be0], eax
push 0x465ec8
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8be4], eax
push 0x465ee4
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8be8], eax
push 0x465ef0
mov eax, dword [0x4e4e30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e8bec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465e06
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x46abec
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.00404774
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 0x46ac45
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.004049e4
mov esp, ebp
pop ebp
ret
Function at 0x47390c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x473964]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x473926
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x473930
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x47393a
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x473944
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x47394e
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47395e
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x473968
Capabilities:
Log keystrokes via polling

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x47b91e
add esp, 0xfffffff0
call fcn.00403ca4
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.00426f94
mov eax, dword [0x4e7814]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x47be7c
mov eax, dword [0x4e7828]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x47be9c
mov eax, dword [ebp - 4]
call fcn.0047bebc
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c18c]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c18c]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c18c]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c18c]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c18c]
call fcn.00403950
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, 0x4772cc
push eax
push 0
push 0
mov eax, dword [0x4e7adc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4291c4]
call fcn.0042ab8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x4291c4]
call fcn.0042ab8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x4291c4]
call fcn.0042ab8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0047c464
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x47c2b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x47c2b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x47c2b0
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x47baa6
call fcn.00403cfc
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x47c068
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 0x47c233
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47c211
mov dl, 1
mov eax, dword [0x41c7f0]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404774
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 0x47c1fa
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.00466034
test al, al
je 0x47c1ee
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, 0x47c244
lea eax, [ebp - 0x25c]
call fcn.0040a86c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47c1ee
xor eax, eax
push ebp
push 0x47c1e7
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 0x47c27c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47c1d0
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004049e4
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 0x47c1d0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004049e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c1ee
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x47c0dd
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.00421ec0
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 0x47c23a
lea eax, [ebp - 0x268]
call fcn.00404774
ret
Function at 0x47cd6c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4e8c10]
cmp byte [eax + 0xa5], 0
jne 0x47cde3
cmp dword [0x4e8c28], 0
jne 0x47cda1
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47cd28
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e8c28], eax
cmp dword [0x4e8c24], 0
jne 0x47cdbc
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e8c24], eax
cmp dword [0x4e8c2c], 0
jne 0x47cde3
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x47ccc8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e8c2c], eax
pop ecx
pop ebp
ret

Function at 0x47ceac
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.0047ce44
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x47cecd
xor eax, eax
call fcn.0047ce7c
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 0x47cee7
mov al, 1
call fcn.0047ce7c
mov esp, ebp
pop ebp
ret

Function at 0x47d630
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 [0x4e8c10]
cmp dword [eax + 0x30], 0
je 0x47d6fa
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x47d6f1
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 0x47d5b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x47d6f1
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 0x47d6ab
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 0x47d6f1
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.0041ece4
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x47d6c0
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x47e414
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 0x47e459
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.00404864
jmp 0x47e46a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004047c8
mov esp, ebp
pop ebp
ret
Function at 0x47f8ec
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 0x47f93f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00460340
test al, al
je 0x47f93f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045fe70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47f93f
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045fe70
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4807b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x41b720]
call fcn.004051d0
xor eax, eax
push ebp
push 0x480903
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e5070], 0
jne 0x480806
mov ecx, dword [0x4e7688]
mov dl, 1
mov eax, dword [case.0x50ac94.35]
call fcn.0040eef0
call fcn.0040410c
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.004031b8
mov eax, dword [ebp - 4]
call fcn.0040501c
mov dword [ebp - 0x2c], eax
mov esi, 0x480914
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
call fcn.004063f8
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.0040502c
test eax, eax
jle 0x4808a1
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x480898
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.004049fc
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov ecx, 0x10
call fcn.004049e4
mov eax, dword [ebp - 0x58]
pop edx
call fcn.00409124
test eax, eax
jne 0x480898
mov dword [ebp - 0x10], 0x15
jmp 0x4808a8
mov dword [ebp - 0x10], 0x10
jmp 0x4808a8
mov dword [ebp - 0x10], 0x15
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x4e5070]
call fcn.004806e0
mov eax, dword [ebp - 0x18]
call fcn.004806e0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00406410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48090a
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00404798
lea eax, [ebp - 0x20]
mov edx, dword [0x41b720]
call fcn.004052a0
ret

Function at 0x489d90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
lea eax, [ebp - 0x98]
mov edx, 0x94
call fcn.00407998
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x94], 5
jb 0x489dda
cmp dword [ebp - 0x90], 1
jb 0x489dda
cmp dword [ebp - 0x88], 2
je 0x489dde
xor eax, eax
jmp 0x489de0
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret