joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4419e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406cd4
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043c72c
test ebx, ebx
jne 0x441a33
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0044191c
mov ebx, eax
test ebx, ebx
je 0x441b1e
cmp esi, ebx
je 0x441a5c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x441a71
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x441aa9
add eax, 0xffffff5f
sub eax, 2
jb 0x441ac1
dec eax
sub eax, 2
jb 0x441ad5
dec eax
sub eax, 2
jb 0x441acb
jmp 0x441adf
add eax, 0xfffffdff
sub eax, 2
jb 0x441ac1
dec eax
sub eax, 2
jb 0x441ad5
dec eax
sub eax, 2
jb 0x441acb
jmp 0x441adf
mov byte [esp + 0x120], 0
jmp 0x441ae7
mov byte [esp + 0x120], 2
jmp 0x441ae7
mov byte [esp + 0x120], 1
jmp 0x441ae7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00450428
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043dec8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x441b20
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x449d68
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x492040]
cmp byte [eax + 0xc], 0
je 0x449ed5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449ece
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x497c54], 0
jne 0x449dbc
push 0x449edc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x449ee4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c54], eax
cmp dword [0x490570], 0
jne 0x449eb7
push 0x449ef4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x490570], eax
cmp dword [0x490570], 0
je 0x449eb7
push 0x449f00
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c58], eax
push 0x449f10
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c5c], eax
push 0x449f24
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c60], eax
push 0x449f3c
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c64], eax
push 0x449f54
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c68], eax
push 0x449f68
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c6c], eax
push 0x449f80
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c70], eax
push 0x449f98
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c74], eax
push 0x449fb4
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c78], eax
push 0x449fc0
mov eax, dword [0x490570]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497c7c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449ed5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ff6c
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 0x44ff8d
test edi, 0x40000
je 0x44ffa7
test bl, bl
jne 0x450028
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x450028
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 0x44ffda
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x44ffef
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x44fffe
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x45000f
cmp byte [esp + 2], 0
je 0x450028
cmp byte [esp + 2], 0
je 0x450020
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x450028
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4502cc
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 0x4502f2
mov eax, esp
push eax
push 0x450294
call sub.user32.dll_EnumWindows
jmp 0x450305
mov eax, esp
push eax
push 0x450274
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 0x450390
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4503e4]
test si, 4
je 0x4503a5
or bl, 1
test si, 8
je 0x4503af
or bl, 4
test si, 1
je 0x4503b9
or bl, 8
test si, 2
je 0x4503c3
or bl, 0x10
test si, 0x10
je 0x4503cd
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4503dc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4503e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450424]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450402
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450411
or bl, 4
test esi, 0x20000000
je 0x45041c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458490
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4584a2
add esp, 0xfffffff0
call fcn.00403f1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d084
mov eax, dword [0x491b00]
mov dword [eax + 4], ebx
mov dword [eax], 0x458834
mov eax, dword [0x491b10]
mov dword [eax + 4], ebx
mov dword [eax], 0x458840
mov eax, ebx
call fcn.0045884c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403be0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403be0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403be0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403be0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403be0
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, 0x453cf4
push eax
push 0
push 0
mov eax, dword [0x491d38]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420cc8]
call fcn.004221e8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420cc8]
call fcn.004221e8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420cc8]
call fcn.004221e8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458cc4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458b94
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458b94
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458b94
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4585df
call fcn.00403f74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458978
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 0x458b23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458b04
mov dl, 1
mov eax, dword [0x413d8c]
call fcn.00403be0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404af8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458af3
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.0044a0c4
test al, al
je 0x458ae6
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, 0x458b34
lea eax, [ebp - 0x254]
call fcn.0040a38c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458ae6
xor eax, eax
push ebp
push 0x458adf
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 0x458b6c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458ac8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d68
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 0x458ac8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458ae6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4589e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004187b0
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 0x458b2a
lea eax, [ebp - 0x260]
call fcn.00404af8
ret

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

