Function at 0x4c39c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x71ccd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x4c39db
call fcn.0044c610
mov ecx, eax
call fcn.004d07e0
movzx eax, al
test eax, eax
je 0x4c39f7
mov dword [ebp - 0x28], 1
jmp 0x4c39fe
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp + 0x18], ecx
mov byte [ebp - 0x1a], 0
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4c3a1c
mov byte [ebp - 0x1a], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x2ed50], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x2ed54], eax
cmp dword [ebp + 0x18], 0
je 0x4c3a40
mov byte [ebp - 0x19], 1
jmp 0x4c3a44
mov byte [ebp - 0x19], 0
movzx ecx, byte [ebp - 0x19]
push ecx
call fcn.004c6080
add esp, 4
mov dword [ebp - 0x2c], eax
push 0x66
push 0x64
mov ecx, dword [ebp - 0x18]
call fcn.00545c90
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.00545bd0
movzx ecx, al
test ecx, ecx
jne 0x4c3aae
push str.CMSWindow::Create_failed
call fcn.005190c0
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 0x4c3ef3
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0880
movzx ecx, al
test ecx, ecx
je 0x4c3ad2
call fcn.004c6370
add eax, 4
mov ecx, eax
call fcn.0054a200
mov ecx, dword [ebp - 0x18]
add ecx, 0x828
call fcn.004eb860
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d07e0
movzx edx, al
test edx, edx
jne 0x4c3b61
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0880
movzx eax, al
test eax, eax
jne 0x4c3b16
call fcn.004dda40
movzx ecx, al
test ecx, ecx
je 0x4c3b61
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x2ee5c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x2ee80], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0780
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0051b530
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004cd520
mov dword [ebp + 0x18], 1
jmp 0x4c3bf8
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0760
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0740
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00545b60
cmp dword [ebp + 0x18], 0
je 0x4c3be2
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2ee5c], 1
movzx ecx, byte [ebp - 0x1a]
test ecx, ecx
je 0x4c3be0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00545c70
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.00545cc0
sub eax, 0x3c
sub eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00545cd0
sub eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00545fe0
jmp 0x4c3bf8
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x2ee5c], 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00545fe0
jmp 0x4c3bfd
mov ecx, dword [ebp - 0x18]
call 0x4c79c0
movzx eax, al
test eax, eax
jne 0x4c3c37
push str.CMSWindow::Cursors_Create_Error
call fcn.005190c0
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 0x4c3ef3
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d08a0
movzx eax, al
test eax, eax
jne 0x4c3c5a
mov ecx, dword [ebp - 0x18]
add ecx, 0xe8
call fcn.005b9a30
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d08c0
movzx ecx, al
test ecx, ecx
jne 0x4c3c82
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d08e0
mov byte [0x7c75a4], al
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d07a0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0780
push eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0760
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0740
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004c3f10
movzx eax, al
test eax, eax
jne 0x4c3cd8
xor al, al
jmp 0x4c3ef3
call fcn.00525304
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d08c0
movzx ecx, al
test ecx, ecx
je 0x4c3d22
call fcn.0052ed80
movzx edx, al
test edx, edx
je 0x4c3d10
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x2a8ec
call fcn.0057ef50
jmp 0x4c3d20
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x2a8ec
call fcn.0057ef50
jmp 0x4c3d42
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d08e0
movzx eax, al
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2a8ec
call fcn.0057ef50
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00546000
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x2ee80], 0
je 0x4c3d77
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.0051b530
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x18]
call fcn.0051b530
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.0053b490
movzx ecx, al
test ecx, ecx
jne 0x4c3d99
xor al, al
jmp 0x4c3ef3
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d0c70
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5cc
call fcn.004d07c0
movzx edx, al
test edx, edx
je 0x4c3dc8
push 1
mov ecx, dword [ebp - 0x18]
call fcn.004c7d30
jmp 0x4c3dd2
push 0
mov ecx, dword [ebp - 0x18]
call fcn.004c7d30
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c5c4
call fcn.00546210
movzx eax, al
test eax, eax
jne 0x4c3e12
push str.NetDevice::Create_failed
call fcn.005190c0
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 0x4c3ef3
call fcn.0052ed80
movzx eax, al
test eax, eax
jne 0x4c3e28
push 1
call fcn.0052553f
add esp, 4
mov ecx, dword [ebp - 0x18]
add ecx, 0x20914
call fcn.00470f50
call fcn.004ff850
mov ecx, dword [ebp - 0x18]
call fcn.0051b530
push eax
call fcn.004c6370
mov ecx, eax
call fcn.004cd8f0
push 0
push 0x681451
call fcn.004c6370
add eax, 4
mov ecx, eax
call fcn.00549b40
call fcn.0044c620
mov ecx, eax
call fcn.004bd700
mov ecx, dword [ebp - 0x18]
add ecx, 0x7c
call fcn.00546910
push 0x20
call fcn.005394d0
add esp, 4
push 8
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00602f50
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 + 0x2ee84], 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.00523bc4
add esp, 8
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.00523bc4
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c81cf
mov esp, ebp
pop ebp
ret 0x14