Function at 0x42b987
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x50f58a
call fcn.0050debc
mov eax, dword [ebp + 0x10]
sub esp, 0x148
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [edi - 0xc]
xor ebx, ebx
xor ecx, ecx
cmp eax, ebx
jle 0x42b9b3
xor byte [ecx + edi], 0x66
inc ecx
cmp ecx, eax
jl 0x42b9aa
lea esi, [ebp - 0x38]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call fcn.00406772
lea esi, [ebp - 0x34]
call fcn.00406772
lea esi, [ebp - 0x30]
call fcn.00406772
lea esi, [ebp - 0x2c]
call fcn.00406772
push str.User_Agent:_Mozilla_4.0
push dword [ebp - 0x3c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0046c2e0
push str.Accept:__
push eax
call fcn.0046c2e0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x64
pop eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
push dword [eax]
lea esi, [ebp - 0xd4]
call fcn.0040660e
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x38]
push eax
call fcn.00406787
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], bl
cmp dword [ebp - 0xd4], eax
je 0x42ba55
push dword [ebp - 0xd4]
call fcn.004f0170
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
push str.Content_Type:_application_json
push dword [ebp - 0x3c]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
call fcn.0046c2e0
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [0x55fb0c]
mov ecx, 0x55fb0c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
push str.X_FC_Pid:1
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.004283f1
pop ecx
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call fcn.0046c2e0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp + 0x10]
push str.X_FC_IndexCode:_s
call fcn.004283f1
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call fcn.0046c2e0
add esp, 0x18
push esi
mov dword [ebp - 0x3c], eax
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.0042bbe2
push str.X_FC_Authorization:
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.00408657
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.0042bff3
push dword [ebp - 0x14]
push dword [ebp - 0x3c]
call fcn.0046c2e0
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], eax
call fcn.0042aabc
mov edi, dword [ebp - 0x2c]
mov esi, eax
cmp esi, ebx
jne 0x42bb77
lea eax, [ebp - 0x150]
push 0xfde9
mov dword [ebp - 0x154], eax
push edi
lea eax, [ebp - 0x154]
push eax
call fcn.00427aff
mov byte [ebp - 4], 5
push dword [ebp - 0x154]
push dword [ebp + 0x14]
call fcn.00405d3d
lea eax, [ebp - 0x150]
cmp dword [ebp - 0x154], eax
je 0x42bb77
push dword [ebp - 0x154]
call fcn.004f0170
pop ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004058b2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004058b2
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004058b2
cmp dword [ebp - 0x3c], ebx
je 0x42bba6
push dword [ebp - 0x3c]
call fcn.0046c340
pop ecx
lea eax, [edi - 0x10]
call fcn.004058b2
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.004058b2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.004058b2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.004058b2
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10