Function at 0x100a74c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x10167c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
xor ebx, ebx
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0x18], ebx
call dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.100079a0
push dword [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x24]
mov edx, 0x1013db84
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x100a7546
test si, si
je 0x100a7542
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x100a7546
add ecx, 4
add edx, 4
test si, si
jne 0x100a7520
xor ecx, ecx
jmp 0x100a754b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x100a7557
lea esi, [ecx + 1]
jmp 0x100a75da
mov edx, 0x1013db8c
mov ecx, eax
nop
mov si, word [ecx]
cmp si, word [edx]
jne 0x100a7586
test si, si
je 0x100a7582
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x100a7586
add ecx, 4
add edx, 4
test si, si
jne 0x100a7560
xor ecx, ecx
jmp 0x100a758b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x100a7594
lea esi, [ecx + 2]
jmp 0x100a75da
mov ecx, str._g0W
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100a75c6
test dx, dx
je 0x100a75c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100a75c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100a75a0
xor eax, eax
jmp 0x100a75cb
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 3
mov esi, 0
cmove esi, ecx
mov ecx, dword [ebp + 8]
call fcn.10024d80
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x100a7600
push esi
call fcn.100b0530
mov ecx, dword [edi + 0x8c]
cmp dword [ebp - 0x14], eax
jb 0x100a7607
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x100a760a
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 3
test ecx, ecx
je 0x100a7631
push esi
push 0xa
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100b0510
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x44]
mov eax, 0x2f48c601
mov ecx, dword [ebp + 8]
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebp - 0x14]
push eax
call fcn.100b1620
xor ecx, ecx
mov eax, 0x2f48c601
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x44]
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100a7881
xor esi, esi
mov dword [ebp - 0x20], esi
nop dword [eax + eax]
add esi, dword [ebp - 0x44]
cmp dword [edi + 0x9c], 0
je 0x100a76b0
mov eax, dword [edi + 0x98]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 4]
add eax, 8
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
or ebx, 1
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], ebx
cmp esi, dword [eax]
je 0x100a76b4
mov byte [ebp - 0xd], 0
test bl, 1
je 0x100a76c8
push dword [ebp - 0x28]
and ebx, 0xfffffffe
mov dword [ebp - 0x18], ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0xd], 0
jne 0x100a7852
lea ebx, [esi + 0xc8]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.100afad0
add esp, 8
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.100b44c0
lea eax, [edi + 4]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x78]
call fcn.1000fde0
push esi
lea ecx, [ebp - 0x78]
call fcn.100b4aa0
push ebx
lea ecx, [ebp - 0x78]
call fcn.100b4be0
cmp dword [esi + 0xad0], 0
lea ecx, [ebp - 0x78]
je 0x100a7724
push dword [ebp - 0x14]
jmp 0x100a772b
lea eax, [esi + 0x8c8]
push eax
call fcn.100b4a50
push ebx
lea ecx, [ebp - 0x78]
call fcn.100b4990
push ebx
lea ecx, [ebp - 0x78]
call fcn.100b4af0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x2c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax]
push dword [eax]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.100b49e0
push dword [ebp - 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x30]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.100b4b90
push dword [ebp - 0x30]
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 1
lea ecx, [ebp - 0x78]
call fcn.100b4a30
mov ecx, dword [edi + 0x98]
lea ebx, [ebp - 0x78]
push ebx
mov dword [ebp - 0x34], ecx
mov edx, dword [ecx + 4]
push edx
push ecx
lea ecx, [edi + 0x98]
mov dword [ebp - 0x38], edx
call fcn.100a3680
mov edx, dword [edi + 0x9c]
lea ebx, [esi + 0xc8]
mov ecx, 0x4444443
sub ecx, edx
cmp ecx, 1
jb 0x100a792c
lea ecx, [edx + 1]
mov dword [edi + 0x9c], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
cmp dword [esi + 0xad0], 0
je 0x100a781e
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a781e
mov ecx, edi
call fcn.100a8650
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x100a7828
push dword [ebp - 0x14]
push ebx
push esi
call fcn.100b7620
jmp 0x100a7828
push 1
lea ecx, [ebp - 0x78]
call fcn.100b4a30
lea ecx, [ebp - 0x78]
call fcn.100b4580
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a784f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
mov eax, 0x2f48c601
sub ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x20]
inc dword [ebp - 0x1c]
add esi, 0xad4
imul ecx
mov dword [ebp - 0x20], esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
jb 0x100a7680
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x40]
je 0x100a7891
lea ecx, [edi + 0x38]
call fcn.100b3910
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 2
test esi, esi
je 0x100a78f1
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2f48c601
sub ecx, esi
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0xad4
mov eax, esi
cmp ecx, 0x1000
jb 0x100a78d2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7927
push ecx
push esi
call fcn.100c459e
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a7913
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100e9c89
push str.list_T__too_long
call fcn.10085523
int3