Function at 0x10008700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029f5e
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x1003b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
call fcn.10008eb0
mov ecx, eax
test ecx, ecx
je 0x1000874e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x10008de6
push 0xb
xor eax, eax
mov dword [ebp - 0xa4], 7
push str.Ruoters.exe
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.10002ba0
push 9
xor eax, eax
mov dword [ebp - 4], 0
push str.Cerko.exe
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.10002ba0
cmp dword [ebp - 0xa8], 0
mov byte [ebp - 4], 1
je 0x10008d9f
cmp dword [ebp - 0x60], 0
je 0x10008d9f
call fcn.10008e30
mov ecx, eax
call fcn.10004f40
test al, al
jne 0x10008d9f
call fcn.10008e30
mov ecx, eax
call fcn.10004dd0
test al, al
jne 0x10008d9f
push 0
call fcn.10019f3f
add esp, 4
mov esi, eax
push 1
push str.f85bb
push str.QJSetting
call fcn.10008e30
mov ecx, eax
call fcn.10003590
test eax, eax
jne 0x100088a5
call fcn.10008e30
mov ecx, eax
call fcn.10004f10
test al, al
jne 0x100088a5
push 0
push str.58f59
push str.QJSetting
call fcn.10008e30
mov ecx, eax
call fcn.10003590
mov edi, eax
cmp edi, 0x64
jg 0x100088a5
push 0
push str.a0a14
push str.QJSetting
call fcn.10008e30
mov ecx, eax
call fcn.10003590
mov ecx, esi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jl 0x10008889
lea eax, [edi + 1]
push eax
push str.58f59
push str.QJSetting
call fcn.10008e30
mov ecx, eax
call fcn.10005c80
push esi
push str.a0a14
push str.QJSetting
call fcn.10008e30
mov ecx, eax
call fcn.10005c80
jmp 0x10008d9f
cmp byte [ebp + 8], 0
jne 0x100088f0
push 0xffffffffffffffff
push str.46d22
push str.QJSetting
call fcn.10008e30
mov ecx, eax
call fcn.10003590
mov ecx, esi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jle 0x10008d9f
push esi
push str.46d22
push str.QJSetting
call fcn.10008e30
mov ecx, eax
call fcn.10005c80
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
push eax
push str.8f167
push str.QJSetting
mov byte [ebp - 4], 3
mov byte [ebp - 0x119], al
call fcn.10008e30
mov ecx, eax
call fcn.10003590
mov ebx, eax
lea ecx, [ebp - 0x88]
test bl, 1
jne 0x1000895b
push str.Ruoters.exe
mov byte [ebp - 0x119], 1
call fcn.100032d0
push 0x1002b78c
jmp 0x1000896a
push str.Cerko.exe
call fcn.100032d0
push 0x1002b794
lea ecx, [ebp - 0x40]
call fcn.100032d0
call fcn.10008e30
mov ecx, eax
call fcn.1000fad0
push eax
lea ecx, [ebp - 0x118]
call fcn.10002df0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x118]
call fcn.10002970
lea ecx, [ebx + 1]
xor eax, eax
cmp ecx, 0x3e8
cmovl eax, ecx
push eax
push str.8f167
push str.QJSetting
call fcn.10008e30
mov ecx, eax
call fcn.10005c80
cmp dword [ebp - 0x78], 0
je 0x10008d81
call fcn.100116d0
test al, al
je 0x100089fa
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.10011740
test al, al
je 0x10008a17
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.10011c80
test al, al
je 0x10008a39
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.10008600
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1000c940
add esp, 4
test eax, eax
jne 0x10008d79
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008600
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [ebp - 0x12c]
test eax, eax
je 0x10008aeb
cmp dword [ebx], 0
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
je 0x10008ac3
cmp dword [ebp - 0x2c], 8
push 1
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000ba60
add esp, 0xc
movzx eax, al
jmp 0x10008ae3
cmp dword [ebp - 0x2c], 8
push 0
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push ecx
push eax
call fcn.1000b710
add esp, 0x14
test eax, eax
jne 0x10008d71
push str.73313015012441663810711748400162
lea ecx, [ebp - 0xe8]
call fcn.10005ff0
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
je 0x10008b15
push str.73313015012441663810711748400162
jmp 0x10008b1a
push str.10075211624959282328363204626060
call fcn.10008690
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.10009c00
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
push 0x1002b7e4
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.10005ff0
cmp dword [ebp - 0xec], 0x10
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x100]
push eax
call fcn.10005ff0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1000eaf0
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.10001310
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.10001310
mov esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
cmp esi, eax
je 0x10008d50
cmp dword [esi + 0x14], 0x10
jb 0x10008bf2
mov eax, dword [esi]
jmp 0x10008bf4
mov eax, esi
push eax
lea ecx, [ebp - 0xd0]
call fcn.10005ff0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1000eee0
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10002610
lea ecx, [ebp - 0xa0]
call fcn.100025c0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1000c940
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.10001310
mov eax, dword [ebp - 0x124]
add esi, 0x18
cmp esi, eax
jne 0x10008be8
mov esi, dword [ebp - 0x128]
cmp esi, eax
je 0x10008d50
nop dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x10008c7a
mov eax, dword [esi]
jmp 0x10008c7c
mov eax, esi
push eax
lea ecx, [ebp - 0xa0]
call fcn.10005ff0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.1000eee0
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10002610
lea ecx, [ebp - 0xd0]
call fcn.100025c0
call fcn.10008e30
mov ecx, eax
call fcn.1000fad0
push eax
lea ecx, [ebp - 0x28]
call fcn.100032d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002970
cmp dword [ebx], 0
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
je 0x10008d07
cmp dword [ebp - 0x2c], 8
push 1
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000ba60
add esp, 0xc
movzx eax, al
jmp 0x10008d27
cmp dword [ebp - 0x2c], 8
push 0
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push ecx
push eax
call fcn.1000b710
add esp, 0x14
lea ecx, [ebp - 0xa0]
test eax, eax
jne 0x10008d4b
mov byte [ebp - 4], 9
call fcn.10001310
add esi, 0x18
cmp esi, dword [ebp - 0x124]
jne 0x10008c70
jmp 0x10008d50
call fcn.10001310
lea ecx, [ebp - 0x128]
call fcn.10008630
lea ecx, [ebp - 0x100]
call fcn.10001310
lea ecx, [ebp - 0xe8]
call fcn.10001310
lea ecx, [ebp - 0x28]
call fcn.100025c0
lea ecx, [ebp - 0x58]
call fcn.100025c0
lea ecx, [ebp - 0x118]
call fcn.100025c0
lea ecx, [ebp - 0x40]
call fcn.100025c0
lea ecx, [ebp - 0x88]
call fcn.100025c0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x10008db4
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.10002ca0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x10008de6
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.10002ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012ad9
mov esp, ebp
pop ebp
ret 4