Function at 0x401f30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454aa0
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x46b664]
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.0040eba0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x64]
push edx
xor ecx, ecx
call fcn.0041acb0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.00415eb0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xd4]
push edx
mov ecx, eax
call fcn.00416580
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0xb8]
call fcn.0041af50
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.00416bf0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0040eab0
mov byte [ebp - 4], 9
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x40203d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00431dda
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 0x40206e
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00431dda
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 0x4020a3
mov edx, dword [ebp - 0xd4]
push edx
call fcn.00431dda
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 0x4020d8
mov edx, dword [ebp - 0xf0]
push edx
call fcn.00431dda
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 0x402107
mov edx, dword [ebp - 0x64]
push edx
call fcn.00431dda
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 0x40212d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00431dda
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.00416f40
test al, al
jne 0x4021f4
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.00406e40
mov ecx, dword [edi + 0x20]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jb 0x4022bd
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.00415ff0
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 0x4021d3
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00431dda
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.00416f40
test al, al
je 0x402170
mov esi, 8
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], esi
jb 0x402209
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00431dda
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.00417020
mov dword [ebp - 0x34], esi
xor edx, edx
push 3
mov eax, 0x45baa4
lea esi, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.0040eba0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x80]
push eax
mov edx, esi
lea ecx, [ebp - 0x9c]
call fcn.00419090
add esp, 4
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x34], 8
jb 0x40226f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00431dda
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.00416580
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.00406e40
mov ecx, dword [edi + 0x20]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jae 0x4022c7
push str.list_T__too_long
call fcn.0042fac0
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.00417020
mov eax, dword [ebp - 0x80]
mov edi, 8
cmp dword [ebp - 0x6c], edi
jae 0x4022f1
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x6c], edi
jb 0x40230d
mov eax, dword [ebp - 0x80]
push eax
call fcn.00431dda
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 0x402337
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00431dda
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.00431de5
mov esp, ebp
pop ebp
ret 4