Function at 0x475f80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x5176f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push 0x4efdc8
xor ebx, ebx
push eax
lea esi, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00470cb0
add esp, 8
lea ecx, [ebp - 0x10]
lea esi, [edi + 8]
push ecx
mov byte [ebp - 4], 1
call fcn.00470e00
lea ecx, [ebp - 0x10]
mov dword [edi], ebx
mov byte [edi + 4], bl
call fcn.00403360
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4762bf
push str.Testing
lea ecx, [ebp - 0x18]
call fcn.00404040
push str.Config
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00404040
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004763c0
lea ecx, [ebp - 0x14]
call fcn.00404140
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00404140
mov ecx, esi
call fcn.00403360
mov ecx, 0x5042cc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x476066
cmp dx, bx
je 0x476062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x476066
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x476040
xor eax, eax
jmp 0x47606b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
push 0x50454c
lea ecx, [ebp - 0x20]
mov byte [edi], al
call fcn.00404040
push str.Config
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00404040
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.004763c0
lea ecx, [ebp - 0x1c]
call fcn.00404140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00404140
mov ecx, esi
call fcn.00403360
mov ecx, 0x5042cc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4760ec
cmp dx, bx
je 0x4760e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4760ec
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4760c6
xor eax, eax
jmp 0x4760f1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete dl
push str.DisableAvoid
lea ecx, [ebp - 0x14]
mov byte [edi + 1], dl
call fcn.00404040
push str.Config
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00404040
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.004763c0
lea ecx, [ebp - 0x18]
call fcn.00404140
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.00404140
mov ecx, esi
call fcn.00403360
mov ecx, 0x5042cc
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x476176
cmp dx, bx
je 0x476172
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x476176
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x476150
xor eax, eax
jmp 0x47617b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete cl
mov byte [edi + 2], cl
push str.DisableFunshionSignChecking
lea ecx, [ebp - 0x1c]
call fcn.00404040
push str.Config
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.00404040
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.004763c0
lea ecx, [ebp - 0x20]
call fcn.00404140
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.00404140
mov ecx, esi
call fcn.00403360
mov ecx, 0x5042cc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4761fd
cmp dx, bx
je 0x4761f9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4761fd
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4761d7
xor eax, eax
jmp 0x476202
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
push str.AssumeIrchExisted
lea ecx, [ebp - 0x14]
mov byte [edi + 3], al
call fcn.00404040
push str.Config
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x16
call fcn.00404040
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.004763c0
lea ecx, [ebp - 0x18]
call fcn.00404140
lea ecx, [ebp - 0x14]
call fcn.00404140
mov ecx, esi
call fcn.00403360
mov ecx, 0x5042cc
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x476286
cmp dx, bx
je 0x476282
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x476286
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x476260
xor eax, eax
jmp 0x47628b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete dl
lea ecx, [ebp - 0x24]
mov byte [edi + 4], dl
call fcn.00404140
lea ecx, [ebp - 0x28]
call fcn.00404140
lea ecx, [ebp - 0x2c]
call fcn.00404140
lea ecx, [ebp - 0x30]
call fcn.00404140
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00404140
mov esi, edi
call fcn.00476360
lea ecx, [ebp - 0x10]
call fcn.00404140
lea ecx, [ebp + 8]
call fcn.00404140
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4