joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476870
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
push esi
push edi
push 0
call fcn.0047e4b0
push 0
call fcn.00476530
mov eax, dword [esp + 0x14]
push eax
push 0x5b96e0
call fcn.004d631b
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [0x5b5648], ecx
push 0x5b9260
push 0
push str.FullScreen
push str.Viewing
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x476938
test esi, esi
jne 0x476938
mov edx, dword [0x5b5528]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4768e9
mov eax, dword [0x5b5528]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47698d
mov ecx, dword [0x5b5528]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x476927
mov edx, dword [0x5b5528]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x476927
mov eax, dword [0x5b5528]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call fcn.004789f0
add esp, 8
jmp 0x47698d
mov ecx, dword [0x5b5528]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47698d
mov eax, dword [0x5b5510]
test eax, eax
je 0x47695f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [0x5b5510]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x5b5510], 0
mov eax, dword [0x5b5530]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47698d
xor ecx, ecx
mov edx, dword [0x5b5528]
test esi, esi
setne cl
add ecx, 0x65
push ecx
push 0x448
push 0x111
push edx
call edi
mov eax, dword [0x5b5528]
push 0
push 0x472
push 0x111
push eax
call edi
pop edi
pop esi
jmp fcn.0047dbe0

Function at 0x4769b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x5b5558]
push 0x104
push 0x5b6fc0
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [0x5b6fc0], 0
jne 0x4769fe
mov ecx, dword [0x5b5558]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push ecx
call esi
mov edx, dword [0x5b5558]
push 0x5b6fc0
push eax
push 0x148
push edx
call esi
pop esi
push 1
push 0
push 0x5b6fc0
call fcn.00477530
add esp, 0xc
ret
Function at 0x476c30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xb8
mov eax, dword [0x5b550c]
push 0x3ef
push eax
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x4bd700
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], 0x59a1bc
mov dword [esp + 0x38], str.IrfanViewThumbnails
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0x5b9260
push 0x59a1bc
lea ecx, [esp + 0x14]
push 0x140
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0xd0]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004c4e30
mov eax, dword [0x5b5574]
add esp, 0x20
push 0x59a1bc
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x38]
push 0x20
push ecx
push 0x49a
push edx
mov dword [0x5b557c], eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x38]
push eax
push 0x5b96a0
push 0x598d30
push 0x5b6fc0
call fcn.004d5ee1
mov al, byte [0x59f780]
add esp, 0x10
test al, al
jns 0x476d3c
push 0x5ba160
push 0x5b6fc0
call fcn.004d62f1
add esp, 8
mov ecx, dword [0x5b550c]
mov edx, dword [0x5b557c]
mov eax, dword [esp + 0xc]
push esi
push 0
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push 0xcf0000
push 0x5b6fc0
push str.IrfanViewThumbnails
push 0
call esi
push 0x14
push 0x10
mov dword [0x5b554c], eax
call fcn.00542880
add esp, 4
push eax
push 0x10
push 0x10
call fcn.004c5330
mov ecx, dword [0x5b550c]
add esp, 4
mov edx, dword [0x5b554c]
push eax
push 0x10
push 0
push 0
push 0
push ecx
push 0
push 0x7d3
push 0x50800801
push edx
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
push 0x5b9260
push 1
push str.ViewMRUDs
push 0x59a1bc
mov dword [0x5b5554], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x476df0
push eax
mov eax, dword [0x5b5554]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5b561c]
test eax, eax
je 0x476e0c
mov eax, dword [0x5b5554]
push 1
push eax
push 0x476b80
push eax
call sub.COMCTL32.dll_SetWindowSubclass
mov ecx, dword [0x5b550c]
mov edx, dword [0x5b5554]
push 0
push ecx
push 0
push edx
push 0x1c2
call fcn.004c5330
add esp, 4
push eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff8
push eax
push 2
push 1
push 0x50a00203
push 0x5aae60
push str.COMBOBOX
push 0
call esi
mov ecx, dword [esp + 0xc4]
push 0
push ecx
push 0x30
push eax
mov dword [0x5b5558], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5b561c]
pop esi
test eax, eax
je 0x476e85
call fcn.004c5c90
test eax, eax
je 0x476e85
mov edx, dword [0x5b5558]
push edx
call fcn.00443c20
add esp, 4
mov eax, dword [0x5b5558]
push 1
push eax
push 0x476a10
push eax
call sub.COMCTL32.dll_SetWindowSubclass
mov eax, 1
add esp, 0xb8
ret
Function at 0x477120
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x620
push esi
mov esi, dword [esp + 0x628]
push edi
push esi
mov dword [esp + 0xc], 0
call fcn.004d6713
add esp, 4
test eax, eax
jle 0x47725b
mov eax, dword [0x59f724]
test eax, eax
je 0x47725b
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push 0x30c
push ecx
call fcn.00475d20
mov edx, dword [0x5b54fc]
mov dword [0x5b5648], 0
push edx
call fcn.00475a60
mov eax, dword [0x5b5500]
add esp, 0x10
test eax, eax
je 0x47719c
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [0x5b5500], 0
push esi
call fcn.004c9990
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x634]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [0x5b54fc]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push ecx
call fcn.00475f50
mov esi, dword [0x59f744]
add esp, 0x1c
push 0x5b9260
push 1
push str.FullSort
push 0x59a1bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4771ed
add esi, 0x64
mov eax, dword [0x59f744]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x1e
je 0x477211
mov edx, dword [0x5b54fc]
push fcn.00474430
push esi
push 0x1030
push edx
call edi
mov eax, dword [0x5b54fc]
push 0x5b96e0
push eax
call fcn.00474f70
mov ecx, dword [0x5b554c]
add esp, 8
mov dword [0x5b5648], eax
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47725b
mov edx, dword [0x5b554c]
push 0
push 0x48f
push 0x111
push edx
call edi
push 0
push 0
call fcn.004b80b0
add esp, 8
pop edi
pop esi
add esp, 0x620
ret
Function at 0x477680
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x48c
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push ebp
push esi
push edi
push eax
push str.SOFTWAREClassesIrfanView
push 0x80000002
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x477751
push 0x5b96a0
call fcn.004d6713
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push 0x5b96a0
push 1
push 0
push 0
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x294]
push 0x104
push ecx
push 0
call ebp
lea edx, [esp + 0x294]
lea eax, [esp + 0x14]
push edx
push str.__s_____1_
push eax
call fcn.004d5ee1
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push str.SOFTWAREClassesIrfanView_shellopencommand
push 0x80000002
call ebx
test eax, eax
jne 0x477751
lea edx, [esp + 0x14]
push edx
call fcn.004d6713
mov edx, dword [esp + 0x14]
add esp, 4
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x14]
push eax
push ecx
push 1
push 0
push 0
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
push str.Applicationsi_view32.exe_shellopencommand
push 0x80000000
call ebx
test eax, eax
jne 0x4777b8
lea edx, [esp + 0x294]
push 0x104
push edx
push eax
call ebp
lea eax, [esp + 0x294]
lea ecx, [esp + 0x14]
push eax
push str.__s_____1_
push ecx
call fcn.004d5ee1
lea edx, [esp + 0x20]
push edx
call fcn.004d6713
mov edx, dword [esp + 0x20]
add esp, 0x10
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x14]
push eax
push ecx
push 1
push 0
push 0
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48c
ret

