Function at 0x1000d3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015e7b3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x101c5068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
or eax, dword [edi + 4]
push 0
jne 0x1000d458
call fcn.1013af6f
mov ecx, dword [edi + 8]
add esp, 4
shl ecx, 4
sub ecx, dword [edi + 8]
shl ecx, 2
mov dword [edi], eax
mov dword [edi + 4], edx
test ecx, ecx
jle 0x1000d465
push ecx
push 0
call fcn.100158dc
cdq
add esp, 8
add dword [edi], eax
adc dword [edi + 4], edx
jmp 0x1000d465
call fcn.1013af6f
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], edx
cmp dword [edi + 0x124], 0x10
lea ecx, [edi + 0x110]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x5c], eax
jb 0x1000d497
mov ecx, dword [ecx]
mov dword [ebp - 0x64], ecx
cmp eax, 0x10
jae 0x1000d4ac
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
jmp 0x1000d4e1
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, bind
or esi, 0xf
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000d810
mov ecx, dword [ebp - 0x5c]
inc ecx
mov dword [ebp - 0x28], eax
push ecx
push dword [ebp - 0x64]
push eax
call fcn.10135f10
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x128], 0
mov dword [ebp - 4], 0
je 0x1000d587
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
lea ecx, [ebp - 0x28]
mov eax, esp
push ecx
push eax
call fcn.100167a0
mov ecx, dword [edi + 0x128]
add esp, 8
push 0
call fcn.1000ae00
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000d578
lea eax, [ebp - 0x60]
push eax
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.100088e0
call fcn.10014461
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10006db0
jmp 0x1000d6a5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10006db0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000d6a3
push 0x1869f
push 0x2710
call fcn.100158dc
add esp, 8
lea ecx, [ebp - 0x28]
mov esi, eax
push 1
push 0x1016167c
call fcn.1000d870
push 5
push str.5e984
lea ecx, [ebp - 0x28]
call fcn.1000d870
push 1
push 0x10161688
lea ecx, [ebp - 0x28]
call fcn.1000d870
mov eax, esi
cdq
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10015217
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 2
jb 0x1000d5ef
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000d870
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.1000ac20
lea ecx, [ebp - 0xa0]
call fcn.10012e9b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10013082
lea ecx, [ebp - 0xa0]
call fcn.10013554
mov dword [ebp - 0x5c], eax
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x60], ecx
jne 0x1000d651
mov dword [ebp - 0x60], 1
mov ecx, 1
lea eax, [ecx + 1]
push eax
call fcn.10026de4
mov ecx, dword [ebp - 0x60]
mov esi, eax
inc ecx
push ecx
push 0
push esi
call fcn.10136bc0
mov eax, dword [ebp - 0x5c]
add esp, 0x10
xor edx, edx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
je 0x1000d692
mov ecx, eax
nop word [eax + eax]
mov eax, dword [ecx]
mov al, byte [edx + eax]
mov byte [edx + esi], al
inc edx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cmp edx, eax
jb 0x1000d680
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.10012edb
jmp 0x1000d6a5
xor esi, esi
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push eax
push dword [ebp - 0x60]
push esi
call fcn.10016ee3
mov eax, dword [ebp - 0x68]
add esp, 0x10
test eax, eax
jne 0x1000d6ea
push 0x8d
call fcn.100174a6
add esp, 4
test esi, esi
je 0x1000d703
push esi
call fcn.10026ded
add esp, 4
jmp 0x1000d703
push eax
mov ecx, edi
call fcn.1000d150
test esi, esi
je 0x1000d6ff
push esi
call fcn.10026ded
add esp, 4
mov byte [edi + 0xc], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000d733
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d74e
push edx
push ecx
call fcn.10026a62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026dd3
mov esp, ebp
pop ebp
ret
call fcn.1013a0b9
int3