Function at 0x100206d3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x100208f2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
push 3
mov ecx, dword [ebp - 4]
call fcn.100185ee
push 2
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov esi, eax
push 3
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1002075d
mov dword [ebp - 0x14], 1
jmp 0x10020761
and dword [ebp - 0x14], 0
push 3
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
cmp eax, dword [ecx]
jg 0x10020780
mov dword [ebp - 0x18], 1
jmp 0x10020784
and dword [ebp - 0x18], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jle 0x1002079e
mov dword [ebp - 0x1c], 1
jmp 0x100207a2
and dword [ebp - 0x1c], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
jne 0x100207c2
mov eax, 0x4868fdad
test eax, eax
jne 0x100207c2
and dword [ebp - 0x20], 0
jmp 0x100207c9
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jl 0x100207dc
mov dword [ebp - 0x24], 1
jmp 0x100207e0
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jle 0x100207fc
mov eax, 0xfa025ec5
test eax, eax
je 0x100207fc
mov dword [ebp - 0x58], 1
jmp 0x10020800
and dword [ebp - 0x58], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0xd0d4
cmp eax, 0xfffffff7
jge 0x10020822
mov dword [ebp - 0x28], 1
jmp 0x10020826
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 1
ja 0x10020835
mov dword [ebp - 0x2c], 1
jmp 0x10020839
and dword [ebp - 0x2c], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x1002085b
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x1002085b
mov dword [ebp - 0x34], 1
jmp 0x1002085f
and dword [ebp - 0x34], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jle 0x10020879
mov dword [ebp - 0x38], 1
jmp 0x1002087d
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xfff6
je 0x1002088f
mov dword [ebp - 0xc], 1
jmp 0x10020893
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 4]
call fcn.100185ee
mov eax, dword [eax]
sub eax, dword [ebp - 0xc]
cmp eax, esi
jge 0x100208bc
mov dword [ebp - 0x10], 1
jmp 0x100208c0
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
je 0x100208e0
mov eax, 0x9080
test eax, eax
je 0x100208e0
mov dword [ebp - 0x3c], 1
jmp 0x100208e4
and dword [ebp - 0x3c], 0
imul eax, dword [ebp - 0x3c], 0xf8d3
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
jmp 0x10020915
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10020915
push 0x1a1
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
pop esi
mov esp, ebp
pop ebp
ret