Function at 0x420c80
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ad476
push eax
mov eax, 0x1428
mov dword fs:[0], esp
call fcn.0047aff0
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov al, byte [ebp + 0x14]
test al, al
jne 0x420cb3
xor al, al
jmp 0x420f47
mov esi, dword [esp + 0x1448]
push esi
call fcn.00485230
add esp, 4
test al, al
je 0x420cd9
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x420cd9
xor al, al
jmp 0x420f47
lea ecx, [esp + 0x10]
call fcn.00489cd0
xor ebx, ebx
lea ecx, [esp + 0x10]
push ebx
push 1
push 1
push esi
mov dword [esp + 0x1450], ebx
call fcn.00489d20
test al, al
jne 0x420d19
lea ecx, [esp + 0x10]
mov dword [esp + 0x1440], 0xffffffff
call fcn.00489d10
xor al, al
jmp 0x420f47
mov ecx, 0x102
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x420d33
mov dword [esp + 0x34], ebx
jmp 0x420d3f
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x34], ecx
lea edx, [ebp + 0x28]
push 0x400
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00486310
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 1
push 0x408
push ecx
lea ecx, [esp + 0x18]
call fcn.00489f00
test al, al
jne 0x420d8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x1440], 0xffffffff
call fcn.00489d10
xor al, al
jmp 0x420f47
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x420d9a
xor eax, eax
jmp 0x420da2
mov eax, dword [ebp + 0xc]
sub eax, ecx
sar eax, 2
mov edi, eax
shl edi, 4
add edi, eax
shl edi, 4
add edi, 0x408
xor esi, esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x420e29
mov edx, dword [ebp + 0xc]
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x420e29
mov eax, dword [eax + esi*4]
push eax
call fcn.00485230
add esp, 4
test al, al
je 0x420f19
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + esi*4]
push ecx
call fcn.00485360
mov edx, dword [ebx + esi*4]
add esp, 4
mov dword [edx + 0x10c], eax
mov eax, dword [ebp + 8]
push 0x110
mov eax, dword [eax + esi*4]
mov dword [eax + 0x108], edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 0x10c]
add edi, edx
mov edx, ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00489f00
test al, al
je 0x420f19
inc esi
jmp 0x420db4
mov ebx, dword [sym.imp.kernel32.dll_Sleep]
xor edi, edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x420f31
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x420f31
lea ecx, [esp + 0x20]
call fcn.00489cd0
mov eax, dword [ebp + 8]
push 0
push 0
push 0
mov edx, dword [eax + edi*4]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x1450], 1
call fcn.00489d20
test al, al
je 0x420f08
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x20]
call fcn.00489f80
mov ecx, dword [esi + edi*4]
cmp eax, dword [ecx + 0x10c]
jne 0x420f08
lea ecx, [esp + 0x20]
call fcn.00489f70
test al, al
jne 0x420ef1
lea edx, [esp + 0x438]
push 0x1000
push edx
lea ecx, [esp + 0x28]
call fcn.00489e20
mov esi, eax
test esi, esi
jne 0x420ece
lea ecx, [esp + 0x20]
call fcn.00489f70
test al, al
jne 0x420ece
push 2
call ebx
jmp 0x420ee4
lea eax, [esp + 0x438]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00489f00
test al, al
je 0x420f08
lea ecx, [esp + 0x20]
call fcn.00489f70
test al, al
je 0x420e9f
lea ecx, [esp + 0x20]
mov byte [esp + 0x1440], 0
call fcn.00489d10
inc edi
jmp 0x420e31
lea ecx, [esp + 0x20]
mov byte [esp + 0x1440], 0
call fcn.00489d10
lea ecx, [esp + 0x10]
mov dword [esp + 0x1440], 0xffffffff
call fcn.00489d10
xor al, al
jmp 0x420f47
lea ecx, [esp + 0x10]
mov dword [esp + 0x1440], 0xffffffff
call fcn.00489d10
mov al, 1
mov ecx, dword [esp + 0x1438]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1434
ret 4