Function at 0x475264
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push 0
push 0x48e848
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4752e1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4752a4
push 0
push 0xf120
push 0x112
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x40]
je 0x4752cd
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0x48e958
call fcn.00474bd7
add esp, 4
xor eax, eax
jmp 0x4755ae
mov eax, dword [ebp + 8]
mov dword [0x4b6a60], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x47532f
push 0xc
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x3c]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x48], 8
jge 0x47532f
push 0x48e964
call fcn.00474bd7
add esp, 4
xor eax, eax
jmp 0x4755ae
cmp dword [ebp + 0xc], 0
jne 0x47539f
mov dword [ebp - 0x38], 0x100b
mov dword [ebp - 0x34], 0x474e57
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0x89
mov ecx, dword [ebp + 8]
push ecx
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], 0x48e848
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x47539f
xor eax, eax
jmp 0x4755ae
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0047ec2b
add esp, 8
cmp dword [ebp - 8], 0x280
jl 0x4753c1
cmp dword [ebp - 4], 0x188
jge 0x4753d5
push 0x48e988
call fcn.00474bd7
add esp, 4
xor eax, eax
jmp 0x4755ae
mov eax, dword [ebp - 8]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, 1
shl eax, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, 1
shl eax, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1e0
jge 0x47540f
mov dword [ebp - 0xc], 0x1e0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.0047b410
add esp, 8
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x23f0000
push 0x48e848
push 0x48e848
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4b6a68], eax
cmp dword [0x4b6a68], 0
je 0x4755ac
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
cmp dword [ebp - 0x5c], 0x280
jge 0x4754b8
mov dword [ebp - 0x64], 0x280
jmp 0x4754be
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x60], 0x1e0
jge 0x4754d6
mov dword [ebp - 0x68], 0x1e0
jmp 0x4754dc
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
push 1
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [0x4b6a68]
push eax
call fcn.0047ca88
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 0x58]
push edx
call fcn.0047b739
add esp, 8
push 0
call fcn.0047cae3
add esp, 4
mov eax, dword [0x48e85c]
cmp eax, dword [ebp - 0xc]
jge 0x47552f
mov ecx, dword [0x48e85c]
mov dword [ebp - 0x6c], ecx
jmp 0x475535
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x6c], edx
push 0
mov eax, dword [ebp - 0x6c]
sub eax, 0x28
push eax
mov ecx, dword [0x48e858]
push ecx
call fcn.0047ec82
add esp, 0xc
mov ecx, 0x497fb0
call fcn.00425c60
test eax, eax
jne 0x47555f
xor eax, eax
jmp 0x4755ae
mov edx, dword [0x4b6a60]
push edx
call fcn.0045f8ce
add esp, 4
test eax, eax
jne 0x475576
xor eax, eax
jmp 0x4755ae
mov eax, dword [0x4b6a68]
push eax
call fcn.00476894
add esp, 4
test eax, eax
je 0x47558c
xor eax, eax
jmp 0x4755ae
push 0
push 0x1f4
push 0x3e7
mov ecx, dword [0x4b6a68]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
jmp 0x4755ae
xor eax, eax
mov esp, ebp
pop ebp
ret 8