Function at 0x4517e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6ae4c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x4517fb
mov ecx, dword [0x736c50]
call fcn.004af910
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 + 0x22430], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x22434], ecx
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.004ea570
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov cl, bl
call fcn.004517d0
push eax
push 0
push 4
push esi
mov ecx, edi
call fcn.004ea4b0
test al, al
jne 0x451894
push str.CMSWindow::Create_failed
call fcn.004d1200
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.0057bdda
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [edi + 0x1fd14]
mov ecx, ebx
call fcn.004afa80
test al, al
je 0x4518b3
mov ecx, dword [0x736c74]
lea ecx, [ecx + 4]
call fcn.004f44a0
call fcn.0048a750
mov ecx, ebx
call fcn.004af910
test al, al
jne 0x45190c
call fcn.004afa80
test al, al
jne 0x4518d5
call fcn.0044b740
test al, al
je 0x45190c
mov ecx, ebx
mov byte [edi + 0x2253c], 0
mov dword [edi + 0x22560], 1
call fcn.004af6a0
mov ecx, edi
mov esi, eax
call fcn.00440790
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.00455f40
mov dword [ebp - 0x1c], 1
jmp 0x451989
mov ecx, ebx
call fcn.004af690
push eax
call fcn.004af680
push eax
mov ecx, edi
call fcn.004ea430
cmp dword [ebp - 0x1c], 0
je 0x451977
cmp dword [ebp - 0x28], 0
mov byte [edi + 0x2253c], 1
je 0x451971
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004ea550
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.004ea5a0
mov ecx, dword [ebp - 0x18]
mov edi, 0xffffffc4
sub edi, esi
add edi, eax
call fcn.004ea5b0
push edi
mov edi, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, edi
call fcn.004ea8c0
push 0
push 0xfffffffffffffff8
jmp 0x451982
push 0
mov byte [edi + 0x2253c], 0
push 0
mov ecx, edi
call fcn.004ea8c0
jmp 0x45198e
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00453160
test al, al
jne 0x4519b3
push str.CMSWindow::Cursors_Create_Error
call fcn.004d1200
add esp, 4
push str._CREATE_CURSOR_
jmp 0x45186f
lea ecx, [ebx + 0x1fd14]
call fcn.004af6c0
test al, al
jne 0x4519d3
lea ecx, [ebx + 0xe8]
call fcn.0056db70
lea ecx, [ebx + 0x1fd14]
call fcn.004afa40
test al, al
jne 0x4519e6
call fcn.004afa70
mov byte [0x6f8338], al
call fcn.004af6b0
mov edi, eax
call fcn.004af6a0
mov esi, eax
call fcn.004af690
mov edx, eax
call fcn.004af680
push edi
push esi
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push eax
call fcn.004511f0
test al, al
je 0x45187f
call fcn.004dc990
lea ecx, [ebx + 0x1fd14]
call fcn.004afa40
test al, al
je 0x451a33
call fcn.004e9b50
xor al, 1
jmp 0x451a3e
lea ecx, [ebx + 0x1fd14]
call fcn.004afa70
movzx eax, al
lea ecx, [ebx + 0x1df08]
push eax
call fcn.00527dc0
push 1
mov ecx, ebx
call fcn.004ea8e0
cmp dword [ebx + 0x22560], 0
je 0x451a7b
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.00440790
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00440790
push eax
lea ecx, [ebx + 0x1c]
call fcn.004eac50
test al, al
je 0x45187f
lea ecx, [ebx + 0x1fd14]
call fcn.004af2f0
lea ecx, [ebx + 0x1fd14]
call fcn.004af6d0
movzx eax, al
mov ecx, ebx
push eax
call fcn.00453500
lea ecx, [ebx + 0x1fd0c]
call fcn.004ed1e0
test al, al
jne 0x451ada
push str.NetDevice::Create_failed
call fcn.004d1200
add esp, 4
push str._CREATE_NETWORK_
jmp 0x45186f
call fcn.004e9b50
test al, al
jne 0x451aed
push 1
call fcn.004dcc90
add esp, 4
lea ecx, [ebx + 0x1b58c]
call fcn.0046ff90
call fcn.0043e080
mov esi, dword [0x736c74]
mov ecx, ebx
call fcn.00440790
push eax
mov ecx, esi
call fcn.0046dea0
mov ecx, dword [0x736c74]
push 0
push 0x65bfce
lea ecx, [ecx + 4]
call fcn.004f3de0
call fcn.004b4090
lea ecx, [ebx + 0x7c]
call fcn.004eb5a0
push 0x20
call fcn.004f4b80
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 + 0x22564], 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.004dacc0
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.004dacc0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.0057bdda
mov esp, ebp
pop ebp
ret 0x14