Function at 0x4fce50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x13f8cc0]
sub esp, 0x38
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x4fcefd
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [0x182fc60]
mov dword [esp + 0x24], eax
mov eax, dword [0x153326c]
push 1
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], str.Call_of_Duty
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x4fcee4
push str.EXE_ERR_COULDNT_REGISTER_WINDOW
push esi
call dword [0x15485a4]
add esp, 8
push str....registered_window_class_n
push esi
mov dword [0x13f8cc0], 1
call dword [0x15485a0]
add esp, 8
mov edi, dword [esp + 0x5c]
cmp edi, esi
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x4fcf2f
mov dword [esp + 0x54], 8
mov dword [esp + 0x50], 0x90080000
jmp 0x4fcf54
push esi
push 0x10c80000
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], 0x10c80000
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov ebx, ecx
sub eax, dword [esp + 0x14]
cmp edi, esi
mov ebp, eax
je 0x4fcf68
xor edi, edi
jmp 0x4fcfca
push esi
push 0x54dce0
push str.vid_xpos
call dword [0x15485c0]
push esi
push 0x54dce0
push str.vid_ypos
mov edi, eax
call dword [0x15485c0]
mov esi, dword [edi + 0x20]
mov edi, dword [eax + 0x20]
add esp, 0x18
test esi, esi
jge 0x4fcf9b
xor esi, esi
test edi, edi
jge 0x4fcfa1
xor edi, edi
mov eax, dword [0x182fc78]
cmp ebx, eax
jge 0x4fcfca
mov ecx, dword [0x182fc7c]
cmp ebp, ecx
jge 0x4fcfca
lea edx, [esi + ebx]
cmp edx, eax
jle 0x4fcfbf
sub eax, ebx
mov esi, eax
lea eax, [edi + ebp]
cmp eax, ecx
jle 0x4fcfca
sub ecx, ebp
mov edi, ecx
mov eax, dword [0x1533268]
test eax, eax
jne 0x4fd03c
mov ecx, dword [0x153326c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push 0
push ecx
push 0
push 0
push ebp
push ebx
push edi
push esi
push edx
push str.Call_of_Duty
push str.Call_of_Duty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x1533268], eax
jne 0x4fd01b
push str.EXE_ERR_COULDNT_CREATE_WINDOW
push eax
call dword [0x15485a4]
mov eax, dword [0x1533268]
add esp, 8
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x1533268]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebp
push ebx
push edi
push esi
push str....created_window__d__d___dx_d__n
jmp 0x4fd068
push str....window_already_present__CreateWindowEx_skipped_n
push 0
call dword [0x15485a0]
mov edx, dword [0x1533268]
add esp, 8
push 0
push ebp
push ebx
push edi
push esi
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
push ebp
push ebx
push edi
push esi
push str....moved_window_to__d__d___dx_d__n
push 0
call dword [0x15485a0]
mov eax, dword [esp + 0x64]
add esp, 0x18
push eax
mov eax, dword [esp + 0x5c]
call fcn.004fcc10
add esp, 4
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x4fd0b7
mov ecx, dword [0x1533268]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x1533268]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x1533268], 0
xor eax, eax
add esp, 0x38
ret
mov eax, dword [0x1533268]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x1533268]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x8d6c38]
test eax, eax
je 0x4fd0e2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
add esp, 0x38
ret