Function at 0x40c020
Capabilities:
Connect to http server
Create http request
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414f39
mov eax, dword fs:[0]
push eax
sub esp, 0xe0c
mov eax, dword [0x41e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 1
push str.WindowsApplication
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [0x41f288], ecx
test ecx, ecx
je 0x40c092
movzx eax, word [0x41f23c]
push 0
push 0
push 3
push 0
push 0
push eax
push 0x41ef20
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [0x41f28c], eax
jmp 0x40c097
mov eax, dword [0x41f28c]
test eax, eax
je 0x40d4e7
push 0
push 0x800000
push 0x41f028
push 0
push 0
push 0x41e9f8
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0x104
mov dword [ebp - 0xe0c], eax
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x128]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x128]
push 0x5c
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
add esp, 4
mov edx, 0x104
push str.uninstall.bss
push ecx
lea ecx, [eax + 1]
call fcn.00409060
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x128]
push eax
push 0x40
push 0x41f23e
push str.0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
push 0x41a644
push str.General
call ebx
lea eax, [ebp - 0x128]
push eax
push 0x104
push 0x41f034
push str.0.0.0
push str.version
push str.General
call ebx
lea eax, [ebp - 0x128]
push eax
push 0x104
push 0x41f138
push str.000000
push str.channel
push str.General
call ebx
push 0x104
lea eax, [ebp - 0x230]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc80]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xb78]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa70]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x968]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd90], 0
lea ecx, [ebp - 0xda0]
mov dword [ebp - 0xd8c], 0xf
mov byte [ebp - 0xda0], 0
push 9
push str._softs_:_
call fcn.00410d70
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov bl, 1
push eax
push 0
push str.softnum
push str.General
call edi
mov ecx, eax
xor eax, eax
mov dword [ebp - 0xdd4], ecx
test ecx, ecx
jle 0x40c92b
nop
inc eax
mov dword [ebp - 0xdfc], 0
push eax
push str.Soft_d
mov dword [ebp - 0xdd8], eax
xor esi, esi
lea eax, [ebp - 0x230]
mov dword [ebp - 0xdf8], esi
push 0x104
push eax
call fcn.00408fe0
add esp, 0x10
lea eax, [ebp - 0x128]
push eax
push esi
push 0x41a6d0
lea eax, [ebp - 0x230]
push eax
call edi
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0xc80]
push eax
push 0x41a0ec
push str.name
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0xb78]
push eax
push 0x41a0ec
push str.downUrl
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0xa70]
push eax
push 0x41a0ec
push 0x41a7ec
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0x968]
push eax
push 0x41a0ec
push str.silenceParam
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x128]
push eax
push esi
push str.isSelect
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xe10], eax
test eax, eax
jle 0x40c422
push 0x104
lea eax, [ebp - 0x338]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov al, byte [0x41a894]
add esp, 8
movq xmm0, qword [str.software]
mov edx, 0x104
mov byte [ebp - 0x14], al
lea eax, [ebp - 0xc80]
movq qword [ebp - 0x1c], xmm0
push eax
push ecx
lea ecx, [ebp - 0x338]
call fcn.00409060
push ecx
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0xb78]
call fcn.0040f2e0
add esp, 8
test eax, eax
je 0x40c422
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0xa70]
lea ecx, [ebp - 0x338]
call fcn.0040f720
test al, al
je 0x40c422
push 1
push esi
lea eax, [ebp - 0x968]
mov dword [ebp - 0xdfc], 1
push eax
lea eax, [ebp - 0x338]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov eax, 1
cmova esi, eax
mov dword [ebp - 0xdf8], esi
test bl, bl
jne 0x40c485
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 1
push 0x41a6ec
cmp eax, 1
jb 0x40c46b
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], bl
jmp 0x40c485
mov byte [ebp - 0xe00], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xe00]
push 1
call fcn.00411130
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 6
push 0x41a8a0
cmp eax, 6
jb 0x40c4cb
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 6]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x40c4e5
mov byte [ebp - 0xe04], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xe04]
push 6
call fcn.00411130
mov edx, edi
lea ecx, [ebp - 0xdb8]
call fcn.004091c0
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40c500
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0xd8c]
mov eax, esi
mov edx, dword [ebp - 0xd90]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40c544
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0xd90], eax
lea eax, [ebp - 0xda0]
cmovae eax, dword [ebp - 0xda0]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x40c55d
mov byte [ebp - 0xe08], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xe08]
push edi
call fcn.00411130
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xda4]
cmp edx, 0x10
jb 0x40c59b
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c591
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d0cb
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 0xc
push str.__isSelect_:
cmp eax, 0xc
jb 0x40c5e1
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 0xc]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x40c5fb
mov byte [ebp - 0xe14], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xe14]
push 0xc
call fcn.00411130
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
cmp dword [ebp - 0xe10], 0
push 1
jle 0x40c62f
push 0x41a818
cmp eax, 1
jae 0x40c639
mov byte [ebp - 0xdf4], 0
push dword [ebp - 0xdf4]
jmp 0x40c670
push 0x41a620
cmp eax, 1
jb 0x40c663
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x40c67d
mov byte [ebp - 0xdf0], 0
push dword [ebp - 0xdf0]
push 1
lea ecx, [ebp - 0xda0]
call fcn.00411130
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 0xa
push str.__isDown_:
cmp eax, 0xa
jb 0x40c6c3
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x40c6dd
mov byte [ebp - 0xdec], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdec]
push 0xa
call fcn.00411130
mov edx, dword [ebp - 0xdfc]
lea ecx, [ebp - 0xdb8]
call fcn.004091c0
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40c6fc
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0xd8c]
mov eax, esi
mov edx, dword [ebp - 0xd90]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40c740
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0xd90], eax
lea eax, [ebp - 0xda0]
cmovae eax, dword [ebp - 0xda0]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x40c759
mov byte [ebp - 0xde8], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xde8]
push edi
call fcn.00411130
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xda4]
cmp edx, 0x10
jb 0x40c797
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c78d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d0cb
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 0xd
push str.__isInstall_:
cmp eax, 0xd
jb 0x40c7dd
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 0xd]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xd], 0
jmp 0x40c7f7
mov byte [ebp - 0xde4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xde4]
push 0xd
call fcn.00411130
mov edx, dword [ebp - 0xdf8]
lea ecx, [ebp - 0xdb8]
call fcn.004091c0
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40c816
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0xd8c]
mov eax, esi
mov edx, dword [ebp - 0xd90]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40c85a
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0xd90], eax
lea eax, [ebp - 0xda0]
cmovae eax, dword [ebp - 0xda0]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x40c873
mov byte [ebp - 0xde0], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xde0]
push edi
call fcn.00411130
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xda4]
cmp edx, 0x10
jb 0x40c8b1
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c8a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d0cb
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 1
push 0x41a66c
cmp eax, 1
jb 0x40c8f7
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x40c911
mov byte [ebp - 0xddc], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xddc]
push 1
call fcn.00411130
mov eax, dword [ebp - 0xdd8]
xor bl, bl
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, dword [ebp - 0xdd4]
jl 0x40c250
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 1
push 0x41a6f0
cmp eax, 1
jb 0x40c971
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x40c98b
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push 1
call fcn.00411130
push 0x104
lea eax, [ebp - 0x860]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0xd8c]
add esp, 0xc
mov ecx, dword [ebp - 0xd90]
mov eax, edx
sub eax, ecx
push 0xa
push str.__links_:_
cmp eax, 0xa
jb 0x40c9e7
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x40ca01
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push 0xa
call fcn.00411130
lea eax, [ebp - 0x128]
mov bl, 1
push eax
push 0
push str.linknum
push str.General
call edi
mov ecx, eax
xor eax, eax
mov dword [ebp - 0xdf4], ecx
test ecx, ecx
jle 0x40cdce
nop word [eax + eax]
inc eax
push eax
push str.Link_d
mov dword [ebp - 0xdf0], eax
lea eax, [ebp - 0x230]
push 0x104
push eax
call fcn.00408fe0
add esp, 0x10
lea eax, [ebp - 0x128]
push eax
push 0
push 0x41a6d0
lea eax, [ebp - 0x230]
push eax
call edi
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0x860]
push eax
push 0x41a0ec
push 0x41a838
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push 0
push 0
lea eax, [ebp - 0x860]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
mov eax, 1
cmova ecx, eax
mov dword [ebp - 0xde4], ecx
test bl, bl
jne 0x40cb24
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 1
push 0x41a6ec
cmp eax, 1
jb 0x40cb0a
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], bl
jmp 0x40cb24
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push 1
call fcn.00411130
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 6
push 0x41a8a0
cmp eax, 6
jb 0x40cb6a
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 6]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x40cb84
mov byte [ebp - 0xdd8], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd8]
push 6
call fcn.00411130
mov edx, edi
lea ecx, [ebp - 0xdb8]
call fcn.004091c0
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40cb9f
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0xd8c]
mov eax, esi
mov edx, dword [ebp - 0xd90]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40cbe3
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0xd90], eax
lea eax, [ebp - 0xda0]
cmovae eax, dword [ebp - 0xda0]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x40cbfc
mov byte [ebp - 0xddc], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xddc]
push edi
call fcn.00411130
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xda4]
cmp edx, 0x10
jb 0x40cc3a
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d0cb
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 0xa
push str.__isOpen_:
cmp eax, 0xa
jb 0x40cc80
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x40cc9a
mov byte [ebp - 0xde0], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xde0]
push 0xa
call fcn.00411130
mov edx, dword [ebp - 0xde4]
lea ecx, [ebp - 0xdb8]
call fcn.004091c0
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40ccb9
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0xd8c]
mov eax, esi
mov edx, dword [ebp - 0xd90]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40ccfd
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0xd90], eax
lea eax, [ebp - 0xda0]
cmovae eax, dword [ebp - 0xda0]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x40cd16
mov byte [ebp - 0xde8], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xde8]
push edi
call fcn.00411130
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xda4]
cmp edx, 0x10
jb 0x40cd54
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cd4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d0cb
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 1
push 0x41a66c
cmp eax, 1
jb 0x40cd9a
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x40cdb4
mov byte [ebp - 0xdec], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdec]
push 1
call fcn.00411130
mov eax, dword [ebp - 0xdf0]
xor bl, bl
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, dword [ebp - 0xdf4]
jl 0x40ca30
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 1
push 0x41a6f0
cmp eax, 1
jb 0x40ce14
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x40ce2e
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push 1
call fcn.00411130
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 8
push str.__dll_:
cmp eax, 8
jb 0x40ce74
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 8]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x40ce8e
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push 8
call fcn.00411130
lea eax, [ebp - 0x128]
push eax
push 0
push str.dllnum
push str.General
call edi
test eax, eax
jle 0x40d30b
push 0x104
lea eax, [ebp - 0x650]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x758]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x440]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x548]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
push 0x41a6d0
push 0x41a82c
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0x650]
push eax
push 0x41a0ec
push str.downUrl
push 0x41a82c
call ebx
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0x758]
push eax
push 0x41a0ec
push str.jsonUrl
push 0x41a82c
call ebx
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0x440]
push eax
push 0x41a0ec
push str.downDir
push 0x41a82c
call ebx
lea eax, [ebp - 0x128]
push eax
push 0x104
lea eax, [ebp - 0x548]
push eax
push 0x41a0ec
push 0x41a7ec
push 0x41a82c
call ebx
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x338]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xd88]
push 0x104
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp - 0xd88]
push eax
lea edx, [ebp - 0x440]
lea ecx, [ebp - 0x758]
call fcn.0040f2e0
add esp, 8
test eax, eax
je 0x40d0db
push ecx
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x440]
lea ecx, [ebp - 0x650]
call fcn.0040f2e0
add esp, 8
test eax, eax
je 0x40d0db
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x548]
lea ecx, [ebp - 0x338]
call fcn.0040f720
test al, al
je 0x40d0db
lea ecx, [ebp - 0x338]
mov dword [ebp - 0xda8], ebx
mov dword [ebp - 0xda4], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xdb8], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d066
sub ecx, edx
lea eax, [ebp - 0x338]
push ecx
push eax
lea ecx, [ebp - 0xdb8]
call fcn.00410d70
lea ecx, [ebp - 0xdb8]
mov byte [ebp - 4], 6
call fcn.00412ef0
test al, al
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xda4]
mov eax, 1
cmovne ebx, eax
cmp edx, 0x10
jb 0x40d0db
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d0d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d0d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 5
push str._id_:
cmp eax, 5
jb 0x40d121
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 5]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 5], 0
jmp 0x40d13b
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push 5
call fcn.00411130
mov edx, edi
lea ecx, [ebp - 0xdb8]
call fcn.004091c0
mov byte [ebp - 4], 7
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40d156
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0xd8c]
mov eax, esi
mov edx, dword [ebp - 0xd90]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40d19a
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0xd90], eax
lea eax, [ebp - 0xda0]
cmovae eax, dword [ebp - 0xda0]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40d1b3
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push edi
call fcn.00411130
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xda4]
cmp edx, 0x10
jb 0x40d1f3
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d1e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d1e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 0xd
push str.__isExecute_:
cmp eax, 0xd
jb 0x40d239
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 0xd]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xd], 0
jmp 0x40d253
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push 0xd
call fcn.00411130
mov edx, ebx
lea ecx, [ebp - 0xdb8]
call fcn.004091c0
mov byte [ebp - 4], 8
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40d26e
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0xd8c]
mov eax, esi
mov edx, dword [ebp - 0xd90]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40d2b2
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0xd90], eax
lea eax, [ebp - 0xda0]
cmovae eax, dword [ebp - 0xda0]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40d2cb
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push edi
call fcn.00411130
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xda4]
cmp edx, 0x10
jb 0x40d30b
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d301
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d301
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
mov eax, edx
mov ecx, dword [ebp - 0xd90]
sub eax, ecx
push 1
push 0x41a66c
cmp eax, 1
jb 0x40d351
cmp edx, 0x10
lea esi, [ebp - 0xda0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xda0]
add esi, ecx
mov dword [ebp - 0xd90], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x40d36b
mov byte [ebp - 0xdd4], 0
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xdd4]
push 1
call fcn.00411130
mov dword [ebp - 0xda8], 0
mov dword [ebp - 0xda4], 0xf
mov byte [ebp - 0xdb8], 0
lea eax, [ebp - 0xdb8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xda0]
push eax
push ecx
call fcn.0040e470
mov dword [ebp - 0xdc0], 0
mov dword [ebp - 0xdbc], 0xf
mov byte [ebp - 0xdd0], 0
mov ebx, dword [ebp - 0xe0c]
lea eax, [ebp - 0xdd0]
push eax
lea edx, [ebp - 0xdb8]
mov byte [ebp - 4], 0xa
mov ecx, ebx
call fcn.0040d510
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
test ebx, ebx
je 0x40d3e7
push ebx
call esi
mov eax, dword [0x41f28c]
test eax, eax
je 0x40d3fd
push eax
call esi
mov dword [0x41f28c], 0
mov eax, dword [0x41f288]
test eax, eax
je 0x40d413
push eax
call esi
mov dword [0x41f288], 0
mov edx, dword [ebp - 0xdbc]
cmp edx, 0x10
jb 0x40d44f
mov ecx, dword [ebp - 0xdd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d445
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d445
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xda4]
mov dword [ebp - 0xdc0], 0
mov dword [ebp - 0xdbc], 0xf
mov byte [ebp - 0xdd0], 0
cmp edx, 0x10
jb 0x40d4a6
mov ecx, dword [ebp - 0xdb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d49c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d49c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0xd8c]
cmp edx, 0x10
jb 0x40d4e2
mov ecx, dword [ebp - 0xda0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d4d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d4d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413d41
mov esp, ebp
pop ebp
ret