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

Disassembly:
mov eax, 0x463b35
call fcn.0043c274
sub esp, 0x184
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
cmp dword [ebp + 0x44], 0
mov dword [ebp - 4], 2
mov esi, 0x104
jne 0x42d746
lea eax, [ebp - 0x50]
push esi
push eax
lea ecx, [ebp + 0x38]
call fcn.00401822
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.00401e7b
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00401aab
sub esp, 0x28
lea ecx, [ebp + 0x38]
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004028e8
call fcn.0042e1f9
add esp, 0x28
lea eax, [ebp - 0x13]
mov ebx, 0x467594
mov edi, 0x46758c
push 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x24], edi
call fcn.00401c77
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 4
cmp byte [ebp + 0xc], 0
jne 0x42d829
lea eax, [ebp - 0xf0]
push eax
call fcn.0042d611
push eax
lea eax, [ebp - 0x168]
push 0x479cec
push eax
mov byte [ebp - 4], 5
call fcn.00405e92
push 0x479cd4
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 6
push eax
call fcn.00405d6b
add esp, 0x1c
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 7
call fcn.004054fd
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401a2d
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.0040125c
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.0040125c
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 5
call fcn.0040125c
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 4
call fcn.0040125c
jmp 0x42d888
lea eax, [ebp - 0x50]
push esi
push eax
lea ecx, [ebp - 0x44]
call fcn.00401822
mov ecx, dword [eax]
mov byte [ebp - 4], 9
mov byte [eax + 4], 1
call fcn.00401e7b
mov ecx, dword [ebp + 0x40]
mov eax, dword [eax]
test ecx, ecx
jne 0x42d853
mov ecx, 0x467588
push eax
push dword [ebp - 0x10]
push 0x479ce4
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00401aab
cmp dword [ebp - 0x10], 0
jne 0x42d888
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x42d881
mov eax, 0x467588
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x1c], 0
jne 0x42d8ea
lea eax, [ebp - 0x12]
push 1
push eax
push 0x47e390
lea ecx, [ebp - 0xa0]
call fcn.00401779
lea eax, [ebp - 0x11]
push 1
push eax
push 0x479cd8
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.00401779
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0xb
call fcn.00401e3b
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.0040125c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
jmp 0x42d917
sub esp, 0x28
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push 0
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401cec
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x44]
push eax
call fcn.0043077c
lea ecx, [ebp - 0x140]
call fcn.0040125c
cmp byte [ebp + 0xc], 0
jne 0x42d94d
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x44]
push eax
call fcn.004028e8
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00401a2d
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.0040125c
push 0xc
lea eax, [ebp - 0x44]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 1
push eax
call fcn.00401717
call fcn.0042d15e
add esp, 0x2c
test al, al
je 0x42d9c5
inc dword [ebp - 0x10]
jns 0x42d785
mov ecx, dword [ebp + 8]
push 1
pop edi
lea eax, [ebp + 0xf]
push edi
push eax
push 0x47e390
call fcn.00401741
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
call fcn.0040125c
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0040125c
and byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.0040125c
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 0x42d9eb
sub esp, 0x28
lea eax, [ebp - 0x44]
mov dword [ebp + 0xc], esp
mov ecx, esp
push 0
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401cec
call fcn.0042e1f9
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.00401cec
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040125c
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0040125c
and byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.0040125c
mov eax, esi
jmp 0x42d9b6