Function at 0x406e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469d30
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x48d1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [0x49137c]
xor ebx, ebx
lea esi, [ebp - 0x10]
mov dword [eax], ebx
call fcn.00409e10
push 0x13
mov dword [ebp - 4], ebx
push str.AirportTesting.ini
mov ebx, esi
call fcn.00407600
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407251
push str.Testing
lea ecx, [ebp - 0x18]
call fcn.00401f10
push str.Config
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401f10
lea ecx, [ebp - 0x14]
push ecx
mov edx, esi
lea ecx, [ebp - 0x18]
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00407340
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406f46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
mov ecx, 0x47751c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406f97
test dx, dx
je 0x406f93
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406f97
add eax, 4
add ecx, 4
test dx, dx
jne 0x406f71
xor eax, eax
jmp 0x406f9c
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [ebp + 8]
test eax, eax
sete cl
mov byte [edi], cl
push 0x477520
lea ecx, [ebp - 0x1c]
call fcn.00401f10
push str.Config
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00401f10
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00407340
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ffd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407020
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
mov ecx, 0x47751c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40704e
test dx, dx
je 0x40704a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40704e
add eax, 4
add ecx, 4
test dx, dx
jne 0x407028
xor eax, eax
jmp 0x407053
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
mov byte [edi + 1], cl
push 0x477528
lea ecx, [ebp - 0x24]
call fcn.00401f10
push str.Config
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00401f10
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00407340
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x47751c
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407106
test dx, dx
je 0x407102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407106
add eax, 4
add ecx, 4
test dx, dx
jne 0x4070e0
xor eax, eax
jmp 0x40710b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
mov byte [edi + 2], cl
push str.DisableFunshionSignChecking
lea ecx, [ebp - 0x2c]
call fcn.00401f10
mov bl, 0x10
push str.Config
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401f10
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 0x11
call fcn.00407340
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40716a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40718d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x3c]
mov ecx, 0x47751c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4071bd
test dx, dx
je 0x4071b9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4071bd
add eax, 4
add ecx, 4
test dx, dx
jne 0x407197
xor eax, eax
jmp 0x4071c2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
lea eax, [esi - 0x10]
mov byte [edi + 3], cl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4071e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407209
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40722c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407254
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407254
mov edi, dword [ebp + 8]
mov esi, edi
call fcn.004072a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407281
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4