joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7f58a8
Capabilities:
Terminate process

Disassembly:
push dword [esp + 4]
push 0xa411c4
push 0x975560
call fcn.0089b297
push 2
call fcn.0089aca2
add esp, 0x10
nop
nop
nop
Function at 0x853338
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x3e4
mov esi, dword [esp + 0x3f8]
mov ebp, dword [esp + 0x3fc]
mov ebx, dword [esp + 0x404]
test ebx, ebx
je 0x853389
mov edx, dword [esp + 0x400]
push dword [ebx + 0x298]
lea ecx, [edx + 1]
push ecx
push ebp
push esi
call fcn.00853338
add esp, 0x10
mov dword [ebx + 0x298], eax
mov eax, ebx
add esp, 0x3e4
pop ebx
pop ebp
pop esi
pop edi
ret
lea edx, [esp]
push edx
push 0x20019
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x85337c
mov dword [esp + 4], 1
lea esi, [esp + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0x100
lea edx, [esp + 8]
push edx
push ecx
push esi
push 0
push 0xa45d94
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x8534de
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10c]
push 0x200
push edx
push ecx
call fcn.008530b0
add esp, 0xc
test eax, eax
jne 0x8534de
push 0x29c
call fcn.00898760
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x8534de
mov edi, ebx
xor eax, eax
mov ecx, 0xa7
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x400]
lea esi, [esp + 0xc]
lea ecx, [esp + 0x30c]
push 0x64
mov dword [ebx], edx
push ecx
push 0xffffffffffffffff
xor edx, edx
push esi
push edx
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x30c]
lea edx, [esp + 0x3d4]
push edx
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x85347a
lea eax, [esp + 0x3d4]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
lea edx, [ebx + 4]
mov dword [edx], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 4], esi
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov dword [esp + 4], 1
lea esi, [esp + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0x100
lea edx, [esp + 8]
push edx
push ecx
push esi
push 0
push 0xa45d9c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x8534c8
lea edi, [esp + 0xc]
lea esi, [ebx + 0x214]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x8534b8
jmp 0x8534de
lea esi, [ebx + 0x214]
mov edi, ebp
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x8534d0
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x85337c
Function at 0x85353c
Capabilities:
Query or enumerate registry key

Disassembly:
push esi
push ebx
sub esp, 0x84
mov esi, ecx
lea edx, [esp]
xor eax, eax
mov dword [esp], eax
push edx
xor ebx, ebx
push 0xa45da8
push reloc.DSOUND.dll_DirectSoundEnumerateA
mov dword [esi + 4], eax
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x853588
lea edx, [esp + 4]
push 0x80
push edx
mov eax, ebx
push eax
push dword [esp + 0xc]
add ebx, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x8535c6
mov eax, dword [esp]
test eax, eax
je 0x853596
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
test eax, eax
je 0x8535df
mov edx, dword [esi + 4]
add edx, 1
mov dword [esi + 4], edx
mov eax, dword [eax + 0x298]
test eax, eax
jne 0x85359f
test edx, edx
je 0x8535bb
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, esi
add esp, 0x84
pop ebx
pop esi
ret
lea eax, [esp + 4]
push dword [esi]
push 0
push eax
push dword [esp + 0xc]
call fcn.00853338
add esp, 0x10
mov dword [esi], eax
jmp 0x85356a
mov edx, dword [esi + 4]
jmp 0x8535af
Function at 0x85a778
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x20
mov edx, ecx
mov eax, dword [edx + 0x10c]
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [edx + 0x198], 0
je 0x85a82a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov esi, edx
mov ecx, 1
mov ebx, ecx
mov dword [esp + 0x14], edi
jmp 0x85a7b5
mov eax, dword [esi + 0x10c]
mov dword [esp + 4], 0xac44
mov edx, 1
mov edi, 0x10
movzx ecx, bx
mov word [esp], dx
mov word [esp + 0xe], di
mov word [esp + 2], cx
mov edi, 0x12
mov word [esp + 0x10], di
add ecx, ecx
imul edi, ecx, 0xac44
mov word [esp + 0xc], cx
mov dword [esp + 8], edi
lea edi, [esp]
push edx
xor ecx, ecx
push ecx
push ecx
push edi
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x85a80e
mov dword [esi + 0x198], ebx
add ebx, 1
cmp ebx, 0x10
jle 0x85a7af
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, dword [edx + 0x198]
cmp ecx, 0x10
jne 0x85a839
mov dword [edx + 0x198], 2
add esp, 0x20
ret
Function at 0x86684c
Capabilities:
Terminate process

Disassembly:
mov ebx, eax
mov edx, dword [0x9d4344]
test edx, edx
je 0x86685c
push ebx
call edx
pop ecx
push 0x975540
call fcn.0089a2ea
push ebx
push 0xa46454
push 0x975560
call fcn.0089b297
push 1
call fcn.0089aca2
add esp, 0x14
Function at 0x89a6c1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x89a6e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0089a63c
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x89a704
test byte [esp + 8], 2
je 0x89a704
call fcn.0089a6af
mov dword [eax], 0xd
call fcn.0089a6b8
mov dword [eax], 5
jmp 0x89a6dd
xor eax, eax
ret

Function at 0x89d6cc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x975d58
cmp edx, dword [eax]
je 0x89d6ee
add eax, 8
inc ecx
cmp eax, 0x975de8
jl 0x89d6df
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x975d58]
jne 0x89d81c
mov eax, dword [0x9d48f0]
cmp eax, 1
je 0x89d7f6
test eax, eax
jne 0x89d71f
cmp dword [0x975324], 1
je 0x89d7f6
cmp edx, 0xfc
je 0x89d81c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x89d756
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0089e650
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0089b670
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x89d799
lea eax, [ebp - 0x1a4]
push eax
call fcn.0089b670
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x8cbbd4
push edi
call fcn.00898e60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0089e650
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0089e660
lea eax, [ebp - 0xa0]
push 0x8cbbb4
push eax
call fcn.0089e660
push dword [esi + 0x975d5c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0089e660
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.008a4482
add esp, 0x2c
pop edi
jmp 0x89d81c
lea eax, [ebp + 8]
lea esi, [esi + 0x975d5c]
push 0
push eax
push dword [esi]
call fcn.0089b670
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x8a70b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push esi
mov dword [ebp - 4], edi
xor eax, eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 0xc]
shr eax, 2
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
rdtsc
mov esi, dword [ebp - 0x14]
mov ecx, eax
rdtsc
mov esi, dword [esi]
mov edi, eax
rdtsc
sub eax, edi
sub edi, ecx
mov edx, eax
lea esi, [edi*4]
shr edi, 2
add edi, esi
xor eax, eax
sub edi, edx
setge al
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x8a7017
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
pxor xmm0, xmm0
mov esi, esi
lea edi, [edi]
movdqa xmmword [edi], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x60], xmm0
movdqa xmmword [edi + 0x70], xmm0
lea edi, [edi + 0x80]
dec ecx
jne 0x8a6fdc
emms
jmp 0x8a70a5
mov eax, dword [ebp + 0xc]
mov edx, eax
shr edx, 1
shr eax, 2
add edx, dword [ebp + 8]
add edx, eax
mov dword [ebp - 0xc], edx
rdtsc
mov esi, dword [ebp - 0xc]
mov ecx, eax
rdtsc
mov esi, dword [esi]
mov edi, eax
rdtsc
sub eax, edi
sub edi, ecx
mov edx, eax
lea esi, [edi*4]
shr edi, 2
add edi, esi
xor eax, eax
sub edi, edx
setge al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x8a6fc6
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
pxor xmm0, xmm0
movntdq xmmword [edi], xmm0
movntdq xmmword [edi + 0x10], xmm0
movntdq xmmword [edi + 0x20], xmm0
movntdq xmmword [edi + 0x30], xmm0
movntdq xmmword [edi + 0x40], xmm0
movntdq xmmword [edi + 0x50], xmm0
movntdq xmmword [edi + 0x60], xmm0
movntdq xmmword [edi + 0x70], xmm0
lea edi, [edi + 0x80]
dec ecx
jne 0x8a706c
sfence
emms
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
test dword [0x9d4cb8], 0xfffffe00
jne 0x8a6f7c
test dword [0x9d4cb8], 0xffffff80
jne 0x8a6f58
test dword [0x9d4cb8], 0xffffffff
jne 0x8a719c
call fcn.008a6df8
jmp fcn.008a70b0
push ebp
mov ebp, esp
push esi
mov dword [ebp - 4], edi
xor eax, eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
rep stosb byte es:[edi], al
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40d1b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d1f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404d0c
jmp 0x40d1fa
mov eax, ebx
mov edx, esi
call fcn.00404c70
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d204
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d225
mov al, byte [esp]
jmp 0x40d227
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e6e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e74c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404e84
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040ab14
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e753
lea eax, [ebp - 0xc]
call fcn.00404c1c
ret

