Function at 0x41e9b0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00470d10
push 0xffffffffffffffff
push 0x4a01e6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c8a00]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x1014], 0
mov dword [ebp - 4], 1
je 0x41eb38
call fcn.0044d2b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ea1e
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4abe8c
call fcn.00401c60
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x1010]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00402640
add eax, 0x10
lea ecx, [ebp - 0x18]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 2
call fcn.0041e540
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00402260
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41eaa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
mov edx, edi
je 0x41eb1d
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eacc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x100c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eaf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x1010]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41eb13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41ee8c
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41eb3b
or edi, 0xffffffff
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x34]
call fcn.0044e68f
mov eax, dword [ebp + 0x100c]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x14], 0
jl 0x41eb7e
push 0x4ab764
push eax
call fcn.0046c778
add esp, 8
test eax, eax
je 0x41eb7e
sub eax, dword [ebp + 0x100c]
sar eax, 1
jns 0x41ebda
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0044edbb
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x100c]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ebaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x1010]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41ee8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ee8a
mov byte [ebp - 4], 6
call fcn.0044d2b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ebf8
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov bl, 7
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x100c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00402640
lea ecx, [ebp - 0x20]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0041eec0
add esp, 8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00402260
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ec63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x41ec80
mov ecx, dword [ebp + 0x100c]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp + 0x100c]
push 0
push 0
push 0x400002
push 0
push edx
lea ecx, [ebp - 0x34]
call fcn.0044f07d
mov ebx, eax
mov ecx, eax
call fcn.0041efd0
test eax, eax
je 0x41eccf
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41eb7e
mov ecx, dword [ebp + 0x1010]
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, 0xffffffff
jne 0x41ed6b
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ed17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0044edbb
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x100c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ed49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1010]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41ebc5
mov dword [ebp - 0x1c], 0
mov edx, dword [ebx]
mov edx, dword [edx + 0x34]
push 0x800
lea eax, [ebp]
push eax
mov ecx, ebx
call edx
push 0
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
jg 0x41ed72
lea ecx, [ebp - 0x34]
call fcn.0044ec66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41edce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0044edbb
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x100c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ee00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1010]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41eb07
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0046c016
add ebp, 0x1004
mov esp, ebp
pop ebp
ret