Disassembly:
push ecx
mov eax, dword [0x497c98]
cmp byte [eax + 0xad], 0
jne 0x45950d
cmp dword [0x497cb4], 0
jne 0x4594ce
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459458
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x497cb4], eax
cmp dword [0x497cb0], 0
jne 0x4594e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x497cb0], eax
cmp dword [0x497cb8], 0
jne 0x45950d
push esp
push 0
push 0
push 0x4593fc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x497cb8], eax
pop edx
ret
Function at 0x459710
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459727
add esp, 0xfffffff0
call fcn.00403f1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d084
mov eax, dword [0x491d18]
cmp word [eax + 2], 0
jne 0x45974f
mov eax, dword [0x491d18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b418
mov eax, dword [0x491e34]
cmp word [eax + 2], 0
jne 0x459769
mov eax, dword [0x491e34]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b624
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403be0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403be0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4136bc]
call fcn.00403be0
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 [0x4214a4]
call fcn.004273ac
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x459920
mov eax, dword [0x491bac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427780
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bce8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x491bac]
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.0040e06c
test eax, eax
je 0x459870
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409994
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e0a0
test eax, eax
je 0x459884
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d68
mov byte [ebx + 0xd4], 0
push ebx
push 0x45ae8c
call fcn.0041e200
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4919cc]
cmp byte [eax], 0
jne 0x4598d5
mov eax, ebx
call fcn.00459a64
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.0045befc
mov eax, ebx
call fcn.0045ca60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459915
call fcn.00403f74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459ce4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x459d83
cmp dword [ebx + 0x94], 0
jne 0x459d7d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459c6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459d7d
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 0x459d43
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459d7d
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.00415df0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459d52
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459f9c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x497c98]
cmp dword [eax + 0x30], 0
je 0x45a0f9
test bl, bl
jne 0x45a04a
cmp dword [esi + 0x9c], 0
jne 0x45a03f
mov eax, esi
call fcn.0045c8dc
push eax
push 0x459ec8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45a010
mov eax, dword [0x497c98]
call fcn.0045cecc
test al, al
je 0x45a010
mov eax, dword [0x497cbc]
call fcn.00405d64
mov edi, eax
cmp edi, 0
jl 0x45a010
push 0
mov eax, dword [0x497cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x459ffa
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a03f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415df0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a01f
inc dword [esi + 0x9c]
jmp 0x45a0f9
cmp dword [esi + 0x9c], 0
jle 0x45a0f9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45a0f9
cmp dword [esi + 0x44], 0
je 0x45a0a5
mov eax, dword [0x497c98]
call fcn.0045cecc
test al, al
je 0x45a0a5
mov eax, dword [0x497cbc]
call fcn.00405d64
mov edi, eax
cmp edi, 0
jl 0x45a0a5
push 5
mov eax, dword [0x497cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a08f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a0d4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415df0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a0b4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x497cbc
mov ecx, 1
mov edx, dword [0x459ea8]
call fcn.00405f18
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45abe0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45ac4a
mov eax, ebx
call fcn.0045cecc
test al, al
jne 0x45ac4a
push pe_nt_image_headers32
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.00404be8
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45ac37
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45ac57
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b4c
jmp 0x45ac57
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b4c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45c0e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c14e
mov eax, esi
call fcn.00444eac
test al, al
je 0x45c14e
mov eax, dword [ebx + 0x84]
call fcn.00444b0c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c14e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45c142
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444b0c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043cb04
jmp 0x45c14e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045bf1c
pop esi
pop ebx
ret

Function at 0x45d1e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d253
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404af8
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jbe 0x45d233
lea eax, [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404d68
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d25a
lea eax, [ebp - 4]
call fcn.00404af8
ret

Function at 0x45d260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d2cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404af8
lea eax, [ebp - 0x104]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x45d2af
lea eax, [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404d68
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d2d6
lea eax, [ebp - 4]
call fcn.00404af8
ret
Function at 0x45d2dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f78
xor eax, eax
push ebp
push 0x45d366
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00404af8
lea eax, [ebp - 0x108]
push eax
push 0
push 0x45d374
mov eax, dword [ebp - 4]
call fcn.00404f88
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jbe 0x45d341
lea eax, [ebp - 8]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00404d68
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d36d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b1c
ret

Function at 0x45d378
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x45d4d4
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x497ccc]
push dword [0x497cd0]
push 0x45d4ec
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00403288
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409858
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
mov edx, 0x45d4f8
call fcn.00409790
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404e8c
call fcn.0040b470
call fcn.00403334
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004095ac
test al, al
jne 0x45d45b
mov eax, dword [ebp - 4]
call fcn.00404f88
mov ebx, eax
push ebx
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0040908c
mov eax, dword [ebp - 0x14]
call fcn.00404f88
push eax
push 0x45d500
push 0x45d508
call sub.kernel32.dll_WritePrivateProfileStringA
push ebx
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0040908c
mov eax, dword [ebp - 0x18]
call fcn.00404f88
push eax
push 0x45d50c
push 0x45d508
call sub.kernel32.dll_WritePrivateProfileStringA
push ebx
push 0x45d514
push 0x45d518
push 0x45d51c
call sub.kernel32.dll_WritePrivateProfileStringA
xor ebx, ebx
jmp 0x45d4b9
mov eax, dword [ebp - 4]
call fcn.00404f88
mov edi, eax
push edi
push 0
push 0x45d518
push 0x45d51c
call sub.kernel32.dll_GetPrivateProfileIntA
test eax, eax
setne bl
test bl, bl
jne 0x45d4b9
push edi
push 0
push 0x45d500
push 0x45d508
call sub.kernel32.dll_GetPrivateProfileIntA
mov ecx, eax
mov eax, esi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jle 0x45d4b9
push edi
push 0x45d520
push 0x45d518
push 0x45d51c
call sub.kernel32.dll_WritePrivateProfileStringA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d4db
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404b1c
ret
Function at 0x47eff8
Capabilities:
Get common file path

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 0x47f08f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00405218
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404f88
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404db8
test eax, eax
jns 0x47f03f
call fcn.00403ad8
push eax
call sub.kernel32.dll_GetTempPathA
test eax, eax
jns 0x47f04e
call fcn.00403ad8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405218
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [0x4634b0]
call fcn.004625cc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00404b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f096
lea eax, [ebp - 0xc]
call fcn.00404af8
ret

Function at 0x482e98
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x482f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00482e74
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00480464
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.0047fec0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482f10
lea eax, [ebp - 0x14]
call fcn.00404af8
ret