Function at 0x4777d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x410
lea eax, [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x5b9260
push 0x104
push eax
push 0x5aae60
push 0x59f938
push str.Language
call esi
lea ecx, [esp + 4]
push ecx
call fcn.004d6713
add esp, 4
test eax, eax
jne 0x477841
lea edx, [esp + 0x20c]
push edx
call fcn.004c56b0
add esp, 4
lea eax, [esp + 0x20c]
lea ecx, [esp + 4]
push eax
push 0x104
push ecx
push 0x5aae60
push str.DefaultLang
push str.Language
call esi
lea edx, [esp + 4]
push edx
call fcn.004d6713
add esp, 4
test eax, eax
pop esi
jbe 0x47786f
mov ecx, dword [esp + 0x414]
lea eax, [esp]
push eax
push ecx
call fcn.004d631b
add esp, 8
add esp, 0x410
ret
mov edx, dword [esp + 0x414]
push str.ENGLISH
push edx
call fcn.004d631b
add esp, 8
add esp, 0x410
ret
Function at 0x479d20
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
lea eax, [esp]
push 0x200
push eax
call fcn.00479d10
mov ecx, dword [esp + 0x410]
mov edx, dword [esp + 0x40c]
add esp, 8
lea eax, [esp]
push 0x5b9260
push ecx
push edx
push eax
push str.ZoomTable
push str.Viewing
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x400
ret
Function at 0x47a340
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push esi
mov ecx, eax
xor esi, esi
push edi
or ecx, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea edi, [esp + 0x10]
je 0x47a365
mov edi, eax
mov edx, dword [0x5b552c]
mov ebx, dword [sym.imp.USER32.dll_GetScrollPos]
push 1
push edx
call ebx
push eax
mov eax, dword [0x5b552c]
push esi
push eax
call ebx
mov ecx, dword [0x5b903c]
mov edx, dword [0x5b8fc0]
push eax
mov eax, dword [0x59f720]
push ecx
mov ecx, dword [0x59f770]
push edx
mov edx, dword [edi + 4]
push eax
push eax
mov eax, dword [0x59f774]
push eax
mov eax, dword [edi]
push ecx
mov ecx, dword [0x5b552c]
push edx
push eax
push ecx
call fcn.004d0b10
mov ebx, eax
mov eax, dword [0x5b5598]
add esp, 0x2c
cmp eax, esi
mov ebp, edx
push esi
je 0x47a3e5
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push edx
mov edx, dword [0x5b55b8]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [0x5b55b4]
push ecx
push edx
push eax
jmp 0x47a402
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x5b9250]
lea eax, [esp + 0x28]
push edx
mov edx, dword [0x5ba150]
push eax
push ecx
push edx
push 0x59f770
call fcn.00479fa0
add esp, 0x1c
cmp eax, esi
jl 0x47a570
mov eax, dword [0x59f718]
push eax
call fcn.004ccaf0
add esp, 4
test eax, eax
je 0x47a495
mov ecx, dword [0x5b5538]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47a495
mov edx, dword [0x5b5538]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 0x808
push edx
call edi
fld qword [0x59f770]
fadd qword [0x5526c8]
call fcn.004d6118
push eax
mov eax, dword [0x5b5538]
push esi
push 0x46c
push eax
call edi
mov ecx, dword [0x5b5538]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x5b5538]
push esi
push esi
push 0x806
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [0x5b552c]
push esi
push esi
push 0x412
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x47a4c0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x47a4c0
mov esi, 0x10001
mov ecx, dword [0x5b552c]
push 0x5b903c
push 0x5b8fc0
push ecx
call fcn.004d2910
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push 0
push edx
push eax
call fcn.00478c00
mov ecx, dword [0x5b552c]
add esp, 0x18
push 0
push 0
push 0x407
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5b8fc0]
mov edx, esi
push edi
push ebp
and edx, 0xffff
push ebx
push edx
push 0
push eax
call fcn.0047a160
mov ecx, dword [0x5b903c]
push edi
push ebp
push ebx
shr esi, 0x10
push esi
push 1
push ecx
call fcn.0047a160
mov eax, dword [0x5b5518]
add esp, 0x30
test eax, eax
je 0x47a558
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [0x5b5518]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x5b5518], 0
mov eax, dword [0x5b55f4]
push 0
push 4
push eax
push 1
push 0
push 0
call fcn.004788e0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x47afa0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [esp + 0x20]
push esi
call fcn.004d6713
add esp, 4
test eax, eax
jbe 0x47afe1
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
push str._d__d__f__f__d_
push esi
call fcn.004d6c09
add esp, 0x1c
jmp 0x47b069
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x5b9260
push 0
push str.CustSelX
push 0x59aa2c
call esi
push 0x5b9260
push 0
push str.CustSelY
push 0x59aa2c
mov dword [esp + 0x14], eax
call esi
push 0x5b9260
push 0x59f014
push str.CustSelW
push 0x59aa2c
mov dword [esp + 0x30], eax
call fcn.004c8880
fstp dword [esp + 0x18]
push 0x5b9260
push 0x59f00c
push str.CustSelH
push 0x59aa2c
call fcn.004c8880
fstp dword [esp + 0x2c]
add esp, 0x20
push 0x5b9260
push 0
push str.CustUnit
push 0x59aa2c
call esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
xor edx, edx
test eax, eax
setle dl
dec edx
xor ecx, ecx
and edx, eax
mov eax, dword [esp + 0x20]
fld dword [esp + 8]
test eax, eax
setle cl
dec ecx
mov dword [esp + 4], edx
and ecx, eax
mov dword [esp + 0x20], ecx
call fcn.004d6118
fld dword [esp + 0xc]
mov esi, eax
call fcn.004d6118
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x47b106
mov ecx, dword [0x5b5510]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
push ecx
call fcn.004c5070
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push 1
push edx
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004c7c80
fld dword [esp + 0x40]
add esp, 0x38
call fcn.004d6118
fld dword [esp + 0xc]
mov esi, eax
call fcn.004d6118
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
push ecx
call fcn.0047ad30
mov eax, dword [0x5b6ec8]
mov edx, dword [0x5b6ec0]
sub eax, edx
add esp, 0x10
cdq
xor eax, edx
mov dword [0x5b5624], 1
sub eax, edx
pop esi
test eax, eax
jle 0x47b151
mov eax, dword [0x5b6ecc]
mov edx, dword [0x5b6ec4]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
test eax, eax
jg 0x47b159
add esp, 0x18
jmp fcn.00476800
add esp, 0x18
ret

