Function at 0x1007c95
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1020104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.010096bd
push 0x1002214
mov dword [esi], 0x10021d0
call fcn.01005858
pop ecx
lea edi, [esi + 0x18]
push edi
push 0x1001608
push 5
xor ebx, ebx
push ebx
push 0x10015f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x1007cfe
push ebx
push eax
push 0x10021b8
push 0x10021a0
push 0x48
push 0x10019f8
call fcn.010059aa
mov dword [edi], ebx
jmp 0x1007d23
mov edi, dword [edi]
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x28]
cmp eax, ebx
jge 0x1007d26
push ebx
push eax
push 0x1002180
push 0x10021a0
push 0x4c
push 0x10019f8
call fcn.010059aa
add esp, 0x18
mov edi, 0x104
lea eax, [esi + 0x34]
push edi
push eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x370], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1007dae
lea eax, [esi + 0x34]
cmp eax, ebx
jne 0x1007d73
mov dword [ebp - 0x10c], ebx
jmp 0x1007d82
push edi
push eax
call fcn.0100e302
pop ecx
pop ecx
mov dword [ebp - 0x10c], eax
push edi
push 0x1002044
call fcn.0100e302
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10c]
lea eax, [eax + ecx + 1]
cmp eax, edi
ja 0x1007dae
push 0x1002044
push edi
lea eax, [esi + 0x34]
push eax
call fcn.01006ad3
jmp 0x1007db1
mov byte [esi + 0x34], bl
lea eax, [esi + 0x34]
cmp byte [eax], bl
je 0x1007e1b
push 0x1002170
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01006cba
test eax, eax
je 0x1007dfc
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.01006d63
test eax, eax
je 0x1007e1b
lea eax, [ebp - 0x108]
push eax
call fcn.01006b8b
test eax, eax
jne 0x1007e1b
push 0x1002128
call fcn.01005858
pop ecx
jmp 0x1007e1b
lea eax, [esi + 0x34]
push eax
push 0x10020f4
push ebx
push ebx
push 0x10021a0
push 0x6e
push 0x10019f8
call fcn.010059aa
add esp, 0x1c
mov dword [esi + 0x144], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov byte [esi + 0x15c], bl
call fcn.01007437
test eax, eax
je 0x1007e61
push 0x10020d4
push ebx
push ebx
push 0x10021a0
push 0x7d
jmp 0x1007f47
call fcn.0100756b
test eax, eax
je 0x1007e80
push 0x10020d4
push ebx
push ebx
push 0x10021a0
push 0x81
jmp 0x1007f47
call fcn.01007337
test eax, eax
je 0x1007e9f
push 0x10020d4
push ebx
push ebx
push 0x10021a0
push 0x85
jmp 0x1007f47
call fcn.01007100
test eax, eax
je 0x1007ec4
push 0x10020c4
push edi
lea eax, [esi + 0x260]
push eax
call fcn.01006a97
push 0x10020bc
jmp 0x1007f77
call fcn.01007186
test eax, eax
je 0x1007ee9
push 0x10020c4
push edi
lea eax, [esi + 0x260]
push eax
call fcn.01006a97
push 0x10020b0
jmp 0x1007f77
call fcn.01007223
test eax, eax
je 0x1007f0b
push 0x10020a0
push edi
lea eax, [esi + 0x260]
push eax
call fcn.01006a97
push 0x1002098
jmp 0x1007f77
call fcn.010072ac
test eax, eax
je 0x1007f2d
push 0x10020a0
push edi
lea eax, [esi + 0x260]
push eax
call fcn.01006a97
push 0x100208c
jmp 0x1007f77
call fcn.010073b7
test eax, eax
je 0x1007f62
push 0x10020d4
push ebx
push ebx
push 0x10021a0
push 0x95
push 0x10019f8
call fcn.010059aa
add esp, 0x18
mov byte [esi + 0x260], bl
mov byte [esi + 0x364], bl
jmp 0x1007f85
call fcn.01006155
test eax, eax
je 0x1007f72
push 0x1002080
jmp 0x1007f77
push 0x1002078
push 0xa
lea eax, [esi + 0x364]
push eax
call fcn.01006a97
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x374], ebx
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100e2ad
leave
ret