Function at 0x424af8
Capabilities:
Delete file

Disassembly:
mov eax, 0x43c5b6
call fcn.0041a80c
sub esp, 0xd4
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov al, byte [esi + 0x30]
cmp al, bl
je 0x424b41
cmp byte [esi + 0x31], bl
je 0x424b3d
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x80]
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x5b], bl
call fcn.00407520
jmp 0x424b5f
cmp al, bl
jne 0x424b66
lea ecx, [esi + 0x80]
call fcn.00419e00
test eax, eax
jne 0x424b66
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov al, 1
jmp 0x424db4
lea ecx, [ebp - 0x30]
call fcn.00403910
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov dword [ebp - 4], ebx
call fcn.004242e1
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0xd], bl
call fcn.00419e00
push eax
call fcn.00416ce0
add esp, 0xc
cmp byte [ebp - 0xd], bl
mov dword [ebp - 0x14], eax
jne 0x424bc6
mov eax, dword [edi]
push str.Failed_to_open_temp_file__2_
mov ecx, edi
call dword [eax + 0x10]
mov esi, dword [edi]
lea ecx, [ebp - 0x30]
call fcn.00419e00
push eax
push str.tempFilename
mov ecx, edi
call dword [esi + 0x28]
jmp 0x424da6
push ebx
push ebx
push ebx
push eax
lea ecx, [ebp - 0x50]
call fcn.00416e40
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00426492
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.0042fc10
mov eax, dword [esi + 0xb0]
cmp eax, ebx
je 0x424c08
push eax
lea ecx, [ebp - 0x84]
call fcn.00426488
cmp byte [esi + 0x30], bl
je 0x424ce2
lea ecx, [ebp - 0xe0]
call fcn.004025c0
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 3
call fcn.00419e00
push eax
lea ecx, [ebp - 0xe0]
call fcn.00402800
lea eax, [ebp - 0xe0]
push edi
push eax
call fcn.00405bc0
pop ecx
cmp eax, 0xffffffff
pop ecx
mov dword [ebp + 0x14], eax
jne 0x424ca4
mov eax, dword [edi]
push str.Failed_to_open_file_for_reading__6_
mov ecx, edi
call dword [eax + 0x10]
push edi
lea ecx, [ebp - 0x30]
call fcn.00419e00
push eax
call fcn.00406730
pop ecx
mov byte [ebp - 4], 2
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.00402680
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.004264c6
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00416e70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403980
xor al, al
jmp 0x424db4
push dword [esi + 0xa4]
lea ecx, [ebp - 0x50]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.004264d1
push ebx
mov byte [ebp - 0xd], al
push dword [ebp + 0x14]
call fcn.00413640
pop ecx
mov byte [ebp - 4], 2
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.00402680
jmp 0x424d1b
push dword [esi + 0xa4]
lea eax, [ebp - 0x50]
lea ecx, [esi + 0x80]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call fcn.00419e00
push eax
lea ecx, [esi + 0x80]
call fcn.00419d60
push eax
lea ecx, [ebp - 0x84]
call fcn.0042664a
mov byte [ebp - 0xd], al
push edi
push dword [ebp - 0x14]
call fcn.00413640
cmp byte [esi + 0x5b], bl
pop ecx
pop ecx
je 0x424d47
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.004032f0
test eax, eax
je 0x424d47
mov ecx, edi
call fcn.00419e00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x30]
mov byte [esi + 0x5b], 1
call fcn.00419e00
push eax
lea ecx, [esi + 0x5c]
call fcn.00403e90
cmp byte [esi + 0x94], bl
lea edi, [esi + 0x94]
lea ecx, [esi + 0x80]
jne 0x424d7a
call fcn.004075e0
mov byte [edi], 1
jmp 0x424d7f
call fcn.00407520
mov al, byte [ebp - 0xd]
lea ecx, [ebp - 0x84]
mov byte [esi + 0x30], 1
mov byte [ebp + 0xf], al
mov byte [ebp - 4], 1
call fcn.004264c6
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00416e70
mov bl, byte [ebp + 0xf]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403980
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10