Function at 0x47b3a0
Capabilities:
Change the wallpaper

Disassembly:
mov eax, dword [esp + 4]
push esi
push 3
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push 0
push 0x1a
call esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0x14
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
push 0
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret
Function at 0x47c3b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x304
push ebx
mov edx, dword [esp + 0x30c]
push esi
push edi
mov ecx, 0xc0
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
call fcn.0042b1f0
add esp, 0xc
test eax, eax
je 0x47c514
push 0
call fcn.0047c2f0
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
add esp, 4
push 0x7f02
push 0
call edi
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
mov eax, dword [esp + 0x318]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x47c4c8
xor esi, esi
cmp eax, ecx
jge 0x47c482
cmp eax, 1
jne 0x47c45f
cmp ecx, 4
jne 0x47c449
mov eax, dword [0x5b5510]
push eax
call fcn.00424180
mov ecx, dword [esp + 0x10]
add esp, 4
mov esi, eax
cmp ecx, 8
jne 0x47c4a1
mov ecx, dword [0x5b5510]
push ecx
call fcn.00424370
add esp, 4
jmp 0x47c49f
cmp eax, 4
jne 0x47c508
cmp ecx, 8
jne 0x47c508
mov edx, dword [0x5b5510]
push edx
call fcn.00423fd0
add esp, 4
jmp 0x47c49f
mov eax, 1
push 1
shl eax, cl
mov ecx, dword [0x5b5510]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ecx
call fcn.0041bb90
add esp, 0x14
mov esi, eax
test esi, esi
je 0x47c508
mov eax, dword [0x5b5510]
test eax, eax
je 0x47c4c2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [0x5b5510]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x5b5510], esi
push 0x5b9260
push 1
push str.PaletteNearest
push str.Others
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x5b5510]
push eax
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.0042b470
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x304
ret
push 0x7f00
push 0
call edi
push eax
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x304
ret

