Function at 0x439f8a
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x486995
call fcn.00466fdc
sub esp, 0x184
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
cmp dword [ebp + 0x44], 0
mov dword [ebp - 4], 2
jne 0x439fe4
mov edi, 0x104
lea eax, [ebp - 0x50]
push edi
push eax
lea ecx, [ebp + 0x38]
call fcn.00402f01
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 3
call fcn.004042dd
push eax
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00403013
sub esp, 0x28
lea ecx, [ebp + 0x38]
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00405e7e
call fcn.0043b15d
add esp, 0x28
lea eax, [ebp - 0x13]
mov ebx, 0x48b6a8
mov edi, 0x48b6a0
push 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x24], edi
call fcn.00403cd9
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 4
cmp byte [ebp + 0xc], 0
jne 0x43a0c7
lea eax, [ebp - 0xf0]
push eax
call fcn.00439b5a
push eax
lea eax, [ebp - 0x168]
push 0x4a45dc
push eax
mov byte [ebp - 4], 5
call fcn.0040c51d
push 0x4a108c
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 6
push eax
call fcn.00410152
add esp, 0x1c
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 7
call fcn.0040fc1f
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.004024b2
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.00402438
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.00402438
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 5
call fcn.00402438
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 4
call fcn.00402438
jmp 0x43a121
lea eax, [ebp - 0x50]
push 0x104
push eax
lea ecx, [ebp - 0x44]
call fcn.00402f01
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 9
call fcn.004042dd
push eax
lea ecx, [ebp + 0x38]
push dword [ebp - 0x10]
mov dword [esi + 8], eax
push 0x4a409c
call fcn.004042dd
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00403013
cmp dword [ebp - 0x10], 0
jne 0x43a121
lea ecx, [ebp - 0x44]
call fcn.004042dd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
cmp dword [ebp + 0x1c], esi
jne 0x43a184
lea eax, [ebp - 0x12]
push 1
push eax
push 0x4a9e50
lea ecx, [ebp - 0xa0]
call fcn.00404d89
lea eax, [ebp - 0x11]
push 1
push eax
push 0x4a45d0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.00404d89
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0xb
call fcn.00404e25
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.00402438
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
jmp 0x43a1b0
sub esp, 0x28
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push esi
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00403d4e
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x44]
push eax
call fcn.0044281d
lea ecx, [ebp - 0x140]
call fcn.00402438
cmp byte [ebp + 0xc], 0
jne 0x43a1e6
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x44]
push eax
call fcn.00405e7e
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.004024b2
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.00402438
push 0xc
lea eax, [ebp - 0x44]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 1
push eax
call fcn.00407ae3
call fcn.004384ce
add esp, 0x2c
test al, al
je 0x43a25e
inc dword [ebp - 0x10]
jns 0x43a023
mov ecx, dword [ebp + 8]
push 1
pop esi
lea eax, [ebp + 0xf]
push esi
push eax
push 0x4a9e50
call fcn.0040ade9
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
call fcn.00402438
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00402438
and byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.00402438
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
cmp byte [ebp + 0xc], 0
jne 0x43a283
sub esp, 0x28
lea eax, [ebp - 0x44]
mov dword [ebp + 0xc], esp
mov ecx, esp
push esi
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00403d4e
call fcn.0043b15d
add esp, 0x28
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 0x20], edi
call fcn.00403d4e
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00402438
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00402438
and byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.00402438
mov eax, esi
jmp 0x43a24f