Function at 0x464cb0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6f8458]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x464ccb
mov ecx, dword [0x74ced4]
call fcn.004d1de0
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 + 0x2e378], ecx
mov ecx, dword [ebp + 0x14]
push 0x66
mov dword [eax + 0x2e37c], ecx
mov ecx, eax
push 0x64
call fcn.00510c40
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.00464ca0
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
push eax
push 0
push 4
push esi
call fcn.00510aa0
test al, al
jne 0x464d76
push str.CMSWindow::Create_failed
call fcn.004fafd0
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.005ab78d
mov esp, ebp
pop ebp
ret 0x14
lea esi, [ebx + 0x2bc08]
mov ecx, esi
call fcn.004d1f40
test al, al
je 0x464d95
mov ecx, dword [0x785774]
lea ecx, [ecx + 4]
call fcn.0051c350
call fcn.004976d0
mov ecx, esi
call fcn.004d1de0
test al, al
jne 0x464dec
call fcn.004d1f40
test al, al
jne 0x464db7
call fcn.0045e7b0
test al, al
je 0x464dec
mov ecx, ebx
mov byte [ebx + 0x2e484], 0
mov dword [ebx + 0x2e4a8], 1
call fcn.00451ac0
mov ecx, esi
call fcn.004d1ba0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00469920
mov dword [ebp - 0x20], 1
jmp 0x464e58
mov ecx, esi
call fcn.004d1b90
push eax
call fcn.004d1b80
push eax
mov ecx, ebx
call fcn.00510a30
test edi, edi
je 0x464e46
cmp byte [ebp - 0x1c], 0
mov byte [ebx + 0x2e484], 1
je 0x464e58
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00510c20
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.00510c70
mov ecx, 0xffffffc4
sub ecx, esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.00510c80
sub eax, edi
push eax
jmp 0x464e51
push 0
mov byte [ebx + 0x2e484], 0
push 0
mov ecx, ebx
call fcn.00510f90
jmp 0x464e5d
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.004666d0
test al, al
jne 0x464e82
push str.CMSWindow::Cursors_Create_Error
call fcn.004fafd0
add esp, 4
push str._CREATE_CURSOR_
jmp 0x464d51
lea esi, [ebx + 0x2bc08]
mov ecx, esi
call fcn.004d1bc0
test al, al
jne 0x464e9e
lea ecx, [ebx + 0xe8]
call fcn.0059d460
mov ecx, esi
call fcn.004d1f00
test al, al
jne 0x464eb3
call fcn.004d1f30
mov byte [0x741c70], al
mov ecx, esi
call fcn.004d1bb0
push eax
call fcn.004d1ba0
push eax
push dword [ebp - 0x20]
call fcn.004d1b90
push eax
call fcn.004d1b80
push eax
mov ecx, ebx
call fcn.00464760
test al, al
je 0x464d61
call fcn.00504da4
mov ecx, esi
call fcn.004d1f00
test al, al
je 0x464eff
call fcn.00512840
test al, al
sete byte [ebp - 0x1c]
push dword [ebp - 0x1c]
jmp 0x464f08
call fcn.004d1f30
movzx eax, al
push eax
lea ecx, [ebx + 0x29edc]
call fcn.0054bc40
push 1
mov ecx, ebx
call fcn.00510fd0
cmp dword [ebx + 0x2e4a8], 0
je 0x464f41
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.00451ac0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00451ac0
push eax
lea ecx, [ebx + 0x1c]
call fcn.00513310
test al, al
je 0x464d61
mov ecx, esi
call fcn.004d17f0
mov ecx, esi
call fcn.004d1bd0
movzx eax, al
mov ecx, ebx
push eax
call fcn.00466aa0
lea ecx, [ebx + 0x2bc00]
call fcn.005157a0
test al, al
jne 0x464f98
push str.NetDevice::Create_failed
call fcn.004fafd0
add esp, 4
push str._CREATE_NETWORK_
jmp 0x464d51
call fcn.00512840
test al, al
jne 0x464fab
push 1
call fcn.00504fdf
add esp, 4
lea ecx, [ebx + 0x24f3c]
call fcn.00485150
call fcn.0044fac0
mov ecx, ebx
call fcn.00451ac0
mov ecx, dword [0x785774]
push eax
call fcn.00482df0
mov ecx, dword [0x785774]
push 0
push 0x6942cc
lea ecx, [ecx + 4]
call fcn.0051bc90
call fcn.004d68a0
lea ecx, [ebx + 0x7c]
call fcn.00513ab0
push 0x20
call fcn.0051caf0
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 + 0x2e4ac], 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.00503a3c
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.00503a3c
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.005ab78d
mov esp, ebp
pop ebp
ret 0x14