Function at 0x100d24d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a1121
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x400], ecx
call fcn.100d36f0
push eax
lea ecx, [ebp - 0x94]
call fcn.100dd6d0
mov dword [ebp - 4], 0
call fcn.100d3700
mov ecx, eax
call fcn.100de790
movzx eax, al
test eax, eax
je 0x100d257a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.100ddc80
lea ecx, [ebp - 0x94]
call fcn.100ddb40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d2575
mov byte [ebp - 0x3cd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
mov al, byte [ebp - 0x3cd]
jmp 0x100d28d8
jmp 0x100d28b9
call fcn.100d3700
push eax
lea ecx, [ebp - 0x94]
call fcn.100ddc50
mov dword [ebp - 0x3d8], 0
call fcn.100d3af0
movzx edx, al
test edx, edx
je 0x100d25b1
call fcn.100d3710
mov dword [ebp - 0x3d8], eax
jmp 0x100d2636
call fcn.100d3720
push eax
lea ecx, [ebp - 0x19c]
call fcn.100dd6d0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x19c]
call fcn.100ddb40
push eax
call fcn.100dc640
add esp, 8
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x94]
call fcn.100ddb40
push eax
call fcn.100e7590
add esp, 8
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3e4], 0
je 0x100d2627
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3f0], ecx
mov edx, dword [ebp - 0x3f0]
push edx
call fcn.10161835
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.100dd8d0
cmp dword [ebp - 0x3d8], 0
jne 0x100d2663
mov byte [ebp - 0x3ce], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
mov al, byte [ebp - 0x3ce]
jmp 0x100d28d8
mov dword [ebp - 0x3e8], 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
call fcn.100dd710
mov byte [ebp - 4], 2
push 0x101c953c
push 0x101c3180
lea ecx, [ebp - 0x118]
call fcn.100debb0
lea ecx, [ebp - 0x3cc]
push ecx
lea edx, [ebp - 0x3e8]
push edx
push 1
lea ecx, [ebp - 0x118]
call fcn.100ddb40
push eax
mov eax, dword [ebp - 0x3d8]
push eax
call fcn.100e68a0
add esp, 0x14
test eax, eax
je 0x100d26f9
mov byte [ebp - 0x3cf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100dd8d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
mov al, byte [ebp - 0x3cf]
jmp 0x100d28d8
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x3dc], ecx
cmp dword [ebp - 0x3dc], 0
jne 0x100d2741
mov byte [ebp - 0x3d0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100dd8d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
mov al, byte [ebp - 0x3d0]
jmp 0x100d28d8
cmp dword [ebp - 0x3dc], 0x400000
jbe 0x100d2780
mov byte [ebp - 0x3d1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100dd8d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
mov al, byte [ebp - 0x3d1]
jmp 0x100d28d8
mov edx, dword [ebp - 0x3dc]
push edx
call fcn.10161a35
add esp, 4
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3dc]
push ecx
mov edx, dword [ebp - 0x3e0]
push edx
mov eax, dword [ebp - 0x3e8]
push eax
mov ecx, dword [ebp - 0x3d8]
push ecx
call fcn.100e7e00
add esp, 0x10
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0
je 0x100d2849
cmp dword [ebp - 0x3ec], 0x600
je 0x100d2849
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3f8], edx
mov eax, dword [ebp - 0x3f8]
push eax
call fcn.10161835
add esp, 4
call fcn.100d3af0
movzx ecx, al
test ecx, ecx
jne 0x100d2816
mov edx, dword [ebp - 0x3d8]
push edx
call fcn.100e64e0
add esp, 4
mov byte [ebp - 0x3d2], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100dd8d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
mov al, byte [ebp - 0x3d2]
jmp 0x100d28d8
call fcn.100d3af0
movzx eax, al
test eax, eax
jne 0x100d2864
mov ecx, dword [ebp - 0x3d8]
push ecx
call fcn.100e64e0
add esp, 4
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3fc], edx
mov eax, dword [ebp - 0x3fc]
push eax
call fcn.10161835
add esp, 4
mov dword [ebp - 0x3e0], 0
mov byte [ebp - 0x3d3], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100dd8d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
mov al, byte [ebp - 0x3d3]
jmp 0x100d28d8
mov byte [ebp - 0x3d4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
mov al, byte [ebp - 0x3d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret 4