Function at 0x475264
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push 0x48c8d8
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4752c9
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x47529e
push 0
push 0xf120
push 0x112
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x10]
je 0x4752c2
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, 0x48e958
jmp 0x475302
mov eax, dword [ebp + 8]
mov dword [0x4b6a60], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x475310
push 0xc
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x3c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x48], 8
jge 0x475310
mov eax, 0x48e964
push eax
call fcn.00474bd7
add esp, 4
jmp 0x4754c0
push 0x48b1e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4ce7ac], eax
cmp dword [ebp + 0xc], 0
jne 0x47537c
mov dword [ebp - 0x38], 0x100b
mov dword [ebp - 0x34], 0x474e6a
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0x89
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x18], 0x48e980
mov dword [ebp - 0x14], 0x48b3f4
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x47530b
call fcn.00426248
test eax, eax
je 0x4754c0
mov dword [ebp - 0xc], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x23f0000
push 0x48c8d8
push 0x48b3f4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4b6a68], eax
test eax, eax
je 0x4754c0
push 0
lea edx, [ebp - 0x58]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, 1
shl eax, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, 1
shl eax, 4
mov dword [ebp - 0x60], eax
mov eax, 0x280
cmp dword [ebp - 0x5c], eax
jge 0x47541a
mov dword [ebp - 0x5c], eax
mov eax, 0x1e0
cmp dword [ebp - 0x60], eax
jge 0x475427
mov dword [ebp - 0x60], eax
push 1
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
push dword [0x4b6a68]
call fcn.0047ca88
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 0x58]
call fcn.0047b739
nop
nop
push 0
call fcn.0047cae3
mov eax, dword [0x48e85c]
cmp eax, dword [ebp - 0xc]
jl 0x475461
mov eax, dword [ebp - 0xc]
push 0
sub eax, 0x28
push eax
push dword [0x48e858]
call fcn.0047ec82
call fcn.00417522
test eax, eax
je 0x4754c0
push dword [0x4b6a60]
call fcn.0045f8aa
test eax, eax
je 0x4754c0
push dword [0x4b6a68]
call fcn.00476894
add esp, 4
test eax, eax
jne 0x4754c0
push 0
push 0x1f4
push 0x3e7
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov byte [0x500fff], al
jmp 0x4754c2
xor eax, eax
mov esp, ebp
pop ebp
ret 8