Function at 0x408180
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447ec3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x84
mov eax, dword [0x460080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
push 0
push 0
push 0x44b300
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x4081e8
xor al, al
jmp 0x40869d
mov ecx, esi
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x94], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408210
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.004032e0
push 0x10
push str..ogulniegajava
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.004030c0
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x80]
cmp ecx, 7
jbe 0x4082bf
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4082b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086ba
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, esi
mov dword [ebp - 0x84], 0
xor eax, eax
mov dword [ebp - 0x80], 7
xorps xmm0, xmm0
mov word [ebp - 0x94], ax
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x68], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4082f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x7c]
call fcn.004032e0
push 0x1f
push str..ogulniegaminecraftlibraries
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.004030c0
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x408393
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408389
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086bf
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, esi
mov dword [ebp - 0x6c], 0
xor eax, eax
mov dword [ebp - 0x68], 7
xorps xmm0, xmm0
mov word [ebp - 0x7c], ax
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x80], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4083c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.004032e0
push 0x1e
push str..ogulniegaminecraft_versions
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 6
call fcn.004030c0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x80]
cmp ecx, 7
jbe 0x40846c
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408462
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c4
push ecx
push edx
call fcn.004281e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x60], al
lea edx, [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.0040b640
add esp, 4
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 9
call fcn.00404f90
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 0x61], al
cmp ecx, 7
jbe 0x4084ea
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4084dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c9
push ecx
push edx
call fcn.004281e7
mov al, byte [ebp - 0x61]
add esp, 8
test al, al
je 0x4085c4
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x44]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x7c]
call fcn.0040b640
add esp, 4
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
call fcn.00404f90
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 0x61], al
cmp ecx, 7
jbe 0x408557
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40854a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086ce
push ecx
push edx
call fcn.004281e7
mov al, byte [ebp - 0x61]
add esp, 8
test al, al
je 0x4085c4
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x2c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x7c]
call fcn.0040b640
add esp, 4
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xb
call fcn.00404f90
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 0x61], al
cmp ecx, 7
jbe 0x4085bc
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4085af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086d3
push ecx
push edx
call fcn.004281e7
mov al, byte [ebp - 0x61]
add esp, 8
mov byte [ebp - 0x61], 1
test al, al
jne 0x4085c8
mov byte [ebp - 0x61], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x408602
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4085f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086d8
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x408650
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408646
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086d8
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 7
jbe 0x40869a
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408690
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086d8
push ecx
push edx
call fcn.004281e7
add esp, 8
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004281a9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
int3