Function at 0x4fbc90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x4fbcae
call fcn.0045c8c0
mov ecx, eax
call fcn.0050bae0
movzx eax, al
test eax, eax
je 0x4fbcca
mov dword [ebp - 0x28], 1
jmp 0x4fbcd1
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 0x4fbcef
mov byte [ebp - 0x1a], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x38e60], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x38e64], eax
cmp dword [ebp + 0x18], 0
je 0x4fbd13
mov byte [ebp - 0x19], 1
jmp 0x4fbd17
mov byte [ebp - 0x19], 0
movzx ecx, byte [ebp - 0x19]
push ecx
call fcn.004fe700
add esp, 4
mov dword [ebp - 0x2c], eax
push 0x66
push 0x64
mov ecx, dword [ebp - 0x18]
call fcn.0058c5d0
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.0058c510
movzx ecx, al
test ecx, ecx
jne 0x4fbd81
push str.CMSWindow::Create_failed
call fcn.0055f5e0
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 0x4fc298
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bb80
movzx ecx, al
test ecx, ecx
je 0x4fbda5
call fcn.004ff520
add eax, 4
mov ecx, eax
call fcn.00590c50
mov ecx, dword [ebp - 0x18]
add ecx, 0x868
call fcn.00528b40
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bae0
movzx edx, al
test edx, edx
jne 0x4fbe40
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bb80
movzx eax, al
test eax, eax
jne 0x4fbde9
call fcn.00516390
movzx ecx, al
test ecx, ecx
je 0x4fbe40
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x38f6c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x38f90], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050ba80
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
call fcn.00562190
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00507bd0
mov dword [ebp + 0x18], 1
jmp 0x4fbf60
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050ba60
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050ba40
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0058c490
cmp dword [ebp + 0x18], 0
je 0x4fbf4a
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x38f6c], 1
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050ba40
mov esi, eax
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea esi, [esi + eax*2]
push 7
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea esi, [esi + eax*2]
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea edx, [esi + eax*2]
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050ba60
mov esi, eax
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea esi, [esi + eax*2]
push 8
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea esi, [esi + eax*2]
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea esi, [esi + eax*2]
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x40]
shr eax, 1
mov ecx, dword [ebp - 0x44]
shr ecx, 1
sub eax, ecx
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x48]
shr edx, 1
mov eax, dword [ebp - 0x4c]
shr eax, 1
sub edx, eax
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0058c900
jmp 0x4fbf60
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x38f6c], 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0058c900
jmp 0x4fbf65
mov ecx, dword [ebp - 0x18]
call 0x5014b0
movzx ecx, al
test ecx, ecx
jne 0x4fbf9f
push str.CMSWindow::Cursors_Create_Error
call fcn.0055f5e0
add esp, 4
push str._CREATE_CURSOR_
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 0x4fc298
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bba0
movzx ecx, al
test ecx, ecx
jne 0x4fbfc2
mov ecx, dword [ebp - 0x18]
add ecx, 0xe8
call fcn.00608780
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bbc0
movzx edx, al
test edx, edx
jne 0x4fbfea
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bbe0
mov byte [0x7c4e40], al
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050baa0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050ba80
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050ba60
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050ba40
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.004fc2b0
movzx edx, al
test edx, edx
jne 0x4fc058
xor al, al
jmp 0x4fc298
call fcn.00569684
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bbc0
movzx eax, al
test eax, eax
je 0x4fc0ad
call fcn.00574fb0
movzx ecx, al
test ecx, ecx
je 0x4fc096
mov edx, dword [ebp - 0x18]
add edx, 0x3503c
mov dword [ebp - 0x68], edx
push 0
mov ecx, dword [ebp - 0x68]
call fcn.005c5cd0
jmp 0x4fc0ab
mov eax, dword [ebp - 0x18]
add eax, 0x3503c
mov dword [ebp - 0x6c], eax
push 1
mov ecx, dword [ebp - 0x6c]
call fcn.005c5cd0
jmp 0x4fc0d3
mov ecx, dword [ebp - 0x18]
add ecx, 0x3503c
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bbe0
movzx edx, al
push edx
mov ecx, dword [ebp - 0x70]
call fcn.005c5cd0
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0058c920
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x38f90], 0
je 0x4fc108
push 0x40
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00562190
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x18]
add eax, 0x1c
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x18]
call fcn.00562190
push eax
mov ecx, dword [ebp - 0x74]
call fcn.005839e0
movzx ecx, al
test ecx, ecx
jne 0x4fc130
xor al, al
jmp 0x4fc298
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bf70
mov ecx, dword [ebp - 0x18]
add ecx, 0x365bc
call fcn.0050bac0
movzx edx, al
test edx, edx
je 0x4fc15f
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00501860
jmp 0x4fc169
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00501860
mov ecx, dword [ebp - 0x18]
add ecx, 0x365b4
call fcn.0058cb30
movzx eax, al
test eax, eax
jne 0x4fc1a9
push str.NetDevice::Create_failed
call fcn.0055f5e0
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 0x4fc298
call fcn.00574fb0
movzx eax, al
test eax, eax
jne 0x4fc1bf
push 1
call fcn.005698b8
add esp, 4
mov ecx, dword [ebp - 0x18]
add ecx, 0x3014c
call fcn.0048e3b0
call fcn.00544c20
call fcn.004ff520
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x18]
call fcn.00562190
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00507fb0
call fcn.004ff520
add eax, 4
mov dword [ebp - 0x80], eax
push 0
push 0x6e61e5
mov ecx, dword [ebp - 0x80]
call fcn.00590590
call fcn.0045c8d0
mov ecx, eax
call fcn.004f4240
mov ecx, dword [ebp - 0x18]
add ecx, 0x7c
call fcn.0058d350
push 0x20
call fcn.00582a70
add esp, 4
push 8
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00650120
add esp, 0xc
mov dword [ebp - 0x24], 8
push 0
lea eax, [ebp - 0x24]
push eax
push 8
push 0x3a
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x38f94], edx
mov eax, dword [ebp - 0x20]
and eax, 0xfffffff9
mov dword [ebp - 0x20], eax
push 0
lea ecx, [ebp - 0x24]
push ecx
push 8
push 0x3b
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push str.d:_ymir_work_special_spheremap.jpg
push 0
call fcn.00567f42
add esp, 8
push str.d:_ymir_work_special_spheremap01.jpg
push 1
call fcn.00567f42
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00616d7d
mov esp, ebp
pop ebp
ret 0x14