Function at 0x4cce50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
jmp 0x4cce5e
call fcn.0044fab0
mov ecx, eax
call fcn.004d5fb0
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 0x4cce8e
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x24710], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x24714], edx
cmp dword [ebp + 0x18], 0
setne al
movzx ecx, al
push ecx
call fcn.004cce30
add esp, 4
mov dword [ebp - 0xc], eax
push 0x66
push 0x64
mov ecx, dword [ebp - 0x2c]
call fcn.00569220
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.00569cf0
movzx ecx, al
test ecx, ecx
jne 0x4ccf16
push str.CMSWindow::Create_failed
call fcn.00584480
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 0x4cd34d
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d6140
movzx ecx, al
test ecx, ecx
je 0x4ccf3a
call fcn.004cda30
add eax, 4
mov ecx, eax
call fcn.0056a140
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5fb0
movzx edx, al
test edx, edx
jne 0x4ccfbb
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d6140
movzx eax, al
test eax, eax
jne 0x4ccf70
call fcn.004dfd10
movzx ecx, al
test ecx, ecx
je 0x4ccfbb
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x24834], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x2485c], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5c60
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00580460
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004d38f0
mov dword [ebp + 0x18], 1
jmp 0x4cd052
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5c40
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5c20
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.005692b0
cmp dword [ebp + 0x18], 0
je 0x4cd03c
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x24834], 1
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x4cd03a
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00569250
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.00569240
sub eax, 0x3c
sub eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00569230
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00569290
jmp 0x4cd052
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x24834], 0
push 0
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.00569290
jmp 0x4cd057
mov ecx, dword [ebp - 0x2c]
call 0x4ceef0
movzx eax, al
test eax, eax
jne 0x4cd091
push str.CMSWindow::Cursors_Create_Error
call fcn.00584480
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 0x4cd34d
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5ca0
movzx eax, al
test eax, eax
jne 0x4cd0b4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x130
call fcn.00591e50
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d60d0
movzx ecx, al
test ecx, ecx
jne 0x4cd0dc
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d6120
mov byte [0x745ccc], al
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5c80
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5c60
push eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5c40
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5c20
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004cc830
movzx eax, al
test eax, eax
jne 0x4cd132
xor al, al
jmp 0x4cd34d
call fcn.005b4138
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d60d0
movzx ecx, al
test ecx, ecx
je 0x4cd17c
call fcn.005588a0
movzx edx, al
test edx, edx
je 0x4cd16a
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1d740
call fcn.0050eba0
jmp 0x4cd17a
push 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1d740
call fcn.0050eba0
jmp 0x4cd19c
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d6120
movzx eax, al
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1d740
call fcn.0050eba0
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.005691e0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x2485c], 0
je 0x4cd1d1
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.00580460
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x2c]
call fcn.00580460
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1c
call fcn.00563a10
movzx ecx, al
test ecx, ecx
jne 0x4cd1f3
xor al, al
jmp 0x4cd34d
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d56a0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ffc
call fcn.004d5cc0
movzx edx, al
test edx, edx
je 0x4cd222
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.004cf2d0
jmp 0x4cd22c
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.004cf2d0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x21ff4
call fcn.00568170
movzx eax, al
test eax, eax
jne 0x4cd26c
push str.NetDevice::Create_failed
call fcn.00584480
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 0x4cd34d
call fcn.005588a0
movzx eax, al
test eax, eax
jne 0x4cd282
push 1
call fcn.005b2efb
add esp, 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a7b8
call fcn.0046f5f0
call fcn.004fe230
mov ecx, dword [ebp - 0x2c]
call fcn.00580460
push eax
call fcn.004cda30
mov ecx, eax
call fcn.004d4460
push 0
push 0x67ea1d
call fcn.004cda30
add eax, 4
mov ecx, eax
call fcn.0056a1b0
call fcn.0044f780
mov ecx, eax
call fcn.004c75f0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x7c
call fcn.00568e60
push 0x20
call fcn.00562e20
add esp, 4
push 8
push 0
lea ecx, [ebp - 8]
push ecx
call fcn.0060fff0
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 + 0x24860], 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.005b1f44
add esp, 8
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.005b1f44
add esp, 8
mov al, 1
mov esp, ebp
pop ebp
ret 0x14