Function at 0x10093e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0xc
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
test esi, esi
je 0x10094171
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
call fcn.10002d70
lea ecx, [esi + 4]
mov dword [ebp - 0x58], ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
call fcn.10002d70
add esi, 8
mov ecx, eax
mov dword [ebp - 0x5c], esi
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
test edi, edi
je 0x10094171
cmp dword [edi + 0x4c], 0x10
lea edx, [edi + 0x38]
jb 0x10093eb5
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], bl
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10093ec7
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.10006fc0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10097800
mov edx, eax
add esp, 8
cmp dword [edx + 0x14], 8
jb 0x10093ef4
mov edx, dword [edx]
test edx, edx
jne 0x10093efc
xor ecx, ecx
jmp 0x10093f10
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10093f01
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x58]
push edx
call fcn.10003740
lea ecx, [ebp - 0x4c]
call fcn.10005250
lea ecx, [ebp - 0x34]
call fcn.1000c070
cmp dword [edi + 0x60], ebx
jne 0x1009410f
mov edx, 0x10202940
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10093f40
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x5c]
push edx
call fcn.10003740
test bl, 2
je 0x10093f66
lea ecx, [ebp - 0x4c]
call fcn.10005250
test bl, 1
je 0x10093f73
lea ecx, [ebp - 0x34]
call fcn.1000c070
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10005170
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x10093f8b
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10093fb3
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x10093fa2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
push 0
push 0
push 1
push 0
push eax
call fcn.10123f40
cmp byte [edi + 0x68], 0
jne 0x100940f4
cmp dword [edi + 0x30], 0
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
je 0x100940cf
lea ecx, [ebp - 0x1c]
cmp esi, 8
jb 0x10093fd7
mov ecx, edx
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100940cf
lea eax, [ebx - 1]
cmp eax, 0xffffffff
jb 0x10093fed
or eax, 0xffffffff
cmp word [ecx + eax*2], 0x5c
lea eax, [ecx + eax*2]
je 0x10094008
cmp eax, ecx
je 0x100940cf
sub eax, 2
cmp word [eax], 0x5c
jne 0x10093ff7
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x100940cf
xor ecx, ecx
mov dword [ebp - 0x24], 0
inc eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
cmp ebx, eax
jb 0x10094030
mov ebx, eax
lea eax, [ebp - 0x1c]
cmp esi, 8
jb 0x1009403a
mov eax, edx
push ebx
push eax
lea ecx, [ebp - 0x34]
call fcn.100070c0
lea ecx, [ebp - 0x1c]
call fcn.10005250
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.10005250
lea eax, [edi + 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10097800
add esp, 8
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100940a6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10006d70
lea ecx, [ebp - 0x4c]
call fcn.10005250
push 4
push str..lnk
lea ecx, [ebp - 0x1c]
call fcn.10006d70
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
cmp esi, 8
jb 0x100940d9
mov eax, edx
mov esi, dword [ebp - 0x54]
mov ecx, esi
push eax
call fcn.10008170
mov ecx, dword [ebp - 0x50]
push 0xc
push esi
push 0x10093c30
call fcn.10122d00
lea ecx, [ebp - 0x1c]
call fcn.10005250
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x64], 0x10
lea edx, [edi + 0x50]
jb 0x1009411a
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], bl
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10094130
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.10006fc0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10097800
mov edx, eax
add esp, 8
cmp dword [edx + 0x14], 8
jb 0x1009415d
mov edx, dword [edx]
mov ebx, 3
test edx, edx
jne 0x10093f38
xor ecx, ecx
jmp 0x10093f4f
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret