Function at 0x40ec20
Capabilities:
Create process on windows
Delete file
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x49fbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c8a00]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x30], eax
call fcn.0044d2b5
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40ec81
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 - 0x1c], eax
mov dword [ebp - 4], esi
call fcn.0044d2b5
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40ecad
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
push esi
push esi
push esi
push esi
push 1
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0044e68f
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
call fcn.0044d2b5
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40ecf0
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 - 0x28], eax
mov byte [ebp - 4], 4
call fcn.0044d2b5
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40ed1d
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 - 0x24], eax
push 0x2a
push str.http:__box64.yxdown.com_qidongqi_start.ini
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402540
mov ebx, dword [ebp - 0x28]
push ecx
lea eax, [ebx - 0x10]
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00402640
lea ecx, [ebp - 0x14]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0041eec0
add esp, 8
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00402260
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ed95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
je 0x40edac
push ebx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x400002
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.0044f07d
mov esi, eax
mov dword [ebp - 0x18], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push 0x400
lea eax, [ebp]
push eax
mov ecx, esi
call edx
test eax, eax
jg 0x40edc5
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], 0
call fcn.0044ec66
push ecx
mov ecx, dword [ebx - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add ebx, 0xfffffff0
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x20], ebx
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x40ee2f
cmp eax, dword [ebx]
jne 0x40ee2f
mov esi, ebx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40ee6b
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x40ee48
call fcn.00402780
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0046c7d9
add esp, 0x10
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
add esi, 0x10
push edx
mov dword [ecx], esi
call fcn.0041eec0
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x24]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x40eede
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x40eece
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40eece
push eax
call fcn.00402640
mov dword [ebp - 0x14], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40eec3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x24], ebx
jmp 0x40eede
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00402540
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x40ef28
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.004025f0
mov esi, dword [ebp - 0x1c]
push ebx
push 0x104
push esi
push 0x4ab640
push 0x4ac440
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40f3ca
cmp eax, dword [esi - 8]
jg 0x40f3ca
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x14
or eax, ecx
jge 0x40ef8a
push 0x14
lea ecx, [ebp - 0x2c]
call fcn.004025f0
mov edi, dword [ebp - 0x2c]
push ebx
push 0x14
push edi
push 0x4ab640
push 0x4acd28
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40f3ca
cmp eax, dword [edi - 8]
jg 0x40f3ca
mov ebx, dword [ebp - 0x30]
mov dword [edi - 0xc], eax
xor edx, edx
add ebx, 0x30c
mov word [edi + eax*2], dx
mov esi, dword [ebx]
lea eax, [edi - 0x10]
sub esi, 0x10
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x40f024
cmp dword [esi + 0xc], edx
jl 0x40f018
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x40f018
push eax
call fcn.00402640
mov edi, eax
add esp, 4
lea eax, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x40f011
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0x10
mov dword [ebx], edi
jmp 0x40f024
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, ebx
call fcn.00402540
mov esi, dword [ebp - 0x30]
mov eax, dword [esi + 0x308]
add esi, 0x308
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x40f056
push 0x104
mov ecx, esi
call fcn.004025f0
mov edi, dword [ebp - 0x24]
mov eax, dword [esi]
push edi
push 0x104
push eax
push 0x4ab640
push 0x4acd30
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40f092
push ecx
push eax
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40f3ca
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x40f3ca
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f0c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f0e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 2
mov esi, dword [ecx + 0x304]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [ebp - 0x20], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40f125
cmp eax, dword [esi]
jne 0x40f125
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40f161
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x40f13e
call fcn.00402780
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0046c7d9
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
call fcn.0042fa70
add esp, 4
test eax, eax
je 0x40f376
call fcn.0044d2b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f190
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
push ecx
mov bl, 9
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4abe8c
call fcn.00401c60
push ecx
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
mov eax, dword [ecx + 0x304]
sub eax, 0x10
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00402640
add eax, 0x10
lea edx, [ebp - 0x20]
add esp, 4
mov dword [esi], eax
push edx
mov byte [ebp - 4], bl
call fcn.0041e540
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00402260
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f216
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x40f29a
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f23f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0044edbb
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f26b
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40f436
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x2f4]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
mov dword [ebx + 0x318], 1
call fcn.00402640
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00410870
push ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], esp
mov edi, esp
push ecx
mov esi, eax
call fcn.00402640
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00410870
cmp eax, esi
jle 0x40f353
mov edx, dword [ebp - 0x2c]
cmp dword [edx - 0xc], 0
je 0x40f353
call fcn.0044d2b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f30e
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 - 0x28], eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00402260
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x304]
push 5
push 0x4ab640
push edx
push eax
push 0x4ab7c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.0046d1f8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f376
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0044edbb
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f3a2
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40f436
push 0x80070057
call fcn.004010b0
mov ecx, dword [ebp - 0x4c]
call fcn.0044da44
lea ecx, [ebp - 0x48]
call fcn.0044ec66
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 2
mov eax, 0x40f41a
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0046c016
add ebp, 0x804
mov esp, ebp
pop ebp
ret 4