Function at 0x42b707
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x50dec3
call fcn.0050c738
mov eax, dword [ebp + 0x10]
sub esp, 0x148
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [edi - 0xc]
xor edx, edx
xor ecx, ecx
cmp eax, edx
jle 0x42b733
xor byte [ecx + edi], 0x66
inc ecx
cmp ecx, eax
jl 0x42b72a
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x38]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
call fcn.004068da
lea esi, [ebp - 0x34]
call fcn.004068da
lea esi, [ebp - 0x30]
call fcn.004068da
lea esi, [ebp - 0x2c]
call fcn.004068da
xor esi, esi
push str.User_Agent:_Mozilla_4.0
push dword [ebp - 0x3c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.0046afa0
push str.Accept:__
push eax
call fcn.0046afa0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x64
pop eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
push dword [eax]
lea esi, [ebp - 0xd4]
call fcn.00406776
mov byte [ebp - 4], bl
push dword [eax]
lea eax, [ebp - 0x38]
push eax
call fcn.004068ef
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0
cmp dword [ebp - 0xd4], eax
je 0x42b7d6
push dword [ebp - 0xd4]
call fcn.004eedf0
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
and dword [ebp - 0x40], 0
push str.Content_Type:_application_json
push dword [ebp - 0x3c]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
call fcn.0046afa0
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [0x55daac]
mov ecx, 0x55daac
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
push ebx
push str.X_FC_Pid:_d
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.004282b0
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call fcn.0046afa0
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.004282b0
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp - 0x3c]
call fcn.0046afa0
add esp, 0x20
push esi
mov dword [ebp - 0x3c], eax
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.0042b95f
push str.X_FC_Authorization:
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0040866c
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.0042bcfb
push dword [ebp - 0x14]
push dword [ebp - 0x3c]
call fcn.0046afa0
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], eax
call fcn.0042a839
mov edi, dword [ebp - 0x2c]
mov esi, eax
test esi, esi
jne 0x42b8f6
lea eax, [ebp - 0x150]
push 0xfde9
mov dword [ebp - 0x154], eax
push edi
lea eax, [ebp - 0x154]
push eax
call fcn.004279be
mov byte [ebp - 4], 5
push dword [ebp - 0x154]
push dword [ebp + 0x14]
call fcn.00405d5b
lea eax, [ebp - 0x150]
cmp dword [ebp - 0x154], eax
je 0x42b8f6
push dword [ebp - 0x154]
call fcn.004eedf0
pop ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004058d0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004058d0
lea eax, [ebx - 0x10]
call fcn.004058d0
cmp dword [ebp - 0x3c], 0
je 0x42b923
push dword [ebp - 0x3c]
call fcn.0046b000
pop ecx
lea eax, [edi - 0x10]
call fcn.004058d0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.004058d0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.004058d0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.004058d0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10