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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3b8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebp, ebp
cmp dword [ebx + 0xa80], ebp
jne 0x448540
push 0x4f086c
push 0x38a0
call fcn.0041b7f6
pop ecx
pop ecx
test eax, eax
je 0x448538
mov ecx, eax
call fcn.004480aa
jmp 0x44853a
mov eax, ebp
mov dword [ebx + 0xa80], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 0xa80]
test ecx, ecx
je 0x448ba3
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp byte [ebx + 0xa98], 0
mov esi, 0xc8
jne 0x448873
mov ecx, dword [ebx + 0xa80]
push str.https:__download.mql5.com_cdn_dns_dns.dat
mov eax, dword [ecx]
call dword [eax + 0x3c]
cmp eax, esi
jne 0x448873
mov ecx, dword [ebx + 0xa80]
lea edx, [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test edx, edx
je 0x448b98
cmp ecx, ebp
ja 0x4485ca
cmp eax, 0xf8
jb 0x448b98
cmp word [ebx + 0x110], bp
je 0x448b98
push 0x3e
pop ecx
mov esi, edx
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x48], 2
jne 0x448b98
push 9
mov edx, str.Copyright
lea ecx, [esp + 0x50]
call fcn.00403e3f
pop ecx
test eax, eax
jne 0x448b98
lea eax, [esp + 0xcc]
push 0x50bc84
push eax
call fcn.0042bf95
pop ecx
pop ecx
test eax, eax
jne 0x448b98
or ebp, 0xffffffff
mov dword [esp + 0x20], 0x4f88f0
push ebx
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
push 2
push 3
push 0x40000000
lea eax, [ebx + 0x110]
push eax
lea ecx, [esp + 0x34]
call fcn.00401140
mov edi, dword [esp + 0x14]
test al, al
je 0x448757
mov esi, dword [esp + 0x24]
mov ecx, edi
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x2c], esi
cmp esi, ebp
je 0x44874d
xor edx, edx
cmp eax, edx
ja 0x448693
cmp edi, edx
jbe 0x44874d
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jmp 0x4486a7
xor edx, edx
mov dword [esp + 0x30], edx
cmp dword [esp + 0x28], edx
jb 0x4486c0
ja 0x4486bb
cmp ecx, 0xfffffff
jbe 0x4486c0
mov ecx, 0xfffffff
add eax, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x34]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x44870e
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x30]
push 0
pop ecx
adc edx, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
sbb dword [esp + 0x28], 0
cmp dword [esp + 0x28], 0
mov dword [esp + 0x3c], ecx
ja 0x4486a5
jb 0x44870e
test ecx, ecx
jne 0x4486a5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jne 0x44871e
cmp edx, eax
je 0x44873c
cmp esi, ebp
je 0x44872f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebp
mov dword [esp + 0x2c], esi
lea eax, [ebx + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, ebp
je 0x44875f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x2c], ebp
jmp 0x44875f
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
jmp 0x448716
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
xor eax, eax
push eax
call fcn.0042bcc4
mov esi, dword [esp + 0x20]
pop ecx
add esi, 0xf8
mov dword [esp + 0x20], eax
add edi, 0xffffff08
mov dword [esp + 0x3c], edx
push 0
adc dword [esp + 0x1c], ebp
pop eax
mov dword [ebx + 0x530], eax
mov eax, 0x288
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edi
jne 0x4487a4
cmp edi, eax
jbe 0x448863
mov ecx, 0xa2
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x4fa800
mov edx, eax
lea ecx, [esp + 0x144]
call fcn.0045174f
cmp word [esp + 0x144], 0
pop ecx
je 0x448828
cmp word [esp + 0x1c0], 0
jne 0x4487e7
cmp word [esp + 0x2c0], 0
je 0x448828
mov eax, dword [esp + 0x3c0]
or eax, dword [esp + 0x3c4]
je 0x448813
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x3c4], eax
jl 0x448828
jg 0x448813
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x3c0], eax
jbe 0x448828
push 1
lea eax, [esp + 0x144]
push eax
lea ecx, [ebx + 0x524]
call fcn.00403024
mov ecx, dword [esp + 0x14]
mov eax, 0x288
mov edx, dword [esp + 0x18]
add ecx, 0xfffffd78
mov esi, dword [esp + 0x1c]
adc edx, ebp
mov dword [esp + 0x14], ecx
add esi, eax
mov dword [esp + 0x18], edx
xor edi, edi
mov dword [esp + 0x1c], esi
cmp edx, edi
ja 0x4487a4
jb 0x448863
cmp ecx, eax
ja 0x4487a4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x2c]
jmp 0x448b8d
mov ecx, dword [ebx + 0xa80]
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp byte [ebx + 0xa98], 0
jne 0x448b98
mov ecx, dword [ebx + 0xa80]
push str.https:__download.metatrader.com_cdn_dns_dns.dat
mov eax, dword [ecx]
call dword [eax + 0x3c]
cmp eax, esi
jne 0x448b98
mov ecx, dword [ebx + 0xa80]
lea edx, [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test edx, edx
je 0x448b98
cmp ecx, ebp
ja 0x4488e9
cmp eax, 0xf8
jb 0x448b98
cmp word [ebx + 0x110], bp
je 0x448b98
push 0x3e
pop ecx
mov esi, edx
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x48], 2
jne 0x448b98
push 9
mov edx, str.Copyright
lea ecx, [esp + 0x50]
call fcn.00403e3f
pop ecx
test eax, eax
jne 0x448b98
lea eax, [esp + 0xcc]
push 0x50bc84
push eax
call fcn.0042bf95
pop ecx
pop ecx
test eax, eax
jne 0x448b98
or ebp, 0xffffffff
mov dword [esp + 0x30], 0x4f88f0
push ebx
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
push 2
push 3
push 0x40000000
lea eax, [ebx + 0x110]
push eax
lea ecx, [esp + 0x44]
call fcn.00401140
mov edi, dword [esp + 0x14]
test al, al
je 0x448a76
mov esi, dword [esp + 0x34]
mov ecx, edi
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x28], esi
cmp esi, ebp
je 0x448a6c
xor edx, edx
cmp eax, edx
ja 0x4489b2
cmp edi, edx
jbe 0x448a6c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x4489c6
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [esp + 0x2c], edx
jb 0x4489df
ja 0x4489da
cmp ecx, 0xfffffff
jbe 0x4489df
mov ecx, 0xfffffff
add eax, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x24]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x30]
test eax, eax
je 0x448a2d
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x20]
push 0
pop ecx
adc edx, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
sbb dword [esp + 0x2c], 0
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ecx
ja 0x4489c4
jb 0x448a2d
test ecx, ecx
jne 0x4489c4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jne 0x448a3d
cmp edx, eax
je 0x448a5b
cmp esi, ebp
je 0x448a4e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebp
mov dword [esp + 0x28], esi
lea eax, [ebx + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, ebp
je 0x448a7e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x28], ebp
jmp 0x448a7e
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x448a35
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
xor eax, eax
push eax
call fcn.0042bcc4
mov esi, dword [esp + 0x40]
pop ecx
add esi, 0xf8
mov dword [esp + 0x30], eax
add edi, 0xffffff08
mov dword [esp + 0x20], edx
push 0
adc dword [esp + 0x1c], ebp
pop eax
mov dword [ebx + 0x530], eax
mov eax, 0x288
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edi
jne 0x448ac3
cmp edi, eax
jbe 0x448b82
mov ecx, 0xa2
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x4fa800
mov edx, eax
lea ecx, [esp + 0x144]
call fcn.0045174f
cmp word [esp + 0x144], 0
pop ecx
je 0x448b47
cmp word [esp + 0x1c0], 0
jne 0x448b06
cmp word [esp + 0x2c0], 0
je 0x448b47
mov eax, dword [esp + 0x3c0]
or eax, dword [esp + 0x3c4]
je 0x448b32
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x3c4], eax
jl 0x448b47
jg 0x448b32
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x3c0], eax
jbe 0x448b47
push 1
lea eax, [esp + 0x144]
push eax
lea ecx, [ebx + 0x524]
call fcn.00403024
mov ecx, dword [esp + 0x14]
mov eax, 0x288
mov edx, dword [esp + 0x18]
add ecx, 0xfffffd78
mov esi, dword [esp + 0x1c]
adc edx, ebp
mov dword [esp + 0x14], ecx
add esi, eax
mov dword [esp + 0x18], edx
xor edi, edi
mov dword [esp + 0x1c], esi
cmp edx, edi
ja 0x448ac3
jb 0x448b82
cmp ecx, eax
ja 0x448ac3
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x448b98
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx + 0xa80]
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret