Function at 0x404320
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d7cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x58
mov eax, dword [0x4833a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 1
call fcn.004172c0
push str.User_Agent:_NTH_UPDATER
push 0
mov edi, eax
call fcn.00417550
add esp, 8
mov dword [ebp - 0x30], eax
test edi, edi
jne 0x404445
push 4
mov dword [esi], edi
mov ecx, esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
push 0x47d32c
mov byte [esi], 0
call fcn.00401be0
mov edx, dword [ebx + 0x1c]
cmp edx, 0x10
jb 0x4043df
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4043d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404757
push edx
push ecx
call fcn.0046c07d
add esp, 8
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp edx, 0x10
jb 0x404425
mov ecx, dword [ebx + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40441b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404757
push edx
push ecx
call fcn.0046c07d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046be42
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
mov dword [ebp - 0x2c], 0
cmovae eax, dword [ebx + 8]
push eax
push 0x2712
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
call fcn.0041b420
push 1
push 0x34
push edi
call fcn.0041b420
push str.https
push 0x27fe
push edi
call fcn.0041b420
push 1
push 0x51
push edi
call fcn.0041b420
push dword [ebp - 0x30]
push 0x2727
push edi
call fcn.0041b420
push 1
push 0x40
push edi
call fcn.0041b420
add esp, 0x48
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
cmovae eax, dword [ebx + 0x20]
push eax
push 0x271f
push edi
call fcn.0041b420
push 0x403f40
push 0x4e2b
push edi
call fcn.0041b420
lea eax, [ebp - 0x2c]
push eax
push 0x2711
push edi
call fcn.0041b420
push edi
call fcn.00417320
add esp, 0x28
test eax, eax
je 0x4046ac
push eax
call fcn.00417e30
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00404760
mov edi, eax
cmp byte [edi + 0x18], 0
je 0x404698
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x404670
movaps xmm0, xmmword [0x47ed80]
mov eax, 1
movaps xmm4, xmmword [0x47ece0]
mov esi, 4
movaps xmm3, xmmword [0x47ed70]
mov edx, edi
movaps xmm6, xmmword [0x47ed00]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x40], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0x40]
nop word [eax + eax]
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [esi + edx]
lea edx, [edx + 8]
paddb xmm1, xmm0
movd xmm0, dword [edx - 8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [edx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [ebp - 0x40]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx - 4]
pxor xmm1, xmm0
movd dword [edx - 4], xmm1
cmp ecx, 0x18
jl 0x404570
cmp ecx, 0x19
jge 0x404698
nop
mov eax, 0x94f2095
lea esi, [ecx + edi]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
inc ecx
imul eax, eax, 0x37
sub dl, al
add dl, 0x31
xor byte [esi], dl
cmp ecx, 0x19
jl 0x404670
push dword [ebp - 0x30]
push edi
call fcn.00402020
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movups xmm0, xmmword [ebp - 0x2c]
mov edx, dword [ebx + 0x1c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 0x2c], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
cmp edx, 0x10
jb 0x404713
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404709
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404757
push edx
push ecx
call fcn.0046c07d
add esp, 8
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp edx, 0x10
jb 0x404425
mov ecx, dword [ebx + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40441b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40441b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3