Function at 0x40f6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [0x4419dc]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x40ee40
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], str.Air_Strike_3D
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x40f720
push str...._registering_window_class___failed._n
call fcn.0040ea90
push str.MW_CreateWindow:_Couldnt_register_window_class._n
call fcn.004025f0
add esp, 8
jmp 0x40f72d
push str....registered_window_class._n
call fcn.0040ea90
add esp, 4
cmp dword [0x441870], ebp
je 0x40f741
mov ebx, 8
mov esi, 0x90000000
jmp 0x40f7b6
lea edx, [esp + 0x48]
push edx
xor eax, eax
push 0xfffffffffffffffe
mov ecx, 0x27
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
push ebp
xor ebx, ebx
mov esi, 0x10c00000
mov word [esp + 0x78], 0x9c
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov eax, dword [0x441860]
cmp eax, ebp
je 0x40f7b6
jmp 0x40f780
mov ecx, dword [0x441864]
cmp ecx, dword [esp + 0xb4]
jb 0x40f7b6
mov edx, dword [0x441868]
cmp edx, dword [esp + 0xb8]
jb 0x40f7b6
dec eax
push eax
mov dword [0x441860], eax
call fcn.00401000
mov eax, dword [0x441860]
add esp, 4
cmp eax, ebp
jne 0x40f780
mov eax, dword [0x441864]
mov ecx, dword [0x441868]
push ebp
push esi
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4419dc]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push ebp
push edx
push ebp
push ebp
sub eax, ecx
mov ecx, dword [esp + 0x2c]
sub ecx, edi
push ecx
push eax
push ebp
push ebp
push esi
push 0x438410
push str.Air_Strike_3D
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebp
mov dword [0x20844ac], eax
je 0x40f82a
push str....window_creation:_succeeded._n
call fcn.0040ea90
add esp, 4
jmp 0x40f841
push str.MW_CreateWindow:_Couldnt_create_window
call fcn.004025f0
push 0x4383a8
call fcn.0040ea90
add esp, 8
cmp dword [0x441870], ebp
je 0x40f85e
mov eax, dword [0x20844ac]
push 3
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x40f883
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push ebp
sub ecx, eax
mov eax, dword [0x20844ac]
push ecx
sub edx, edi
push edx
push eax
call fcn.0040ecf0
add esp, 0x10
mov ecx, dword [0x4419dc]
push 0x8c
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [0x20844ac]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push edx
mov dword [0x20844d8], eax
call esi
mov eax, dword [0x20844d8]
mov ecx, dword [0x20844ac]
push eax
push ebp
push 0x80
push ecx
call esi
mov edx, dword [0x20844ac]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x20844ac]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [0x20844ac]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0x20844ac]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [0x4418e8], ebp
jne 0x40f90a
push ebp
call dword [sym.imp.USER32.dll_ShowCursor]
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret