Function at 0x100077f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x1008705c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x224], 0
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x220], edi
jb 0x1000783e
mov edx, dword [edi]
jmp 0x10007840
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.1000a5a0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 0x10
lea edx, [ecx + 1]
movaps xmm0, xmmword [0x10081f10]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007885
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10006490
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x34], 0x10
mov edx, 0x100
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
mov dword [ebp - 0x22c], eax
xor eax, eax
mov byte [ecx], al
lea ecx, [ecx + 1]
inc eax
cmp ax, dx
jl 0x100078c2
xor dl, dl
mov word [ebp - 0x118], 0
xor ebx, ebx
lea esi, [ebp - 0x218]
mov edi, 0x100
nop word [eax + eax]
mov eax, dword [ebp - 0x22c]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
movzx edx, dl
mov al, byte [eax + edx]
add al, bl
add al, cl
movzx ebx, al
movzx eax, byte [ebp + ebx - 0x218]
mov byte [esi - 1], al
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x228]
mov byte [ebp + ebx - 0x218], cl
sub edi, 1
jne 0x100078f0
mov ebx, dword [ebp - 0x21c]
xor esi, esi
mov edi, dword [ebp - 0x220]
test ebx, ebx
jle 0x100079a4
movzx edx, byte [ebp - 0x118]
movzx ebx, byte [ebp - 0x117]
mov edi, dword [ebp - 0x224]
inc dl
movzx edx, dl
mov cl, byte [ebp + edx - 0x218]
add bl, cl
movzx ebx, bl
movzx eax, byte [ebp + ebx - 0x218]
mov byte [ebp + edx - 0x218], al
mov byte [ebp + ebx - 0x218], cl
movzx eax, cl
add al, byte [ebp + edx - 0x218]
movzx eax, al
movzx eax, byte [ebp + eax - 0x218]
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp - 0x21c]
jl 0x10007950
mov edi, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x48]
call fcn.10005f70
lea eax, [ebx + ebx]
push eax
mov dword [ebp - 0x224], eax
call fcn.100459df
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x18], 0x10
mov esi, eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], esi
cmovae ecx, dword [ebp - 0x2c]
push eax
push 0
call fcn.10009940
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.100459df
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push edx
mov edx, dword [edi + 0x10]
push eax
call fcn.10009940
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x2c]
mov edx, ebx
cmovae ecx, dword [ebp - 0x2c]
push esi
call fcn.10009940
push 0xb0
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.10047830
add esp, 0x18
mov dword [ebp - 0xf8], 0x1007fac0
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe8], 0x1007fab8
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x90], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push eax
call fcn.100033c0
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xe0]
call fcn.10004240
mov ebx, dword [ebp - 0x230]
mov dword [ebp - 0xe0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
cmp dword [ebx + 0x14], 0x10
jb 0x10007add
mov edx, dword [ebx]
jmp 0x10007adf
mov edx, ebx
lea ecx, [ebp - 0xe8]
call fcn.10007c50
mov esi, dword [ebp - 0x234]
mov ecx, eax
mov edx, esi
call fcn.10007e90
mov edx, dword [ebp - 0x220]
mov ecx, eax
call fcn.10007c50
lea ecx, [ebp - 0x110]
call fcn.1000a7e0
push 1
push 0x100812e0
mov ecx, eax
call fcn.10005e40
push eax
lea ecx, [ebp - 0x48]
call fcn.10005cc0
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
call fcn.1000ada0
lea ecx, [ebp - 0x48]
call fcn.10005f70
lea ecx, [ebp - 0x110]
call fcn.10005f70
mov ecx, str.Request:
call fcn.1000ada0
cmp dword [ebx + 0x14], 0x10
jb 0x10007b5d
mov ebx, dword [ebx]
mov ecx, ebx
call fcn.1000ada0
cmp dword [esi + 0x14], 0x10
jb 0x10007b6c
mov esi, dword [esi]
mov ecx, esi
call fcn.1000ada0
cmp dword [edi + 0x14], 0x10
jb 0x10007b7b
mov edi, dword [edi]
mov ecx, edi
call fcn.1000ada0
mov ecx, 0x10081308
call fcn.1000ada0
push dword [ebp - 0x220]
call fcn.100459da
add esp, 4
push dword [ebp - 0x228]
call fcn.100459da
mov esi, dword [ebp - 0x238]
lea ecx, [ebp - 0xe0]
add esp, 4
push esi
call fcn.100032f0
lea ecx, [ebp - 0x90]
call fcn.10001c00
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], vtable.std::ios_base.0
push eax
call fcn.10065dac
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.10005f70
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045320
mov esp, ebp
pop ebp
ret 0x10