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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7088
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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.0041a8a0
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.00427490
xor edi, edi
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
cmp edi, dword [ebp - 0x2c]
jge 0x44f87e
cmp edi, esi
jl 0x44f86f
cmp edi, dword [ebp - 0x50]
jge 0x44f86f
mov edx, dword [ebp - 0x58]
lea eax, [edx + edi*4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004071a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
call fcn.00448050
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408280
test eax, eax
sete bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00406650
test bl, bl
je 0x44f84a
cmp edi, dword [ebp - 0x50]
jge 0x44f86f
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 0x44f84a
cmp dword [esi + 0xc], 0
jl 0x44f861
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44f861
push eax
call fcn.00406ee0
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 0x44f842
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.00406650
inc edi
mov dword [ebp - 0x3c], edi
xor esi, esi
jmp 0x44f794
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00407200
jmp 0x44f84a
push esi
push esi
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
lea ecx, [ebp - 0x18]
call fcn.00408bd0
mov byte [ebp - 4], 5
push 0x104
lea ecx, [ebp - 0x18]
call fcn.004072b0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00406e30
lea edx, [ebp - 0x2c]
push edx
call fcn.00425980
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.00446ec0
add esp, 0x10
mov bl, 7
mov byte [ebp - 4], bl
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409830
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 0x44f93d
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x44f930
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44f930
push eax
call fcn.00406ee0
add esp, 4
mov dword [ebp - 0x38], eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x44f925
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 0x44f93d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00407200
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.0040eaf0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.00406650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00406650
lea edx, [ebp - 0x38]
push edx
call fcn.0044b220
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.00406650
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
call fcn.00412470
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00412470
mov bl, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
push ecx
call fcn.0044a1d0
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20]
call fcn.00412570
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.00406650
lea edx, [ebp - 0x38]
push edx
call fcn.0044bc40
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.00406650
lea edx, [ebp - 0x38]
push edx
call fcn.00449cc0
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00412570
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.00406650
lea eax, [ebp - 0x38]
push eax
call fcn.0044b020
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.00406650
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0044bef0
mov edi, eax
fld qword [ebp + 0x18]
fmul qword [0x4ec380]
fadd qword [ebp + 0x10]
fstp qword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
call fcn.00409c10
mov byte [ebp - 4], 0x11
mov esi, dword [ebp + 0xc]
lea ecx, [ecx]
cmp dword [ebp - 0x40], 0
je 0x44fbde
test esi, esi
je 0x44fa9e
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.00409ad0
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x38]
push edx
call fcn.00477490
add esp, 4
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0xc]
call fcn.00408280
test eax, eax
sete byte [ebp + 0xb]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x38]
call fcn.00406650
cmp byte [ebp + 0xb], 0
je 0x44fb5f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0044f0a0
test al, al
jne 0x44fb5f
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0xc]
call fcn.00406650
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.00408210
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.0040eaf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.0040eaf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00406650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004102a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040eaf0
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.00449cc0
add esp, 4
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0xc]
call fcn.00408280
test eax, eax
sete byte [ebp + 0xb]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x34]
call fcn.00406650
cmp byte [ebp + 0xb], 0
je 0x44fba8
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0044d9b0
test al, al
je 0x44faf5
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00409dd0
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x44]
call fcn.00408940
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
call fcn.00408210
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0xc]
call fcn.00406650
jmp 0x44fa70
test esi, esi
je 0x44fbf6
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.00444a20
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.00408210
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.0040eaf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.0040eaf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00406650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004102a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040eaf0
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