Function at 0x450b90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x696398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x450bab
mov ecx, dword [0x6e7834]
call fcn.004a7ae0
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 + 0x1fda0], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x1fda4], ecx
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.004dbab0
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.00450b80
push eax
push 0
push 4
push esi
mov ecx, edi
call fcn.004db9f0
test al, al
jne 0x450c44
push str.CMSWindow::Create_failed
call fcn.004c3580
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.00569c79
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [edi + 0x1d68c]
mov ecx, ebx
call fcn.004a7bf0
test al, al
je 0x450c63
mov ecx, dword [0x6e785c]
lea ecx, [ecx + 4]
call fcn.004e5140
mov ecx, ebx
call fcn.004a7ae0
test al, al
jne 0x450cb7
call fcn.004a7bf0
test al, al
jne 0x450c80
call fcn.0044ac30
test al, al
je 0x450cb7
mov ecx, ebx
mov byte [edi + 0x1feac], 0
mov dword [edi + 0x1fed0], 1
call fcn.004a78d0
mov ecx, edi
mov esi, eax
call fcn.004405f0
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00455220
mov dword [ebp - 0x1c], 1
jmp 0x450d34
mov ecx, ebx
call fcn.004a78c0
push eax
call fcn.004a78b0
push eax
mov ecx, edi
call fcn.004db970
cmp dword [ebp - 0x1c], 0
je 0x450d22
cmp dword [ebp - 0x28], 0
mov byte [edi + 0x1feac], 1
je 0x450d1c
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004dba90
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.004dbae0
mov ecx, dword [ebp - 0x18]
mov edi, 0xffffffc4
sub edi, esi
add edi, eax
call fcn.004dbaf0
push edi
mov edi, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, edi
call fcn.004dbe00
push 0
push 0xfffffffffffffff8
jmp 0x450d2d
push 0
mov byte [edi + 0x1feac], 0
push 0
mov ecx, edi
call fcn.004dbe00
jmp 0x450d39
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00452500
test al, al
jne 0x450d5e
push str.CMSWindow::Cursors_Create_Error
call fcn.004c3580
add esp, 4
push str._CREATE_CURSOR_
jmp 0x450c1f
lea ecx, [ebx + 0x1d68c]
call fcn.004a78f0
test al, al
jne 0x450d7e
lea ecx, [ebx + 0xe8]
call fcn.0055c080
lea ecx, [ebx + 0x1d68c]
call fcn.004a7bb0
test al, al
jne 0x450d91
call fcn.004a7be0
mov byte [0x6de918], al
call fcn.004a78e0
mov edi, eax
call fcn.004a78d0
mov esi, eax
call fcn.004a78c0
mov edx, eax
call fcn.004a78b0
push edi
push esi
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push eax
call fcn.00450630
test al, al
je 0x450c2f
call fcn.004ce950
lea ecx, [ebx + 0x1d68c]
call fcn.004a7bb0
test al, al
je 0x450dde
call fcn.004db090
xor al, 1
jmp 0x450de9
lea ecx, [ebx + 0x1d68c]
call fcn.004a7be0
movzx eax, al
lea ecx, [ebx + 0x1b978]
push eax
call fcn.00517a70
push 1
mov ecx, ebx
call fcn.004dbe20
cmp dword [ebx + 0x1fed0], 0
je 0x450e26
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.004dc190
test al, al
je 0x450c2f
lea ecx, [ebx + 0x1d68c]
call fcn.004a7520
lea ecx, [ebx + 0x1d68c]
call fcn.004a7900
movzx eax, al
mov ecx, ebx
push eax
call fcn.004528a0
lea ecx, [ebx + 0x1d684]
call fcn.004de720
test al, al
jne 0x450e85
push str.NetDevice::Create_failed
call fcn.004c3580
add esp, 4
push str._CREATE_NETWORK_
jmp 0x450c1f
call fcn.004db090
test al, al
jne 0x450e98
push 1
call fcn.004cec50
add esp, 4
lea ecx, [ebx + 0x1920c]
call fcn.0046ea40
call fcn.0043dee0
mov esi, dword [0x6e785c]
mov ecx, ebx
call fcn.004405f0
push eax
mov ecx, esi
call fcn.0046c9f0
mov ecx, dword [0x6e785c]
push 0
push 0x646cce
lea ecx, [ecx + 4]
call fcn.004e4a80
call fcn.004ac020
lea ecx, [ebx + 0x7c]
call fcn.004dcae0
push 0x20
call fcn.004e5820
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 + 0x1fed4], 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.004ccd30
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004ccd30
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.00569c79
mov esp, ebp
pop ebp
ret 0x14