Function at 0x1001138a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push esi
and dword [ebp - 0xdc], 0
mov dword [ebp - 0x60], 0xfffffffa
mov dword [ebp - 0x88], 0xffffffff
push 3
lea ecx, [ebp - 0x140]
call fcn.10017abd
and dword [ebp - 4], 0
push 0x1116
lea eax, [ebp - 0x140]
push eax
push 0
lea eax, [ebp - 0x164]
push eax
call fcn.10011314
add esp, 0x10
mov dword [ebp - 0x60], 0xfffffff9
jmp 0x100113ff
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 5
jge 0x100115b2
mov dword [ebp - 0x24], 0x9807
push 4
lea ecx, [ebp - 0x194]
call fcn.10017abd
mov byte [ebp - 4], 1
mov dword [ebp - 0x158], 6
mov dword [ebp - 0xb8], 6
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x174]
push eax
push 0
call fcn.10013643
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
call fcn.1001765e
add esp, 0xc
mov dword [ebp - 0x24], 4
jmp 0x10011472
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xe
jge 0x1001159e
mov dword [ebp - 0x40], 0xd4a0d461
cmp dword [ebp - 0x40], 0
jne 0x10011526
cmp dword [ebp - 0x24], 1
jg 0x1001149f
mov dword [ebp - 0x8c], 1
jmp 0x100114a6
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x40]
jg 0x100114c0
mov dword [ebp - 0xe4], 1
jmp 0x100114c7
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0x335c0de4
jne 0x100114df
mov dword [ebp - 0x100], 1
jmp 0x100114e6
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x40], 0xffffffff
jg 0x100114f5
mov dword [ebp - 0x70], 1
jmp 0x100114f9
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0xdf7b
je 0x1001150e
mov dword [ebp - 0xb0], 1
jmp 0x10011515
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xb0], eax
je 0x10011526
and dword [ebp - 0x80], 0
jmp 0x1001152d
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x80], eax
jl 0x10011541
mov dword [ebp - 0xd8], 1
jmp 0x10011548
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0xd8]
cmp eax, dword [ebp - 0x88]
jle 0x1001158c
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x2d]
push eax
push 0x54f4
push 0x5bb8
push 0
call fcn.10015d91
add esp, 0x10
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1001158a
push 0
call fcn.10015a07
pop ecx
jmp 0x10011599
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
jmp 0x1001146b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x194]
call fcn.10017b25
jmp 0x100113f8
lea eax, [ebp - 0x140]
push eax
push 0
call fcn.10015d51
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.10017b25
lea ecx, [ebp - 0x1c4]
call fcn.100179b5
mov dword [ebp - 4], 2
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x34], 0
jmp 0x100115fa
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x10011756
mov dword [ebp - 0x50], 0
jmp 0x10011614
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x10011627
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x78], 0x2443250e
jmp 0x1001160d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x78], 0
jne 0x10011737
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x78], 1
jne 0x10011651
mov dword [ebp - 0x90], 1
jmp 0x10011658
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xa4ccfd66
jae 0x10011670
mov dword [ebp - 0xd0], 1
jmp 0x10011677
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xffffffff
jg 0x1001168c
mov dword [ebp - 0x98], 1
jmp 0x10011693
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x98], eax
jl 0x100116aa
mov dword [ebp - 0xc0], 1
jmp 0x100116b1
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
add eax, dword [ebp - 0xc0]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x78]
je 0x100116d9
mov dword [ebp - 0xa0], 1
jmp 0x100116e0
and dword [ebp - 0xa0], 0
mov eax, 0xaab72b21
sub eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x34]
jl 0x100116fc
mov dword [ebp - 0xe0], 1
jmp 0x10011703
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0xe0]
cmp eax, 0x39e2
jle 0x10011720
mov dword [ebp - 0x110], 1
jmp 0x10011727
and dword [ebp - 0x110], 0
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x10011737
and dword [ebp - 0xa8], 0
jmp 0x10011741
mov dword [ebp - 0xa8], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp + eax - 0x78], ecx
jmp 0x100115f3
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x10011776
push 0x4133
push 0
push 0x1dde
call fcn.10015a2f
add esp, 0xc
push 0x3768
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x1c4]
push eax
push 0x5e2f
push 0
call fcn.10015b25
add esp, 0x14
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x28], 0xb2ab76d6
mov dword [ebp - 0x38], 0x46c3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x28], eax
je 0x100117cd
mov dword [ebp - 0xc8], 1
jmp 0x100117d4
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0xc8], 0x6525
jl 0x1001180d
mov dword [ebp - 0x6c], 1
jmp 0x10011811
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x6c]
jge 0x10011822
mov dword [ebp - 0x7c], 1
jmp 0x10011826
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x38]
jg 0x10011838
cmp dword [ebp - 0x28], 0
je 0x1001189f
mov dword [ebp - 0x48], 0
jmp 0x10011848
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x1001185e
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x1dc], 0x7b2415fb
jmp 0x10011841
mov dword [ebp - 0x38], 0
jmp 0x1001186e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x1001189d
mov dword [ebp - 0x28], 0
jmp 0x10011884
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jg 0x1001189b
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x1dc], 0
je 0x10011899
jmp 0x1001189b
jmp 0x1001187d
jmp 0x10011867
jmp 0x100118eb
push 0
push 0xbc0
push 0x29d3
call fcn.10015baa
add esp, 0xc
mov dword [ebp - 0x14], 0xa
jmp 0x100118c3
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 7
je 0x100118eb
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x100118e9
push 0x6b2c
push 0
push 0x2813
call fcn.100139f2
add esp, 0xc
jmp 0x100118bc
and dword [ebp - 0x44], 0
jmp 0x100118f8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0xc]
jae 0x10011b76
mov dword [ebp - 0x58], 0xb9f9b31
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x58], 6
jmp 0x1001194d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xc
jle 0x10011b35
mov dword [ebp - 0x3c], 0xc6f1bf50
push 2
lea ecx, [ebp - 0x134]
call fcn.10017abd
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100112ab
add esp, 0xc
mov dword [ebp - 0x3c], 0x10
jmp 0x10011997
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x18
jne 0x10011b0f
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x150], 4
mov dword [ebp - 0x14c], 4
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x144], 4
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x100119f0
push 1
push 0x799
push 0x3140
call fcn.100112ab
add esp, 0xc
mov dword [ebp - 0x20], 0
jmp 0x10011a00
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x10011b0a
mov dword [ebp - 0x4c], 0
jmp 0x10011a1a
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x10011a30
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x104], 0x233fd52
jmp 0x10011a13
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xf4], 0x3e38693
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp + ecx*4 - 0xf4]
cmp dword [ebp + eax*4 - 0xf4], ecx
jge 0x10011a5d
mov dword [ebp - 0x68], 1
jmp 0x10011a61
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0xf4]
mov ecx, dword [ebp - 0x20]
sub eax, dword [ebp + ecx*4 - 0xf4]
jne 0x10011a96
mov eax, 0x510afbd1
test eax, eax
jne 0x10011a96
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xf4], 0
jne 0x10011a96
and dword [ebp - 0x64], 0
jmp 0x10011a9d
mov dword [ebp - 0x64], 1
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0x150], ecx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x68], eax
je 0x10011ad6
xor eax, eax
inc eax
jne 0x10011ad6
push 3
pop eax
test eax, eax
jne 0x10011ad6
and dword [ebp - 0x94], 0
jmp 0x10011ae0
mov dword [ebp - 0x94], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp + eax - 0x104], ecx
mov esi, dword [ebp - 0x3c]
push 1
lea ecx, [ebp - 0x134]
call fcn.10017b2a
mov dword [eax], esi
jmp 0x100119f9
jmp 0x10011990
push 0
lea ecx, [ebp - 0x134]
call fcn.10017b2a
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.10017b25
jmp 0x10011946
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x44]
xor edx, edx
div dword [0x1008b5b0]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10008e13
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c4]
call fcn.10017a47
jmp 0x100118f1
mov dword [ebp - 0x54], 0x4432
mov dword [ebp - 0x10], 0xfffe
mov dword [ebp - 0x18], 0xb0a3531f
push 2
lea ecx, [ebp - 0x1a4]
call fcn.10017abd
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 0
jmp 0x10011bac
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10011bc2
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1cc], 5
jmp 0x10011ba5
mov dword [ebp - 0x1c], 0
jmp 0x10011bd2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10011bee
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.10017b2a
mov dword [eax], 0x459c
jmp 0x10011bcb
cmp dword [ebp - 0x54], 0
jne 0x10011c00
mov dword [ebp - 0x108], 1
jmp 0x10011c07
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x10], eax
jg 0x10011c1b
mov dword [ebp - 0xf8], 1
jmp 0x10011c22
and dword [ebp - 0xf8], 0
xor eax, eax
inc eax
je 0x10011c39
cmp dword [ebp - 0x10], 0
je 0x10011c39
mov dword [ebp - 0x128], 1
jmp 0x10011c40
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x18], 0
jl 0x10011c5b
mov dword [ebp - 0x9c], 1
jmp 0x10011c62
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0
jg 0x10011c77
mov dword [ebp - 0x10c], 1
jmp 0x10011c7e
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x54], 0
je 0x10011d09
mov dword [ebp - 0x10], 0
jmp 0x10011cb8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10011d04
mov dword [ebp - 0x18], 0
jmp 0x10011cce
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x10011cec
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x10011cea
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x10011cc7
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x10011d02
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x10011cb1
jmp 0x10011eee
mov dword [ebp - 0xcc], 3
mov dword [ebp - 0xfc], 8
mov dword [ebp - 0x10], 0
jmp 0x10011d2d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x30
jl 0x10011eee
push 2
lea ecx, [ebp - 0x120]
call fcn.10017abd
mov byte [ebp - 4], 5
mov dword [ebp - 0xc4], 0x49f7fae0
mov dword [ebp - 0x114], 0x6354d184
lea eax, [ebp - 0x120]
push eax
push 0
lea eax, [ebp - 0x178]
push eax
push 0x7ff6
push 0x4769
call fcn.10015caa
add esp, 0x14
mov dword [ebp - 0x18], 0xffffffe8
jmp 0x10011d8e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xf
jl 0x10011eda
mov dword [ebp - 0x5c], 0x9002fce4
push 0
lea ecx, [ebp - 0x120]
call fcn.10017b2a
push 1
lea ecx, [ebp - 0x120]
call fcn.10017b2a
mov ecx, dword [ebp - 0xcc]
cmp dword [eax], ecx
je 0x10011dcf
mov dword [ebp - 0xa4], 1
jmp 0x10011dd6
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xe85dc32c
je 0x10011dee
mov dword [ebp - 0xac], 1
jmp 0x10011df5
and dword [ebp - 0xac], 0
push 0
lea ecx, [ebp - 0x120]
call fcn.10017b2a
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
je 0x10011e18
mov dword [ebp - 0xb4], 1
jmp 0x10011e1f
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
add eax, 0xffff
cmp eax, 0xf8d36fbc
ja 0x10011e3d
mov dword [ebp - 0xbc], 1
jmp 0x10011e44
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x5c], eax
imul eax, dword [ebp - 0x5c], 0x39bb
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x10011e78
cmp dword [ebp - 0xcc], 0
je 0x10011e78
mov dword [ebp - 0xd4], 1
jmp 0x10011e7f
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0x84085efb
je 0x10011e97
mov dword [ebp - 0x124], 1
jmp 0x10011e9e
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x114], 0xa7fcf623
lea eax, [ebp - 0xfc]
push eax
push 0x622c
push 1
push 0x238f
call fcn.10011314
add esp, 0x10
jmp 0x10011d87
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.10017b25
jmp 0x10011d26
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x10011f07
push 0
push 0x257e
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a4]
call fcn.10017b25
lea eax, [ebp - 0x1c4]
push eax
mov ecx, dword [ebp + 8]
call fcn.100179c6
mov eax, dword [ebp - 0xdc]
or eax, 1
mov dword [ebp - 0xdc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.10017a1f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret