Function at 0x47a2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
mov edi, edx
mov dword [ebp - 0x24], eax
mov ebx, ecx
mov dword [ebp - 0x1c], edi
push 0x4ee7f6
mov ecx, 0x587b5c
call fcn.0045bdb0
call fcn.00488150
mov esi, eax
test esi, esi
je 0x47a832
push ebx
push 0x2712
push esi
call fcn.0048ba30
push str.Content_Type:_application_json
push 0
call fcn.004883e0
mov ebx, eax
push ebx
push 0x2727
push esi
call fcn.0048ba30
push 1
push 0x2f
push esi
call fcn.0048ba30
push edi
push 0x271f
push esi
call fcn.0048ba30
push 0x479440
push 0x4e2b
push esi
call fcn.0048ba30
add esp, 0x44
push 0x587b5c
push 0x2711
push esi
call fcn.0048ba30
push esi
call fcn.004881b0
add esp, 0x10
test eax, eax
je 0x47a42c
mov cl, 0x10
mov byte [ebp - 0x18], 0x62
mov dl, cl
mov byte [ebp - 9], 0x5b
xor cl, byte [ebp - 0x18]
mov al, 0x27
xor al, byte [ebp - 0x18]
mov ch, 0x41
mov byte [ebp - 0x17], al
mov dh, 0x53
mov al, byte [ebp - 9]
mov bl, 0xd
mov byte [ebp - 0x16], cl
mov ah, 0x42
mov cl, byte [ebp - 0x18]
mov bh, 0x56
xor al, cl
mov byte [ebp - 0xa], 0x4c
mov byte [ebp - 0xf], al
xor dl, cl
mov al, byte [ebp - 0xa]
xor dh, cl
xor bl, cl
mov byte [ebp - 0x15], dl
xor ah, cl
mov byte [ebp - 0x11], dh
xor ch, cl
mov byte [ebp - 0xd], 0
xor bh, cl
mov byte [ebp - 0x12], ch
xor al, cl
mov byte [ebp - 0x14], bl
sub esp, 0x18
mov byte [ebp - 0x13], ah
mov edx, esp
mov byte [ebp - 0x10], bh
xorps xmm0, xmm0
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0x17]
mov byte [ebp - 0xd], 0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47a420
jmp 0x47a8b9
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x200002
push esi
call fcn.00488130
mov eax, dword [ebp - 8]
add esp, 0xc
cmp byte [0x588b24], 0
sete byte [0x588b24]
cmp eax, 0xc8
jne 0x47a70b
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
push 0xfffffffffffffff5
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
call edi
cmp byte [0x588847], 0
je 0x47a49f
push 7
push 0xfffffffffffffff5
call esi
push eax
call edi
sub esp, 0x18
mov ecx, esp
push 0x587acc
call fcn.0045bc70
call fcn.0045db50
add esp, 0x18
cmp dword [0x587b70], 0xf
mov eax, 0x587b5c
mov edx, dword [0x587b5c]
mov ebx, dword [0x587b6c]
jbe 0x47a4c3
mov esi, edx
lea edi, [edx + ebx]
lea eax, [edx + ebx]
jmp 0x47a4d1
mov edi, 0x587b5c
add eax, ebx
add edi, ebx
mov esi, 0x587b5c
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], eax
cmp esi, edi
je 0x47a505
movsx eax, byte [esi]
push eax
call ecx
add esp, 4
test eax, eax
jne 0x47a4f9
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
inc esi
cmp esi, edi
jne 0x47a4e1
mov ebx, dword [0x587b6c]
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
mov eax, dword [0x587b5c]
cmp esi, edi
je 0x47a53f
lea edi, [esi + 1]
cmp edi, dword [ebp - 0x20]
je 0x47a53f
movsx eax, byte [edi]
push eax
call ecx
add esp, 4
test eax, eax
jne 0x47a528
mov al, byte [edi]
mov byte [esi], al
inc esi
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
inc edi
cmp edi, dword [ebp - 0x20]
jne 0x47a516
mov ebx, dword [0x587b6c]
mov eax, dword [0x587b5c]
mov edx, dword [ebp - 0x28]
sub edx, esi
cmp dword [0x587b70], 0xf
jbe 0x47a55f
sub esi, eax
mov eax, ebx
sub eax, esi
cmp eax, edx
cmovb edx, eax
mov eax, dword [0x587b5c]
jmp 0x47a573
sub esi, 0x587b5c
mov eax, ebx
sub eax, esi
cmp eax, edx
cmovb edx, eax
mov eax, 0x587b5c
lea ecx, [eax + esi]
sub ebx, edx
mov eax, ebx
sub eax, esi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov dword [0x587b6c], ebx
cmp ecx, 0x587b5c
je 0x47a5b6
cmp dword [0x587b70], 0xf
mov eax, 0x587b5c
push ebx
cmova eax, dword [0x587b5c]
push eax
call fcn.0045bdb0
mov ebx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.VCRUNTIME140.dll_strstr]
push str.fhvi
push ebx
call esi
add esp, 8
test eax, eax
je 0x47a5fa
mov ecx, 0x587a54
cmp ecx, 0x587b5c
je 0x47a5fa
cmp dword [0x587b70], 0xf
mov eax, 0x587b5c
push dword [0x587b6c]
cmova eax, dword [0x587b5c]
push eax
call fcn.0045bdb0
push str.xszev
push ebx
call esi
add esp, 8
test eax, eax
je 0x47a635
mov ecx, 0x587c1c
cmp ecx, 0x587b5c
je 0x47a635
cmp dword [0x587b70], 0xf
mov eax, 0x587b5c
push dword [0x587b6c]
cmova eax, dword [0x587b5c]
push eax
call fcn.0045bdb0
push 0x4fd020
push ebx
call esi
add esp, 8
test eax, eax
je 0x47a670
mov ecx, 0x587ba4
cmp ecx, 0x587b5c
je 0x47a670
cmp dword [0x587b70], 0xf
mov eax, 0x587b5c
push dword [0x587b6c]
cmova eax, dword [0x587b5c]
push eax
call fcn.0045bdb0
push str.gbkv
push ebx
call esi
add esp, 8
test eax, eax
je 0x47a6bd
mov edi, 0x587b74
cmp edi, 0x587b5c
je 0x47a6ad
cmp dword [0x587b70], 0xf
mov eax, 0x587b5c
push dword [0x587b6c]
cmova eax, dword [0x587b5c]
mov ecx, edi
push eax
call fcn.0045bdb0
push ecx
mov ecx, edi
call fcn.0045f150
add esp, 4
mov dword [0x588854], eax
push str.ovugWzbh
push ebx
call esi
add esp, 8
test eax, eax
je 0x47a6f8
mov ecx, 0x587b14
cmp ecx, 0x587b5c
je 0x47a6f8
cmp dword [0x587b70], 0xf
mov eax, 0x587b5c
push dword [0x587b6c]
cmova eax, dword [0x587b5c]
push eax
call fcn.0045bdb0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
ret
cmp eax, 0x194
je 0x47a8cf
cmp eax, 0x196
jne 0x47a73d
push ebx
call fcn.00488460
push esi
call fcn.00488110
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
ret
cmp eax, 0xd2
jne 0x47a766
mov ecx, dword [ebp - 0x24]
push 4
push str.true
call fcn.0045bdb0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
ret
cmp eax, 0x19a
jne 0x47a78f
mov ecx, dword [ebp - 0x24]
push 5
push str.false
call fcn.0045bdb0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp byte [0x509418], cl
je 0x47a7ce
movaps xmm0, xmmword [0x500e70]
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x48], 0x3a7e
movaps xmm0, xmmword [str.zvuo_vzrh_ozi]
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x46], cl
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x21
jb 0x47a7b8
mov byte [ebp - 0x46], 0
lea esi, [ebp - 0x67]
jmp 0x47a804
movaps xmm0, xmmword [0x500150]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x4b460a44
mov dword [ebp - 0x30], 0xb584f5e
mov byte [ebp - 0x2c], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x17
jb 0x47a7f0
mov byte [ebp - 0x2c], 0
lea esi, [ebp - 0x43]
sub esp, 0x18
mov ecx, esi
mov edx, esp
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47a822
sub ecx, edi
push ecx
push esi
jmp 0x47a8c0
mov cl, 0x11
mov byte [ebp - 0x18], 0x63
mov dl, cl
mov byte [ebp - 0xa], 0x52
xor cl, byte [ebp - 0x18]
mov al, 0x26
xor al, byte [ebp - 0x18]
mov ch, 0x40
mov byte [ebp - 0x17], al
mov dh, 0x5a
mov al, byte [ebp - 0xa]
mov bl, 0xc
mov byte [ebp - 0x16], cl
mov ah, 0x43
mov cl, byte [ebp - 0x18]
mov bh, 0x57
xor al, cl
mov byte [ebp - 9], 0x4d
mov byte [ebp - 0xf], al
xor dl, cl
mov al, byte [ebp - 9]
xor dh, cl
xor bl, cl
mov byte [ebp - 0x15], dl
xor ah, cl
mov byte [ebp - 0x11], dh
xor ch, cl
mov byte [ebp - 0xd], 0
xor bh, cl
mov byte [ebp - 0x12], ch
xor al, cl
mov byte [ebp - 0x14], bl
sub esp, 0x18
mov byte [ebp - 0x13], ah
mov edx, esp
mov byte [ebp - 0x10], bh
xorps xmm0, xmm0
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0x17]
mov byte [ebp - 0xd], 0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47a8b2
sub ecx, esi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.0045c380
call fcn.00442680
add esp, 0x18
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004870f9
mov esp, ebp
pop ebp
ret