Function at 0x4d8de0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689585
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
jmp 0x4d8e13
mov ecx, dword [0x7751f8]
call fcn.004e5f40
mov edi, dword [ebp + 0xc]
xor ecx, ecx
test al, al
push edi
setne cl
xor bl, bl
push 0
mov dword [ebp - 0x48], ecx
call dword [sym.imp.USER32.dll_FindWindowA]
push dword [ebp - 0x48]
movzx ecx, bl
test eax, eax
mov ebx, dword [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp + 0x10]
cmovne ecx, edx
mov dword [ebp - 0x54], ecx
mov dword [ebx + 0x5782c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x57830], eax
call fcn.004db510
add esp, 4
mov ecx, ebx
mov esi, eax
push 0x66
push 0x64
call fcn.00553ad0
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push esi
push 0
push 4
push edi
mov ecx, ebx
call fcn.00553a10
test al, al
jne 0x4d8ecb
push str.CMSWindow::Create_failed
call fcn.0051ef80
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, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret 0x14
lea esi, [ebx + 0x54fc0]
mov ecx, esi
call fcn.004e5f20
test al, al
je 0x4d8eea
mov ecx, dword [0x779ac8]
lea ecx, [ecx + 4]
call fcn.00557e60
mov ecx, esi
call fcn.004e5f40
test al, al
jne 0x4d8f40
mov ecx, esi
call fcn.004e5f20
test al, al
jne 0x4d8f09
call fcn.004eafe0
test al, al
je 0x4d8f40
mov ecx, esi
mov byte [ebx + 0x5793c], 0
mov dword [ebx + 0x57960], 1
call fcn.004e59b0
push eax
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.0045e5b0
push eax
mov ecx, ebx
call fcn.004e4780
mov dword [ebp - 0x48], 1
jmp 0x4d8fb0
mov ecx, esi
call fcn.004e5cb0
push eax
mov ecx, esi
call fcn.004e5e00
push eax
mov ecx, ebx
call fcn.00553990
cmp dword [ebp - 0x48], 0
je 0x4d8f9e
cmp byte [ebp - 0x54], 0
mov byte [ebx + 0x5793c], 1
je 0x4d8fb0
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00553ab0
mov edi, dword [ebp - 0x18]
mov ecx, ebx
mov esi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x1c]
call fcn.00553b00
mov ecx, 0xffffffc4
sub ecx, esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.00553b10
sub eax, edi
push eax
jmp 0x4d8fa9
push 0
mov byte [ebx + 0x5793c], 0
push 0
mov ecx, ebx
call fcn.00553e10
jmp 0x4d8fb5
mov ebx, dword [ebp - 0x44]
mov ecx, ebx
call fcn.004dca60
test al, al
jne 0x4d8fd7
push str.CMSWindow::Cursors_Create_Error
call fcn.0051ef80
push str._CREATE_CURSOR_
jmp 0x4d8e9b
lea esi, [ebx + 0x54fc0]
mov ecx, esi
call fcn.004e5e90
test al, al
jne 0x4d8ff3
lea ecx, [ebx + 0xe8]
call fcn.005cf8b0
mov ecx, esi
call fcn.004e5e50
test al, al
jne 0x4d900a
mov ecx, esi
call fcn.004e5f10
mov byte [0x7add1c], al
mov ecx, esi
call fcn.004e5be0
push eax
mov ecx, esi
call fcn.004e59b0
push eax
push dword [ebp - 0x48]
mov ecx, esi
call fcn.004e5cb0
push eax
mov ecx, esi
call fcn.004e5e00
push eax
mov ecx, ebx
call fcn.004d9250
test al, al
je 0x4d8eab
call fcn.0052bd89
mov ecx, esi
call fcn.004e5e50
test al, al
je 0x4d9059
call fcn.00536a50
test al, al
sete byte [ebp - 0x44]
jmp 0x4d9063
mov ecx, esi
call fcn.004e5f10
mov byte [ebp - 0x44], al
push dword [ebp - 0x44]
lea ecx, [ebx + 0x52ed8]
call fcn.00592a90
push 1
mov ecx, ebx
call fcn.00553e30
cmp dword [ebx + 0x57960], 0
je 0x4d909f
push 0x40
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push 0
push 0
call fcn.0045e5b0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.0045e5b0
push eax
lea ecx, [ebx + 0x1c]
call fcn.0054aab0
test al, al
je 0x4d8eab
mov ecx, esi
call fcn.004e59e0
mov ecx, esi
call fcn.004e5f00
xor ecx, ecx
test al, al
setne cl
push ecx
mov ecx, ebx
call fcn.004dccb0
lea ecx, [ebx + 0x54fb8]
call fcn.00554040
test al, al
jne 0x4d90f7
push str.NetDevice::Create_failed
call fcn.0051ef80
push str._CREATE_NETWORK_
jmp 0x4d8e9b
call fcn.00536a50
test al, al
jne 0x4d910a
push 1
call fcn.0052bfc4
add esp, 4
lea ecx, [ebx + 0x4af64]
call fcn.0047f350
call fcn.00506a20
mov ecx, ebx
call fcn.0045e5b0
mov ecx, dword [0x779ac8]
push eax
call fcn.004e4a10
mov ecx, dword [0x779ac8]
push 0
push 0x69cbe0
lea ecx, [ecx + 4]
call fcn.005577b0
mov ecx, dword [0x777710]
call fcn.004d5950
lea ecx, [ebx + 0x7c]
call fcn.005546f0
push 0x20
call fcn.005489e0
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x50]
add esp, 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], 8
push 0
push eax
push 8
push 0x3a
call esi
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x57964], eax
and eax, 0xfffffff9
push 0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 8
push 0x3b
call esi
push str.d:_ymir_work_special_spheremap.jpg
push 0
call fcn.0052a561
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.0052a561
add esp, 0x10
mov ecx, ebx
call fcn.004d9900
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
push 0
push 2
call fcn.004dae40
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4d923d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d9233
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d9244
push edx
push ecx
call fcn.005df40c
add esp, 8
mov al, 1
jmp 0x4d8ead
call fcn.00631407
int3