Function at 0x437f40
Capabilities:
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x8aab68
call fcn.0053921c
add esp, 8
test eax, eax
je 0x437f6a
call fcn.00435910
pop edi
pop esi
pop ebx
pop ecx
mov esp, ebp
pop ebp
ret
cmp dword [0x163a208], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
je 0x437f98
test byte [0x163b40c], 1
je 0x437f98
and dword [0x163b40c], 0xfffffffe
mov eax, str.config_mp.cfg
call fcn.00437c20
mov eax, dword [0x163a210]
cmp dword [eax + 0x20], ebx
je 0x437fc7
cmp dword [0x1631780], ebx
je 0x437fc7
push str.gfx_2d_warning_file.jpg
mov eax, 0xbb8
mov ecx, 1
call fcn.004519b0
add esp, 4
mov dword [0x1631780], ebx
mov ecx, dword [0x163a21c]
cmp dword [ecx + 0x14], ebx
je 0x437ffb
mov edx, dword [0x163a200]
fld dword [edx + 0x1c]
fcomp dword [0x568e64]
fnstsw ax
test ah, 0x44
jp 0x437ff8
mov ecx, dword [ecx + 0x20]
xor eax, eax
call fcn.00466750
mov ecx, dword [0x163a21c]
mov dword [ecx + 0x14], ebx
mov eax, dword [0x163b3d8]
mov ecx, dword [eax + 0x20]
mov edx, dword [0x163b3c4]
cmp dword [edx + 0x20], ebx
mov dword [0x14073b4], ecx
je 0x438040
cmp dword [0x14073b8], ebx
jne 0x438031
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x16c35c0], eax
mov dword [0x14073b8], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x16c35c0]
mov dword [ebp - 0xc], eax
mov eax, dword [0x163b3ec]
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
mov edi, 1
jle 0x438066
mov edx, dword [0x163a200]
cmp dword [edx + 0x20], ebx
jne 0x438066
mov eax, 0x3e8
cdq
idiv ecx
mov edi, eax
call fcn.00436580
mov ecx, dword [0x8aab60]
cmp ecx, eax
mov dword [0x163b3f0], eax
jle 0x438082
mov ecx, eax
mov dword [0x8aab60], ecx
sub eax, ecx
mov esi, eax
cmp esi, edi
jl 0x438066
call fcn.00428300
mov eax, dword [0x163b3f0]
push esi
mov dword [0x8aab60], eax
call fcn.00437e90
mov ecx, dword [0x163b3c4]
mov edi, eax
mov eax, dword [ecx + 0x20]
add esp, 4
test eax, eax
je 0x4380de
mov eax, dword [0x14073b8]
test eax, eax
jne 0x4380cf
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x16c35c0], eax
mov dword [0x14073b8], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x16c35c0]
mov dword [ebp - 0x10], eax
push edi
call fcn.0045b1d0
mov eax, dword [0x163a200]
mov ecx, dword [eax + 0x14]
add esp, 4
test ecx, ecx
je 0x4381e8
mov esi, dword [eax + 0x20]
push 0
push 0x56871c
push str.dedicated
call fcn.00439350
mov eax, dword [0x163a200]
mov dword [eax + 0x14], 0
mov ecx, dword [eax + 0x20]
add esp, 0xc
test ecx, ecx
jne 0x438194
call fcn.00463f60
test eax, eax
jne 0x438178
push str.cannot_become_non_dedicated__since_a_non_dedicated_game_is_already_running_n
call fcn.004357b0
add esp, 4
push esi
push 0x5675c4
call fcn.0044ace0
push eax
push str.dedicated
mov eax, 1
call fcn.00439650
add esp, 0x10
push 0
push 0x5685e4
push str.dedicated
call fcn.00439350
mov edx, dword [0x163a200]
add esp, 0xc
mov dword [edx + 0x14], 0
jmp 0x4381e8
call fcn.00411e60
call fcn.004115c0
mov ecx, dword [0x163a21c]
mov ecx, dword [ecx + 0x20]
xor eax, eax
call fcn.00466750
jmp 0x4381e8
call fcn.004127f0
mov eax, dword [0x8e58a8]
mov ecx, 1
cmp eax, ecx
mov dword [0x8e58ac], ecx
je 0x4381dd
mov eax, dword [0x8e5270]
test eax, eax
mov dword [0x8e58a8], ecx
je 0x4381dd
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x8e5274]
push 0xffff
push 0
push 0xb6
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x8e3b10
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x163a200]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4382c4
mov ecx, dword [0x163b3c4]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x43820d
call fcn.004659d0
mov dword [ebp - 8], eax
call fcn.00436580
call fcn.00428300
mov edx, dword [0x163b3c4]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x43822b
call fcn.004659d0
mov ebx, eax
push edi
call fcn.00411280
mov eax, dword [0x163a210]
mov ecx, dword [eax + 0x20]
add esp, 4
test ecx, ecx
jne 0x43824d
mov ecx, dword [0x163b3c4]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4382c4
mov eax, dword [0x14073b8]
test eax, eax
mov esi, dword [0x8ac7b0]
jne 0x438271
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x16c35c0], eax
mov dword [0x14073b8], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x16c35c0]
mov edx, dword [0x163a210]
mov ecx, dword [edx + 0x20]
test ecx, ecx
mov dword [0x8ac7b0], eax
je 0x4382b5
mov ecx, eax
sub ecx, esi
cmp ecx, 0x21
jle 0x4382b5
test esi, esi
je 0x4382b5
push str.gfx_2d_warning_fps.jpg
mov eax, 0xbb8
xor ecx, ecx
call fcn.004519b0
mov eax, dword [0x8ac7b0]
add esp, 4
mov edx, dword [0x163b3c4]
mov ecx, dword [edx + 0x20]
test ecx, ecx
mov esi, eax
jne 0x4382c7
mov esi, dword [ebp - 4]
mov eax, dword [0x163b3c4]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x43831c
mov eax, dword [0x163a238]
mov ecx, dword [0x163b3d0]
mov edx, dword [0x163b3cc]
push eax
push ecx
mov edi, esi
sub edi, eax
mov eax, dword [ebp - 8]
sub edi, ecx
mov ecx, dword [ebp - 0xc]
sub edi, ebx
sub ebx, eax
push edx
sub ebx, ecx
mov ecx, dword [ebp - 0x10]
push edi
add ebx, ecx
push ebx
sub eax, edx
sub eax, ecx
push eax
sub esi, ecx
mov ecx, dword [0x163b400]
push esi
push ecx
push str.frame:_i_all:_3i_sv:_3i_ev:_3i_cl:_3i_gm:_3i_rf:_3i_bk:_3i_n
call fcn.004357b0
add esp, 0x24
mov eax, dword [0x163b400]
pop edi
inc eax
pop esi
mov dword [0x163b400], eax
pop ebx
pop ecx
mov esp, ebp
pop ebp
ret