Function at 0x40e6d6
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 0
push 0x44eda8
call dword [sym.imp.user32.DLL_FindWindowA_1]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40e762
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.user32.DLL_IsIconic_1]
test eax, eax
je 0x40e721
push 0
push 0xf120
push 0x112
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.user32.DLL_SendMessageA_1]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.user32.DLL_GetLastActivePopup_1]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.user32.DLL_BringWindowToTop_1]
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
je 0x40e74e
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.user32.DLL_BringWindowToTop_1]
push 0x44eeac
call fcn.0040e2c8
add esp, 4
xor eax, eax
jmp 0x40eacb
mov eax, dword [ebp + 8]
mov dword [0x45d2e8], eax
push 0
call dword [sym.imp.user32.DLL_GetDC_1]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40e7d9
push 0x26
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps_1]
and eax, 0x100
mov dword [ebp - 0x4c], eax
push 0x68
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps_1]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
push eax
push 0
call dword [sym.imp.user32.DLL_ReleaseDC_1]
cmp dword [ebp - 0x4c], 0
nop
nop
nop
nop
nop
nop
cmp dword [ebp - 0x48], 0x100
jmp 0x40e7d9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0044650d
add esp, 8
cmp dword [ebp - 4], 0x280
jl 0x40e803
cmp dword [ebp - 8], 0x190
jg 0x40e817
push 0x44eed8
call fcn.0040e2c8
add esp, 4
xor eax, eax
jmp 0x40eacb
cmp dword [ebp + 0xc], 0
jne 0x40e88d
mov dword [ebp - 0x38], 0x100b
mov dword [ebp - 0x34], 0x40e564
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0x88
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.user32.DLL_LoadIconA_1]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x18], 0x44eef8
mov dword [ebp - 0x14], 0x44eda8
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.user32.DLL_RegisterClassA_1]
movzx eax, ax
test eax, eax
jne 0x40e88d
xor eax, eax
jmp 0x40eacb
mov dword [ebp - 0x40], 0x280
mov dword [ebp - 0x44], 0x1b8
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xa0000
push 0x44eda8
push 0x44eda8
push 0
call dword [sym.imp.user32.DLL_CreateWindowExA_1]
mov dword [0x45d498], eax
cmp dword [0x45d498], 0
je 0x40eac4
push 1
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [0x45d498]
push eax
call fcn.004445d3
add esp, 0x10
push 0x7b
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4a0], eax
push 0x7f
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4a4], eax
push 0x79
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4a8], eax
push 0x78
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4ac], eax
push 0x7a
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4b0], eax
push 0x75
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4b4], eax
push 0x76
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4b8], eax
push 0x74
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4bc], eax
push 0x73
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4c0], eax
push 0x77
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4c4], eax
push 0x7d
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4c8], eax
push 0x7e
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4cc], eax
push 0x8d
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4d0], eax
push 0x8e
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4d4], eax
push 0x8f
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4d8], eax
push 0x90
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4dc], eax
push 0x98
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4e0], eax
push 0x95
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4e4], eax
push 0x96
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4e8], eax
push 0x97
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4ec], eax
push 0x99
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4f0], eax
push 0x9a
mov eax, dword [0x45d2e8]
push eax
call dword [sym.imp.user32.DLL_LoadCursorA_1]
mov dword [0x45d4f4], eax
mov eax, 1
jmp 0x40eacb
xor eax, eax
jmp 0x40eacb
pop edi
pop esi
pop ebx
leave
ret 8