Function at 0x1001b930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092f28
mov eax, dword fs:[0]
push eax
mov eax, 0x10cc
call fcn.1005fc10
mov eax, dword [0x100d7294]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfbc], ecx
lea ecx, [ebp - 0x568]
call fcn.10018a40
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xfdc]
call fcn.10004a20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x568]
push ecx
lea edx, [ebp - 0xfdc]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001b460
mov byte [ebp - 0xfc1], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfdc]
call fcn.10006090
movzx eax, byte [ebp - 0xfc1]
test eax, eax
je 0x1001ba4f
lea ecx, [ebp - 0x504]
mov dword [ebp - 0xfc8], ecx
mov edx, dword [ebp - 0xfc8]
add edx, 2
mov dword [ebp - 0x1020], edx
mov eax, dword [ebp - 0xfc8]
mov cx, word [eax]
mov word [ebp - 0xfca], cx
add dword [ebp - 0xfc8], 2
cmp word [ebp - 0xfca], 0
jne 0x1001b9e6
mov edx, dword [ebp - 0xfc8]
sub edx, dword [ebp - 0x1020]
sar edx, 1
mov dword [ebp - 0x101c], edx
jne 0x1001ba24
xor eax, eax
jmp 0x1001bf4f
cmp dword [ebp + 0xc], 0
je 0x1001ba45
lea eax, [ebp - 0x568]
push eax
call fcn.10002d60
add esp, 4
mov ecx, 0xa5
mov esi, eax
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x1001bf4f
call fcn.10052b20
mov dword [ebp - 0xfe0], eax
push 1
mov ecx, dword [ebp - 0xfe0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xfe0]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x1024], al
cmp byte [ebp - 0x1024], 1
je 0x1001ba83
jmp 0x1001bb37
push 0x1009bcc0
lea ecx, [ebp - 0x28]
call fcn.10004fd0
mov dword [ebp - 4], 1
push 0x1009bd30
lea ecx, [ebp - 0x40]
call fcn.10004fd0
mov byte [ebp - 4], 2
call fcn.10052b20
mov dword [ebp - 0xfe4], eax
lea ecx, [ebp + 8]
push ecx
push 0x1009bd34
push 0x3e
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x10d8]
call fcn.10005660
mov dword [ebp - 0x1004], eax
mov ecx, dword [ebp - 0x1004]
mov dword [ebp - 0x1008], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1008]
call fcn.100117d0
mov ecx, eax
call fcn.100117f0
push eax
mov edx, dword [ebp - 0xfe4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xfe4]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10d8]
call fcn.100065c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100062e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100062e0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001bb9e
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xfe8]
call fcn.10004a20
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xfb8]
call fcn.10018a40
push eax
call fcn.10002d60
add esp, 4
push eax
lea edx, [ebp - 0xfe8]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001c1b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe8]
call fcn.10006090
xor eax, eax
jmp 0x1001bf4f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0xfc0]
call fcn.10004a20
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xfc0]
call fcn.10008d90
cmp eax, 1
jge 0x1001bc3e
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xfec]
call fcn.10004a20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd24]
call fcn.10018a40
push eax
call fcn.10002d60
add esp, 4
push eax
lea edx, [ebp - 0xfec]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001c1b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfec]
call fcn.10006090
mov dword [ebp - 0x100c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc0]
call fcn.10006090
mov eax, dword [ebp - 0x100c]
jmp 0x1001bf4f
push 0
lea ecx, [ebp - 0xfc0]
call fcn.10019160
movzx eax, ax
push eax
call fcn.1006d81a
add esp, 4
mov word [ebp - 0xfd0], ax
lea ecx, [ebp - 0xfd0]
push ecx
lea edx, [ebp - 0x1000]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x24
call fcn.1001f380
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x24
call fcn.1001eb30
push eax
lea ecx, [ebp - 0x1000]
call fcn.10019120
movzx ecx, al
test ecx, ecx
je 0x1001becd
lea ecx, [ebp - 0x1000]
call fcn.10019240
add eax, 4
mov dword [ebp - 0xfd4], eax
lea edx, [ebp - 0xfc0]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0xfbc]
push ecx
lea ecx, [ebp - 0x1040]
call fcn.10018110
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x102c]
push ecx
mov ecx, dword [ebp - 0xfd4]
call fcn.1001eba0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0xfd4]
call fcn.1001e440
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xffc]
push edx
call fcn.10017d40
add esp, 0x18
lea eax, [ebp - 0x1034]
push eax
mov ecx, dword [ebp - 0xfd4]
call fcn.1001eba0
push eax
lea ecx, [ebp - 0xffc]
call fcn.10019120
movzx ecx, al
test ecx, ecx
je 0x1001be58
lea ecx, [ebp - 0xffc]
call fcn.100192a0
mov edx, dword [eax]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x18
call fcn.10019220
mov dword [ebp - 0xfd8], eax
lea ecx, [ebp - 0x2d4]
call fcn.10018a40
mov ecx, dword [ebp - 0xfd8]
call fcn.10006fc0
push eax
push 0x14
lea eax, [ebp - 0x270]
push eax
call fcn.1000ad10
mov ecx, dword [ebp - 0xfd8]
add ecx, 0x40
call fcn.10006fc0
push eax
push 0x32
lea ecx, [ebp - 0x2d4]
push ecx
call fcn.1000ad10
mov ecx, dword [ebp - 0xfd8]
add ecx, 0x44
call fcn.10006fc0
push eax
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.1000ad10
cmp dword [ebp + 0xc], 0
je 0x1001bde8
mov ecx, 0xa5
lea esi, [ebp - 0x2d4]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xff8]
call fcn.10004a20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2d4]
push ecx
call fcn.10002d60
add esp, 4
push eax
lea edx, [ebp - 0xff8]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001c1b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xff8]
call fcn.10006090
mov dword [ebp - 0x1010], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc0]
call fcn.10006090
mov eax, dword [ebp - 0x1010]
jmp 0x1001bf4f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xff4]
call fcn.10004a20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa90]
call fcn.10018a40
push eax
call fcn.10002d60
add esp, 4
push eax
lea ecx, [ebp - 0xff4]
push ecx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001c1b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xff4]
call fcn.10006090
mov dword [ebp - 0x1014], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc0]
call fcn.10006090
mov eax, dword [ebp - 0x1014]
jmp 0x1001bf4f
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xff0]
call fcn.10004a20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x7fc]
call fcn.10018a40
push eax
call fcn.10002d60
add esp, 4
push eax
lea eax, [ebp - 0xff0]
push eax
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001c1b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xff0]
call fcn.10006090
mov dword [ebp - 0x1018], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc0]
call fcn.10006090
mov eax, dword [ebp - 0x1018]
jmp 0x1001bf4f
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.1005fbb2
mov esp, ebp
pop ebp
ret 8