Function at 0x4545c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6cd498]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x4545db
mov ecx, dword [0x721918]
call fcn.004cce10
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 + 0x56d18], ecx
mov ecx, dword [ebp + 0x14]
push 0x66
mov dword [eax + 0x56d1c], ecx
mov ecx, eax
push 0x64
call fcn.0050af20
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.004545b0
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
push eax
push 0
push 4
push esi
call fcn.0050ad80
test al, al
jne 0x454686
push str.CMSWindow::Create_failed
call fcn.004f09c0
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.0059c8be
mov esp, ebp
pop ebp
ret 0x14
lea esi, [ebx + 0x545a8]
mov ecx, esi
call fcn.004cd030
test al, al
je 0x4546a5
mov ecx, dword [0x759de4]
lea ecx, [ecx + 4]
call fcn.00514870
call fcn.00493250
mov ecx, esi
call fcn.004cce10
test al, al
jne 0x4546fc
call fcn.004cd030
test al, al
jne 0x4546c7
call fcn.0044e520
test al, al
je 0x4546fc
mov ecx, ebx
mov byte [ebx + 0x56e24], 0
mov dword [ebx + 0x56e48], 1
call fcn.00441c00
mov ecx, esi
call fcn.004ccc10
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00458e60
mov dword [ebp - 0x20], 1
jmp 0x454768
mov ecx, esi
call fcn.004ccc00
push eax
call fcn.004ccbf0
push eax
mov ecx, ebx
call fcn.0050ad10
test edi, edi
je 0x454756
cmp byte [ebp - 0x1c], 0
mov byte [ebx + 0x56e24], 1
je 0x454768
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0050af00
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.0050af50
mov ecx, 0xffffffc4
sub ecx, esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.0050af60
sub eax, edi
push eax
jmp 0x454761
push 0
mov byte [ebx + 0x56e24], 0
push 0
mov ecx, ebx
call fcn.0050b270
jmp 0x45476d
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00455f90
test al, al
jne 0x454792
push str.CMSWindow::Cursors_Create_Error
call fcn.004f09c0
add esp, 4
push str._CREATE_CURSOR_
jmp 0x454661
lea esi, [ebx + 0x545a8]
mov ecx, esi
call fcn.004ccc30
test al, al
jne 0x4547ae
lea ecx, [ebx + 0xe8]
call fcn.0058e4b0
mov ecx, esi
call fcn.004ccfc0
test al, al
jne 0x4547c3
call fcn.004cd020
mov byte [0x716230], al
mov ecx, esi
call fcn.004ccc20
push eax
call fcn.004ccc10
push eax
push dword [ebp - 0x20]
call fcn.004ccc00
push eax
call fcn.004ccbf0
push eax
mov ecx, ebx
call fcn.00454060
test al, al
je 0x454671
call fcn.004fbf90
mov ecx, esi
call fcn.004ccfc0
test al, al
je 0x45480f
call fcn.0050a430
test al, al
sete byte [ebp - 0x1c]
push dword [ebp - 0x1c]
jmp 0x454818
call fcn.004cd020
movzx eax, al
push eax
lea ecx, [ebx + 0x5279c]
call fcn.00546e80
push 1
mov ecx, ebx
call fcn.0050b290
cmp dword [ebx + 0x56e48], 0
je 0x454851
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.00441c00
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00441c00
push eax
lea ecx, [ebx + 0x1c]
call fcn.0050b630
test al, al
je 0x454671
mov ecx, esi
call fcn.004cc860
mov ecx, esi
call fcn.004ccc40
movzx eax, al
mov ecx, ebx
push eax
call fcn.00456320
lea ecx, [ebx + 0x545a0]
call fcn.0050d990
test al, al
jne 0x4548a8
push str.NetDevice::Create_failed
call fcn.004f09c0
add esp, 4
push str._CREATE_NETWORK_
jmp 0x454661
call fcn.0050a430
test al, al
jne 0x4548bb
push 1
call fcn.004fc290
add esp, 4
lea ecx, [ebx + 0x4d804]
call fcn.00475760
call fcn.0043f4b0
mov ecx, ebx
call fcn.00441c00
mov ecx, dword [0x759de4]
push eax
call fcn.00473390
mov ecx, dword [0x759de4]
push 0
push 0x67edda
lea ecx, [ecx + 4]
call fcn.005141b0
call fcn.004d23b0
lea ecx, [ebx + 0x7c]
call fcn.0050bdf0
push 0x20
call fcn.00515050
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 + 0x56e4c], 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.004fa2b0
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004fa2b0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.0059c8be
mov esp, ebp
pop ebp
ret 0x14