Function at 0x1003d6a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dd47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003d6d9
push 0x24f5
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1003d912
push 2
lea ecx, [ebp - 0x50]
call fcn.100134ea
and dword [ebp - 4], 0
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x84], 7
lea ecx, [ebp - 0x15]
call fcn.10013566
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10013569
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x6c]
call fcn.1001352c
mov byte [ebp - 4], 1
mov dword [ebp - 0x94], 0xe93d
mov dword [ebp - 0x3c], 0x26a7609f
mov dword [ebp - 0x14], 0x86a67606
mov dword [ebp - 0x30], 0xfaa0
mov dword [ebp - 0x7c], 0xffff
mov dword [ebp - 0x78], 0xffff
mov dword [ebp - 0x74], 0xffff
mov dword [ebp - 0x70], 0xffff
mov dword [ebp - 0x5c], 0xae9140de
mov dword [ebp - 0x10], 0
jmp 0x1003d791
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1003d7aa
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.10013557
mov dword [eax], 0xcdbe8e56
jmp 0x1003d78a
xor eax, eax
inc eax
je 0x1003d86e
push 2
lea ecx, [ebp - 0x6c]
call fcn.10013557
mov ecx, dword [ebp - 0x30]
cmp dword [eax], ecx
jl 0x1003d7cd
mov dword [ebp - 0x40], 1
jmp 0x1003d7d1
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x40], eax
jl 0x1003d7e2
mov dword [ebp - 0x44], 1
jmp 0x1003d7e6
and dword [ebp - 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x44], eax
jge 0x1003d7fe
mov dword [ebp - 0x2c], 1
jmp 0x1003d802
and dword [ebp - 0x2c], 0
imul eax, dword [ebp - 0x2c], 9
imul esi, eax, 0x5de
push 1
lea ecx, [ebp - 0x50]
call fcn.10013557
cmp esi, dword [eax]
jne 0x1003d823
mov dword [ebp - 0x34], 1
jmp 0x1003d827
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x60]
je 0x1003d851
mov dword [ebp - 0x58], 1
jmp 0x1003d855
and dword [ebp - 0x58], 0
push 2
lea ecx, [ebp - 0x6c]
call fcn.10013557
cmp dword [ebp - 0x14], 0
je 0x1003d86e
mov dword [ebp - 0x24], 1
jmp 0x1003d872
and dword [ebp - 0x24], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.10013557
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x7c]
add ecx, dword [ebp - 0x24]
cmp dword [eax], ecx
jg 0x1003d896
mov dword [ebp - 0x28], 1
jmp 0x1003d89a
and dword [ebp - 0x28], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.10013557
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x1003d8b4
mov dword [ebp - 0x1c], 1
jmp 0x1003d8b8
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x1c], eax
jl 0x1003d8c9
mov dword [ebp - 0x38], 1
jmp 0x1003d8cd
and dword [ebp - 0x38], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.10013557
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jl 0x1003d8e7
mov dword [ebp - 0x20], 1
jmp 0x1003d8eb
and dword [ebp - 0x20], 0
push 3
lea ecx, [ebp - 0x6c]
call fcn.10013557
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.10013552
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10013552
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret