Function at 0x10019e90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100976f2
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
mov edi, str.version
mov ecx, str.extdll
call fcn.1004a5a0
add esp, 4
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x40]
push ecx
call fcn.1001d080
mov byte [esp + 0x60], 1
lea edx, [esp + 0x18]
push edx
mov ecx, 0x1009f430
call fcn.10013050
mov byte [esp + 0x60], 2
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x1009f434
call fcn.10013050
mov bl, 3
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x1009ed34
call fcn.10013050
mov byte [esp + 0x60], 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x50]
push eax
call fcn.1001d320
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x20]
call fcn.10013100
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x1c]
call fcn.10013100
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x18]
call fcn.10013100
xor ebx, ebx
mov dword [esp + 0x20], ebx
nop
mov edx, dword [0x100d9aac]
mov eax, dword [edx + 0xc]
mov ecx, 0x100d9aac
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x60], 6
mov edx, dword [0x100d9aac]
mov eax, dword [edx + 0xc]
mov ecx, 0x100d9aac
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x60], 8
cmp ebx, dword [esp + 0x48]
jae 0x1001a067
mov ecx, dword [esp + 0x44]
lea ebp, [ecx + ebx*8]
mov ecx, dword [ebp]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x1001a013
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x1001a001
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1001a001
call fcn.1006d080
mov dword [esp + 0x28], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10019ff4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x28]
add ecx, 0x10
mov dword [esp + 0x1c], ecx
jmp 0x1001a00f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x24]
call fcn.1006d1c0
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x1001a067
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1001a055
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1001a055
call fcn.1006d080
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1001a04c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebp + 0x10]
mov dword [esp + 0x18], edi
jmp 0x1001a067
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x20]
call fcn.1006d1c0
mov edi, dword [esp + 0x18]
push 0xa
push 0
push edi
call fcn.1007a629
add esp, 0xc
mov dword [esp + ebx*4 + 0x30], eax
mov byte [esp + 0x60], 6
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001a099
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001a0be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
mov dword [esp + 0x20], ebx
cmp ebx, 4
jb 0x10019f70
push 0x100ddff8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a13c
mov ecx, 0x100ddff8
call fcn.1002e300
test eax, eax
je 0x1001a13c
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.10018cc0
add esp, 8
mov byte [esp + 0x60], 0xb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
shl eax, 0x10
or eax, dword [esp + 0x34]
cmp ecx, eax
ja 0x1001a1c9
jne 0x1001a12e
mov eax, dword [esp + 0x38]
shl eax, 0x10
or eax, dword [esp + 0x3c]
cmp dword [esp + 0x2c], eax
jae 0x1001a1c9
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x20]
call fcn.10013100
mov byte [esp + 0x60], 0xc
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x1001a163
mov edx, dword [esp + 0x48]
push edx
call fcn.1001b990
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.10079c70
add esp, 4
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001a188
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001a1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x20]
call fcn.10013100
mov byte [esp + 0x60], 0
lea ecx, [esp + 0x40]
push ecx
call fcn.100185d0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.10013100
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret