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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3b8
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebx, ecx
push esi
push edi
push ebx
mov dword [esp + 0x2c], ebx
call ebp
xor esi, esi
cmp dword [ebx + 0xa6c], esi
jne 0x440b8c
push 0x45a8ac
push 0x3488
call fcn.0041a4c8
pop ecx
pop ecx
test eax, eax
je 0x440b84
mov ecx, eax
call fcn.0044074d
jmp 0x440b86
mov eax, esi
mov dword [ebx + 0xa6c], eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [ebx + 0xa6c]
test ecx, ecx
je 0x441184
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp byte [ebx + 0xa7d], 0
mov edi, 0xc8
jne 0x440e85
mov ecx, dword [ebx + 0xa6c]
push str.https:__download.mql5.com_cdn_dns_dns.dat
mov eax, dword [ecx]
call dword [eax + 0x38]
cmp eax, edi
jne 0x440e85
mov ecx, dword [ebx + 0xa6c]
lea edx, [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x441179
cmp ecx, esi
ja 0x440c16
cmp eax, 0xf8
jb 0x441179
cmp word [ebx + 0x110], si
je 0x441179
push 0x3e
pop ecx
mov esi, edx
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x48], 2
jne 0x441179
push 9
mov edx, str.Copyright
lea ecx, [esp + 0x50]
call fcn.00403c26
pop ecx
test eax, eax
jne 0x441179
lea eax, [esp + 0xcc]
push 0x46a2d4
push eax
call fcn.0042a115
pop ecx
pop ecx
test eax, eax
jne 0x441179
push ebx
call ebp
or ebp, 0xffffffff
lea eax, [ebx + 0x110]
mov dword [esp + 0x14], ebp
test eax, eax
je 0x440d76
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebp
je 0x440d7a
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov ebx, dword [esp + 0x20]
mov eax, edi
movlpd qword [esp + 0x30], xmm0
xor ebp, ebp
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ebp
cmp ecx, ebp
jb 0x440cf0
ja 0x440ceb
cmp eax, 0xfffffff
jbe 0x440cf0
mov eax, 0xfffffff
push ebp
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [edi + ebx]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x440d34
add edi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
adc edx, ebp
sub eax, dword [esp + 0x14]
mov dword [esp + 0x24], edx
sbb ecx, ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
cmp ecx, ebp
ja 0x440cda
jb 0x440d34
cmp eax, ebp
ja 0x440cda
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x18]
push 0xffffffffffffffff
pop ebp
cmp dword [esp + 0x14], edi
jne 0x440d5c
cmp edx, dword [esp + 0x1c]
jne 0x440d5c
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0x14], ebp
jmp 0x440d7a
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebx + 0x110]
mov dword [esp + 0x14], ebp
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x440d7a
mov edi, dword [esp + 0x18]
xor eax, eax
push eax
call fcn.00429e44
mov esi, dword [esp + 0x24]
pop ecx
add esi, 0xf8
mov dword [esp + 0x28], eax
add edi, 0xffffff08
mov dword [esp + 0x30], edx
push 0
adc dword [esp + 0x20], ebp
pop eax
mov dword [ebx + 0x52c], eax
mov eax, 0x288
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
jne 0x440dbf
cmp edi, eax
jbe 0x441163
mov ecx, 0xa2
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x464820
mov edx, eax
lea ecx, [esp + 0x144]
call fcn.00448e86
cmp word [esp + 0x144], 0
pop ecx
je 0x440e43
cmp word [esp + 0x1c0], 0
jne 0x440e02
cmp word [esp + 0x2c0], 0
je 0x440e43
mov eax, dword [esp + 0x3c0]
or eax, dword [esp + 0x3c4]
je 0x440e2e
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x3c4], eax
jl 0x440e43
jg 0x440e2e
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c0], eax
jbe 0x440e43
push 1
lea eax, [esp + 0x144]
push eax
lea ecx, [ebx + 0x524]
call fcn.00402e44
mov ecx, dword [esp + 0x18]
mov eax, 0x288
mov edx, dword [esp + 0x1c]
add ecx, 0xfffffd78
mov esi, dword [esp + 0x20]
adc edx, ebp
mov dword [esp + 0x18], ecx
add esi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
test edx, edx
ja 0x440dbf
jb 0x441163
cmp ecx, eax
ja 0x440dbf
jmp 0x441163
mov ecx, dword [ebx + 0xa6c]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp byte [ebx + 0xa7d], 0
jne 0x441179
mov ecx, dword [ebx + 0xa6c]
push str.https:__download.metatrader.com_cdn_dns_dns.dat
mov eax, dword [ecx]
call dword [eax + 0x38]
cmp eax, edi
jne 0x441179
mov ecx, dword [ebx + 0xa6c]
lea edx, [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x441179
cmp ecx, esi
ja 0x440efb
cmp eax, 0xf8
jb 0x441179
cmp word [ebx + 0x110], si
je 0x441179
push 0x3e
pop ecx
mov esi, edx
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x48], 2
jne 0x441179
push 9
mov edx, str.Copyright
lea ecx, [esp + 0x50]
call fcn.00403c26
pop ecx
test eax, eax
jne 0x441179
lea eax, [esp + 0xcc]
push 0x46a2d4
push eax
call fcn.0042a115
pop ecx
pop ecx
test eax, eax
jne 0x441179
push ebx
call ebp
or ebp, 0xffffffff
lea eax, [ebx + 0x110]
mov dword [esp + 0x14], ebp
test eax, eax
je 0x44105b
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebp
je 0x44105f
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov ebx, dword [esp + 0x30]
mov eax, edi
movlpd qword [esp + 0x38], xmm0
xor ebp, ebp
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ebp
cmp ecx, ebp
jb 0x440fd5
ja 0x440fd0
cmp eax, 0xfffffff
jbe 0x440fd5
mov eax, 0xfffffff
push ebp
lea ecx, [esp + 0x28]
push ecx
push eax
lea eax, [edi + ebx]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x441019
add edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
adc edx, ebp
sub eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
sbb ecx, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
cmp ecx, ebp
ja 0x440fbf
jb 0x441019
cmp eax, ebp
ja 0x440fbf
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x18]
push 0xffffffffffffffff
pop ebp
cmp dword [esp + 0x38], edi
jne 0x441041
cmp edx, dword [esp + 0x1c]
jne 0x441041
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0x14], ebp
jmp 0x44105f
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebx + 0x110]
mov dword [esp + 0x14], ebp
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x44105f
mov edi, dword [esp + 0x18]
xor eax, eax
push eax
call fcn.00429e44
mov esi, dword [esp + 0x34]
pop ecx
add esi, 0xf8
mov dword [esp + 0x20], eax
add edi, 0xffffff08
mov dword [esp + 0x28], edx
push 0
adc dword [esp + 0x20], ebp
pop eax
mov dword [ebx + 0x52c], eax
mov eax, 0x288
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], edi
jne 0x4410a4
cmp edi, eax
jbe 0x441163
mov ecx, 0xa2
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x464820
mov edx, eax
lea ecx, [esp + 0x144]
call fcn.00448e86
cmp word [esp + 0x144], 0
pop ecx
je 0x441128
cmp word [esp + 0x1c0], 0
jne 0x4410e7
cmp word [esp + 0x2c0], 0
je 0x441128
mov eax, dword [esp + 0x3c0]
or eax, dword [esp + 0x3c4]
je 0x441113
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c4], eax
jl 0x441128
jg 0x441113
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x3c0], eax
jbe 0x441128
push 1
lea eax, [esp + 0x144]
push eax
lea ecx, [ebx + 0x524]
call fcn.00402e44
mov ecx, dword [esp + 0x18]
mov eax, 0x288
mov edx, dword [esp + 0x1c]
add ecx, 0xfffffd78
mov esi, dword [esp + 0x30]
adc edx, ebp
mov dword [esp + 0x18], ecx
add esi, eax
mov dword [esp + 0x1c], edx
xor edi, edi
mov dword [esp + 0x30], esi
cmp edx, edi
ja 0x4410a4
jb 0x441163
cmp ecx, eax
ja 0x4410a4
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x441179
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebx + 0xa6c]
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret