Function at 0x4503e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6a5418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x4503fb
mov ecx, dword [0x6f7e78]
call fcn.004adc20
mov esi, dword [ebp + 0xc]
mov bl, al
push esi
movzx edi, bl
xor bh, bh
push 0
mov dword [ebp - 0x20], edi
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
movzx ecx, bh
mov eax, dword [ebp - 0x18]
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x33bd8], ecx
mov ecx, dword [ebp + 0x14]
push 0x66
mov dword [eax + 0x33bdc], ecx
mov ecx, eax
push 0x64
call fcn.004fd3b0
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.004503d0
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
push eax
push 0
push 4
push esi
call fcn.004fd2f0
test al, al
jne 0x4504a6
push str.CMSWindow::Create_failed
call fcn.004e34c0
add esp, 4
push str.CREATE_WINDOW
mov eax, dword [sym.imp.python27.dll_PyExc_RuntimeError]
push dword [eax]
call dword [sym.imp.python27.dll_PyErr_SetString]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005984ec
mov esp, ebp
pop ebp
ret 0x14
lea esi, [ebx + 0x31488]
mov ecx, esi
call fcn.004adf10
test al, al
je 0x4504c5
mov ecx, dword [0x6fb5ac]
lea ecx, [ecx + 4]
call fcn.00506bf0
mov ecx, esi
call fcn.004adc20
test al, al
jne 0x450517
call fcn.004adf10
test al, al
jne 0x4504e2
call fcn.0044a1a0
test al, al
je 0x450517
mov ecx, ebx
mov byte [ebx + 0x33ce4], 0
mov dword [ebx + 0x33d08], 1
call fcn.0043de40
mov ecx, esi
call fcn.004ad9e0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00454d30
mov dword [ebp - 0x20], 1
jmp 0x450583
mov ecx, esi
call fcn.004ad9d0
push eax
call fcn.004ad9c0
push eax
mov ecx, ebx
call fcn.004fd280
test edi, edi
je 0x450571
cmp byte [ebp - 0x1c], 0
mov byte [ebx + 0x33ce4], 1
je 0x450583
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004fd390
mov edi, dword [ebp - 0xc]
mov ecx, ebx
mov esi, dword [ebp - 8]
sub edi, dword [ebp - 0x14]
sub esi, dword [ebp - 0x10]
call fcn.004fd3e0
mov ecx, 0xffffffc4
sub ecx, esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.004fd3f0
sub eax, edi
push eax
jmp 0x45057c
push 0
mov byte [ebx + 0x33ce4], 0
push 0
mov ecx, ebx
call fcn.004fd700
jmp 0x450588
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00451d90
test al, al
jne 0x4505ad
push str.CMSWindow::Cursors_Create_Error
call fcn.004e34c0
add esp, 4
push str._CREATE_CURSOR_
jmp 0x450481
lea esi, [ebx + 0x31488]
mov ecx, esi
call fcn.004ada00
test al, al
jne 0x4505c9
lea ecx, [ebx + 0xe8]
call fcn.0058a0f0
mov ecx, esi
call fcn.004adea0
test al, al
jne 0x4505de
call fcn.004adf00
mov byte [0x6ecd30], al
mov ecx, esi
call fcn.004ad9f0
push eax
call fcn.004ad9e0
push eax
push dword [ebp - 0x20]
call fcn.004ad9d0
push eax
call fcn.004ad9c0
push eax
mov ecx, ebx
call fcn.0044fda0
test al, al
je 0x450491
call fcn.004ee4b0
mov ecx, esi
call fcn.004adea0
test al, al
je 0x45062a
call fcn.004fc9a0
test al, al
sete byte [ebp - 0x1c]
push dword [ebp - 0x1c]
jmp 0x450633
call fcn.004adf00
movzx eax, al
push eax
lea ecx, [ebx + 0x2f77c]
call fcn.00534ba0
push 1
mov ecx, ebx
call fcn.004fd740
cmp dword [ebx + 0x33d08], 0
je 0x45066c
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.0043de40
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.0043de40
push eax
lea ecx, [ebx + 0x1c]
call fcn.004fdab0
test al, al
je 0x450491
mov ecx, esi
call fcn.004ad630
mov ecx, esi
call fcn.004ada10
movzx eax, al
mov ecx, ebx
push eax
call fcn.00452120
lea ecx, [ebx + 0x31480]
call fcn.004ffdd0
test al, al
jne 0x4506c3
push str.NetDevice::Create_failed
call fcn.004e34c0
add esp, 4
push str._CREATE_NETWORK_
jmp 0x450481
call fcn.004fc9a0
test al, al
jne 0x4506d6
push 1
call fcn.004ee7b0
add esp, 4
lea ecx, [ebx + 0x2b32c]
call fcn.0046fca0
call fcn.0043bef0
mov ecx, ebx
call fcn.0043de40
mov ecx, dword [0x6fb5ac]
push eax
call fcn.0046db10
mov ecx, dword [0x6fb5ac]
push 0
push 0x65c6ba
lea ecx, [ecx + 4]
call fcn.00506530
call fcn.004b27d0
lea ecx, [ebx + 0x7c]
call fcn.004fe270
push 0x20
call fcn.005073d0
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x28]
add esp, 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 8
push 0
push eax
push 8
push 0x3a
call esi
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x33d0c], eax
and eax, 0xfffffff9
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 8
push 0x3b
call esi
push str.d:_ymir_work_special_spheremap.jpg
push 0
call fcn.004ec740
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004ec740
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.005984ec
mov esp, ebp
pop ebp
ret 0x14