Function at 0x41fbdc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x38
push 0
push 0
dec ecx
jne 0x41fbe4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f14
lea eax, [ebp - 0x170]
mov edx, dword [0x407aa0]
call fcn.00405544
xor eax, eax
push ebp
push 0x42005b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x180]
mov edx, 0x420074
mov eax, dword [ebp - 0x184]
call fcn.0041fb44
cmp dword [ebp - 0x17c], 0
jne 0x41fc55
mov eax, 0x420088
call fcn.0041fb08
call fcn.00404984
mov eax, dword [ebp - 0x17c]
mov ecx, 0x50
xor edx, edx
div ecx
test edx, edx
jne 0x420011
mov eax, dword [ebp - 0x17c]
mov ecx, 0x50
xor edx, edx
div ecx
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x41fad4]
call fcn.00405dd8
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x17c]
call fcn.004030d4
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x10]
call fcn.0041fb2c
xor eax, eax
push ebp
push 0x41ffd4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404b2c
mov eax, dword [ebp - 8]
call fcn.00403018
call fcn.00403088
test eax, eax
jne 0x41fd50
lea eax, [ebp - 0x190]
mov ecx, 0x4200a8
mov edx, dword [ebp - 8]
call fcn.00404dac
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.00409550
test eax, eax
jne 0x41fd94
lea eax, [ebp - 0x194]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 8]
call fcn.00404dac
mov eax, dword [ebp - 0x194]
call fcn.00404f24
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x170]
call fcn.004095a0
test eax, eax
je 0x41fd0f
lea eax, [ebp - 0x170]
call fcn.004095c4
jmp 0x41fd94
mov eax, dword [ebp - 8]
call fcn.004030a8
mov eax, dword [ebp - 8]
call fcn.00403018
call fcn.00403088
test eax, eax
je 0x41fd94
lea eax, [ebp - 0x198]
mov ecx, dword [ebp - 8]
mov edx, 0x4200b4
call fcn.00404dac
mov eax, dword [ebp - 0x198]
call fcn.0041fb08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x420011
lea eax, [ebp - 0xc]
call fcn.00404a94
mov eax, dword [ebp - 0x10]
call fcn.00405c24
test eax, eax
jl 0x41ffca
inc eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
add eax, eax
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax*8]
mov dword [ebp - 0x18c], eax
push 0xffff
lea eax, [ebp - 0x1a0]
mov edx, dword [ebp - 0x18c]
call fcn.00404cf8
mov ecx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x19c]
mov edx, dword [ebp - 8]
call fcn.00404dac
mov ecx, dword [ebp - 0x19c]
mov dl, 1
mov eax, dword [0x416b88]
call fcn.0041ac50
mov dword [ebp - 0x178], eax
xor eax, eax
push ebp
push 0x41fec7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1a4]
mov edx, dword [ebp - 0x18c]
call fcn.00404cf8
mov edx, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x180]
mov eax, dword [ebp - 0x184]
call fcn.0041fb44
mov eax, dword [ebp - 0x17c]
call fcn.00402e80
mov ebx, eax
mov esi, ebx
mov edx, esi
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x17c]
call fcn.004030d4
mov edx, dword [ebp - 0x17c]
mov eax, ebx
call fcn.0041fb2c
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0x4c], 0
jne 0x41fe92
cmp dword [eax + 0x48], 0
je 0x41fea7
mov edx, esi
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x178]
call fcn.0041aa00
mov eax, ebx
call fcn.00402e9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fece
mov eax, dword [ebp - 0x178]
call fcn.00403c64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x420011
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420062
lea eax, [ebp - 0x1c0]
mov edx, 0xd
call fcn.00404ab8
lea eax, [ebp - 0x170]
mov edx, dword [0x407aa0]
call fcn.00405608
lea eax, [ebp - 0x10]
mov edx, dword [0x41fad4]
call fcn.00405de4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ab8
ret