Function at 0x4523d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6ac420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x4523eb
mov ecx, dword [0x734b64]
call fcn.004afb40
mov esi, dword [ebp + 0xc]
mov bl, al
push esi
movzx eax, bl
xor bh, bh
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp + 0x10]
mov edx, 1
movzx ecx, bh
cmovne ecx, edx
push 0x66
mov dword [ebp - 0x20], ecx
mov ecx, edi
mov dword [edi + 0x2e778], eax
mov eax, dword [ebp + 0x14]
push 0x64
mov dword [edi + 0x2e77c], eax
call fcn.004e9700
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.004523c0
push eax
push 0
push 4
push esi
mov ecx, edi
call fcn.004e9640
test al, al
jne 0x452493
push str.CMSWindow::Create_failed
call fcn.004d1330
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.00579408
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [edi + 0x2c05c]
mov ecx, ebx
call fcn.004afcb0
test al, al
je 0x4524b2
mov ecx, dword [0x734b8c]
lea ecx, [ecx + 4]
call fcn.004f35f0
call fcn.0048b860
mov ecx, ebx
call fcn.004afb40
test al, al
jne 0x45250b
call fcn.004afcb0
test al, al
jne 0x4524d4
call fcn.0044c3c0
test al, al
je 0x45250b
mov ecx, ebx
mov byte [edi + 0x2e884], 0
mov dword [edi + 0x2e8a8], 1
call fcn.004af8d0
mov ecx, edi
mov esi, eax
call fcn.00440b90
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00456b00
mov dword [ebp - 0x1c], 1
jmp 0x452588
mov ecx, ebx
call fcn.004af8c0
push eax
call fcn.004af8b0
push eax
mov ecx, edi
call fcn.004e95c0
cmp dword [ebp - 0x1c], 0
je 0x452576
cmp byte [ebp - 0x20], 0
mov byte [edi + 0x2e884], 1
je 0x452570
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004e96e0
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.004e9730
mov ecx, dword [ebp - 0x18]
mov edi, 0xffffffc4
sub edi, esi
add edi, eax
call fcn.004e9740
push edi
mov edi, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, edi
call fcn.004e9a50
push 0
push 0xfffffffffffffff8
jmp 0x452581
push 0
mov byte [edi + 0x2e884], 0
push 0
mov ecx, edi
call fcn.004e9a50
jmp 0x45258d
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00453d60
test al, al
jne 0x4525b2
push str.CMSWindow::Cursors_Create_Error
call fcn.004d1330
add esp, 4
push str._CREATE_CURSOR_
jmp 0x45246e
lea ecx, [ebx + 0x2c05c]
call fcn.004af8f0
test al, al
jne 0x4525d2
lea ecx, [ebx + 0xe8]
call fcn.0056af30
lea ecx, [ebx + 0x2c05c]
call fcn.004afc70
test al, al
jne 0x4525e5
call fcn.004afca0
mov byte [0x6f6230], al
call fcn.004af8e0
mov edi, eax
call fcn.004af8d0
mov esi, eax
call fcn.004af8c0
mov edx, eax
call fcn.004af8b0
push edi
push esi
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push eax
call fcn.00451e70
test al, al
je 0x45247e
call fcn.004dc5f0
lea ecx, [ebx + 0x2c05c]
call fcn.004afc70
test al, al
je 0x452639
call fcn.004e8ce0
test al, al
sete byte [ebp - 0x20]
push dword [ebp - 0x20]
jmp 0x452648
lea ecx, [ebx + 0x2c05c]
call fcn.004afca0
movzx eax, al
push eax
lea ecx, [ebx + 0x2a340]
call fcn.00527030
push 1
mov ecx, ebx
call fcn.004e9a70
cmp dword [ebx + 0x2e8a8], 0
je 0x452681
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.00440b90
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00440b90
push eax
lea ecx, [ebx + 0x1c]
call fcn.004e9de0
test al, al
je 0x45247e
lea ecx, [ebx + 0x2c05c]
call fcn.004af520
lea ecx, [ebx + 0x2c05c]
call fcn.004af900
movzx eax, al
mov ecx, ebx
push eax
call fcn.00454100
lea ecx, [ebx + 0x2c054]
call fcn.004ec3b0
test al, al
jne 0x4526e0
push str.NetDevice::Create_failed
call fcn.004d1330
add esp, 4
push str._CREATE_NETWORK_
jmp 0x45246e
call fcn.004e8ce0
test al, al
jne 0x4526f3
push 1
call fcn.004dc8f0
add esp, 4
lea ecx, [ebx + 0x1a924]
call fcn.00470ab0
call fcn.0043e480
mov esi, dword [0x734b8c]
mov ecx, ebx
call fcn.00440b90
push eax
mov ecx, esi
call fcn.0046ea60
mov ecx, dword [0x734b8c]
push 0
push 0x659d7e
lea ecx, [ecx + 4]
call fcn.004f2f30
call fcn.004b4110
lea ecx, [ebx + 0x7c]
call fcn.004ea740
push 0x20
call fcn.004f3cd0
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 + 0x2e8ac], 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.004da9b0
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004da9b0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.00579408
mov esp, ebp
pop ebp
ret 0x14