Function at 0x5082e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x14072e8]
sub esp, 0x38
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x50838d
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [0x19bffe0]
mov dword [esp + 0x24], eax
mov eax, dword [0x16c35ec]
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_Multiplayer
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x508374
push str.EXE_ERR_COULDNT_REGISTER_WINDOW
push esi
call dword [0x16d8924]
add esp, 8
push str....registered_window_class_n
push esi
mov dword [0x14072e8], 1
call dword [0x16d8920]
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 0x5083bf
mov dword [esp + 0x54], 8
mov dword [esp + 0x50], 0x90080000
jmp 0x5083e4
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 0x5083f8
xor edi, edi
jmp 0x50845a
push esi
push 0x559228
push str.vid_xpos
call dword [0x16d8940]
push esi
push 0x559228
push str.vid_ypos
mov edi, eax
call dword [0x16d8940]
mov esi, dword [edi + 0x20]
mov edi, dword [eax + 0x20]
add esp, 0x18
test esi, esi
jge 0x50842b
xor esi, esi
test edi, edi
jge 0x508431
xor edi, edi
mov eax, dword [0x19bfff8]
cmp ebx, eax
jge 0x50845a
mov ecx, dword [0x19bfffc]
cmp ebp, ecx
jge 0x50845a
lea edx, [esi + ebx]
cmp edx, eax
jle 0x50844f
sub eax, ebx
mov esi, eax
lea eax, [edi + ebp]
cmp eax, ecx
jle 0x50845a
sub ecx, ebp
mov edi, ecx
mov eax, dword [0x16c35e8]
test eax, eax
jne 0x5084cc
mov ecx, dword [0x16c35ec]
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_Multiplayer
push str.Call_of_Duty_Multiplayer
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x16c35e8], eax
jne 0x5084ab
push str.EXE_ERR_COULDNT_CREATE_WINDOW
push eax
call dword [0x16d8924]
mov eax, dword [0x16c35e8]
add esp, 8
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x16c35e8]
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 0x5084f8
push str....window_already_present__CreateWindowEx_skipped_n
push 0
call dword [0x16d8920]
mov edx, dword [0x16c35e8]
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 [0x16d8920]
mov eax, dword [esp + 0x64]
add esp, 0x18
push eax
mov eax, dword [esp + 0x5c]
call fcn.005080a0
add esp, 4
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x508547
mov ecx, dword [0x16c35e8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x16c35e8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x16c35e8], 0
xor eax, eax
add esp, 0x38
ret
mov eax, dword [0x16c35e8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x16c35e8]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x8e5268]
test eax, eax
je 0x508572
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
add esp, 0x38
ret