Function at 0x451360
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6963c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x45137b
mov ecx, dword [0x6e79b4]
call fcn.004a8120
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 + 0x140f4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x140f8], ecx
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.004dad70
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.00451350
push eax
push 0
push 4
push esi
mov ecx, edi
call fcn.004dacb0
test al, al
jne 0x451414
push str.CMSWindow::Create_failed
call fcn.004c3020
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.00569c25
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [edi + 0x119e0]
mov ecx, ebx
call fcn.004a8230
test al, al
je 0x451433
mov ecx, dword [0x6e79dc]
lea ecx, [ecx + 4]
call fcn.004e4690
mov ecx, ebx
call fcn.004a8120
test al, al
jne 0x451487
call fcn.004a8230
test al, al
jne 0x451450
call fcn.0044b420
test al, al
je 0x451487
mov ecx, ebx
mov byte [edi + 0x14200], 0
mov dword [edi + 0x14224], 1
call fcn.004a7f10
mov ecx, edi
mov esi, eax
call fcn.00440b40
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.004559c0
mov dword [ebp - 0x1c], 1
jmp 0x451504
mov ecx, ebx
call fcn.004a7f00
push eax
call fcn.004a7ef0
push eax
mov ecx, edi
call fcn.004dac30
cmp dword [ebp - 0x1c], 0
je 0x4514f2
cmp dword [ebp - 0x28], 0
mov byte [edi + 0x14200], 1
je 0x4514ec
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004dad50
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.004dada0
mov ecx, dword [ebp - 0x18]
mov edi, 0xffffffc4
sub edi, esi
add edi, eax
call fcn.004dadb0
push edi
mov edi, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, edi
call fcn.004db0c0
push 0
push 0xfffffffffffffff8
jmp 0x4514fd
push 0
mov byte [edi + 0x14200], 0
push 0
mov ecx, edi
call fcn.004db0c0
jmp 0x451509
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00452cd0
test al, al
jne 0x45152e
push str.CMSWindow::Cursors_Create_Error
call fcn.004c3020
add esp, 4
push str._CREATE_CURSOR_
jmp 0x4513ef
lea ecx, [ebx + 0x119e0]
call fcn.004a7f30
test al, al
jne 0x45154e
lea ecx, [ebx + 0xe8]
call fcn.0055c030
lea ecx, [ebx + 0x119e0]
call fcn.004a81f0
test al, al
jne 0x451561
call fcn.004a8220
mov byte [0x6dea58], al
call fcn.004a7f20
mov edi, eax
call fcn.004a7f10
mov esi, eax
call fcn.004a7f00
mov edx, eax
call fcn.004a7ef0
push edi
push esi
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push eax
call fcn.00450e00
test al, al
je 0x4513ff
call fcn.004cdc00
lea ecx, [ebx + 0x119e0]
call fcn.004a81f0
test al, al
je 0x4515ae
call fcn.004da350
xor al, 1
jmp 0x4515b9
lea ecx, [ebx + 0x119e0]
call fcn.004a8220
movzx eax, al
lea ecx, [ebx + 0xfccc]
push eax
call fcn.005170a0
push 1
mov ecx, ebx
call fcn.004db0e0
cmp dword [ebx + 0x14224], 0
je 0x4515f6
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.00440b40
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00440b40
push eax
lea ecx, [ebx + 0x1c]
call fcn.004db450
test al, al
je 0x4513ff
lea ecx, [ebx + 0x119e0]
call fcn.004a7b60
lea ecx, [ebx + 0x119e0]
call fcn.004a7f40
movzx eax, al
mov ecx, ebx
push eax
call fcn.00453090
lea ecx, [ebx + 0x119d8]
call fcn.004dd9f0
test al, al
jne 0x451655
push str.NetDevice::Create_failed
call fcn.004c3020
add esp, 4
push str._CREATE_NETWORK_
jmp 0x4513ef
call fcn.004da350
test al, al
jne 0x451668
push 1
call fcn.004cdf00
add esp, 4
lea ecx, [ebx + 0xd560]
call fcn.0046f7a0
call fcn.0043df10
mov esi, dword [0x6e79dc]
mov ecx, ebx
call fcn.00440b40
push eax
mov ecx, esi
call fcn.0046d740
mov ecx, dword [0x6e79dc]
push 0
push 0x646c8e
lea ecx, [ecx + 4]
call fcn.004e3fd0
call fcn.004abed0
lea ecx, [ebx + 0x7c]
call fcn.004dbda0
push 0x20
call fcn.004e4d70
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 + 0x14228], 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.004cbfb0
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004cbfb0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.00569c25
mov esp, ebp
pop ebp
ret 0x14