Function at 0x456720
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6bd4d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x45673b
mov ecx, dword [0x74c5a4]
call fcn.004b9310
mov edi, dword [ebp + 0xc]
xor ecx, ecx
test al, al
push edi
setne cl
xor bl, bl
push 0
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
movzx ecx, bl
mov ebx, dword [ebp - 0x18]
mov edx, 1
mov eax, dword [ebp + 0x10]
cmovne ecx, edx
mov dword [ebp - 0x28], ecx
mov cl, byte [ebp - 0x1c]
mov dword [ebx + 0x28670], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28674], eax
call fcn.00456700
push 0x66
push 0x64
mov ecx, ebx
mov esi, eax
call fcn.0050f970
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push esi
push 0
push 4
push edi
mov ecx, ebx
call fcn.0050f8b0
test al, al
jne 0x4567e8
push str.CMSWindow::Create_failed
call fcn.004f4490
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.005a489b
mov esp, ebp
pop ebp
ret 0x14
lea esi, [ebx + 0x25f14]
mov ecx, esi
call fcn.004b94e0
test al, al
je 0x456807
mov ecx, dword [0x74c5cc]
lea ecx, [ecx + 4]
call fcn.00519100
call fcn.0048b080
mov ecx, esi
call fcn.004b9310
test al, al
jne 0x456860
mov ecx, esi
call fcn.004b94e0
test al, al
jne 0x45682b
call fcn.004500a0
test al, al
je 0x456860
mov ecx, ebx
mov byte [ebx + 0x2877c], 0
mov dword [ebx + 0x287a0], 1
call fcn.004f5f60
mov ecx, esi
call fcn.004b8f20
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.0045b8a0
mov dword [ebp - 0x1c], 1
jmp 0x4568d0
mov ecx, esi
call fcn.004b8f00
push eax
mov ecx, esi
call fcn.004b8ee0
push eax
mov ecx, ebx
call fcn.0050f840
cmp dword [ebp - 0x1c], 0
je 0x4568be
cmp byte [ebp - 0x28], 0
mov byte [ebx + 0x2877c], 1
je 0x4568d0
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0050f950
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.0050f9a0
mov ecx, 0xffffffc4
sub ecx, esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.0050f9b0
sub eax, edi
push eax
jmp 0x4568c9
push 0
mov byte [ebx + 0x2877c], 0
push 0
mov ecx, ebx
call fcn.0050fcc0
jmp 0x4568d5
mov edi, dword [ebp - 0x18]
mov ecx, edi
call fcn.00458350
test al, al
jne 0x4568fa
push str.CMSWindow::Cursors_Create_Error
call fcn.004f4490
add esp, 4
push str._CREATE_CURSOR_
jmp 0x4567c3
lea ebx, [edi + 0x25f14]
mov ecx, ebx
call fcn.004b8f60
test al, al
jne 0x456916
lea ecx, [edi + 0xe8]
call fcn.00596490
mov ecx, ebx
call fcn.004b9470
test al, al
jne 0x45692d
mov ecx, ebx
call fcn.004b94c0
mov byte [0x705728], al
mov ecx, ebx
call fcn.004b8f40
push eax
mov ecx, ebx
call fcn.004b8f20
push eax
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.004b8f00
push eax
mov ecx, ebx
call fcn.004b8ee0
push eax
mov ecx, edi
call fcn.00456160
test al, al
je 0x4567d3
call fcn.00500120
mov ecx, ebx
call fcn.004b9470
test al, al
je 0x45697c
call fcn.0050ef60
test al, al
sete byte [ebp - 0x18]
jmp 0x456986
mov ecx, ebx
call fcn.004b94c0
mov byte [ebp - 0x18], al
push dword [ebp - 0x18]
lea ecx, [edi + 0x241f0]
call fcn.0054e480
push 1
mov ecx, edi
call fcn.0050fce0
cmp dword [edi + 0x287a0], 0
je 0x4569c2
push 0x40
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.004f5f60
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.004f5f60
push eax
lea ecx, [edi + 0x1c]
call fcn.00510050
test al, al
je 0x4567d3
mov ecx, ebx
call fcn.004b8af0
mov ecx, ebx
call fcn.004b8f80
xor ecx, ecx
test al, al
setne cl
push ecx
mov ecx, edi
call fcn.004586a0
lea ecx, [edi + 0x25f0c]
call fcn.00512550
test al, al
jne 0x456a1d
push str.NetDevice::Create_failed
call fcn.004f4490
add esp, 4
push str._CREATE_NETWORK_
jmp 0x4567c3
call fcn.0050ef60
test al, al
jne 0x456a30
push 1
call fcn.00500420
add esp, 4
lea ecx, [edi + 0x1f7b4]
call fcn.00477d20
call fcn.0043f9a0
mov esi, dword [0x74c5cc]
mov ecx, edi
call fcn.004f5f60
push eax
mov ecx, esi
call fcn.00475760
mov ecx, dword [0x74c5cc]
push 0
push 0x66c47e
lea ecx, [ecx + 4]
call fcn.00518a40
call fcn.004bd830
lea ecx, [edi + 0x7c]
call fcn.00510830
push 0x20
call fcn.005198a0
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 [edi + 0x287a4], 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.004fe340
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004fe340
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.005a489b
mov esp, ebp
pop ebp
ret 0x14