Function at 0x440310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556276
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x2c], ecx
cmp edi, ecx
jne 0x440383
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x44040a
mov eax, ecx
xor edx, edx
sub eax, edi
mov dword [ebp - 0x18], edx
mov esi, 0xf
mov dword [ebp - 0x14], esi
cmp eax, 0x7fffffff
ja 0x4407e1
cmp eax, 0x10
jb 0x4403d7
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4403b8
mov esi, closesocket
jmp 0x4403c2
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00410930
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], esi
mov al, byte [edi]
lea ecx, [ebp - 0x28]
cmp esi, 0x10
cmovae ecx, dword [ebp - 0x28]
inc edi
mov byte [edx + ecx], al
mov edx, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x18], edx
cmp edi, dword [ebp - 0x2c]
je 0x4403f8
mov esi, dword [ebp - 0x14]
jmp 0x4403d7
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x28]
mov byte [edx + eax], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push dword [ebp - 0x3c]
call fcn.00479470
add esp, 8
mov ecx, dword [esi + 4]
mov dword [ebp - 0x78], 1
call fcn.00479c50
mov eax, dword [esi + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 0x10
mov edi, dword [eax + 0x10]
jb 0x44044a
mov ecx, dword [eax]
add edi, ecx
mov dword [ebp - 0x2c], ecx
jmp 0x440451
add edi, eax
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
sub edi, ecx
je 0x44048c
push edi
lea ecx, [ebp - 0x38]
call fcn.0040def0
mov esi, dword [ebp - 0x38]
push edi
push dword [ebp - 0x2c]
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.00479c80
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4404d6
mov edx, dword [ebp - 0x30]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4404cc
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4404cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x74]
push eax
call fcn.00479b40
mov eax, dword [esi + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
mov edi, dword [eax + 0x10]
jb 0x440501
mov ecx, dword [eax]
add edi, ecx
mov dword [ebp - 0x2c], ecx
jmp 0x440508
add edi, eax
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
sub edi, ecx
je 0x440543
push edi
lea ecx, [ebp - 0x38]
call fcn.0040def0
mov esi, dword [ebp - 0x38]
push edi
push dword [ebp - 0x2c]
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x38]
push 0x14
push 0x100
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00479ac0
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 6
test edx, edx
je 0x4405b1
mov ecx, dword [ebp - 0x30]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x440592
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x440592
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [esi + 4]
call fcn.00479c50
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x68]
push eax
call fcn.00479c80
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x14000000
lea edi, [ebp - 0x28]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
sub edi, eax
je 0x44060e
push edi
lea ecx, [ebp - 0x4c]
call fcn.0040def0
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0xc
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 7
call fcn.00479b40
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
sub eax, ecx
mov byte [ebp - 4], 8
push eax
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
call fcn.00407bd0
push dword [ebp - 0x3c]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x4c]
push eax
call fcn.004793f0
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [eax + 4]
sub esi, dword [eax]
lea edi, [esi - 0x10]
test edi, edi
je 0x44066b
mov ecx, dword [eax]
sub ecx, edx
inc edx
mov al, byte [ecx + esi - 0x11]
xor byte [ecx + esi - 1], al
mov eax, dword [ebp - 0x3c]
cmp edx, edi
jb 0x440657
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x4406b4
mov edx, dword [ebp - 0x54]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x440695
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4407b1
push edx
push ecx
call fcn.0054f9fc
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4406fd
mov edx, dword [ebp - 0x44]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4406de
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4407b1
push edx
push ecx
call fcn.0054f9fc
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x440746
mov edx, dword [ebp - 0x60]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x440727
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4407b1
push edx
push ecx
call fcn.0054f9fc
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x44078b
mov edx, dword [ebp - 0x6c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44076c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4407b1
push edx
push ecx
call fcn.0054f9fc
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4407c1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4407b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4407b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov eax, dword [ebp - 0x3c]
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.0054f742
mov esp, ebp
pop ebp
ret 0x10
call fcn.00410900
int3