Function at 0x43fe00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], accept
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
lea edi, [esi + 0x10]
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x38], xmm0
call dword [0x45409c]
test eax, eax
jne 0x43fe49
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
jmp 0x43fe4f
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
test ecx, ecx
je 0x43fe74
mov eax, dword [edi]
test eax, eax
je 0x43fe74
push eax
push 0
push ecx
call fcn.0040a910
add esp, 0xc
mov dword [edi], 0
mov eax, dword [edi]
inc eax
cmp eax, dword [edi + 8]
jle 0x43fe89
push 2
mov ecx, edi
call fcn.00445080
test eax, eax
je 0x43fe94
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov byte [ecx + eax], 0x17
inc dword [edi]
mov eax, dword [edi]
add eax, 8
cmp eax, dword [edi + 8]
jle 0x43feab
push 0x10
mov ecx, edi
call fcn.00445080
test eax, eax
je 0x43febd
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 4]
mov dword [ecx + eax], edx
mov dword [ecx + eax + 4], ebx
add dword [edi], 8
test edi, edi
je 0x4401fd
cmp dword [esi + 4], 0xffffffff
je 0x4401fd
cmp dword [edi], 1
jb 0x43ff22
mov ebx, dword [edi + 4]
xor edx, edx
nop dword [eax]
mov eax, dword [esi + 0x130]
mov cl, byte [ebx + edx]
and eax, 0xf
mov al, byte [eax + esi + 0x164]
add al, byte [esi + 0x138]
xor al, cl
mov byte [ebx + edx], al
inc edx
inc dword [esi + 0x130]
movsx eax, cl
mov dword [esi + 0x138], eax
cmp edx, dword [edi]
jb 0x43fee0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 4]
test eax, eax
je 0x4401fd
cmp dword [esi + 4], 0xffffffff
lea ecx, [ebp - 0x30]
mov ebx, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], ecx
je 0x4401fd
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
push 0
push ebx
push ecx
push eax
call dword [0x454334]
cmp eax, 1
jge 0x43ff74
call dword [0x454314]
cmp eax, 0x2733
jne 0x43ff82
push 0x14
call dword [0x454110]
inc edi
cmp edi, 0xa
je 0x43ff82
mov ecx, dword [ebp - 0xc]
jmp 0x43ff7e
mov ecx, dword [ebp - 0xc]
sub ebx, eax
add ecx, eax
mov dword [ebp - 0xc], ecx
test ebx, ebx
jg 0x43ff41
lea edi, [esi + 0x10]
test ebx, ebx
jne 0x4401f6
mov ecx, dword [esi + 0x12c]
mov eax, ecx
and eax, 0xf
inc ecx
mov dl, byte [eax + esi + 0x164]
add dl, byte [esi + 0x134]
xor dl, byte [ebp - 0x30]
mov dword [esi + 0x12c], ecx
movsx eax, dl
mov dword [esi + 0x134], eax
mov eax, ecx
and eax, 0xf
mov byte [ebp - 0x30], dl
inc ecx
mov bl, byte [eax + esi + 0x164]
add bl, dl
mov dword [esi + 0x12c], ecx
xor bl, byte [ebp - 0x2f]
movsx eax, bl
mov dword [esi + 0x134], eax
mov eax, ecx
and eax, 0xf
mov byte [ebp - 0x2f], bl
inc ecx
mov dl, byte [eax + esi + 0x164]
add dl, bl
mov dword [esi + 0x12c], ecx
xor dl, byte [ebp - 0x2e]
movsx eax, dl
mov dword [esi + 0x134], eax
mov eax, ecx
and eax, 0xf
mov byte [ebp - 0x2e], dl
inc ecx
mov bl, byte [eax + esi + 0x164]
add bl, dl
mov dword [esi + 0x12c], ecx
xor bl, byte [ebp - 0x2d]
movsx eax, bl
mov dword [esi + 0x134], eax
mov eax, ecx
and eax, 0xf
mov byte [ebp - 0x2d], bl
inc ecx
mov dl, byte [eax + esi + 0x164]
add dl, bl
mov dword [esi + 0x12c], ecx
xor dl, byte [ebp - 0x2c]
movsx eax, dl
mov dword [esi + 0x134], eax
mov eax, ecx
and eax, 0xf
mov byte [ebp - 0x2c], dl
inc ecx
mov bl, byte [eax + esi + 0x164]
add bl, dl
mov dword [esi + 0x12c], ecx
xor bl, byte [ebp - 0x2b]
lea edx, [ecx + 1]
movsx eax, bl
mov dword [esi + 0x134], eax
mov eax, ecx
mov cl, byte [ebp - 0x29]
and eax, 0xf
mov byte [ebp - 0x2b], bl
mov bh, byte [eax + esi + 0x164]
add bh, bl
mov dword [esi + 0x12c], edx
xor bh, byte [ebp - 0x2a]
movsx eax, bh
mov dword [esi + 0x134], eax
mov eax, edx
and eax, 0xf
mov byte [ebp - 0x2a], bh
mov al, byte [eax + esi + 0x164]
add al, bh
xor cl, al
movsx eax, cl
mov dword [esi + 0x134], eax
lea eax, [edx + 1]
mov byte [ebp - 0x29], cl
mov dword [esi + 0x12c], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x30], eax
jne 0x4401fd
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], eax
jne 0x4401fd
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x40], xmm0
call dword [0x45409c]
test eax, eax
jne 0x440101
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
jmp 0x44010d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov ebx, dword [0x485128]
mov eax, ebx
mov ecx, dword [0x48512c]
or eax, ecx
mov dword [ebp - 0x1c], ecx
jne 0x440166
lea eax, [ebp - 0x48]
push eax
call dword [0x4541a0]
test eax, eax
je 0x440195
mov ecx, dword [ebp - 0x48]
mov eax, ecx
mov edx, dword [ebp - 0x44]
or eax, edx
je 0x440195
push 0
push 0x3e8
push edx
push ecx
call fcn.0042c480
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x1c], eax
mov dword [0x485128], ebx
mov dword [0x48512c], eax
test eax, eax
jl 0x440195
jg 0x440166
test ebx, ebx
je 0x440195
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
sbb eax, dword [ebp - 0x10]
push 0
push 0x3e8
push eax
push ecx
call fcn.0042c400
push dword [ebp - 0x1c]
push ebx
push edx
push eax
call fcn.0042c480
test edx, edx
jl 0x440195
jg 0x4401a3
test eax, eax
jne 0x4401a3
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 8], edx
jl 0x4401bb
jg 0x4401b1
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jb 0x4401be
mov ecx, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
jmp 0x4401c1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0x24], ebx
cmp ebx, 3
jl 0x43fe23
mov eax, ecx
or eax, edx
jne 0x4401de
mov ecx, 1
xor edx, edx
mov dword [0x47b4e8], ecx
mov eax, 1
mov dword [0x47b4ec], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00447870
pop edi
xorps xmm0, xmm0
xor eax, eax
pop esi
movlpd qword [0x47b4e8], xmm0
pop ebx
mov esp, ebp
pop ebp
ret