Function at 0x44ef30
Capabilities:
Get common file path
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520b38
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
xor esi, esi
mov dword [ebp - 4], esi
wait
lea ecx, [ebp - 0x14]
call fcn.00416220
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
call fcn.00425840
xor edi, edi
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
cmp edi, dword [ebp - 0x2c]
jge 0x44f07e
cmp edi, esi
jl 0x44f06f
cmp edi, dword [ebp - 0x50]
jge 0x44f06f
mov edx, dword [ebp - 0x58]
lea eax, [edx + edi*4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407140
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
call fcn.00447110
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408270
test eax, eax
sete bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004064c0
test bl, bl
je 0x44f04a
cmp edi, dword [ebp - 0x50]
jge 0x44f06f
mov ebx, dword [ebp - 0x24]
add ebx, 0xdc
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + edi*4]
lea eax, [ecx - 0x10]
mov esi, dword [ebx]
sub esi, 0x10
cmp eax, esi
je 0x44f04a
cmp dword [esi + 0xc], 0
jl 0x44f061
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44f061
push eax
call fcn.00406e60
add esp, 4
mov dword [ebp - 0x38], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f042
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x10
mov dword [ebx], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004064c0
inc edi
mov dword [ebp - 0x3c], edi
xor esi, esi
jmp 0x44ef94
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.004071a0
jmp 0x44f04a
push esi
push esi
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
lea ecx, [ebp - 0x18]
call fcn.00406f90
mov byte [ebp - 4], 5
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00407250
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00406d90
lea edx, [ebp - 0x2c]
push edx
call fcn.00422780
mov byte [ebp - 4], 6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00445f80
add esp, 0x10
mov bl, 7
mov byte [ebp - 4], bl
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.004095e0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x28]
lea eax, [ecx - 0x10]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
cmp eax, esi
je 0x44f13d
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x44f130
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44f130
push eax
call fcn.00406e60
add esp, 4
mov dword [ebp - 0x38], eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x44f125
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x10
mov dword [ebp - 0x14], ecx
jmp 0x44f13d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.004071a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.004e95b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.004064c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.004064c0
lea edx, [ebp - 0x38]
push edx
call fcn.0044a7b0
add esp, 4
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
push ecx
push eax
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.004064c0
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
call fcn.004112a0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004112a0
mov bl, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
push ecx
call fcn.00449760
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20]
call fcn.004113a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.004064c0
lea edx, [ebp - 0x38]
push edx
call fcn.0044b350
add esp, 4
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.004064c0
lea edx, [ebp - 0x38]
push edx
call fcn.0042cdf0
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004113a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.004064c0
lea eax, [ebp - 0x38]
push eax
call fcn.0044a5b0
add esp, 4
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.004064c0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0044b600
mov edi, eax
fld qword [ebp + 0x18]
fmul qword [0x536230]
fadd qword [ebp + 0x10]
fstp qword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
call fcn.004099e0
mov byte [ebp - 4], 0x11
mov esi, dword [ebp + 0xc]
lea ecx, [ecx]
cmp dword [ebp - 0x40], 0
je 0x44f3de
test esi, esi
je 0x44f29e
lea eax, [edi + edi]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fdivr qword [ebp + 0x18]
fadd qword [ebp - 0x4c]
fst qword [ebp - 0x4c]
mov edx, dword [esi]
sub esp, 8
fstp qword [esp]
mov ecx, esi
mov eax, dword [edx]
call eax
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004098a0
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x38]
push edx
call fcn.00449440
add esp, 4
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0xc]
call fcn.00408270
test eax, eax
sete byte [ebp + 0xb]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x38]
call fcn.004064c0
cmp byte [ebp + 0xb], 0
je 0x44f35f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0044e8a0
test al, al
jne 0x44f35f
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0xc]
call fcn.004064c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.004081b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.004e95b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004e95b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004064c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0041ea00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004e95b0
xor al, al
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea edx, [ebp - 0x34]
push edx
call fcn.0042cdf0
add esp, 4
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0xc]
call fcn.00408270
test eax, eax
sete byte [ebp + 0xb]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x34]
call fcn.004064c0
cmp byte [ebp + 0xb], 0
je 0x44f3a8
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0044d0c0
test al, al
je 0x44f2f5
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00409ba0
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x44]
call fcn.00408920
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
call fcn.004081b0
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0xc]
call fcn.004064c0
jmp 0x44f270
test esi, esi
je 0x44f3f6
mov edx, dword [esi]
fld qword [ebp + 0x10]
fadd qword [ebp + 0x18]
sub esp, 8
fstp qword [esp]
mov ecx, esi
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x24]
call fcn.00443a80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.004081b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.004e95b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004e95b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004064c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0041ea00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004e95b0
mov al, 1
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18