Function at 0x1003fb70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a83b2
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100d10d4]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
test edi, edi
je 0x1003ff90
test esi, esi
je 0x1003ff90
xor eax, eax
cmp ax, word [esi]
je 0x1003ff90
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1006e460
add esp, 0xc
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
cmp dword [ebp + 0x18], 0
je 0x1003fc18
push 0x20119
jmp 0x1003fc1d
push 0x20219
push esi
push edi
call fcn.10029270
test eax, eax
jne 0x1003ff5e
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
lea ecx, [ebp - 0x22c]
call fcn.100403a0
test eax, eax
jne 0x1003ff5e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000a1a0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x21c]
movzx eax, word [edi]
push eax
call fcn.10079cbf
add esp, 4
test eax, eax
je 0x1003fc98
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.10079cbf
add esp, 4
test eax, eax
jne 0x1003fc84
mov esi, dword [ebp - 0x21c]
mov ebx, 1
cmp edi, esi
je 0x1003fd2d
mov edx, dword [esi - 0xc]
sub edi, esi
sar edi, 1
test edx, edx
js 0x1003ffae
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x1003fcda
push edx
lea ecx, [ebp - 0x21c]
call fcn.100144a0
mov esi, dword [ebp - 0x21c]
mov ecx, dword [esi - 0xc]
lea edx, [esi + edi*2]
mov ebx, ecx
sub ebx, edi
lea eax, [ebx*2 + 2]
push eax
push edx
lea eax, [ecx*2 + 2]
push eax
push esi
call fcn.10040920
add esp, 0x10
test ebx, ebx
js 0x1003ffae
mov eax, dword [ebp - 0x21c]
cmp ebx, dword [eax - 8]
jg 0x1003ffae
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + ebx*2], cx
lea ebx, [ecx + 1]
mov esi, dword [ebp - 0x21c]
movzx eax, word [esi]
xor edi, edi
test ax, ax
je 0x1003fdb8
mov ecx, eax
nop dword [eax]
push ecx
call fcn.10079cbf
add esp, 4
test eax, eax
je 0x1003fd58
test edi, edi
mov eax, esi
cmovne eax, edi
mov edi, eax
jmp 0x1003fd5a
xor edi, edi
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x1003fd40
test edi, edi
je 0x1003fdb2
mov eax, dword [ebp - 0x21c]
sub edi, eax
sar edi, 1
js 0x1003ffb8
mov ecx, dword [eax - 8]
sub ebx, dword [eax - 4]
sub ecx, edi
or ecx, ebx
jge 0x1003fd9a
push edi
lea ecx, [ebp - 0x21c]
call fcn.100144a0
mov eax, dword [ebp - 0x21c]
cmp edi, dword [eax - 8]
jg 0x1003ffae
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + edi*2], cx
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
jne 0x1003fdd4
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.1000b530
jmp 0x1003ff60
push 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.100401c0
mov byte [ebp - 4], 2
mov ecx, 0x100b09b4
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003fe19
test dx, dx
je 0x1003fe15
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003fe19
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003fdf3
xor esi, esi
jmp 0x1003fe1e
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.1000b530
test esi, esi
jne 0x1003fe6d
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x21c]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10040640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
push eax
call fcn.1001a9d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.1000b530
push 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10040640
mov byte [ebp - 4], 4
mov ecx, 0x100b09b4
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003feb6
test dx, dx
je 0x1003feb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003feb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003fe90
xor esi, esi
jmp 0x1003febb
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.1000b530
test esi, esi
jne 0x1003ff0a
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x21c]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.100401c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push eax
call fcn.1001a9d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.1000b530
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x1003ff3f
cmp word [eax], 0
je 0x1003ff3f
push eax
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.1003f290
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
call fcn.100405f0
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.1000b530
jmp 0x1003ff60
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x1003ff82
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov eax, esi
jmp 0x1003ff92
xor eax, eax
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.10061eb3
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.1000d6a0
push 0x80070057
call fcn.1000d6a0
int3