Function at 0x4734d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov ebx, ecx
jmp 0x4734ee
mov ecx, dword [0x71b1f8]
call fcn.004e0d20
mov esi, dword [ebp + 0xc]
xor ecx, ecx
test al, al
mov byte [esp + 0x13], 0
push esi
setne cl
push 0
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_FindWindowA]
movzx ecx, byte [esp + 0x13]
test eax, eax
mov eax, dword [ebp + 0x10]
mov edx, 1
cmovne ecx, edx
mov dword [ebx + 0x24d28], eax
mov eax, dword [ebp + 0x14]
push 0x66
mov dword [esp + 0x24], ecx
mov ecx, ebx
push 0x64
mov dword [ebx + 0x24d2c], eax
call fcn.0054e290
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, dword [esp + 0x18]
test edi, edi
push eax
setne cl
call fcn.004734c0
push eax
push 0
push 4
push esi
mov ecx, ebx
call fcn.0054e1d0
test al, al
jne 0x4735a4
push str.CMSWindow::Create_failed
call fcn.005352a0
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 [esp + 0x28]
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret 0x14
lea esi, [ebx + 0x225bc]
mov ecx, esi
call fcn.004e0ec0
test al, al
je 0x4735c3
mov ecx, dword [0x71b20c]
lea ecx, [ecx + 4]
call fcn.00557b80
mov ecx, esi
call fcn.004e0d20
test al, al
jne 0x473616
call fcn.004e0ec0
test al, al
jne 0x4735e0
call fcn.0046bf10
test al, al
je 0x473616
mov ecx, ebx
mov byte [ebx + 0x24e34], 0
mov dword [ebx + 0x24e58], 1
call fcn.0045f860
mov ecx, esi
call fcn.004e0ab0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00477cf0
mov edi, 1
jmp 0x473699
mov ecx, esi
call fcn.004e0aa0
push eax
call fcn.004e0a90
push eax
mov ecx, ebx
call fcn.0054e160
test edi, edi
je 0x473687
cmp byte [esp + 0x20], 0
mov byte [ebx + 0x24e34], 1
je 0x473699
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.0054e270
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov esi, dword [esp + 0x30]
sub edi, dword [esp + 0x24]
sub esi, dword [esp + 0x28]
call fcn.0054e2c0
mov ecx, 0xffffffc4
sub ecx, esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.0054e2d0
sub eax, edi
mov ecx, ebx
push eax
call fcn.0054e530
mov edi, dword [esp + 0x14]
lea esi, [ebx + 0x225bc]
jmp 0x473699
push 0
push 0
mov ecx, ebx
mov byte [ebx + 0x24e34], 0
call fcn.0054e530
jmp 0x47369e
mov ecx, ebx
call fcn.00474df0
test al, al
jne 0x4736c0
push str.CMSWindow::Cursors_Create_Error
call fcn.005352a0
add esp, 4
push str._CREATE_CURSOR_
jmp 0x47357e
mov ecx, esi
call fcn.004e0ad0
test al, al
jne 0x4736d6
lea ecx, [ebx + 0xe8]
call fcn.005d2d40
mov ecx, esi
call fcn.004e0e80
test al, al
jne 0x4736eb
call fcn.004e0eb0
mov byte [0x70d574], al
mov ecx, esi
call fcn.004e0ac0
push eax
call fcn.004e0ab0
push eax
push edi
call fcn.004e0aa0
push eax
call fcn.004e0a90
push eax
mov ecx, ebx
call fcn.00472f30
test al, al
je 0x47358e
call fcn.0053ef80
mov ecx, esi
call fcn.004e0e80
test al, al
je 0x47373c
call fcn.0054d510
lea ecx, [ebx + 0x208b8]
test al, al
je 0x473738
push 0
jmp 0x47374d
push 1
jmp 0x47374d
mov ecx, esi
call fcn.004e0eb0
movzx eax, al
lea ecx, [ebx + 0x208b8]
push eax
call fcn.00581ec0
push 1
mov ecx, ebx
call fcn.0054e550
cmp dword [ebx + 0x24e58], 0
je 0x473780
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.0045f860
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.0045f860
push eax
lea ecx, [ebx + 0x1c]
call fcn.0054e900
test al, al
je 0x47358e
mov ecx, esi
call fcn.004e0690
mov ecx, esi
call fcn.004e0ae0
mov ecx, ebx
test al, al
je 0x4737b0
push 1
jmp 0x4737b2
push 0
call fcn.004750f0
lea ecx, [ebx + 0x225b4]
call fcn.005516d0
test al, al
jne 0x4737dd
push str.NetDevice::Create_failed
call fcn.005352a0
add esp, 4
push str._CREATE_NETWORK_
jmp 0x47357e
call fcn.0054d510
test al, al
jne 0x4737f0
push 1
call fcn.0053f2e0
add esp, 4
lea ecx, [ebx + 0x1d568]
call fcn.004944e0
call fcn.0045d8b0
mov esi, dword [0x71b20c]
mov ecx, ebx
call fcn.0045f860
push eax
mov ecx, esi
call fcn.00492370
mov ecx, dword [0x71b20c]
push 0
push 0x6606ee
lea ecx, [ecx + 4]
call fcn.005574e0
call fcn.004e57e0
lea ecx, [ebx + 0x7c]
call fcn.0054f730
push 0x20
call fcn.005583b0
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [esp + 0x1c]
add esp, 4
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 8
push 0
push eax
push 8
push 0x3a
call esi
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x24e5c], eax
and eax, 0xfffffff9
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 8
push 0x3b
call esi
push str.d:_ymir_work_special_spheremap.jpg
push 0
call fcn.0053d5f0
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.0053d5f0
mov ecx, dword [esp + 0x44]
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret 0x14