Function at 0x451e30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], ecx
push 0
push eax
call fcn.00486960
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00486960
add esp, 0x18
les ebx, [eax]
call fcn.004601b3
test al, al
je 0x451e90
in ax, dx
and eax, 0x9b66dd01
test byte [edi], cl
dec edi
push 0x15
pushal
pop esp
sbb eax, dword [edx + 0x63e807be]
jecxz 0x451e94
call fcn.004601f8
test al, al
je 0x451ead
add byte [eax + eax*8 + 0x62e81474], al
xchg edi, eax
out 0x2a, eax
call 0x2b2cb600
xor byte [edx + 0x6b151d45], ah
push 0xffffffffffffffe3
dec ecx
mov byte [eax + edi*4], cl
ror dword [eax + 0x63], 0xe8
out dx, eax
call 0xc0c91eb4
call fcn.004607a1
test al, al
je 0x451ec6
aas
sahf
rcr byte [edx], cl
loopne 0x451e73
or cl, bl
jmp 0x451f16
push 0
push 0x2b
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00460420
test al, al
je 0x451ef2
daa
cmp bl, byte [edx + 0x43]
jp 0x451f65
test eax, 0xbdd75bd7
in al, dx
rcl byte cs:[edi - 0x18], cl
in al, 0xe4
add byte [eax], al
call fcn.004603db
test al, al
je 0x451f12
jecxz 0x451e9e
push eax
invalid
mov ecx, dword [ebp - 0x418]
add ecx, 0x5c
cmp dword [ecx + 0x14], 8
jb 0x451f23
invalid
mov ecx, dword [ecx]
lea edx, [ebp - 0x414]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x451f30
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x451f50
mov eax, dword [0x625fd4]
mov dword [edi], eax
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
hlt
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x451f70
mov ecx, 6
mov esi, str.SmartCloudWB
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x451f93
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
call int.00465b8e
add esp, 4
call fcn.00460648
test al, al
je 0x451fd7
inc esp
test byte [edi - 0x37], al
add al, 0xb1
in al, 0xd8
sal dword [ecx - 0x5a8b986f], 0x11
cmc
xlatb
scasd eax, dword es:[edi]
test al, 0xd6
jbe 0x451ffd
bound esi, qword [edx + edx + 0x33b9407c]
scasb al, byte es:[edi]
call fcn.00460603
test al, al
je 0x451ff0
pop esi
loope 0x451ff0
fcmove st(0), st(7)
mov dl, 0xed
add esi, dword [edx - 0x46]
dec edi
in al, 0x4b
mov ebx, 0xe6dde8eb
add byte [eax], al
call fcn.004606d2
test al, al
je 0x452016
fadd dword [ecx + 0x2ad98dd2]
fldcw word [edx]
mov edi, 0xd1efb516
nop
test esp, ecx
fidiv dword [ecx]
push ebx
mov ch, 0xd3
dec ebx
push edi
mov cl, 0x5d
mov dword [ebx + esi*4], ebx
mov bl, byte [0xfdf4bd8d]
invalid
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x452020
mov ecx, 6
mov esi, str.SmartCloudWB
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
movsw word es:[edi], word [esi]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x452043
mov eax, dword [0x5ca230]
mov dword [ecx], eax
mov eax, dword [0x5ca234]
mov dword [ecx + 4], eax
mov ax, word [0x5ca238]
mov word [ecx + 8], ax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.InstallPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push eax
push str.InstallPath
call fcn.0046113f
call fcn.004606d2
test al, al
je 0x4520c1
adc al, 0xa0
adc al, 0x6b
inc edi
les ebx, [ecx + 0x48]
push ebp
adc dword [ecx - 0x5e], ecx
sal byte [ecx + ebp*4], 1
jbe 0x4520ea
cmc
fld qword [ebp + 0x5d]
aad 0x4b
pop esi
sub eax, 0xe4e8e293
jecxz 0x4520c5
call fcn.004604aa
add byte [eax], al
add byte [eax + eax*8 + 0x433a1174], al
mov ch, 0xa5
test al, al
je 0x4520db
cmp al, byte [ebx - 0x4b]
movsd dword es:[edi], dword [esi]
dec edx
jns 0x452110
lodsd eax, dword [esi]
in eax, 5
push 0xa0987ab8
aas
jno 0x4520c4
call fcn.004607a1
test al, al
je 0x4520f4
shl esi, 0
add byte [eax + eax*8 - 0xeccef8c], al
xor esi, ecx
stosd dword es:[edi], eax
dec edi
and eax, 0x40afa567
movsd dword es:[di], dword [si]
scasd eax, dword es:[edi]
inc eax
jecxz 0x452162
cmpsb byte [esi], byte es:[edi]
mov bl, ah
mov dl, 0x8b
invalid
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push eax
push str.InstallPath
call 0x452340
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455afe
mov esp, ebp
pop ebp
ret