Function at 0x4cef60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
jmp 0x4cef6e
call fcn.00450160
mov ecx, eax
call fcn.004d8290
movzx eax, al
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0x18], eax
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4cef9e
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x295a0], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x295a4], edx
cmp dword [ebp + 0x18], 0
setne al
movzx ecx, al
push ecx
call fcn.004cef40
add esp, 4
mov dword [ebp - 0xc], eax
push 0x66
push 0x64
mov ecx, dword [ebp - 0x2c]
call fcn.0056cec0
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov edx, dword [ebp - 0xc]
push edx
push 0
push 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0056d440
movzx ecx, al
test ecx, ecx
jne 0x4cf026
push str.CMSWindow::Create_failed
call fcn.00587390
add esp, 4
push str.CREATE_WINDOW
mov edx, dword [sym.imp.python22.dll_PyExc_RuntimeError]
mov eax, dword [edx]
push eax
call dword [sym.imp.python22.dll_PyErr_SetString]
add esp, 8
xor al, al
jmp 0x4cf45d
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d84a0
movzx ecx, al
test ecx, ecx
je 0x4cf04a
call fcn.004cfb40
add eax, 4
mov ecx, eax
call fcn.0056d810
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d8290
movzx edx, al
test edx, edx
jne 0x4cf0cb
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d84a0
movzx eax, al
test eax, eax
jne 0x4cf080
call fcn.004e1ca0
movzx ecx, al
test ecx, ecx
je 0x4cf0cb
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x296c4], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x296ec], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7f20
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00530260
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004d5bb0
mov dword [ebp + 0x18], 1
jmp 0x4cf162
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7f00
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7ee0
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0056cf50
cmp dword [ebp + 0x18], 0
je 0x4cf14c
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x296c4], 1
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x4cf14a
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.0056cef0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0056cee0
sub eax, 0x3c
sub eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0056ced0
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0056cf30
jmp 0x4cf162
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x296c4], 0
push 0
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.0056cf30
jmp 0x4cf167
mov ecx, dword [ebp - 0x2c]
call 0x4d1000
movzx eax, al
test eax, eax
jne 0x4cf1a1
push str.CMSWindow::Cursors_Create_Error
call fcn.00587390
add esp, 4
push str._CREATE_CURSOR_
mov ecx, dword [sym.imp.python22.dll_PyExc_RuntimeError]
mov edx, dword [ecx]
push edx
call dword [sym.imp.python22.dll_PyErr_SetString]
add esp, 8
xor al, al
jmp 0x4cf45d
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7f60
movzx eax, al
test eax, eax
jne 0x4cf1c4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x130
call fcn.00594de0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d8430
movzx ecx, al
test ecx, ecx
jne 0x4cf1ec
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d8480
mov byte [0x74afd4], al
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7f40
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7f20
push eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7f00
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7ee0
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004ce940
movzx eax, al
test eax, eax
jne 0x4cf242
xor al, al
jmp 0x4cf45d
call fcn.005b793c
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d8430
movzx ecx, al
test ecx, ecx
je 0x4cf28c
call fcn.0055c300
movzx edx, al
test edx, edx
je 0x4cf27a
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x225d0
call fcn.00511d00
jmp 0x4cf28a
push 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x225d0
call fcn.00511d00
jmp 0x4cf2ac
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d8480
movzx eax, al
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x225d0
call fcn.00511d00
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.0056ce80
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x296ec], 0
je 0x4cf2e1
push 0x40
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.00530260
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x2c]
call fcn.00530260
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1c
call fcn.00566fc0
movzx ecx, al
test ecx, ecx
jne 0x4cf303
xor al, al
jmp 0x4cf45d
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7960
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e8c
call fcn.004d7f80
movzx edx, al
test edx, edx
je 0x4cf332
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.004d13e0
jmp 0x4cf33c
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.004d13e0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x26e84
call fcn.0056bd70
movzx eax, al
test eax, eax
jne 0x4cf37c
push str.NetDevice::Create_failed
call fcn.00587390
add esp, 4
push str._CREATE_NETWORK_
mov ecx, dword [sym.imp.python22.dll_PyExc_RuntimeError]
mov edx, dword [ecx]
push edx
call dword [sym.imp.python22.dll_PyErr_SetString]
add esp, 8
xor al, al
jmp 0x4cf45d
call fcn.0055c300
movzx eax, al
test eax, eax
jne 0x4cf392
push 1
call fcn.005b658d
add esp, 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a7c0
call fcn.00470e30
call fcn.005013d0
mov ecx, dword [ebp - 0x2c]
call fcn.00530260
push eax
call fcn.004cfb40
mov ecx, eax
call fcn.004d6720
push 0
push 0x6820f5
call fcn.004cfb40
add eax, 4
mov ecx, eax
call fcn.0056d880
call fcn.0044fe60
mov ecx, eax
call fcn.004c94a0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x7c
call fcn.0056cb00
push 0x20
call fcn.005663c0
add esp, 4
push 8
push 0
lea ecx, [ebp - 8]
push ecx
call fcn.006135b0
add esp, 0xc
mov dword [ebp - 8], 8
push 0
lea edx, [ebp - 8]
push edx
push 8
push 0x3a
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x296f0], ecx
mov edx, dword [ebp - 4]
and edx, 0xfffffff9
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 8]
push eax
push 8
push 0x3b
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push str.d:_ymir_work_special_spheremap.jpg
push 0
call fcn.005b55e4
add esp, 8
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.005b55e4
add esp, 8
mov al, 1
mov esp, ebp
pop ebp
ret 0x14