Function at 0x48d860
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
jmp 0x48d87a
mov ecx, dword [0x749628]
call fcn.00495250
mov esi, dword [ebp + 0xc]
xor ecx, ecx
test al, al
mov byte [ebp - 0x15], 0
push esi
setne cl
push 0
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_FindWindowA]
movzx ecx, byte [ebp - 0x15]
test eax, eax
mov eax, dword [ebp + 0x10]
mov edx, 1
cmovne ecx, edx
mov dword [ebx + 0x26fd8], eax
mov eax, dword [ebp + 0x14]
push 0x66
mov dword [ebp - 0x28], ecx
mov ecx, ebx
push 0x64
mov dword [ebx + 0x26fdc], eax
call fcn.004eb7c0
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, dword [ebp - 0x1c]
test edi, edi
push eax
setne al
movzx eax, al
push eax
call fcn.0048f590
add esp, 4
mov ecx, ebx
push eax
push 0
push 4
push esi
call fcn.004eb700
test al, al
jne 0x48d92e
push str.CMSWindow::Create_failed
call fcn.004c4030
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, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret 0x14
lea esi, [ebx + 0x248c4]
mov ecx, esi
call fcn.00495230
test al, al
je 0x48d94d
mov ecx, dword [0x74b840]
lea ecx, [ecx + 4]
call fcn.004ef740
mov ecx, esi
call fcn.00495250
test al, al
jne 0x48d9a1
mov ecx, esi
call fcn.00495230
test al, al
jne 0x48d96c
call fcn.004996a0
test al, al
je 0x48d9a1
mov ecx, esi
mov byte [ebx + 0x270e4], 0
mov dword [ebx + 0x27108], 1
call fcn.00494d00
push eax
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.0043ddc0
push eax
mov ecx, ebx
call fcn.00493ae0
mov edi, 1
jmp 0x48da1f
mov ecx, esi
call fcn.00495060
push eax
mov ecx, esi
call fcn.00495180
push eax
mov ecx, ebx
call fcn.004eb690
test edi, edi
je 0x48da0d
cmp byte [ebp - 0x28], 0
mov byte [ebx + 0x270e4], 1
je 0x48da1f
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004eb7a0
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.004eb7f0
mov ecx, 0xffffffc4
sub ecx, esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.004eb800
sub eax, edi
mov ecx, ebx
push eax
call fcn.004eba60
mov edi, dword [ebp - 0x1c]
lea esi, [ebx + 0x248c4]
jmp 0x48da1f
push 0
push 0
mov ecx, ebx
mov byte [ebx + 0x270e4], 0
call fcn.004eba60
jmp 0x48da24
mov ecx, ebx
call fcn.00490750
test al, al
jne 0x48da43
push str.CMSWindow::Cursors_Create_Error
call fcn.004c4030
push str._CREATE_CURSOR_
jmp 0x48d909
mov ecx, esi
call fcn.004951d0
test al, al
jne 0x48da59
lea ecx, [ebx + 0xe8]
call fcn.0055afd0
mov ecx, esi
call fcn.004951c0
test al, al
jne 0x48da70
mov ecx, esi
call fcn.00495220
mov byte [0x77faa0], al
mov ecx, esi
call fcn.00494f80
push eax
mov ecx, esi
call fcn.00494d00
push eax
push edi
mov ecx, esi
call fcn.00495060
push eax
mov ecx, esi
call fcn.00495180
push eax
mov ecx, ebx
call fcn.0048dc40
test al, al
je 0x48d919
call fcn.004ce450
mov ecx, esi
call fcn.004951c0
test al, al
je 0x48dac7
call fcn.004d83f0
lea ecx, [ebx + 0x22bc8]
test al, al
je 0x48dac3
push 0
jmp 0x48dad8
push 1
jmp 0x48dad8
mov ecx, esi
call fcn.00495220
movzx eax, al
lea ecx, [ebx + 0x22bc8]
push eax
call fcn.00523b80
push 1
mov ecx, ebx
call fcn.004eba80
cmp dword [ebx + 0x27108], 0
je 0x48db0b
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.0043ddc0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.0043ddc0
push eax
lea ecx, [ebx + 0x1c]
call fcn.004e3260
test al, al
je 0x48d919
mov ecx, esi
call fcn.00494d20
mov ecx, esi
call fcn.00495210
mov ecx, ebx
test al, al
je 0x48db3b
push 1
jmp 0x48db3d
push 0
call fcn.004908f0
lea ecx, [ebx + 0x248bc]
call fcn.004ebd10
test al, al
jne 0x48db65
push str.NetDevice::Create_failed
call fcn.004c4030
push str._CREATE_NETWORK_
jmp 0x48d909
call fcn.004d83f0
test al, al
jne 0x48db78
push 1
call fcn.004ce7b0
add esp, 4
lea ecx, [ebx + 0x1de2c]
call fcn.004568d0
call fcn.004af610
mov esi, dword [0x74b840]
mov ecx, ebx
call fcn.0043ddc0
push eax
mov ecx, esi
call fcn.00493da0
mov ecx, dword [0x74b840]
push 0
push 0x697d48
lea ecx, [ecx + 4]
call fcn.004ef0b0
mov ecx, dword [0x749624]
call fcn.0048ab90
lea ecx, [ebx + 0x7c]
call fcn.004ec4d0
push 0x20
call fcn.004e1c50
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x24]
add esp, 4
xorps xmm0, xmm0
movq 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 + 0x2710c], 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.004cc670
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004cc670
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.005688a8
mov esp, ebp
pop ebp
ret 0x14