Function at 0x420004
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041fe78
dec esi
jne 0x420026
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x421150
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b0c44
cmp dword [edi], 0
jne 0x4211cc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b0c40]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4aac04
mov ecx, 2
call fcn.00402c10
mov edx, 0x421128
lea eax, [esi + 5]
call fcn.00421148
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421148
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 0x4211a1
mov dword [0x4b0c40], 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 0x4226c8
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 0x4226ce
ret
Function at 0x4445b8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4acffc]
cmp byte [eax + 0xc], 0
je 0x444725
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44471e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b0e10], 0
jne 0x44460c
push 0x44472c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444734
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e10], eax
cmp dword [0x4ab1a0], 0
jne 0x444707
push 0x444744
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ab1a0], eax
cmp dword [0x4ab1a0], 0
je 0x444707
push 0x444750
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e14], eax
push 0x444760
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e18], eax
push 0x444774
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e1c], eax
push 0x44478c
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e20], eax
push 0x4447a4
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e24], eax
push 0x4447b8
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e28], eax
push 0x4447d0
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e2c], eax
push 0x4447e8
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e30], eax
push 0x444804
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e34], eax
push 0x444810
mov eax, dword [0x4ab1a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0e38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444725
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404c1c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x448387
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00404e84
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4501c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450218]
test si, 4
je 0x4501dc
or bl, 1
test si, 8
je 0x4501e6
or bl, 4
test si, 1
je 0x4501f0
or bl, 8
test si, 2
je 0x4501fa
or bl, 0x10
test si, 0x10
je 0x450204
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450213
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x456cf4
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 0x456e9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456e80
mov dl, 1
mov eax, dword [0x415a5c]
call fcn.00403d38
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c1c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456e6f
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.00444918
test al, al
je 0x456e62
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, 0x456eb0
lea eax, [ebp - 0x254]
call fcn.0040ba34
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456e62
xor eax, eax
push ebp
push 0x456e5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x456ee8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456e44
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404e84
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 0x456e44
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404e84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456e62
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456d65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a17c
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 0x456ea6
lea eax, [ebp - 0x260]
call fcn.00404c1c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b0e54]
cmp byte [eax + 0xa5], 0
jne 0x457845
cmp dword [0x4b0e6c], 0
jne 0x457806
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457790
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b0e6c], eax
cmp dword [0x4b0e68], 0
jne 0x457821
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b0e68], eax
cmp dword [0x4b0e70], 0
jne 0x457845
push esp
push 0
push 0
push 0x457734
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b0e70], eax
pop edx
ret
Function at 0x45793c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457953
add esp, 0xfffffff0
call fcn.004040cc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004200cc
mov eax, dword [0x4ace08]
cmp word [eax + 2], 0
jne 0x45797b
mov eax, dword [0x4ace08]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458f70
mov eax, dword [0x4acea8]
cmp word [eax + 2], 0
jne 0x457995
mov eax, dword [0x4acea8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459168
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4154b4]
call fcn.00403d38
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4154b4]
call fcn.00403d38
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42257c]
call fcn.00429bf8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457b1c
mov eax, dword [0x4acd2c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429fc8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4596d8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4acd2c]
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.0040e680
test eax, eax
je 0x457a8a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b390
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e6a8
test eax, eax
je 0x457a9e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00404e84
mov eax, dword [0x4acc1c]
cmp byte [eax], 0
jne 0x457ad2
mov eax, ebx
call fcn.00457c44
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004598b4
mov eax, ebx
call fcn.0045a1f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457b12
call fcn.00404124
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457eb8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b0e54]
cmp dword [eax + 0x30], 0
je 0x457f62
cmp dword [ebx + 0x94], 0
jne 0x457f5c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457e48
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457f5c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x457f22
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457f5c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417cd8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457f31
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458a40
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x458a75
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404d0c
jmp 0x458a82
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c70
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459a90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459ad1
mov eax, esi
call fcn.00440094
test al, al
je 0x459ad1
mov eax, dword [ebx + 0x84]
call fcn.0043fd90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459ad1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043fd90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret