Function at 0x407380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [0x4d130c]
xor ebx, ebx
lea esi, [ebp - 0x10]
mov dword [eax], ebx
call fcn.0040a810
push 0x13
mov dword [ebp - 4], ebx
push str.AirportTesting.ini
mov ebx, esi
call fcn.00407ad0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407741
push str.Testing
lea ecx, [ebp - 0x18]
call fcn.00401e90
push str.Config
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401e90
lea ecx, [ebp - 0x14]
push ecx
mov edx, esi
lea ecx, [ebp - 0x18]
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00407830
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 0x407436
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 0x407459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
mov ecx, 0x4a3a08
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407487
test dx, dx
je 0x407483
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407487
add eax, 4
add ecx, 4
test dx, dx
jne 0x407461
xor eax, eax
jmp 0x40748c
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [ebp + 8]
test eax, eax
sete cl
mov byte [edi], cl
push 0x4a3a0c
lea ecx, [ebp - 0x1c]
call fcn.00401e90
push str.Config
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00401e90
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.00407830
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 0x4074ed
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 0x407510
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
mov ecx, 0x4a3a08
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40753e
test dx, dx
je 0x40753a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40753e
add eax, 4
add ecx, 4
test dx, dx
jne 0x407518
xor eax, eax
jmp 0x407543
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
mov byte [edi + 1], cl
push 0x4a3a14
lea ecx, [ebp - 0x24]
call fcn.00401e90
push str.Config
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00401e90
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.00407830
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 0x4075a2
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 0x4075c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x4a3a08
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4075f6
test dx, dx
je 0x4075f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4075f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4075d0
xor eax, eax
jmp 0x4075fb
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.00401e90
mov bl, 0x10
push str.Config
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401e90
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.00407830
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 0x40765a
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 0x40767d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x3c]
mov ecx, 0x4a3a08
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4076ad
test dx, dx
je 0x4076a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4076ad
add eax, 4
add ecx, 4
test dx, dx
jne 0x407687
xor eax, eax
jmp 0x4076b2
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 0x4076d6
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 0x4076f9
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 0x40771c
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 0x407744
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407744
mov edi, dword [ebp + 8]
mov esi, edi
call fcn.00407790
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 0x407771
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