Function at 0x450ae0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x697398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x450afb
mov ecx, dword [0x6e8994]
call fcn.004a8110
mov esi, dword [ebp + 0xc]
mov bl, al
push esi
movzx eax, bl
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
push 0x66
push 0x64
mov dword [edi + 0x1fab0], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x1fab4], ecx
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.004dc750
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.00450ad0
push eax
push 0
push 4
push esi
mov ecx, edi
call fcn.004dc690
test al, al
jne 0x450b94
push str.CMSWindow::Create_failed
call fcn.004c4200
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.0056a569
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [edi + 0x1d39c]
mov ecx, ebx
call fcn.004a8220
test al, al
je 0x450bb3
mov ecx, dword [0x6e89bc]
lea ecx, [ecx + 4]
call fcn.004e5de0
mov ecx, ebx
call fcn.004a8110
test al, al
jne 0x450c07
call fcn.004a8220
test al, al
jne 0x450bd0
call fcn.0044ab80
test al, al
je 0x450c07
mov ecx, ebx
mov byte [edi + 0x1fbbc], 0
mov dword [edi + 0x1fbe0], 1
call fcn.004a7f00
mov ecx, edi
mov esi, eax
call fcn.004405f0
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00455160
mov dword [ebp - 0x1c], 1
jmp 0x450c84
mov ecx, ebx
call fcn.004a7ef0
push eax
call fcn.004a7ee0
push eax
mov ecx, edi
call fcn.004dc610
cmp dword [ebp - 0x1c], 0
je 0x450c72
cmp dword [ebp - 0x28], 0
mov byte [edi + 0x1fbbc], 1
je 0x450c6c
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004dc730
mov ebx, dword [ebp - 0xc]
mov ecx, edi
mov esi, dword [ebp - 8]
sub ebx, dword [ebp - 0x14]
sub esi, dword [ebp - 0x10]
call fcn.004dc780
mov ecx, dword [ebp - 0x18]
mov edi, 0xffffffc4
sub edi, esi
add edi, eax
call fcn.004dc790
push edi
mov edi, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, edi
call fcn.004dcaa0
push 0
push 0xfffffffffffffff8
jmp 0x450c7d
push 0
mov byte [edi + 0x1fbbc], 0
push 0
mov ecx, edi
call fcn.004dcaa0
jmp 0x450c89
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00452450
test al, al
jne 0x450cae
push str.CMSWindow::Cursors_Create_Error
call fcn.004c4200
add esp, 4
push str._CREATE_CURSOR_
jmp 0x450b6f
lea ecx, [ebx + 0x1d39c]
call fcn.004a7f20
test al, al
jne 0x450cce
lea ecx, [ebx + 0xe8]
call fcn.0055c980
lea ecx, [ebx + 0x1d39c]
call fcn.004a81e0
test al, al
jne 0x450ce1
call fcn.004a8210
mov byte [0x6dfa58], al
call fcn.004a7f10
mov edi, eax
call fcn.004a7f00
mov esi, eax
call fcn.004a7ef0
mov edx, eax
call fcn.004a7ee0
push edi
push esi
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push eax
call fcn.00450580
test al, al
je 0x450b7f
call fcn.004cf5f0
lea ecx, [ebx + 0x1d39c]
call fcn.004a81e0
test al, al
je 0x450d2e
call fcn.004dbd30
xor al, 1
jmp 0x450d39
lea ecx, [ebx + 0x1d39c]
call fcn.004a8210
movzx eax, al
lea ecx, [ebx + 0x1b688]
push eax
call fcn.005182b0
push 1
mov ecx, ebx
call fcn.004dcac0
cmp dword [ebx + 0x1fbe0], 0
je 0x450d76
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.004405f0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.004405f0
push eax
lea ecx, [ebx + 0x1c]
call fcn.004dce30
test al, al
je 0x450b7f
lea ecx, [ebx + 0x1d39c]
call fcn.004a7b50
lea ecx, [ebx + 0x1d39c]
call fcn.004a7f30
movzx eax, al
mov ecx, ebx
push eax
call fcn.004527f0
lea ecx, [ebx + 0x1d394]
call fcn.004df3c0
test al, al
jne 0x450dd5
push str.NetDevice::Create_failed
call fcn.004c4200
add esp, 4
push str._CREATE_NETWORK_
jmp 0x450b6f
call fcn.004dbd30
test al, al
jne 0x450de8
push 1
call fcn.004cf8f0
add esp, 4
lea ecx, [ebx + 0x18cdc]
call fcn.0046ed20
call fcn.0043dee0
mov esi, dword [0x6e89bc]
mov ecx, ebx
call fcn.004405f0
push eax
mov ecx, esi
call fcn.0046ccd0
mov ecx, dword [0x6e89bc]
push 0
push 0x647cee
lea ecx, [ecx + 4]
call fcn.004e5720
call fcn.004ac150
lea ecx, [ebx + 0x7c]
call fcn.004dd780
push 0x20
call fcn.004e64c0
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x24]
add esp, 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 8
push 0
push eax
push 8
push 0x3a
call esi
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x1fbe4], eax
and eax, 0xfffffff9
push 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 8
push 0x3b
call esi
push str.d:_ymir_work_special_spheremap.jpg
push 0
call fcn.004cd9b0
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004cd9b0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.0056a569
mov esp, ebp
pop ebp
ret 0x14