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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496a25
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4b3094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x43ca5b
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], eax
mov eax, dword [eax + 0x4b316c]
mov esi, 2
push 0
push 0
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
je 0x43cb23
xor ecx, ecx
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004903a1
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
push edi
push esi
push dword [ebp - 0x60]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x43cb1a
mov ecx, esi
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43caf0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040dd70
push esi
call fcn.0042d5c0
mov eax, dword [ebp - 0x2c]
add esp, 4
mov edx, dword [ebp - 0x30]
jmp 0x43cb3d
push esi
call fcn.0042d5c0
add esp, 4
xor edx, edx
mov dword [ebp - 0x40], 0
mov eax, 7
mov dword [ebp - 0x30], edx
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 2
test edx, edx
je 0x43cc30
lea esi, [ebp - 0x40]
cmp eax, 8
jb 0x43cb58
mov ecx, dword [ebp - 0x40]
mov esi, ecx
jmp 0x43cb5b
lea ecx, [ebp - 0x40]
lea eax, [esi + edx*2]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040dd70
mov esi, dword [ebp - 0x44]
cmp esi, 2
jb 0x43cb8a
push 0x49b064
lea eax, [ebp - 0x28]
push str.Temp
push eax
call fcn.004309b0
add esp, 0xc
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x6c]
movq qword [ebp - 0x50], xmm0
push eax
call fcn.0043c450
mov eax, dword [ebp - 0x6c]
add esp, 0xc
test eax, eax
je 0x43cc14
cmp eax, 1
je 0x43cc14
test byte [ebp - 0x48], 1
je 0x43cbd0
cmp dword [ebp - 0x48], 1
jne 0x43cc14
cmp dword [ebp - 0x50], 0
setne al
test al, al
jne 0x43cc14
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x74]
movq qword [ebp - 0x50], xmm0
push eax
call fcn.0043c450
add esp, 0xc
cmp dword [ebp - 0x74], 3
jne 0x43cc14
test byte [ebp - 0x48], 1
je 0x43cc8d
cmp dword [ebp - 0x48], 1
jne 0x43cc14
cmp dword [ebp - 0x50], 0
setne al
test al, al
je 0x43cc8d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
jmp 0x43cc33
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x43cc76
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x43cc68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ce47
push edx
push ecx
call fcn.0042d5b2
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x54]
inc esi
add eax, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], eax
cmp eax, 0x10
jae 0x43ccd3
jmp 0x43ca7f
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x43ccd3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x43ccc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ce47
push edx
push ecx
call fcn.0042d5b2
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x43cd8e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, eax
test edi, edi
je 0x43cd27
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004903a1
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
push edi
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x43cd4f
push esi
mov byte [ebp - 4], al
call fcn.0042d5c0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x58]
test eax, eax
jne 0x43cdd1
test ecx, ecx
je 0x43cde0
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
jmp 0x43cde0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cd54
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
sar eax, 1
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0040dd70
push 0x49b064
lea eax, [ebp - 0x28]
push str.Temp
push eax
call fcn.004309b0
push esi
call fcn.0042d5c0
add esp, 0x10
mov eax, dword [ebp - 0x5c]
movups xmm0, xmmword [ebp - 0x28]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d6f2
mov esp, ebp
pop ebp
ret
push str.boost::filesystem::temp_directory_path
push ecx
push eax
call fcn.0043fa10
add esp, 0xc
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp edx, 8
jb 0x43ce40
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 5
cmp edx, 0x1000
jb 0x43ce36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ce47
push edx
push ecx
call fcn.0042d5b2
add esp, 8
mov eax, esi
jmp 0x43cdb6
call fcn.0044f541
int3