Function at 0x631ff503
Capabilities:
Contain obfuscated stackstrings
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [ebp - 0x1c], str.Call_of_Duty_4___Modern_Warfare
mov dword [ebp - 0x20], str.Call_of_Duty_4___Modern_Warfare_Console
mov dword [ebp - 0x24], 0x80ce0000
mov dword [esp + 8], 0x28
mov dword [esp + 4], 0
mov dword [esp], 0x67602860
call sub.msvcr100.dll_memset
mov dword [0x67602860], 0
mov dword [0x67602864], 0x631febc4
mov dword [0x67602868], 0
mov dword [0x6760286c], 0
mov eax, 0xcc1b6f4
mov eax, dword [eax + 0xc]
mov dword [0x67602870], eax
mov eax, 0xcc1b6f4
mov eax, dword [eax + 0xc]
mov dword [esp + 4], 0x6c
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_LoadIconA]
call eax
sub esp, 8
mov dword [0x67602874], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_LoadCursorA]
call eax
sub esp, 8
mov dword [0x67602878], eax
mov dword [0x6760287c], 5
mov dword [0x67602880], 0
mov eax, dword [ebp - 0x1c]
mov dword [0x67602884], eax
mov dword [esp], 0x67602860
mov eax, dword [sym.imp.USER32.dll_RegisterClassA]
call eax
sub esp, 4
test ax, ax
je 0x631ffc14
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0x21c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0x1c2
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_AdjustWindowRect]
call eax
sub esp, 0xc
mov eax, dword [sym.imp.USER32.dll_GetDesktopWindow]
call eax
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetDC]
call eax
sub esp, 4
mov dword [ebp - 0x28], eax
mov dword [esp + 4], 8
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call eax
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0xa
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call eax
sub esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.USER32.dll_GetDesktopWindow]
call eax
mov edx, eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [sym.imp.USER32.dll_ReleaseDC]
call eax
sub esp, 8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
sub edx, eax
mov eax, edx
add eax, 1
mov dword [0x6757ee30], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
sub edx, eax
mov eax, edx
add eax, 1
mov dword [0x6757ee34], eax
mov eax, 0xcc1b6f4
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
sub ecx, eax
mov eax, ecx
lea ebx, [eax + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
sub ecx, eax
mov eax, ecx
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x30]
sub eax, 0x1c2
mov esi, eax
shr esi, 0x1f
add eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x2c]
sub eax, 0x258
mov esi, eax
shr esi, 0x1f
add eax, esi
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [0x6757e9a0], eax
mov eax, dword [0x6757e9a0]
test eax, eax
je 0x631ffc17
mov eax, dword [0x6757e9a0]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetDC]
call eax
sub esp, 4
mov dword [ebp - 0x28], eax
mov dword [esp + 4], 0x5a
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call eax
sub esp, 8
mov dword [esp + 8], 0x48
mov dword [esp + 4], eax
mov dword [esp], 8
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
call eax
sub esp, 0xc
neg eax
mov dword [ebp - 0x34], eax
mov dword [esp + 0x34], str.Courier_New
mov dword [esp + 0x30], 0x31
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x12c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_CreateFontA]
call eax
sub esp, 0x38
mov dword [0x6757e9cc], eax
mov eax, dword [0x6757e9a0]
mov edx, dword [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ReleaseDC]
call eax
sub esp, 8
mov eax, 0xcc1b6f4
mov edx, dword [eax + 0xc]
mov eax, dword [0x6757e9a0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0x65
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], 0x210
mov dword [esp + 0x14], 0x190
mov dword [esp + 0x10], 6
mov dword [esp + 0xc], 0x50800080
mov dword [esp + 8], 0
mov dword [esp + 4], str.edit
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [0x6757e9d4], eax
mov eax, 0xcc1b6f4
mov edx, dword [eax + 0xc]
mov eax, dword [0x6757e9a0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x18], 0x48
mov dword [esp + 0x14], 0x1a9
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 0x50000001
mov dword [esp + 8], 0
mov dword [esp + 4], str.button
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [0x6757e9ac], eax
mov edx, str.copy
mov eax, dword [0x6757e9ac]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
call eax
sub esp, 0x10
mov eax, 0xcc1b6f4
mov edx, dword [eax + 0xc]
mov eax, dword [0x6757e9a0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 3
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x18], 0x48
mov dword [esp + 0x14], 0x1a9
mov dword [esp + 0x10], 0x52
mov dword [esp + 0xc], 0x50000001
mov dword [esp + 8], 0
mov dword [esp + 4], str.button
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [0x6757e9a8], eax
mov edx, str.clear
mov eax, dword [0x6757e9a8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
call eax
sub esp, 0x10
mov eax, 0xcc1b6f4
mov edx, dword [eax + 0xc]
mov eax, dword [0x6757e9a0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x18], 0x48
mov dword [esp + 0x14], 0x1a9
mov dword [esp + 0x10], 0x1ce
mov dword [esp + 0xc], 0x50000001
mov dword [esp + 8], 0
mov dword [esp + 4], str.button
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [0x6757e9b0], eax
mov edx, str.quit
mov eax, dword [0x6757e9b0]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
call eax
sub esp, 0x10
mov eax, 0xcc1b6f4
mov edx, dword [eax + 0xc]
mov eax, dword [0x6757e9a0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x186
mov dword [esp + 0x18], 0x20e
mov dword [esp + 0x14], 6
mov dword [esp + 0x10], 6
mov dword [esp + 0xc], 0x50a00844
mov dword [esp + 8], 0
mov dword [esp + 4], str.edit
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [0x6757e9a4], eax
mov eax, dword [0x6757e9cc]
mov edx, eax
mov eax, dword [0x6757e9a4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
call eax
sub esp, 0x10
mov edx, 0x631ff3b5
mov eax, dword [0x6757e9d4]
mov dword [esp + 8], edx
mov dword [esp + 4], 0xfffffffc
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongA]
call eax
sub esp, 0xc
mov dword [0x6757ee38], eax
mov eax, dword [0x6757e9cc]
mov edx, eax
mov eax, dword [0x6757e9d4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
call eax
sub esp, 0x10
cmp dword [ebp + 8], 1
jne 0x631ffba6
mov eax, dword [0x6757e9a0]
mov dword [esp + 4], 0xa
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
jmp 0x631ffbc0
mov eax, dword [0x6757e9a0]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
mov eax, dword [0x6757e9a0]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_UpdateWindow]
call eax
sub esp, 4
mov eax, dword [0x6757e9a0]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetForegroundWindow]
call eax
sub esp, 4
mov eax, dword [0x6757e9d4]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetFocus]
call eax
sub esp, 4
cmp dword [ebp + 8], 1
jne 0x631ffc08
mov dword [0x6757ee28], 1
jmp 0x631ffc18
mov dword [0x6757ee28], 0
jmp 0x631ffc18
nop
jmp 0x631ffc18
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret