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

Disassembly:
mov eax, 0x43fca9
call fcn.004311b8
sub esp, 0x184
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x18], esi
cmp dword [ebp + 0x44], esi
mov dword [ebp - 4], 2
jne 0x42b69f
mov ebx, 0x104
lea eax, [ebp - 0x50]
push ebx
push eax
lea ecx, [ebp + 0x38]
call fcn.00402839
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 3
call fcn.00403f09
push eax
push ebx
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.004029de
sub esp, 0x28
lea ecx, [ebp + 0x38]
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00405424
call fcn.0042b393
add esp, 0x28
lea eax, [ebp - 0x13]
mov ebx, 0x4404dc
mov edi, 0x4404d4
push esi
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x24], edi
call fcn.00402614
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], esi
cmp byte [ebp + 0xc], 0
jne 0x42b780
lea eax, [ebp - 0xf0]
push eax
call fcn.0042b541
push eax
lea eax, [ebp - 0x168]
push 0x44a488
push eax
mov byte [ebp - 4], 5
call fcn.0041c4b4
push 0x44a474
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 6
push eax
call fcn.0041c178
add esp, 0x1c
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 7
call fcn.0041ae28
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401d67
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.00401ced
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.00401ced
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 5
call fcn.00401ced
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 4
call fcn.00401ced
jmp 0x42b7dc
lea eax, [ebp - 0x50]
push 0x104
push eax
lea ecx, [ebp - 0x44]
call fcn.00402839
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 9
call fcn.00403f09
push eax
lea ecx, [ebp + 0x38]
push dword [ebp - 0x10]
mov dword [esi + 8], eax
push 0x44a484
call fcn.00403f09
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004029de
cmp dword [ebp - 0x10], 0
jne 0x42b7da
lea ecx, [ebp - 0x44]
call fcn.00403f09
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
cmp dword [ebp + 0x1c], esi
jne 0x42b83d
lea eax, [ebp - 0x12]
push 1
push eax
push 0x44dbd4
lea ecx, [ebp - 0xa0]
call fcn.00403c78
lea eax, [ebp - 0x11]
push 1
push eax
push 0x44a478
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.00403c78
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040476f
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.00401ced
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
jmp 0x42b869
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.0040294b
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x44]
push eax
call fcn.0042b9c6
lea ecx, [ebp - 0x140]
call fcn.00401ced
cmp byte [ebp + 0xc], 0
jne 0x42b89f
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x44]
push eax
call fcn.00405424
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00401d67
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.00401ced
sub esp, 0x28
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push esi
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.0040294b
call fcn.0042b25e
add esp, 0x28
test al, al
je 0x42b919
inc dword [ebp - 0x10]
jns 0x42b6dc
mov ecx, dword [ebp + 8]
push 1
pop esi
lea eax, [ebp + 0xf]
push esi
push eax
push 0x44dbd4
call fcn.004231f1
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401ced
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00401ced
and byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.00401ced
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
cmp byte [ebp + 0xc], 0
jne 0x42b93e
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.0040294b
call fcn.0042b393
add esp, 0x28
mov ecx, dword [ebp + 8]
push 1
pop esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0041aeb3
mov dword [ebp - 0x18], esi
jmp 0x42b8e3