Function at 0x45c540
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6c5580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x45c55b
mov ecx, dword [0x74f628]
call fcn.004bd5f0
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 + 0x2a6e4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x2a6e8], ecx
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.004f96a0
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.0045c530
push eax
push 0
push 4
push esi
mov ecx, edi
call fcn.004f95e0
test al, al
jne 0x45c5f4
push str.CMSWindow::Create_failed
call fcn.004e0af0
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.0058cfb3
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [edi + 0x27fa4]
mov ecx, ebx
call fcn.004bd770
test al, al
je 0x45c613
mov ecx, dword [0x74f654]
lea ecx, [ecx + 4]
call fcn.00503d80
call fcn.00496df0
mov ecx, ebx
call fcn.004bd5f0
test al, al
jne 0x45c66c
call fcn.004bd770
test al, al
jne 0x45c635
call fcn.00456450
test al, al
je 0x45c66c
mov ecx, ebx
mov byte [edi + 0x2a7f0], 0
mov dword [edi + 0x2a814], 1
call fcn.004bd390
mov ecx, edi
mov esi, eax
call fcn.0044b6e0
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00460dd0
mov dword [ebp - 0x1c], 1
jmp 0x45c6e9
mov ecx, ebx
call fcn.004bd380
push eax
call fcn.004bd370
push eax
mov ecx, edi
call fcn.004f9560
cmp dword [ebp - 0x1c], 0
je 0x45c6d7
cmp dword [ebp - 0x28], 0
mov byte [edi + 0x2a7f0], 1
je 0x45c6d1
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004f9680
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.004f96d0
mov ecx, dword [ebp - 0x18]
mov edi, 0xffffffc4
sub edi, esi
add edi, eax
call fcn.004f96e0
push edi
mov edi, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, edi
call fcn.004f99f0
push 0
push 0xfffffffffffffff8
jmp 0x45c6e2
push 0
mov byte [edi + 0x2a7f0], 0
push 0
mov ecx, edi
call fcn.004f99f0
jmp 0x45c6ee
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.0045dec0
test al, al
jne 0x45c713
push str.CMSWindow::Cursors_Create_Error
call fcn.004e0af0
add esp, 4
push str._CREATE_CURSOR_
jmp 0x45c5cf
lea ecx, [ebx + 0x27fa4]
call fcn.004bd3b0
test al, al
jne 0x45c733
lea ecx, [ebx + 0xe8]
call fcn.0057e900
lea ecx, [ebx + 0x27fa4]
call fcn.004bd6f0
test al, al
jne 0x45c746
call fcn.004bd720
mov byte [0x710c98], al
call fcn.004bd3a0
mov edi, eax
call fcn.004bd390
mov esi, eax
call fcn.004bd380
mov edx, eax
call fcn.004bd370
push edi
push esi
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push eax
call fcn.0045bf00
test al, al
je 0x45c5df
call fcn.004ebfe0
lea ecx, [ebx + 0x27fa4]
call fcn.004bd6f0
test al, al
je 0x45c793
call fcn.004f8c80
xor al, 1
jmp 0x45c79e
lea ecx, [ebx + 0x27fa4]
call fcn.004bd720
movzx eax, al
lea ecx, [ebx + 0x26264]
push eax
call fcn.00537fd0
push 1
mov ecx, ebx
call fcn.004f9a10
cmp dword [ebx + 0x2a814], 0
je 0x45c7db
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.0044b6e0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.0044b6e0
push eax
lea ecx, [ebx + 0x1c]
call fcn.004f9d80
test al, al
je 0x45c5df
lea ecx, [ebx + 0x27fa4]
call fcn.004bcfe0
lea ecx, [ebx + 0x27fa4]
call fcn.004bd3c0
movzx eax, al
mov ecx, ebx
push eax
call fcn.0045e260
lea ecx, [ebx + 0x27f9c]
call fcn.004fc320
test al, al
jne 0x45c83a
push str.NetDevice::Create_failed
call fcn.004e0af0
add esp, 4
push str._CREATE_NETWORK_
jmp 0x45c5cf
call fcn.004f8c80
test al, al
jne 0x45c84d
push 1
call fcn.004ec2e0
add esp, 4
lea ecx, [ebx + 0x1b734]
call fcn.0047b280
call fcn.004492a0
mov esi, dword [0x74f654]
mov ecx, ebx
call fcn.0044b6e0
push eax
mov ecx, esi
call fcn.004790f0
mov ecx, dword [0x74f654]
push 0
push 0x66f69e
lea ecx, [ecx + 4]
call fcn.005036c0
call fcn.004c1bf0
lea ecx, [ebx + 0x7c]
call fcn.004fa6d0
push 0x20
call fcn.00504440
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 + 0x2a818], 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.004ea390
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004ea390
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.0058cfb3
mov esp, ebp
pop ebp
ret 0x14