Function at 0x41e3f0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ad338
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0041cae0
test al, al
jne 0x41e763
lea ecx, [esi + 0x65c]
call fcn.0048dab0
test al, al
jne 0x41e763
mov ebx, dword [esp + 0x38]
push ebx
call fcn.00485230
add esp, 4
test al, al
je 0x41e44e
push ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
je 0x41e763
lea ecx, [esp + 0x18]
call fcn.00489cd0
xor edi, edi
lea ecx, [esp + 0x18]
push edi
push 1
push 1
push ebx
mov dword [esp + 0x40], edi
call fcn.00489d20
test al, al
je 0x41e752
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 1
call fcn.00489f00
test al, al
je 0x41e752
lea ecx, [esi + 8]
push 4
push ecx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea edx, [esi + 0xc]
push 0x105
push edx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea eax, [esp + 0x18]
lea ecx, [esi + 0x114]
push eax
call fcn.00420450
test al, al
je 0x41e752
mov eax, dword [esi + 0x22c]
cmp eax, edi
jne 0x41e4ed
mov dword [esp + 0x10], edi
jmp 0x41e4fc
mov ecx, dword [esi + 0x230]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
push 4
push edx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, edi
jle 0x41e542
mov eax, dword [esi + 0x22c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + ebx*4]
call fcn.00420450
test al, al
je 0x41e752
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x41e51e
lea edx, [esi + 0xa80]
push 0x64
push edx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea eax, [esi + 0xae4]
push 0x14
push eax
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea ecx, [esi + 0xaf8]
push 1
push ecx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea edx, [esi + 0xaf9]
push 0x200
push edx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
mov eax, dword [esi + 0xd00]
cmp eax, edi
jne 0x41e5bd
mov dword [esp + 0x10], edi
jmp 0x41e5da
mov ecx, dword [esi + 0xd04]
sub ecx, eax
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
push 4
push ecx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, edi
jle 0x41e62d
xor ebx, ebx
mov eax, dword [esi + 0xd00]
push 0x105
lea ecx, [esp + 0x1c]
lea edx, [ebx + eax]
push edx
call fcn.00489f00
test al, al
je 0x41e752
mov eax, dword [esp + 0x10]
inc ebp
add ebx, 0x105
cmp ebp, eax
jl 0x41e5fe
mov eax, dword [esi + 0xd10]
cmp eax, edi
jne 0x41e63d
mov dword [esp + 0x10], edi
jmp 0x41e65a
mov ecx, dword [esi + 0xd14]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
push 4
push ecx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, edi
jle 0x41e6a5
mov eax, dword [esi + 0xd10]
push 0x64
lea ecx, [esp + 0x1c]
lea edx, [edi + eax]
push edx
call fcn.00489f00
test al, al
je 0x41e752
mov eax, dword [esp + 0x10]
inc ebx
add edi, 0x64
cmp ebx, eax
jl 0x41e67c
lea eax, [esi + 0xd1c]
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea ecx, [esi + 0xd1d]
push 1
push ecx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea edx, [esi + 0xd1e]
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea eax, [esi + 0xd1f]
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea ecx, [esi + 0xd20]
push 1
push ecx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea edx, [esi + 0xd24]
push 4
push edx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
je 0x41e752
lea ecx, [esp + 0x18]
call fcn.00489e00
mov ecx, esi
call fcn.0041e780
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00489d10
mov al, 1
jmp 0x41e765
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00489d10
xor al, al
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4