Function at 0x531810
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x759990]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
jmp 0x531828
call fcn.004a8c70
mov ecx, eax
call fcn.0053d6a0
movzx eax, al
test eax, eax
je 0x531844
mov dword [ebp - 0x28], 1
jmp 0x53184b
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 0x531869
mov byte [ebp - 0x19], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x36300], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x36304], eax
cmp dword [ebp + 0x18], 0
je 0x53188d
mov byte [ebp - 0x1a], 1
jmp 0x531891
mov byte [ebp - 0x1a], 0
movzx ecx, byte [ebp - 0x1a]
push ecx
call fcn.00533c80
add esp, 4
mov dword [ebp - 0x2c], eax
push 0x66
push 0x64
mov ecx, dword [ebp - 0x18]
call fcn.005a5b50
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.005a5a90
movzx ecx, al
test ecx, ecx
jne 0x5318fb
push str.CMSWindow::Create_failed
call fcn.0057e760
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 0x531d32
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d740
movzx ecx, al
test ecx, ecx
je 0x53191f
call fcn.00533f70
add eax, 4
mov ecx, eax
call fcn.005a9ea0
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d6a0
movzx edx, al
test edx, edx
jne 0x5319a0
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d740
movzx eax, al
test eax, eax
jne 0x531955
call fcn.00547200
movzx ecx, al
test ecx, ecx
je 0x5319a0
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x3640c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x36430], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d640
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0059fcd0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0053add0
mov dword [ebp + 0x18], 1
jmp 0x531a37
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d620
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d600
push eax
mov ecx, dword [ebp - 0x18]
call fcn.005a5a20
cmp dword [ebp + 0x18], 0
je 0x531a21
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x3640c], 1
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x531a1f
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.005a5b30
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.005a5b80
sub eax, 0x3c
sub eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.005a5b90
sub eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.005a5df0
jmp 0x531a37
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x3640c], 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.005a5df0
jmp 0x531a3c
mov ecx, dword [ebp - 0x18]
call 0x5355c0
movzx eax, al
test eax, eax
jne 0x531a76
push str.CMSWindow::Cursors_Create_Error
call fcn.0057e760
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 0x531d32
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d760
movzx eax, al
test eax, eax
jne 0x531a99
mov ecx, dword [ebp - 0x18]
add ecx, 0xe8
call fcn.00613270
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d780
movzx ecx, al
test ecx, ecx
jne 0x531ac1
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d7a0
mov byte [0x7a6710], al
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d660
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d640
push eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d620
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d600
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00531d50
movzx eax, al
test eax, eax
jne 0x531b17
xor al, al
jmp 0x531d32
call fcn.00588884
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d780
movzx ecx, al
test ecx, ecx
je 0x531b61
call fcn.00592630
movzx edx, al
test edx, edx
je 0x531b4f
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x31e4c
call fcn.005dabe0
jmp 0x531b5f
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x31e4c
call fcn.005dabe0
jmp 0x531b81
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d7a0
movzx eax, al
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x31e4c
call fcn.005dabe0
push 1
mov ecx, dword [ebp - 0x18]
call fcn.005a5e10
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x36430], 0
je 0x531bb6
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.0059fcd0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x18]
call fcn.0059fcd0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.0059d5c0
movzx ecx, al
test ecx, ecx
jne 0x531bd8
xor al, al
jmp 0x531d32
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053da40
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bd0
call fcn.0053d680
movzx edx, al
test edx, edx
je 0x531c07
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00535930
jmp 0x531c11
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00535930
mov ecx, dword [ebp - 0x18]
add ecx, 0x33bc8
call fcn.005a60f0
movzx eax, al
test eax, eax
jne 0x531c51
push str.NetDevice::Create_failed
call fcn.0057e760
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 0x531d32
call fcn.00592630
movzx eax, al
test eax, eax
jne 0x531c67
push 1
call fcn.00588af6
add esp, 4
mov ecx, dword [ebp - 0x18]
add ecx, 0x25c1c
call fcn.004ce940
call fcn.005690d0
mov ecx, dword [ebp - 0x18]
call fcn.0059fcd0
push eax
call fcn.00533f70
mov ecx, eax
call fcn.0053b1b0
push 0
push 0x6cbf61
call fcn.00533f70
add eax, 4
mov ecx, eax
call fcn.005a9800
call fcn.004b0ca0
mov ecx, eax
call fcn.0052aae0
mov ecx, dword [ebp - 0x18]
add ecx, 0x7c
call fcn.005a6910
push 0x20
call fcn.0059c0a0
add esp, 4
push 8
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00620a70
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 + 0x36434], 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.005870a3
add esp, 8
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.005870a3
add esp, 8
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622d3e
mov esp, ebp
pop ebp
ret 0x14