Function at 0x43c480
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xb0
push esi
mov dword [ebp - 0x34], ecx
push edi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov byte [ebp - 0x22], 0xc3
xor ecx, ecx
movq qword [ebp - 0x21], xmm0
mov byte [ebp - 0x19], 0
nop word [eax + eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x22], al
inc ecx
cmp ecx, 1
jb 0x43c4e0
mov dword [0x5585d0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x22]
mov byte [ebp - 0x21], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c512
sub ecx, edx
lea eax, [ebp - 0x22]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402b20
mov dword [ebp - 0x14], 0x20
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
movaps xmm0, xmmword [0x544220]
cmovae eax, dword [ebp - 0x50]
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x2e], 0xafa8bea8
mov word [ebp - 0x2a], 0xb5bb
movups xmmword [ebp - 0x28], xmm0
nop dword [eax + eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x2e], al
inc ecx
cmp ecx, 0xd
jb 0x43c560
mov dword [0x55852c], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x2e]
mov byte [ebp - 0x21], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x74], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c595
sub ecx, edx
lea eax, [ebp - 0x2e]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00402b20
mov dword [ebp - 0x14], 0x24
mov byte [ebp - 4], 4
lea edx, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
cmovae edx, dword [ebp - 0x88]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c5d0
mov edi, closesocket
sub ecx, esi
mov esi, dword [ebx + 0x30]
mov eax, edi
sub eax, esi
cmp eax, ecx
jb 0x43ceee
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push esi
cmovae eax, dword [ebx + 0x20]
push eax
push ecx
push edx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x68]
call fcn.00487550
mov dword [ebp - 0x14], 0x2c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
push dword [ebp - 0x6c]
call fcn.0047f7d0
mov esi, dword [ebp - 0x34]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov eax, 0x3d
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x43c696
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43c68c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cef3
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0x10
jb 0x43c6e3
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43c6d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cef3
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x43c71b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43c711
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cef3
push ecx
push edx
call fcn.004f7c11
add esp, 8
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
lea edx, [ebp - 0x6c]
cmovae ecx, dword [ebx + 8]
call fcn.00417ba0
test eax, eax
jne 0x43cdbc
xorps xmm0, xmm0
mov word [ebp - 0x23], 0xd7c2
movq qword [ebp - 0x21], xmm0
xor ecx, ecx
mov byte [ebp - 0x19], al
nop dword [eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 2
jb 0x43c750
mov dword [0x558548], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x21], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c782
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00402b20
mov dword [ebp - 0x14], 0xbd
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
movaps xmm0, xmmword [0x545980]
cmovae eax, dword [ebp - 0x68]
xor ecx, ecx
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov word [ebp - 0x94], 0xd494
movq qword [ebp - 0x92], xmm0
mov byte [ebp - 0x8a], 0
nop dword [eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0xa4], al
inc ecx
cmp ecx, 0x12
jb 0x43c7e0
mov dword [0x55858c], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x92], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c820
sub ecx, edx
lea eax, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402b20
mov dword [ebp - 0x14], 0x4bd
mov byte [ebp - 4], 7
lea esi, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
cmovae esi, dword [ebp - 0x50]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c854
sub ecx, edx
mov edx, dword [ebx + 0x30]
sub edi, edx
cmp edi, ecx
jb 0x43cef8
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push edx
cmovae eax, dword [ebx + 0x20]
push eax
push ecx
push esi
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0xbc]
call fcn.00487550
mov dword [ebp - 0x14], 0x5bd
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x18]
call fcn.0047f7d0
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, 0x7bd
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x43c924
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43c91a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cefd
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x43c977
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43c96d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cefd
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x43c9af
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43c9a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cefd
push ecx
push edx
call fcn.004f7c11
add esp, 8
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x88]
cmovae edx, dword [ebp - 0x88]
push 0
push eax
push 0
push 1
push 0xffffffffffffffff
call fcn.004dd320
mov esi, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
jne 0x43ccfe
mov dword [ebp - 0x70], 0
mov ecx, esi
call fcn.004b9b80
cmp eax, 0x64
jne 0x43ccfe
mov eax, 1
test esi, esi
je 0x43ca4e
cmp dword [esi + 0x2c], 0
je 0x43ca29
cmp ax, word [esi + 0x30]
jae 0x43ca29
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x43ca21
push eax
call dword [0x555d08]
add esp, 4
mov ecx, dword [esi + 0x2c]
add ecx, 0x28
jmp 0x43ca53
mov eax, dword [esi]
test eax, eax
je 0x43ca4e
mov eax, dword [eax + 0x44]
test eax, eax
je 0x43ca40
push eax
call dword [0x555d08]
add esp, 4
push 0
push 0x19
push dword [esi]
call fcn.004a84e0
add esp, 0xc
mov ecx, 0x53c608
mov dl, 1
call fcn.004b69f0
mov edi, eax
mov dword [ebp - 0x18], edi
test esi, esi
je 0x43cab9
mov edi, dword [esi]
mov ecx, dword [esi + 0x64]
test edi, edi
je 0x43ca99
cmp byte [edi + 0x1e], 0
jne 0x43ca7c
mov edx, edi
cmp ecx, 0xc0a
jne 0x43ca94
push 0
push 7
push edi
call fcn.004a84e0
mov byte [edi + 0x1e], 0
add esp, 0xc
mov edx, dword [esi]
mov ecx, 7
mov eax, dword [edi + 0x18]
jmp 0x43caa0
mov eax, 0xff
mov edx, edi
and eax, ecx
mov dword [esi + 0x64], eax
mov eax, dword [edx + 0x44]
test eax, eax
je 0x43cab6
push eax
call dword [0x555d10]
add esp, 4
mov edi, dword [ebp - 0x18]
cmp dword [ebp - 0x70], 0
jne 0x43cacd
mov ecx, dword [ebp - 0x34]
push edi
call fcn.0047f7d0
jmp 0x43cc55
mov ecx, edi
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cae7
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x50]
call fcn.00402b20
mov byte [ebp - 4], 0xd
xorps xmm0, xmm0
mov word [ebp - 0x23], 0xccc7
xor ecx, ecx
movq qword [ebp - 0x21], xmm0
mov byte [ebp - 0x19], 0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 2
jb 0x43cb12
mov dword [0x558548], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x21], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cb44
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00402b20
or dword [ebp - 0x14], 2
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x54], 0x10
lea edx, [ebp - 0x68]
push eax
cmovae edx, dword [ebp - 0x68]
lea ecx, [ebp - 0xa4]
call fcn.004839c0
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x34]
push eax
call fcn.0047f840
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x10
jb 0x43cbca
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43cbc0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cef3
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp ecx, 0x10
jb 0x43cc1d
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43cc13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cef3
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x43cc55
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43cc4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cef3
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, edi
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cc70
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x50]
call fcn.00402b20
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 0x10
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x43ccb2
movups xmm0, xmmword [ebp - 0x50]
mov ecx, 0xf
mov byte [ebp - 0x50], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
add dword [edx + 4], 0x18
jmp 0x43ccc1
lea ecx, [ebp - 0x50]
push ecx
push eax
mov ecx, edx
call fcn.0048c6d0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xc
cmp ecx, 0x10
jb 0x43ccf6
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ccec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cf02
push ecx
push edx
call fcn.004f7c11
add esp, 8
inc dword [ebp - 0x70]
jmp 0x43c9e9
test esi, esi
je 0x43cd76
mov edi, dword [esi]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x43cd18
push eax
call dword [0x555d08]
add esp, 4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x18], 0
cmp eax, 0xbdf20da3
je 0x43cd30
cmp eax, 0x519c2973
jne 0x43cd3a
mov ecx, esi
call fcn.004b8950
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.004b8b60
test edi, edi
je 0x43cd65
cmp byte [edi + 0x1e], 0
jne 0x43cd54
cmp dword [ebp - 0x18], 0xc0a
jne 0x43cd65
push 0
push 7
push edi
call fcn.004a84e0
add esp, 0xc
mov byte [edi + 0x1e], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x43cd76
push eax
call dword [0x555d10]
add esp, 4
mov ecx, dword [ebp - 0x6c]
call fcn.00418110
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x43cdb9
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43cdaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cf02
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov esi, dword [ebp - 0x34]
xorps xmm0, xmm0
mov word [ebp - 0x23], 0xd7c2
movq qword [ebp - 0x21], xmm0
xor ecx, ecx
mov byte [ebp - 0x19], 0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 2
jb 0x43cdd0
mov dword [0x558548], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x21], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ce02
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00402b20
or dword [ebp - 0x14], 0x40
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.0047f7d0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x43ce67
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ce5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cf07
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x43ce97
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ce8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cf07
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x43ced9
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43cecf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cf07
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402390
call fcn.004fceb0
call fcn.00402390
call fcn.004fceb0
call fcn.004fceb0
call fcn.004fceb0
int3