Function at 0x47ccb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 8
push 0x5b9260
push 0x40
push 0x5b6fc0
push 0x5a01e4
push str.CaptureTimer
push str.Capture
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x5b6fc0
call fcn.004c5910
fstp qword [esp + 4]
fld qword [esp + 4]
fcomp qword [0x552790]
add esp, 4
fnstsw ax
test ah, 0x41
jp 0x47cd06
mov dword [esp], 0
mov dword [esp + 4], 0x4082c000
fld qword [esp]
fmul qword [0x552940]
add esp, 8
jmp fcn.004d6118

Function at 0x47ce60
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x47ce71
call fcn.0047ccb0
mov esi, eax
mov edi, dword [esp + 0x10]
cmp esi, 0xbb8
mov dword [edi], 0
jb 0x47cebb
push 0x5b9260
push 0
push str.ShowCountdown
push str.Capture
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x47cebb
mov eax, 0x10624dd3
push edi
imul esi
sar edx, 6
mov eax, edx
push esi
shr eax, 0x1f
add edx, eax
mov dword [edi], edx
call fcn.0047cd20
add esp, 8
pop edi
pop esi
ret
Function at 0x47d1d0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x14
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jge 0x47d1f9
push 0x5b9260
push esi
push str.Window
push str.Capture
call edi
push 0x5b9260
push 1
push str.IncludeCursor
push str.Capture
mov dword [esp + 0x3c], eax
call edi
push 0x5b9260
push 0
push str.CursorCircle
push str.Capture
mov ebx, eax
call edi
push 0x5b9260
push 0
push str.UseTimer
push str.Capture
mov ebp, eax
call edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
test edi, edi
jne 0x47d258
push edi
push edi
push ebp
push ebx
push edi
call fcn.004279b0
add esp, 0x14
jmp 0x47d3d3
cmp edi, 1
jne 0x47d2a0
mov eax, dword [0x5b5528]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d286
mov eax, dword [0x5b5528]
push eax
push 0
push ebp
push ebx
push 0
call fcn.004279b0
add esp, 0x14
jmp 0x47d3d3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push 0
push ebp
push ebx
push 0
call fcn.004279b0
add esp, 0x14
jmp 0x47d3d3
cmp edi, 4
jne 0x47d2f9
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0047c890
mov esi, eax
test esi, esi
jne 0x47d3d5
mov ecx, dword [0x5b5528]
push ecx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x47d411
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x47d411
mov edx, dword [0x5b5528]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
cmp edi, 5
jne 0x47d30d
push 1
call fcn.0047c9f0
add esp, 4
jmp 0x47d3d5
cmp edi, 7
jne 0x47d3a8
mov eax, dword [esp + 0x34]
cmp word [eax], 0
je 0x47d330
push eax
push 0x5b6fc0
call fcn.004d631b
add esp, 8
jmp 0x47d354
push 0x5b9260
push 0x104
push 0x5b6fc0
push str.0_0_640_480_
push str.Rect
push str.Capture
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push str._d__d__d__d_
push 0x5b6fc0
call fcn.004d6c09
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
push 0
push 0
push ebp
lea eax, [esp + 0x38]
add edi, ecx
add esi, edx
push ebx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
call fcn.004279b0
add esp, 0x2c
jmp 0x47d3d3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push ebp
push ebx
push 0
push 0
push 0
push 0
push edi
push esi
call fcn.00427e70
add esp, 0x28
mov esi, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47d3e7
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push esi
call fcn.0047cec0
add esp, 0x10
test esi, esi
je 0x47d411
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret