Function at 0x5285b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6f77c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
jmp 0x5285c8
call fcn.004add80
mov ecx, eax
call fcn.00534100
movzx eax, al
test eax, eax
je 0x5285e4
mov dword [ebp - 0x28], 1
jmp 0x5285eb
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp + 0x18], ecx
mov byte [ebp - 0x19], 0
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x528609
mov byte [ebp - 0x19], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x2ee70], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x2ee74], eax
cmp dword [ebp + 0x18], 0
je 0x52862d
mov byte [ebp - 0x1a], 1
jmp 0x528631
mov byte [ebp - 0x1a], 0
movzx ecx, byte [ebp - 0x1a]
push ecx
call fcn.0052aa20
add esp, 4
mov dword [ebp - 0x2c], eax
push 0x66
push 0x64
mov ecx, dword [ebp - 0x18]
call fcn.0059bc30
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov edx, dword [ebp - 0x2c]
push edx
push 0
push 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0059bb70
movzx ecx, al
test ecx, ecx
jne 0x52869b
push str.CMSWindow::Create_failed
call fcn.00574320
add esp, 4
push str.CREATE_WINDOW
mov edx, dword [sym.imp.python27.dll_PyExc_RuntimeError]
mov eax, dword [edx]
push eax
call dword [sym.imp.python27.dll_PyErr_SetString]
add esp, 8
xor al, al
jmp 0x528ad2
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005341a0
movzx ecx, al
test ecx, ecx
je 0x5286bf
call fcn.0052acb0
add eax, 4
mov ecx, eax
call fcn.0059fe50
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.00534100
movzx edx, al
test edx, edx
jne 0x528740
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005341a0
movzx eax, al
test eax, eax
jne 0x5286f5
call fcn.0053de10
movzx ecx, al
test ecx, ecx
je 0x528740
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x2ef7c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x2efa0], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005340a0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00595dc0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00531b10
mov dword [ebp + 0x18], 1
jmp 0x5287d7
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.00534080
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.00534060
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0059bb00
cmp dword [ebp + 0x18], 0
je 0x5287c1
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2ef7c], 1
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x5287bf
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0059bc10
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0059bc60
sub eax, 0x3c
sub eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0059bc70
sub eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0059bed0
jmp 0x5287d7
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x2ef7c], 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0059bed0
jmp 0x5287dc
mov ecx, dword [ebp - 0x18]
call 0x52c300
movzx eax, al
test eax, eax
jne 0x528816
push str.CMSWindow::Cursors_Create_Error
call fcn.00574320
add esp, 4
push str._CREATE_CURSOR_
mov ecx, dword [sym.imp.python27.dll_PyExc_RuntimeError]
mov edx, dword [ecx]
push edx
call dword [sym.imp.python27.dll_PyErr_SetString]
add esp, 8
xor al, al
jmp 0x528ad2
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005341c0
movzx eax, al
test eax, eax
jne 0x528839
mov ecx, dword [ebp - 0x18]
add ecx, 0xe8
call fcn.006085d0
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005341e0
movzx ecx, al
test ecx, ecx
jne 0x528861
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.00534200
mov byte [0x745428], al
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005340c0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005340a0
push eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.00534080
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.00534060
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00528af0
movzx eax, al
test eax, eax
jne 0x5288b7
xor al, al
jmp 0x528ad2
call fcn.0057e58b
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005341e0
movzx ecx, al
test ecx, ecx
je 0x528901
call fcn.00587fc0
movzx edx, al
test edx, edx
je 0x5288ef
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x2aa60
call fcn.005d07b0
jmp 0x5288ff
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x2aa60
call fcn.005d07b0
jmp 0x528921
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.00534200
movzx eax, al
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2aa60
call fcn.005d07b0
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0059bef0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x2efa0], 0
je 0x528956
push 0x40
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00595dc0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x18]
call fcn.00595dc0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.005936d0
movzx ecx, al
test ecx, ecx
jne 0x528978
xor al, al
jmp 0x528ad2
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.00534400
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c75c
call fcn.005340e0
movzx edx, al
test edx, edx
je 0x5289a7
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0052c670
jmp 0x5289b1
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0052c670
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c754
call fcn.0059c230
movzx eax, al
test eax, eax
jne 0x5289f1
push str.NetDevice::Create_failed
call fcn.00574320
add esp, 4
push str._CREATE_NETWORK_
mov ecx, dword [sym.imp.python27.dll_PyExc_RuntimeError]
mov edx, dword [ecx]
push edx
call dword [sym.imp.python27.dll_PyErr_SetString]
add esp, 8
xor al, al
jmp 0x528ad2
call fcn.00587fc0
movzx eax, al
test eax, eax
jne 0x528a07
push 1
call fcn.0057e7fd
add esp, 4
mov ecx, dword [ebp - 0x18]
add ecx, 0x21100
call fcn.004cb910
call fcn.0055f140
mov ecx, dword [ebp - 0x18]
call fcn.00595dc0
push eax
call fcn.0052acb0
mov ecx, eax
call fcn.00531ef0
push 0
push 0x670a0d
call fcn.0052acb0
add eax, 4
mov ecx, eax
call fcn.0059f7b0
call fcn.004add90
mov ecx, eax
call fcn.005212f0
mov ecx, dword [ebp - 0x18]
add ecx, 0x7c
call fcn.0059cc40
push 0x20
call fcn.005920d0
add esp, 4
push 8
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00615df0
add esp, 0xc
mov dword [ebp - 0x24], 8
push 0
lea edx, [ebp - 0x24]
push edx
push 8
push 0x3a
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x2efa4], ecx
mov edx, dword [ebp - 0x20]
and edx, 0xfffffff9
mov dword [ebp - 0x20], edx
push 0
lea eax, [ebp - 0x24]
push eax
push 8
push 0x3b
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push str.d:_ymir_work_special_spheremap.jpg
push 0
call fcn.0057cd81
add esp, 8
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.0057cd81
add esp, 8
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061693e
mov esp, ebp
pop ebp
ret 0x14