Function at 0x4073c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x214], 0x80004005
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00413bb0
add esp, 0xc
call fcn.0040d220
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x20]
imul edx, edx, 0x24
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x24]
imul ecx, ecx, 0x34
mov edx, dword [edx + 0x431218]
cmp dword [edx + ecx + 0x20], 0xffffffff
je 0x4074d3
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x24]
imul eax, eax, 0x34
mov ecx, dword [ecx + 0x431218]
mov edx, dword [ecx + eax + 0x24]
cmp edx, dword [ebp - 0x218]
jg 0x407481
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x24]
imul eax, eax, 0x34
mov ecx, dword [ecx + 0x431218]
mov edx, dword [ecx + eax + 0x20]
cmp edx, dword [ebp - 0x218]
jge 0x4074d3
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x28], 0
je 0x4074a9
push 0
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x28]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x20]
imul edx, edx, 0x24
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x24]
imul ecx, ecx, 0x34
mov edx, dword [edx + 0x431218]
mov byte [edx + ecx + 0x30], 1
xor eax, eax
jmp 0x4076ba
push 1
call fcn.00411b30
add esp, 4
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x24]
imul eax, eax, 0x34
mov ecx, dword [ecx + 0x431218]
mov edx, dword [ecx + eax + 0x18]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x24]
imul eax, eax, 0x34
mov ecx, dword [ecx + 0x431218]
mov edx, dword [ecx + eax + 0x14]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x24]
imul eax, eax, 0x34
mov ecx, dword [ecx + 0x431218]
mov edx, dword [ecx + eax + 4]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0040d600
add esp, 0x10
mov dword [ebp - 0x214], eax
xor ecx, ecx
cmp dword [ebp - 0x214], 0
setge cl
sub ecx, 1
and ecx, 0x80004005
mov dword [ebp - 0x214], ecx
jge 0x407582
jmp 0x40767a
xor edx, edx
jne 0x40755b
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x24]
imul eax, eax, 0x34
mov ecx, dword [ecx + 0x431218]
cmp dword [ecx + eax + 0x18], 0x90
jne 0x4075b5
mov byte [0x432a15], 1
push 0
call fcn.00411b30
add esp, 4
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x20]
imul eax, eax, 0x24
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x24]
imul edx, edx, 0x34
mov eax, dword [eax + 0x431218]
movzx ecx, byte [eax + edx + 0x29]
test ecx, ecx
je 0x40767a
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x20]
imul eax, eax, 0x24
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x24]
imul edx, edx, 0x34
mov eax, dword [eax + 0x431218]
movzx ecx, byte [eax + edx + 0x2a]
test ecx, ecx
jne 0x407635
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x20]
imul eax, eax, 0x24
mov ecx, dword [eax + 0x43122c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0040d8e0
add esp, 8
jmp 0x40767a
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x24
mov edx, dword [ecx + 0x43122c]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x24]
imul eax, eax, 0x34
mov ecx, dword [ecx + 0x431218]
mov edx, dword [ecx + eax + 0x2c]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0040d780
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x20]
imul eax, eax, 0x24
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x24]
imul edx, edx, 0x34
mov eax, dword [eax + 0x431218]
movzx ecx, byte [eax + edx + 0x28]
test ecx, ecx
je 0x4076b8
mov eax, dword [ebp - 0x214]
jmp 0x4076ba
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret