Function at 0x416a70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4373ac
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x448458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x43ed3d
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0xf
or edi, 0xffffffff
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
call fcn.004018e0
push 0x103
lea eax, [ebp - 0x117]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0x118], 0
call fcn.0042d5f0
add esp, 0xc
mov byte [ebp - 0x220], 0
lea eax, [ebp - 0x21f]
push 0x103
push 0
push eax
call fcn.0042d5f0
add esp, 0xc
mov dword [ebp - 0x23c], 0xf
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
push 0
push 0x43ed3d
call fcn.004018e0
mov byte [ebp - 4], 1
call fcn.00421aa0
mov dword [0x46f160], eax
call fcn.0041b950
lea edx, [ebp - 0x238]
lea ecx, [edi + 0x69]
call fcn.00421240
cmp eax, edi
je 0x416d1c
cmp dword [ebp - 0x224], 0x10
lea ecx, [ebp - 0x238]
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 0x118]
cmovae ecx, dword [ebp - 0x238]
push ecx
push eax
call fcn.00421150
add esp, 8
cmp eax, edi
je 0x416d1c
cmp dword [0x46f15c], 9
jne 0x416c10
cmp dword [0x46f160], 0xa
jb 0x416c10
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
lea ecx, [edi + 0x6a]
mov byte [eax], 0
call fcn.00421240
cmp eax, edi
je 0x416d1c
cmp dword [ebp - 0x224], 0x10
lea ecx, [ebp - 0x238]
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 0x220]
cmovae ecx, dword [ebp - 0x238]
push ecx
push eax
call fcn.00421150
add esp, 8
cmp eax, edi
je 0x416d1c
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x118]
call fcn.00410dd0
cmp eax, 0xffffffff
je 0x416d1c
push 0x44444c
lea ecx, [ebp - 0x280]
call fcn.00401690
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x268]
call fcn.00401690
push ecx
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.0041ba40
add esp, 4
cmp dword [ebp - 0x254], 0x10
jb 0x416c80
push dword [ebp - 0x268]
call fcn.004238d6
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x26c], 0x10
mov dword [ebp - 0x254], 0xf
mov dword [ebp - 0x258], 0
mov byte [ebp - 0x268], 0
jb 0x416cb6
push dword [ebp - 0x280]
call fcn.004238d6
add esp, 4
call fcn.00416950
cmp eax, 0xffffffff
je 0x416d1c
cmp dword [0x46f15c], 9
jne 0x416cd9
cmp dword [0x46f160], 0xa
jae 0x416cd9
push 0x44445c
jmp 0x416cde
push 0x444494
lea ecx, [ebp - 0x250]
call fcn.00401720
cmp dword [ebp - 0x23c], 0x10
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x250]
cmovae edx, dword [ebp - 0x250]
push eax
call fcn.0041b440
add esp, 8
cmp eax, 0xffffffff
je 0x416d1c
xor edi, edi
jmp 0x416d5e
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416d25
sub ecx, edx
je 0x416d3d
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416d46
sub ecx, edx
je 0x416d5e
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x23c], 0x10
jb 0x416d75
push dword [ebp - 0x250]
call fcn.004238d6
add esp, 4
cmp dword [ebp - 0x224], 0x10
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
jb 0x416da7
push dword [ebp - 0x238]
call fcn.004238d6
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422f38
mov esp, ebp
pop ebp
ret