Function at 0x103a18d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10a2304
call fcn.0103cb38
sub esp, 0x6c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x30], 0x8007054f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x54], ebx
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.01036e30
lea edx, [ebp - 0x54]
mov ecx, eax
call fcn.0103f9d4
mov esi, eax
cmp esi, ebx
jge 0x103a204
push esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], ebx
call fcn.01036573
push esi
lea ecx, [ebp - 0x3c]
call fcn.010365e5
jmp 0x103a380
lea ecx, [edi + 0x20]
call fcn.01036e30
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.0103f9d4
mov esi, eax
cmp esi, ebx
jl 0x103a1dc
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1006e88
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
movsd dword es:[edi], dword [esi]
push 3
push ebx
movsd dword es:[edi], dword [esi]
call fcn.010400ac
mov esi, eax
cmp esi, ebx
jl 0x103a1dc
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.0103a140
push dword [ebp - 0x14]
mov esi, dword [ebp + 0x18]
push esi
mov byte [ebp - 4], 1
call fcn.0103c5af
mov edi, eax
cmp edi, ebx
jge 0x103a282
push edi
push 1
push ebx
push ebx
call fcn.0105def8
mov dword [ebp - 0x30], edi
jmp 0x103a375
push dword [esi + 0x18]
call dword [sym.imp.imagehlp.dll_ImageNtHeader]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x103a731
lea eax, [ebp - 0x18]
push eax
push 0xe
push ebx
push dword [esi + 0x18]
call dword [sym.imp.imagehlp.dll_ImageDirectoryEntryToData]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 0x18], edi
je 0x103a731
cmp dword [ebp - 0x18], ebx
je 0x103a731
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [esi + 0x18]
mov dword [ebp - 0x20], ebx
call fcn.0103c336
mov esi, eax
cmp esi, ebx
jge 0x103a2e4
push esi
push 1
push ebx
push ebx
call fcn.0105def8
mov dword [ebp - 0x30], esi
jmp 0x103a375
mov esi, dword [ebp + 0x14]
push dword [ebp - 0x20]
mov ecx, esi
call fcn.010369a9
mov eax, dword [esi]
cmp eax, ebx
je 0x103a390
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
je 0x103a390
mov eax, dword [esi]
mov edi, dword [sym.imp.msvcrt.dll__wcsnicmp]
push 5
push 0x1004ba8
push eax
call edi
add esp, 0xc
test eax, eax
je 0x103a336
mov eax, dword [esi]
push 5
push 0x1004b9c
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x103a38d
mov ecx, dword [ebp + 0x10]
push 0x1004b88
call fcn.010369a9
mov ecx, dword [ebp + 0x10]
push esi
call fcn.01036359
push 0x1004b74
lea ecx, [ebp + 0xc]
call fcn.01036972
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
call fcn.01036359
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.01036381
lea ecx, [ebp - 0x2c]
call fcn.0101d150
jmp 0x103a761
mov edi, dword [ebp + 0x18]
mov eax, dword [edi + 0x10]
mov cl, byte [edi + 0x10]
shr eax, 1
and cl, 1
and al, 1
cmp cl, bl
mov byte [ebp - 0xd], cl
mov byte [ebp + 0x1b], al
je 0x103a477
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x14]
call fcn.01036e91
push 0x1004b70
push 0x1004b58
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 3
call fcn.0103782f
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.01036e4a
test al, al
je 0x103a465
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x103a465
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x1c]
push esi
call fcn.0103c5af
mov edi, eax
cmp edi, ebx
jge 0x103a41f
push edi
push 1
push ebx
push ebx
call fcn.0105def8
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov dword [ebp - 0x30], edi
call fcn.01036381
jmp 0x103a375
push dword [esi + 0x18]
call dword [sym.imp.imagehlp.dll_ImageNtHeader]
mov edi, eax
cmp edi, ebx
je 0x103a465
lea eax, [ebp + 0x1c]
push eax
push 0xe
push ebx
push dword [esi + 0x18]
mov dword [ebp + 0x1c], ebx
call dword [sym.imp.imagehlp.dll_ImageDirectoryEntryToData]
cmp eax, ebx
je 0x103a465
mov ecx, dword [ebp + 0x1c]
cmp ecx, ebx
je 0x103a465
mov dword [ebp - 0x18], ecx
mov cl, byte [eax + 0x10]
mov eax, dword [eax + 0x10]
and cl, 1
shr eax, 1
and al, 1
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0xd], cl
mov byte [ebp + 0x1b], al
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.01036381
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0x18]
cmp ax, 0x20b
mov byte [ebp + 0x17], 1
jne 0x103a4a2
mov byte [ebp + 0x17], bl
cmp cl, bl
lea ecx, [ebp + 0x1c]
je 0x103a4cb
push 0x1004b50
call fcn.01036972
mov byte [ebp - 4], 4
jmp 0x103a4d9
cmp ax, 0x10b
je 0x103a48b
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0xf0]
cmp dword [esi], ebx
je 0x103a727
push ebx
push ebx
push dword [0x10a4994]
push 0xc1010015
jmp 0x103a716
push 0x1004b44
call fcn.01036972
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x1c]
push eax
call fcn.01036359
push dword [ebp + 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 1
call esi
mov edi, 0x1006e18
push edi
lea ecx, [ebp + 0x1c]
call fcn.01036972
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.01036359
push dword [ebp + 0x1c]
mov byte [ebp - 4], 1
call esi
cmp byte [ebp + 0x1b], bl
lea ecx, [ebp + 0x1c]
je 0x103a533
push 0x1004b2c
call fcn.01036972
mov byte [ebp - 4], 7
jmp 0x103a541
push 0x1004b10
call fcn.01036972
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x1c]
push eax
call fcn.01036359
push dword [ebp + 0x1c]
mov byte [ebp - 4], 1
call esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.01036972
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.01036359
push dword [ebp + 0x1c]
mov byte [ebp - 4], 1
call esi
cmp byte [ebp + 0x17], bl
lea ecx, [ebp + 0x1c]
je 0x103a590
push 0x1004b08
call fcn.01036972
mov byte [ebp - 4], 0xa
jmp 0x103a59e
push 0x1004afc
call fcn.01036972
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x1c]
push eax
call fcn.01036359
push dword [ebp + 0x1c]
mov byte [ebp - 4], 1
call esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.01036972
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0xc
call fcn.01036359
push dword [ebp + 0x1c]
mov byte [ebp - 4], 1
call esi
mov edi, dword [ebp - 0x1c]
mov ax, word [edi + 4]
cmp ax, 0x14c
lea ecx, [ebp + 0x1c]
jne 0x103a5f5
push 0x1004af8
call fcn.01036972
mov byte [ebp - 4], 0xd
jmp 0x103a62f
cmp ax, 0x200
jne 0x103a60b
push 0x1004af0
call fcn.01036972
mov byte [ebp - 4], 0xe
jmp 0x103a62f
cmp ax, 0x8664
jne 0x103a621
push 0x1004ae8
call fcn.01036972
mov byte [ebp - 4], 0xf
jmp 0x103a62f
push 0x1004ad4
call fcn.01036972
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x1c]
push eax
call fcn.01036359
push dword [ebp + 0x1c]
mov byte [ebp - 4], 1
call esi
mov al, byte [ebp + 0x1b]
xor ecx, ecx
cmp byte [ebp + 0x17], bl
sete cl
neg al
sbb eax, eax
and eax, 2
or ecx, eax
mov al, byte [ebp - 0xd]
neg al
sbb eax, eax
and eax, 4
or ecx, eax
cmp ecx, 7
ja case.default.0x103a66d
jmp dword [ecx*4 + 0x103a775]
push 0x1004af8
mov ecx, dword [ebp + 0xc]
jmp 0x103a6f2
mov di, word [edi + 4]
cmp di, 0x200
jne 0x103a690
push 0x1004af0
jmp 0x103a679
cmp di, 0x8664
jne 0x103a69e
push 0x1004ae8
jmp 0x103a679
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0xf0]
cmp dword [esi], ebx
je 0x103a727
push ebx
push ebx
push dword [0x10a4994]
push 0xc1010016
jmp 0x103a716
cmp word [edi + 4], 0x14c
je 0x103a6de
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0xf0]
cmp dword [esi], ebx
je 0x103a727
push ebx
push ebx
push dword [0x10a4994]
push 0xc1010017
jmp 0x103a716
cmp byte [ebp + 0x1b], bl
mov ecx, dword [ebp + 0xc]
je 0x103a6ed
push 0x1004af8
jmp 0x103a6f2
push 0x1004acc
call fcn.010369a9
jmp case.default.0x103a66d
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0xf0]
cmp dword [esi], ebx
je 0x103a727
push ebx
push ebx
push dword [0x10a4994]
push 0xc1010018
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push dword [edi + 0xf4]
call dword [esi]
mov esi, 0x8000ffff
jmp 0x103a2d2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], ebx
call fcn.01036381
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0101d150
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x10048b0
call fcn.010365bb
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18