Function at 0x4558b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6cf520]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x4558cb
mov ecx, dword [0x759468]
call fcn.004c4ac0
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 + 0x319ac], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x319b0], ecx
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.005037f0
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.004558a0
push eax
push 0
push 4
push esi
mov ecx, edi
call fcn.00503730
test al, al
jne 0x455964
push str.CMSWindow::Create_failed
call fcn.004e89b0
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.00597338
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [edi + 0x2f250]
mov ecx, ebx
call fcn.004c4cd0
test al, al
je 0x455983
mov ecx, dword [0x75948c]
lea ecx, [ecx + 4]
call fcn.0050ef40
call fcn.0048f9c0
mov ecx, ebx
call fcn.004c4ac0
test al, al
jne 0x4559dc
call fcn.004c4cd0
test al, al
jne 0x4559a5
call fcn.0044f6e0
test al, al
je 0x4559dc
mov ecx, ebx
mov byte [edi + 0x31ab8], 0
mov dword [edi + 0x31adc], 1
call fcn.004c4880
mov ecx, edi
mov esi, eax
call fcn.004432b0
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.0045a210
mov dword [ebp - 0x1c], 1
jmp 0x455a59
mov ecx, ebx
call fcn.004c4870
push eax
call fcn.004c4860
push eax
mov ecx, edi
call fcn.005036b0
cmp dword [ebp - 0x1c], 0
je 0x455a47
cmp dword [ebp - 0x28], 0
mov byte [edi + 0x31ab8], 1
je 0x455a41
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.005037d0
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.00503820
mov ecx, dword [ebp - 0x18]
mov edi, 0xffffffc4
sub edi, esi
add edi, eax
call fcn.00503830
push edi
mov edi, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, edi
call fcn.00503b40
push 0
push 0xfffffffffffffff8
jmp 0x455a52
push 0
mov byte [edi + 0x31ab8], 0
push 0
mov ecx, edi
call fcn.00503b40
jmp 0x455a5e
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00457290
test al, al
jne 0x455a83
push str.CMSWindow::Cursors_Create_Error
call fcn.004e89b0
add esp, 4
push str._CREATE_CURSOR_
jmp 0x45593f
lea ecx, [ebx + 0x2f250]
call fcn.004c48a0
test al, al
jne 0x455aa3
lea ecx, [ebx + 0xe8]
call fcn.005890a0
lea ecx, [ebx + 0x2f250]
call fcn.004c4c50
test al, al
jne 0x455ab6
call fcn.004c4c80
mov byte [0x71aa00], al
call fcn.004c4890
mov edi, eax
call fcn.004c4880
mov esi, eax
call fcn.004c4870
mov edx, eax
call fcn.004c4860
push edi
push esi
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push eax
call fcn.00455240
test al, al
je 0x45594f
call fcn.004f4090
lea ecx, [ebx + 0x2f250]
call fcn.004c4c50
test al, al
je 0x455b03
call fcn.00502dd0
xor al, 1
jmp 0x455b0e
lea ecx, [ebx + 0x2f250]
call fcn.004c4c80
movzx eax, al
lea ecx, [ebx + 0x2d444]
push eax
call fcn.00542bb0
push 1
mov ecx, ebx
call fcn.00503b60
cmp dword [ebx + 0x31adc], 0
je 0x455b4b
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.004432b0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.004432b0
push eax
lea ecx, [ebx + 0x1c]
call fcn.00503ed0
test al, al
je 0x45594f
lea ecx, [ebx + 0x2f250]
call fcn.004c44d0
lea ecx, [ebx + 0x2f250]
call fcn.004c48b0
movzx eax, al
mov ecx, ebx
push eax
call fcn.00457630
lea ecx, [ebx + 0x2f248]
call fcn.00506510
test al, al
jne 0x455baa
push str.NetDevice::Create_failed
call fcn.004e89b0
add esp, 4
push str._CREATE_NETWORK_
jmp 0x45593f
call fcn.00502dd0
test al, al
jne 0x455bbd
push 1
call fcn.004f4390
add esp, 4
lea ecx, [ebx + 0x285e4]
call fcn.00474a10
call fcn.00441320
mov esi, dword [0x75948c]
mov ecx, ebx
call fcn.004432b0
push eax
mov ecx, esi
call fcn.00472670
mov ecx, dword [0x75948c]
push 0
push 0x67844e
lea ecx, [ecx + 4]
call fcn.0050e880
call fcn.004c9a40
lea ecx, [ebx + 0x7c]
call fcn.00504820
push 0x20
call fcn.0050f600
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 + 0x31ae0], 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.004f23c0
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004f23c0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.00597338
mov esp, ebp
pop ebp
ret 0x14