Function at 0x1006bd24
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1006bedd
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1006be69
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0x1aed
mov dword [ebp - 0x4c], 0x1000ffec
cmp dword [ebp - 0x34], 0x1c96
jle 0x1006bdf5
and dword [ebp - 8], 0
jmp 0x1006bd8c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x397c
jge 0x1006bdeb
and dword [ebp - 0xc], 0
jmp 0x1006bda2
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1472
jge 0x1006bde9
and dword [ebp - 0x10], 0
jmp 0x1006bdb8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x33a4
jge 0x1006bde7
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0xc]
imul edx, dword [ebp - 0x10]
mov eax, edx
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1006bdb1
jmp 0x1006bd9b
jmp 0x1006bd85
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x1006be17
xor eax, eax
inc eax
je 0x1006be17
mov dword [ebp - 0x20], 1
jmp 0x1006be1b
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x1006be2e
mov dword [ebp - 0x28], 1
jmp 0x1006be32
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jle 0x1006be45
mov dword [ebp - 0x30], 1
jmp 0x1006be49
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
cmp dword [ebp - 0x34], 0x17d7
jge 0x1006be67
mov edx, dword [ebp - 0x4c]
mov ecx, 0x10094c18
call fcn.10029186
jmp 0x1006bedb
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xfffffffa
jmp 0x1006be8b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfffffff5
je 0x1006bedb
mov dword [ebp - 0x18], 0x22124f84
mov dword [ebp - 0x18], 0xa
jmp 0x1006beaa
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x1006bed9
mov dword [ebp - 0x58], 0x978f3c34
mov dword [ebp - 0x5c], 5
push 0
lea eax, [ebp - 0x58]
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 0xd4c
call fcn.1006d921
add esp, 0x14
jmp 0x1006bea3
jmp 0x1006be80
jmp 0x1006bf5a
lea eax, [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1006bf32
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x1006bf15
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 3
jg 0x1006bf30
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 0
call fcn.1006b615
pop ecx
pop ecx
jmp 0x1006bf0a
jmp 0x1006bf5a
mov byte [ebp - 2], 0
push 0x56de
push 0x54ea
lea eax, [ebp - 2]
push eax
push 1
push 0x6194
push 0xb59
push 1
call fcn.10052a58
add esp, 0x1c
mov esp, ebp
pop ebp
ret