Function at 0x4534d0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x45dcc9
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x472100]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472100]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x23c], ebx
mov ebp, dword [esp + 0x248]
lea esi, [ebp - 0x10]
mov eax, esi
call fcn.004018f0
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x23c], 1
mov edx, dword [0x474db4]
mov eax, dword [edx + 0xc]
mov ecx, 0x474db4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x206
lea ecx, [esp + 0x2e]
push ebx
mov byte [esp + 0x244], 2
push ecx
mov word [esp + 0x34], bx
call fcn.00413cc0
mov edi, dword [ebp - 0xc]
mov eax, dword [esi + 8]
mov ecx, 1
sub ecx, dword [esi + 0xc]
sub eax, edi
add esp, 0xc
or eax, ecx
jge 0x4535a3
mov ecx, edi
lea eax, [esp + 0x248]
call fcn.00401d90
mov ebp, dword [esp + 0x248]
lea edx, [edi + 1]
push edx
push ebp
call fcn.00410435
add esp, 8
cmp edi, ebx
jl 0x45393c
cmp edi, dword [ebp - 8]
jg 0x45393c
mov dword [ebp - 0xc], edi
mov word [ebp + edi*2], bx
cmp dword [ebp - 0xc], ebx
jl 0x453732
push 0x467efc
push ebp
call fcn.00410cef
add esp, 8
cmp eax, ebx
je 0x453619
sub eax, ebp
sar eax, 1
js 0x453619
push str._APPDATA_ALL_USER_
mov ebx, 0x12
lea eax, [esp + 0x18]
call fcn.00401960
push 0x104
lea eax, [esp + 0x2c]
push eax
push str._ALLUSERSPROFILE_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ebx, ebx
jmp 0x453854
cmp dword [ebp - 0xc], ebx
jl 0x453732
push 0x467f70
push ebp
call fcn.00410cef
add esp, 8
cmp eax, ebx
je 0x453669
sub eax, ebp
sar eax, 1
js 0x453669
push 0x467f84
mov ebx, 9
lea eax, [esp + 0x18]
call fcn.00401960
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push str._APPDATA_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ebx, ebx
jmp 0x453854
cmp dword [ebp - 0xc], ebx
jl 0x453732
push 0x467fac
push ebp
call fcn.00410cef
add esp, 8
cmp eax, ebx
je 0x4536b2
sub eax, ebp
sar eax, 1
js 0x4536b2
mov edx, 0x467fbc
lea edi, [esp + 0x14]
call fcn.00401ae0
push 0x104
lea edx, [esp + 0x2c]
push edx
push str._TEMP_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x453854
cmp dword [ebp - 0xc], ebx
jl 0x453732
push 0x467fdc
push ebp
call fcn.00410cef
add esp, 8
cmp eax, ebx
je 0x4536f2
sub eax, ebp
sar eax, 1
js 0x4536f2
mov edx, str._SYSTEM_
lea edi, [esp + 0x14]
call fcn.00401ae0
push 0x104
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x453854
cmp dword [ebp - 0xc], ebx
jl 0x453732
push 0x468004
push ebp
call fcn.00410cef
add esp, 8
cmp eax, ebx
je 0x453732
sub eax, ebp
sar eax, 1
js 0x453732
mov edx, str._WINDOWS_
lea edi, [esp + 0x14]
call fcn.00401ae0
push 0x104
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x453854
mov ecx, 0x46802c
lea esi, [esp + 0x248]
call fcn.00401300
test eax, eax
jl 0x45376e
mov edx, str._QQ_
lea edi, [esp + 0x14]
call fcn.00401ae0
lea ebx, [esp + 0x28]
call fcn.00453150
mov edx, ebx
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ebx, ebx
jmp 0x453854
mov ecx, 0x468044
lea esi, [esp + 0x248]
call fcn.00401300
test eax, eax
jl 0x4537e0
mov edx, str._CUR_MODULE_
lea edi, [esp + 0x14]
call fcn.00401ae0
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetModuleHandleExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x4537be
lea ecx, [esp + 0x18]
push ecx
push fcn.004534d0
push 6
call eax
mov eax, dword [esp + 0x18]
push 0x104
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x453854
mov ecx, 0x4680ac
lea esi, [esp + 0x248]
call fcn.00401300
test eax, eax
jl 0x453821
mov edx, str._CUR_EXE_MODULE_
lea edi, [esp + 0x14]
call fcn.00401ae0
push 0x104
lea edx, [esp + 0x2c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x453854
mov ecx, 0x4680f4
lea esi, [esp + 0x248]
call fcn.00401300
test eax, eax
jl 0x453854
mov edx, str._CUR_DIR_
lea edi, [esp + 0x14]
call fcn.00401ae0
lea ecx, [esp + 0x28]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], ebx
je 0x45388f
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x453864
sub eax, edx
sar eax, 1
je 0x45388f
lea edx, [esp + 0x28]
push edx
push edi
lea eax, [esp + 0x250]
push eax
call fcn.004010e0
mov ebp, dword [esp + 0x248]
add ebp, 0xfffffff0
mov eax, ebp
call fcn.004018f0
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x23c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4538c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x23c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4538ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453912
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00410ae1
add esp, 0x22c
ret
push 0x80070057
call fcn.00401a00
int3