Function at 0x401f00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455520
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x46c664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], eax
xor ecx, ecx
push 0xf
mov eax, str._TEMP_Temp.Sap
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
call fcn.0040e990
mov dword [ebp - 4], 1
lea edx, [ebp - 0x64]
push edx
xor ecx, ecx
call fcn.0041b0c0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.00415df0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xd4]
push edx
mov ecx, eax
call fcn.004164c0
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0xb8]
call fcn.0041b360
mov byte [ebp - 4], 5
xor ecx, ecx
push ebx
mov word [ebp - 0x2c], cx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00401a90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00416b30
mov byte [ebp - 4], 7
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0040e8a0
mov byte [ebp - 4], 9
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x40200d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043266a
add esp, 4
mov eax, 7
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa4], esi
jb 0x40203e
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0043266a
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xc0], esi
jb 0x402073
mov edx, dword [ebp - 0xd4]
push edx
call fcn.0043266a
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xdc], esi
jb 0x4020a8
mov edx, dword [ebp - 0xf0]
push edx
call fcn.0043266a
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x50], esi
jb 0x4020d7
mov edx, dword [ebp - 0x64]
push edx
call fcn.0043266a
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x34], esi
jb 0x4020fd
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043266a
add esp, 4
mov eax, 7
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
push ebx
lea eax, [ebp - 0x9c]
mov word [ebp - 0x48], cx
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00401a90
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
call fcn.00416e80
test al, al
jne 0x4021c4
lea esp, [esp]
mov esi, dword [edi + 0x1c]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x2c]
push ecx
push edx
push esi
call fcn.00406c50
mov ecx, dword [edi + 0x20]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jb 0x40228d
inc ecx
mov dword [edi + 0x20], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00415f30
mov byte [ebp - 4], 0x15
push ebx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401a90
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x50], 8
jb 0x4021a3
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0043266a
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
call fcn.00416e80
test al, al
je 0x402140
mov esi, 8
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], esi
jb 0x4021d9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043266a
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov esi, 7
push ebx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00416f60
mov dword [ebp - 0x34], esi
xor edx, edx
push 3
mov eax, 0x45caa4
lea esi, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.0040e990
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x80]
push eax
mov edx, esi
lea ecx, [ebp - 0x9c]
call fcn.00418fd0
add esp, 4
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x34], 8
jb 0x40223f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043266a
add esp, 4
mov eax, dword [ebp - 0xf4]
xor edx, edx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.004164c0
mov eax, dword [edi + 0x1c]
mov esi, dword [eax]
mov ecx, dword [ebp - 0xf4]
mov edx, dword [esi + 4]
push ecx
push edx
push esi
mov dword [ebp - 0xf8], 1
call fcn.00406c50
mov ecx, dword [edi + 0x20]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jae 0x402297
push str.list_T__too_long
call fcn.00430350
inc ecx
mov dword [edi + 0x20], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov esi, dword [ebp - 0xf4]
mov dword [ecx], eax
push ebx
mov ecx, esi
call fcn.00416f60
mov eax, dword [ebp - 0x80]
mov edi, 8
cmp dword [ebp - 0x6c], edi
jae 0x4022c1
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x6c], edi
jb 0x4022dd
mov eax, dword [ebp - 0x80]
push eax
call fcn.0043266a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x88], edi
jb 0x402307
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432675
mov esp, ebp
pop ebp
ret 4