Function at 0x475264
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push 0x48e9c4
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4752d4
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]
push 0x48e958
call fcn.00474bd7
add esp, 4
jmp 0x475552
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 0x47531a
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 0x47531a
push 0x48e964
call fcn.00474bd7
add esp, 4
jmp 0x475552
push str.CmdIcon.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x500f2f], eax
cmp dword [ebp + 0xc], 0
jne 0x475388
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], str.SOUSOU
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
je 0x4753b7
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0047ec2b
add esp, 8
cmp dword [ebp - 8], 0x280
jl 0x4753aa
cmp dword [ebp - 4], 0x188
jge 0x4753bc
push 0x48e988
call fcn.00474bd7
add esp, 4
jmp 0x475552
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 0x4753f6
mov dword [ebp - 0xc], 0x1e0
push dword [ebp - 0xc]
push dword [ebp - 0x44]
call fcn.0047b410
add esp, 8
push 0
push dword [ebp + 8]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x23f0000
push 0x48e9c4
push str.SOUSOU
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4b6a68], eax
test eax, eax
je 0x475552
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 0x475495
mov dword [ebp - 0x5c], 0x280
cmp dword [ebp - 0x60], 0x1e0
jge 0x4754a5
mov dword [ebp - 0x60], 0x1e0
push 1
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
push dword [0x4b6a68]
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
nop
nop
nop
mov eax, dword [0x48e85c]
cmp eax, dword [ebp - 0xc]
jl 0x4754e8
mov eax, dword [ebp - 0xc]
push 0
sub eax, 0x28
push eax
push dword [0x48e858]
call fcn.0047ec82
nop
nop
nop
mov ecx, 0x497fb0
call fcn.00425c60
test eax, eax
je 0x475552
push dword [0x4b6a60]
call fcn.0045f8aa
add esp, 4
test eax, eax
je 0x475552
push dword [0x4b6a68]
call fcn.00476894
add esp, 4
test eax, eax
jne 0x475552
push 0
push 0x1f4
push 0x3e7
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov dword [0x500ffc], eax
jmp 0x475554
xor eax, eax
mov esp, ebp
pop ebp
ret 8