Function at 0x7591b5
Capabilities:
Get common file path

Disassembly:
push 0x2f8
mov eax, 0x7d30c8
call fcn.00700ca1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8f31bc]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x8f3f98]
cmp eax, dword [ecx + 4]
jg 0x7595f0
cmp dword [0x8f3f94], 0
je 0x75921e
mov esi, 0x8d7054
cmp ebx, esi
je 0x7595e5
cmp dword [0x8d7068], 0x10
mov ecx, ebx
push dword [0x8d7064]
cmovae esi, dword [0x8d7054]
push esi
call fcn.00439710
jmp 0x7595e5
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00719250
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
and dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.Kernel32.dll
mov word [ebp - 0x230], ax
call fcn.004c097f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
and dword [ebp - 0x238], 0
xor eax, eax
push 7
pop esi
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x234], esi
call fcn.004c097f
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x230]
push 0x5c
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.005126ee
add esp, 0x10
mov eax, dword [ebp - 0x234]
mov edi, 0x1000
cmp eax, 8
jb 0x75931b
mov ecx, dword [ebp - 0x248]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, edi
jb 0x759312
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], esi
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x759387
mov ecx, dword [ebp - 0x230]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f8], ecx
cmp eax, edi
jb 0x75937e
lea eax, [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x2f4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f8]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
and dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x21c], esi
push eax
call fcn.0050d073
mov eax, dword [0x8f3f94]
cmp dword [ebp - 0x250], 0
push 1
pop ecx
cmovne eax, ecx
mov byte [ebp - 4], 5
mov dword [0x8f3f94], eax
lea eax, [ebp - 0x260]
push 0x2e
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.004faff3
add esp, 0x14
mov eax, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x304]
sub eax, ecx
push 0x18
cdq
pop esi
idiv esi
mov byte [ebp - 4], 6
cmp eax, 2
ja 0x759444
push 0xfde9
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004fba72
mov esi, 0x8d7054
add esp, 0xc
cmp eax, esi
je 0x759439
mov byte [ebp - 0x2f4], 0
mov ecx, esi
push dword [ebp - 0x2f4]
push eax
call fcn.00448b30
lea ecx, [ebp - 0x230]
jmp 0x75954e
lea eax, [ecx + 0x30]
mov esi, 0xfde9
push esi
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004fba72
mov edi, eax
mov eax, dword [ebp - 0x304]
add eax, 0x18
mov byte [ebp - 4], 7
push esi
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.004fba72
mov esi, eax
push 0xfde9
push dword [ebp - 0x304]
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 8
push eax
call fcn.004fba72
push 0x2e
push eax
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push eax
call fcn.00758222
push esi
push eax
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0xa
push eax
call fcn.0061bb28
push 0x2e
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xb
push eax
call fcn.00758222
add esp, 0x48
push edi
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xc
push eax
call fcn.0061bb28
mov esi, 0x8d7054
add esp, 0xc
cmp eax, esi
je 0x759502
mov byte [ebp - 0x2f4], 0
mov ecx, esi
push dword [ebp - 0x2f4]
push eax
call fcn.00448b30
lea ecx, [ebp - 0x230]
call fcn.00438e20
lea ecx, [ebp - 0x248]
call fcn.00438e20
lea ecx, [ebp - 0x2a8]
call fcn.00438e20
lea ecx, [ebp - 0x2c0]
call fcn.00438e20
lea ecx, [ebp - 0x2d8]
call fcn.00438e20
lea ecx, [ebp - 0x2f0]
call fcn.00438e20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x278]
call fcn.00438e20
cmp ebx, esi
je 0x759575
cmp dword [0x8d7068], 0x10
mov eax, esi
push dword [0x8d7064]
cmovae eax, dword [0x8d7054]
mov ecx, ebx
push eax
call fcn.00439710
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x278]
push 0xfde9
push esi
lea edi, [ebp - 0x260]
cmovae edi, dword [ebp - 0x260]
push eax
call fcn.004fa5fb
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xd
jb 0x7595aa
mov eax, dword [eax]
push edi
push eax
push str.osVersion_is:__s__Kernel32.dll_version:_s
call fcn.00504985
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.004c0931
lea ecx, [ebp - 0x304]
call fcn.004cc64f
lea ecx, [ebp - 0x260]
call fcn.004c0931
lea ecx, [ebp - 0x290]
call fcn.004c0931
xor eax, eax
inc eax
call fcn.00700c4b
ret 4
mov esi, 0x8f3f98
push esi
call fcn.0070077a
cmp dword [0x8f3f98], 0xffffffff
pop ecx
jne 0x7591e7
push 0x7ee2e0
call fcn.00700c10
push esi
call fcn.00700730
pop ecx
pop ecx
jmp 0x7591e7