Function at 0x408710
Capabilities:
Get common file path
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4706b1
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x491040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x118], esp
push 1
movups xmmword [ecx], xmm0
push str.BjAstuvwxa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.00415340
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x4087ac
mov eax, dword [eax]
push eax
call fcn.00434550
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.00414300
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x118], esp
push 1
movups xmmword [ecx], xmm0
push 0x484504
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x11c], esp
push ecx
mov ecx, eax
call fcn.00415240
mov byte [ebp - 4], 4
push esi
mov byte [ebp - 4], 0
call fcn.00434330
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x120], esp
mov esi, eax
push 1
movups xmmword [ecx], xmm0
push 0x484508
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.00415340
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x408875
mov eax, dword [eax]
push eax
mov ecx, esi
call dword [0x4791e8]
call esi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.00414300
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x120], esp
push 1
movups xmmword [ecx], xmm0
push 0x48450c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x11c], esp
push ecx
mov ecx, eax
call fcn.00415240
mov byte [ebp - 4], 8
push esi
mov byte [ebp - 4], 0
call fcn.00434330
sub esp, 0x18
mov dword [edi + 0x20], eax
mov ecx, esp
mov dword [ebp - 0x118], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x484510
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x124], esp
push ecx
mov ecx, eax
call fcn.00415240
mov byte [ebp - 4], 0xa
push esi
mov byte [ebp - 4], 0
call fcn.00434330
sub esp, 0x18
mov dword [edi + 0x24], eax
mov ecx, esp
mov dword [ebp - 0x128], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x484514
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x12c], esp
push ecx
mov ecx, eax
call fcn.00415240
mov byte [ebp - 4], 0xc
push esi
mov byte [ebp - 4], 0
call fcn.00434330
sub esp, 0x18
mov dword [edi + 0x28], eax
mov ecx, esp
mov dword [ebp - 0x130], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x484518
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x134], esp
push ecx
mov ecx, eax
call fcn.00415240
mov byte [ebp - 4], 0xe
push esi
mov byte [ebp - 4], 0
call fcn.00434330
sub esp, 0x18
mov dword [edi + 0x2c], eax
mov ecx, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x48451c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x13c], esp
push ecx
mov ecx, eax
call fcn.00415240
mov byte [ebp - 4], 0x10
push esi
mov byte [ebp - 4], 0
call fcn.00434330
sub esp, 0x18
mov dword [edi + 0x30], eax
mov ecx, esp
mov dword [ebp - 0x140], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x484520
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x144], esp
push ecx
mov ecx, eax
call fcn.00415240
mov byte [ebp - 4], 0x12
push esi
mov byte [ebp - 4], 0
call fcn.00434330
sub esp, 0x18
mov dword [edi + 0x34], eax
mov ecx, esp
mov dword [ebp - 0x148], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x484524
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00412290
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push ecx
mov ecx, eax
call fcn.00415240
mov byte [ebp - 4], 0x14
push esi
mov byte [ebp - 4], 0
call fcn.00434330
mov dword [edi + 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
push dword [ebp + 8]
call fcn.00414660
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.004347ab
mov esp, ebp
pop ebp
ret 0x10