Function at 0x21034fca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
cmp dword [ebp + 8], 0
je 0x21034fe2
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [ebp + 0xc], 0
je 0x21034ff1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
cmp dword [ebp + 0x10], 0
je 0x21035000
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp + 0x14], 0
je 0x2103500e
mov eax, dword [ebp + 0x14]
mov word [eax], 0
cmp dword [ebp + 0x18], 0
je 0x2103501c
mov ecx, dword [ebp + 0x18]
mov word [ecx], 0
cmp dword [ebp + 0x1c], 0
je 0x2103502a
mov edx, dword [ebp + 0x1c]
mov word [edx], 0
push 0x9c
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.21053be0
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x2103509c
push 0x9c
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.21053be0
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x2103509c
jmp 0x21035311
push 0x104
lea ecx, [ebp - 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea edx, [ebp - 0x1ac]
push edx
push 0x210840e4
lea eax, [ebp - 0x1ac]
push eax
call fcn.210134f1
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xa8]
push edx
push 0
push 0
lea eax, [ebp - 0x1ac]
push eax
call fcn.21001046
mov ecx, dword [ebp - 0xa8]
and ecx, 0xffff
test ecx, ecx
jne 0x21035109
mov edx, dword [ebp - 4]
and edx, 0xffff
test edx, edx
je 0x2103514d
mov eax, dword [ebp - 0xa8]
and eax, 0xffff
cmp dword [ebp - 0x9c], eax
jne 0x2103512d
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp dword [ebp - 0x98], ecx
je 0x2103514d
mov edx, dword [ebp - 0xa8]
and edx, 0xffff
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 4]
and eax, 0xffff
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 1
je 0x21035170
cmp dword [ebp - 0x1b0], 2
je 0x210351da
jmp 0x210352c2
mov edx, dword [ebp - 0x9c]
shl edx, 8
or edx, dword [ebp - 0x98]
mov dword [ebp - 0x1b4], edx
cmp dword [ebp - 0x1b4], 0x400
je 0x210351ab
cmp dword [ebp - 0x1b4], 0x40a
je 0x210351b6
cmp dword [ebp - 0x1b4], 0x45a
je 0x210351c1
jmp 0x210351cc
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x210351d5
mov edx, dword [ebp + 8]
mov dword [edx], 2
jmp 0x210351d5
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
jmp 0x210351d5
mov edx, dword [ebp + 8]
mov dword [edx], 3
jmp 0x210352c2
mov eax, dword [ebp - 0x9c]
shl eax, 8
or eax, dword [ebp - 0x98]
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0x502
ja 0x21035224
cmp dword [ebp - 0x1b8], 0x502
je 0x21035254
cmp dword [ebp - 0x1b8], 0x500
je 0x2103523e
cmp dword [ebp - 0x1b8], 0x501
je 0x21035249
jmp 0x210352a5
cmp dword [ebp - 0x1b8], 0x600
je 0x21035277
cmp dword [ebp - 0x1b8], 0x601
je 0x2103529a
jmp 0x210352a5
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
jmp 0x210352c2
mov edx, dword [ebp + 0xc]
mov dword [edx], 3
jmp 0x210352c2
mov eax, dword [ebp - 6]
and eax, 0xff
cmp eax, 1
jne 0x2103526c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
jmp 0x21035275
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x210352c2
mov eax, dword [ebp - 6]
and eax, 0xff
cmp eax, 1
jne 0x2103528f
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 5
jmp 0x21035298
mov edx, dword [ebp + 0xc]
mov dword [edx], 6
jmp 0x210352c2
mov eax, dword [ebp + 0xc]
mov dword [eax], 7
jmp 0x210352c2
cmp dword [ebp - 0x9c], 4
ja 0x210352b9
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
jmp 0x210352c2
mov edx, dword [ebp + 0xc]
mov dword [edx], 8
cmp dword [ebp + 0x14], 0
je 0x210352d5
mov eax, dword [ebp + 0x14]
mov cx, word [ebp - 0x9c]
mov word [eax], cx
cmp dword [ebp + 0x18], 0
je 0x210352e8
mov edx, dword [ebp + 0x18]
mov ax, word [ebp - 0x98]
mov word [edx], ax
cmp dword [ebp + 0x1c], 0
je 0x21035301
cmp dword [ebp - 0xa4], 0
je 0x21035301
mov ecx, dword [ebp + 0x1c]
mov dx, word [ebp - 0xc]
mov word [ecx], dx
cmp dword [ebp + 0x10], 0
je 0x21035311
call fcn.21036241
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret 0x18