Function at 0x1001e615
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086c9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
push edi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001e674
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x160], eax
push dword [ebp - 0x140]
push 0x6097
push dword [ebp - 0x160]
push 1
push 0x59cf
call fcn.1001f1f4
add esp, 0x14
jmp 0x1001f1e4
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x100], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
test eax, eax
je 0x1001e6d9
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
movzx eax, byte [eax]
test eax, eax
je 0x1001e6d4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x1001f1e4
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x58], eax
mov eax, dword [0x1008cc38]
and eax, 1
jne 0x1001e71f
mov eax, dword [0x1008cc38]
or eax, 1
mov dword [0x1008cc38], eax
and dword [ebp - 4], 0
mov ecx, 0x10090298
call fcn.1002029d
push 0x10087c05
call fcn.100714c9
pop ecx
or dword [ebp - 4], 0xffffffff
push 2
lea ecx, [ebp - 0x194]
call fcn.1001ff2e
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0x9bdba76a
mov dword [ebp - 0xec], 0xdae8
lea eax, [ebp - 0x184]
push eax
push 0
lea eax, [ebp - 0x194]
push eax
call fcn.1001da83
add esp, 0xc
mov dword [ebp - 0x34], 0
jmp 0x1001e76c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jg 0x1001e78a
push 0
push 0x7ff3
lea eax, [ebp - 0xec]
push eax
call fcn.10015df0
add esp, 0xc
jmp 0x1001e765
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.1001ffb0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call fcn.10012f22
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x13c], 0xc1b0fe2c
push 0
call fcn.10014d86
pop ecx
push 0
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1001a82e
add esp, 0x10
cmp dword [ebp - 0x54], 3
jae 0x1001e951
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x198]
push eax
mov ecx, 0x10090298
call fcn.100200a9
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x1a8]
push eax
mov ecx, 0x10090298
call fcn.100200b7
mov ecx, eax
call fcn.100201d3
movzx eax, al
test eax, eax
je 0x1001e951
push 0
push 0x49a0
call fcn.10016b88
pop ecx
pop ecx
mov dword [ebp - 0xd0], 0x8b8
mov dword [ebp - 0x124], 0x10008d90
cmp dword [ebp - 0xd0], 0x9cd
jle 0x1001e90f
and dword [ebp - 0x20], 0
jmp 0x1001e87b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3118
jge 0x1001e90f
and dword [ebp - 0x28], 0
jmp 0x1001e895
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x210
jge 0x1001e90a
and dword [ebp - 0x30], 0
jmp 0x1001e8ab
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x25df
jge 0x1001e908
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x1f4]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x1f4]
call fcn.1001fbea
jmp 0x1001e8a4
jmp 0x1001e88e
jmp 0x1001e874
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x10090298
call fcn.100202f1
push eax
mov ecx, dword [ebp - 0x58]
call fcn.1001fea5
cmp dword [ebp - 0xd0], 0x748
jge 0x1001e94c
push dword [ebp - 0x124]
call fcn.100714f3
pop ecx
jmp 0x1001f1e4
mov dword [ebp - 0x1ac], 3
push 0
call fcn.1001f7bf
pop ecx
push 0x4189
push 0x1e68
push 0xe39
push 0
push 1
call fcn.10015aad
add esp, 0x14
lea eax, [ebp - 0x200]
push eax
call fcn.10011077
pop ecx
mov esi, eax
lea edi, [ebp - 0x1d0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x1d0]
lea edi, [ebp - 0x1dc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
lea ecx, [ebp - 0x4c]
call fcn.1001ff2e
mov dword [ebp - 4], 2
mov dword [ebp - 0x12c], 0x874be76d
mov dword [ebp - 0xd4], 2
mov dword [ebp - 0xb4], 1
push 4
lea ecx, [ebp - 0x180]
call fcn.1001ff2e
mov byte [ebp - 4], 3
push 0x3f2b
lea eax, [ebp - 0x164]
push eax
push 0x69c7
push 0x1ba8
push 1
push 0x2619
push 0x5607
lea eax, [ebp - 0x4c]
push eax
push 0x3eeb
push 1
call fcn.1001325a
add esp, 0x28
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x164]
push eax
push 0xcc2
push 0x6423
push 0x5736
push 0
call fcn.10016fb6
add esp, 0x18
push 1
push 0
push 0x1e71
push 0x6194
push 0xfdf
push 0x73b5
call fcn.100145c4
add esp, 0x18
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
cmp dword [eax], 0
je 0x1001eabe
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
cmp dword [eax], 4
jne 0x1001ea9f
mov dword [ebp - 0xdc], 1
jmp 0x1001eaa6
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0x5b6478c3
je 0x1001eabe
mov dword [ebp - 0xd8], 1
jmp 0x1001eac5
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x12c], eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
mov esi, eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x1001eaf6
mov dword [ebp - 0x64], 1
jmp 0x1001eafa
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0xfffffff6
jg 0x1001eb0c
mov dword [ebp - 0xa4], 1
jmp 0x1001eb13
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 1
ja 0x1001eb25
mov dword [ebp - 0x6c], 1
jmp 0x1001eb29
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x2978
jl 0x1001eb3e
mov dword [ebp - 0xc4], 1
jmp 0x1001eb45
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [eax]
jg 0x1001eb62
mov dword [ebp - 0x74], 1
jmp 0x1001eb66
and dword [ebp - 0x74], 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax]
jle 0x1001eb83
mov dword [ebp - 0xac], 1
jmp 0x1001eb8a
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0x76a47cde
jl 0x1001eb9f
mov dword [ebp - 0x7c], 1
jmp 0x1001eba3
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xd4], eax
mov esi, dword [ebp - 0xd4]
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
cmp esi, dword [eax]
jge 0x1001ebd9
mov dword [ebp - 0x84], 1
jmp 0x1001ebe0
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov esi, dword [ebp - 0xb4]
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001ffcc
add esi, dword [eax]
cmp esi, 1
jle 0x1001ec0f
mov dword [ebp - 0x8c], 1
jmp 0x1001ec16
and dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0x180]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.1001ffb0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.1001ffb0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call fcn.10012f55
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x1dc]
push eax
push dword [ebp - 0x150]
push dword [ebp - 0x54]
lea eax, [ebp - 0x1c4]
push eax
call fcn.100130f6
add esp, 0x10
mov dword [ebp - 4], 4
cmp dword [ebp - 0x54], 3
jae 0x1001f1b5
mov dword [ebp - 0x10], 0x68ec0ae9
mov dword [ebp - 0x40], 0x6848
mov dword [ebp - 0xf0], 0xfffffff7
mov dword [ebp - 0x98], 8
mov dword [ebp - 0xa8], 0xfffffff8
push 0xc0
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.1001ca7a
add esp, 0xc
mov dword [ebp - 0x10], 0xe
jmp 0x1001ecd5
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x15
jge 0x1001f197
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x5c], 0xfffffff7
mov dword [ebp - 0x70], 0xc7a88ff7
mov dword [ebp - 0x1a4], 0x13222c7e
mov dword [ebp - 0x14], 0
jmp 0x1001ed15
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1a
jg 0x1001f192
mov dword [ebp - 0x118], 1
push 2
lea ecx, [ebp - 0xe8]
call fcn.1001ff2e
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0xfffffff8
push 1
lea ecx, [ebp - 0x174]
call fcn.1001ff2e
mov byte [ebp - 4], 6
mov dword [ebp - 0xfc], 3
push 0x4cd2
push 0x7e56
push 0x4eb6
push 0x54df
lea eax, [ebp - 0x108]
push eax
push 0x3576
lea eax, [ebp - 0xe8]
push eax
push 1
push 1
push 0x1ba2
push 0
call fcn.10017639
add esp, 0x2c
mov dword [ebp - 0xcc], 0x7830
mov dword [ebp - 0x104], 0x10008de0
cmp dword [ebp - 0xcc], 0x796a
jle 0x1001ee82
and dword [ebp - 0x2c], 0
jmp 0x1001edc7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x63f0
jge 0x1001ee82
and dword [ebp - 0x24], 0
jmp 0x1001ede1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6e80
jge 0x1001ee7d
and dword [ebp - 0x38], 0
jmp 0x1001edfb
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5b5b
jge 0x1001ee78
and dword [ebp - 0x3c], 0
jmp 0x1001ee11
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1754
jge 0x1001ee73
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sar eax, cl
and eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
lea ecx, [ebp - 0x218]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x218]
call fcn.1001fbea
jmp 0x1001ee0a
jmp 0x1001edf4
jmp 0x1001edda
jmp 0x1001edc0
cmp dword [ebp - 0xcc], 0x7743
jge 0x1001ee9a
push dword [ebp - 0x104]
call fcn.100714f3
pop ecx
lea eax, [ebp - 0x174]
push eax
push 0x244e
push 0
lea eax, [ebp - 0x108]
push eax
push 0x5b2d
call fcn.10018b70
add esp, 0x14
push 0x179d
push 1
push 0x15f2
push 0
push 0x711a
lea eax, [ebp - 0x50]
push eax
call fcn.10015d71
add esp, 0x18
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
inc ecx
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x1001ef02
xor eax, eax
je 0x1001ef02
mov dword [ebp - 0x110], 1
jmp 0x1001ef09
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x14], 0
je 0x1001ef2d
cmp dword [ebp - 0x118], 0
je 0x1001ef2d
mov dword [ebp - 0x94], 1
jmp 0x1001ef34
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x94], eax
jne 0x1001ef5a
push 0
lea ecx, [ebp - 0xe8]
call fcn.1001ffcc
cmp dword [eax], 0
jne 0x1001ef5a
and dword [ebp - 0xbc], 0
jmp 0x1001ef64
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xbc], eax
jl 0x1001ef7b
mov dword [ebp - 0x9c], 1
jmp 0x1001ef82
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0x534f
je 0x1001ef97
mov dword [ebp - 0x60], 1
jmp 0x1001ef9b
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], eax
jl 0x1001efac
mov dword [ebp - 0x68], 1
jmp 0x1001efb0
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
neg eax
cmp eax, 1
jge 0x1001efc9
cmp dword [ebp - 0x70], 0
je 0x1001efc9
mov dword [ebp - 0x78], 1
jmp 0x1001efcd
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x78]
jge 0x1001efe1
mov dword [ebp - 0x120], 1
jmp 0x1001efe8
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0xf0]
cmp dword [ebp - 0x40], eax
jne 0x1001f005
mov dword [ebp - 0x80], 1
jmp 0x1001f009
and dword [ebp - 0x80], 0
push 0
lea ecx, [ebp - 0xe8]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [eax]
jne 0x1001f029
mov dword [ebp - 0x88], 1
jmp 0x1001f030
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x88], eax
jge 0x1001f047
mov dword [ebp - 0x90], 1
jmp 0x1001f04e
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x98]
push 1
lea ecx, [ebp - 0xe8]
call fcn.1001ffcc
cmp esi, dword [eax]
jl 0x1001f081
push 9
pop eax
test eax, eax
jne 0x1001f081
and dword [ebp - 0xa0], 0
jmp 0x1001f08b
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x18]
cmp eax, 0xb631
jle 0x1001f0b9
mov dword [ebp - 0xb0], 1
jmp 0x1001f0c0
and dword [ebp - 0xb0], 0
push 0
lea ecx, [ebp - 0xe8]
call fcn.1001ffcc
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jle 0x1001f0e3
mov dword [ebp - 0xf4], 1
jmp 0x1001f0ea
and dword [ebp - 0xf4], 0
mov esi, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x174]
call fcn.1001ffcc
cmp esi, dword [eax]
jge 0x1001f10a
mov dword [ebp - 0xb8], 1
jmp 0x1001f111
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xb8]
lea esi, [ecx + eax + 0x546d5e23]
push 0
lea ecx, [ebp - 0x174]
call fcn.1001ffcc
cmp esi, dword [eax]
je 0x1001f13e
mov dword [ebp - 0xc0], 1
jmp 0x1001f145
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc0]
jne 0x1001f15c
mov dword [ebp - 0xc8], 1
jmp 0x1001f163
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x174]
call fcn.1001ffb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
call fcn.1001ffb0
jmp 0x1001ed0e
jmp 0x1001ecce
lea eax, [ebp - 0x1c4]
push eax
push dword [ebp - 0x1c]
push 0x393e
push 0
push 0x10090298
call fcn.1001886c
add esp, 0x14
lea eax, [ebp - 0x1c4]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.1001fea5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.1001fe9b
jmp 0x1001f1e4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret