Function at 0x30007f98
Capabilities:
Get common file path

Disassembly:
push 0x47c
mov eax, 0x3000e5a4
call fcn.3000b7af
mov esi, ecx
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x440], esi
jne 0x30007fbf
xor eax, eax
jmp 0x30008269
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x30001c44
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x424], ebx
lea eax, [ebp - 0x424]
push eax
push 0x30001c34
push 1
push ebx
push 0x30001c80
mov dword [ebp - 4], ebx
call fcn.3000b2fe
cmp eax, ebx
jl 0x3000824e
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
push ebx
push 0x1000
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x3000824e
lea eax, [ebp - 0x434]
lea edi, [esi + 4]
push eax
mov ecx, edi
call fcn.300077a4
jmp 0x3000812d
mov dword [ebp - 0x428], ebx
lea eax, [ebp - 0x428]
push eax
push 0x30001c34
push 1
push ebx
push 0x30001c80
mov byte [ebp - 4], 1
call fcn.3000b2fe
cmp eax, ebx
mov dword [ebp - 0x46c], 8
mov dword [ebp - 0x468], 3
jl 0x300080c3
mov esi, dword [ebp - 0x428]
lea ecx, [ebp - 0x434]
call fcn.3000775b
cmp dword [eax + 0x18], 8
jb 0x300080a3
mov eax, dword [eax + 4]
jmp 0x300080a6
add eax, 4
mov ecx, dword [esi]
lea edx, [ebp - 0x46c]
push edx
push ebx
push 0x4000000
push eax
push esi
call dword [ecx + 0xa4]
mov esi, dword [ebp - 0x440]
mov dword [ebp - 0x42c], ebx
cmp eax, ebx
mov byte [ebp - 4], 2
jl 0x300080fb
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax]
lea edx, [ebp - 0x42c]
push edx
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x300080fb
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x42c]
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x42c]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x3000810f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x428]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x30008122
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x434]
call fcn.30007334
mov eax, dword [edi + 4]
push edi
push eax
lea ecx, [ebp - 0x43c]
call fcn.30007408
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x434]
call fcn.30007386
test al, al
je 0x3000804c
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x448], 8
mov dword [ebp - 0x464], 0x1c
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x460], ebx
mov ecx, dword [eax + 0x354]
sub ecx, ebx
je 0x300081bf
dec ecx
jne 0x300081e9
mov ecx, 0x100
mov dword [ebp - 0x444], 2
mov eax, dword [eax + 0x358]
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x454], ecx
xor ecx, ecx
cmp eax, 0x41
seta cl
mov dword [ebp - 0x450], eax
inc ecx
mov dword [ebp - 0x45c], ecx
jmp 0x300081e9
or dword [ebp - 0x450], 0xffffffff
push 0x20
pop eax
mov dword [ebp - 0x444], 1
mov dword [ebp - 0x45c], 2
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
lea edx, [ebp - 0x448]
push edx
lea edx, [ebp - 0x464]
push edx
push ebx
push ebx
push ebx
push eax
call dword [ecx + 0xa8]
mov ecx, edi
mov esi, eax
call fcn.30007a93
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x488]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x488]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.300079ea
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, ebx
jl 0x3000824e
xor esi, esi
jmp 0x30008253
mov esi, 0xc6c8120e
mov eax, dword [ebp - 0x424]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x30008267
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.3000b832
ret