Function at 0x417810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x678390]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], 0
call fcn.0045398d
test al, al
je 0x417856
ja 0x417839
xchg edi, eax
ret 0xae62
call fcn.004537aa
test al, al
je 0x41787d
dec ebp
add al, 0xaa
sbb byte [eax + 0x51eb886c], cl
mov ecx, 0x9606c873
out dx, al
inc ebp
push 0x4dbbcca9
fisub word [ebx + eax*4 + 0x47]
sbb al, 0x6f
cmc
jl 0x417866
jmp 0x4178b9
call fcn.00453879
test al, al
idiv dword [edi - 0x3f7bfffd]
je 0x4178a5
mov eax, esi
xchg dword [edi], ecx
int1
loopne 0x4178cd
xchg ebx, eax
mov esi, 0x2bb077f0
std
mov al, byte [0x9311b25b]
xchg ebx, eax
loopne 0x417898
invalid
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00483520
add esp, 0xc
call fcn.0045360c
test al, al
les ecx, [eax + ebp*8]
dec esp
mov ebp, 0xc0840003
je 0x4178d4
xor byte [ecx + 0x76], cl
push ebx
dec ecx
in al, dx
daa
mov eax, dword [0x53638f19]
or al, byte [edi + 0x6a39f4]
invalid
push 0
push 0x2b
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00453aa1
test al, al
je 0x41790d
ret 0xb88c
call fcn.00453bb5
test al, al
je 0x417934
pushal
dec ebp
push edx
retf
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x417940
mov eax, dword [0x5e9bd4]
lea edx, [ebp - 0x20c]
mov dword [edi], eax
add edx, 0xfffffffe
nop dword [eax]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x417960
mov ecx, dword [0x5e9c5c]
lea edi, [ebp - 0x20c]
mov dword [edx], ecx
add edi, 0xfffffffe
mov ecx, dword [str.nNengWB]
mov dword [edx + 4], ecx
mov ecx, dword [0x5e9c64]
mov dword [edx + 8], ecx
mov ecx, dword [0x5e9c68]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x5e9c6c]
mov dword [edx + 0x10], ecx
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x4179a1
mov dword [edi], eax
call fcn.00453cc9
test al, al
je 0x4179cb
fidivr word [ecx]
in eax, 0xf1
aam 0x4c
adc ebx, ecx
jbe 0x417a33
mov cs, word [edx]
out 0x91, eax
xchg ah, ch
invalid
call fcn.00453c3f
test al, al
je 0x4179ef
loope 0x4179d0
wait
invalid
add esi, ebx
stc
xchg byte [ebx - 0x67], al
add al, 0xe5
cmp al, 0x73
lodsd eax, dword [esi]
xor al, byte [ecx + 0x5ddbc8bc]
pushal
add cl, dh
xor al, ch
push es
ret 3
call fcn.00453bfa
test al, al
je 0x417a11
fistp qword cs:[edi]
je 0x4179da
stosb byte es:[edi], al
add al, 0x50
insd dword es:[edi], dx
wait
mov al, 0xa9
movups xmmword [ebx], xmm6
pop edx
fiadd dword [edi + 0x6b862dbc]
mov ebx, 0x858d1c2a
hlt
lea eax, [ebp - 0x20c]
push eax
call fcn.0045a078
mov ebx, dword [ebp - 0x210]
xor eax, eax
add esp, 4
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x20c], ax
jne 0x417a46
add byte [eax], al
add byte [esi - 0x77], ah
add esp, dword [esi + 0x39]
test esp, esi
std
invalid
xor ecx, ecx
jmp 0x417a5f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417a50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00402b90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047070c
mov esp, ebp
pop ebp
ret 4