Function at 0x4052ef
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x648
mov rdi, rcx
mov rcx, qword [rcx + 0xe0]
movabs r13, 0x5443454e4e4f43
cmp rcx, 0x544547
je 0x40535a
cmp rcx, 0x44414548
je 0x40535a
movabs rax, 0x4543415254
cmp rcx, rax
je 0x40535a
movabs rax, 0x4554454c4544
cmp rcx, rax
je 0x40535a
cmp rcx, r13
je 0x40535a
movabs rax, 0x534e4f4954504f
cmp rcx, rax
jne 0x40536b
mov ax, 0x12
cmp byte [rdi + 0xf0], 2
jne 0x405547
mov rsi, qword [rdi + 0xd8]
mov qword [rsp + 0x30], rsi
lea r14, [rsp + 0x110]
mov qword [r14], rcx
lea rbx, [rsp + 0x370]
mov r15d, 8
mov r8d, 8
mov rcx, rbx
mov rdx, r14
xor r9d, r9d
call fcn.0040b490
cmp byte [rbx + 8], 0
je 0x4053b2
mov r15, qword [rsp + 0x370]
lea rbp, [rsp + 0x70]
mov qword [rbp], rsi
lea rbx, [rsp + 0x370]
mov qword [rbx], rbp
lea r12, [0x00409550]
mov qword [rbx + 8], r12
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.004095e6
test ax, ax
jne 0x405547
lea rax, [rsp + 0x138]
mov qword [rax], rsi
lea rcx, [rsp + 0x240]
mov qword [rcx], rax
mov qword [rcx + 8], r12
mov dl, 0x20
call fcn.00409709
test ax, ax
jne 0x405547
cmp qword [rdi + 0xe0], r13
jne 0x40542c
lea rdx, [0x00480863]
lea r8, [rsp + 0x30]
mov rcx, rdi
jmp 0x405467
lea r14, [rsp + 0x578]
mov r8d, 0xd0
mov rcx, r14
mov rdx, rdi
call fcn.0046bf16
mov al, byte [rsi + 0x29]
lea rdx, [rsp + 0x131]
mov byte [rdx], al
mov byte [rdx + 1], al
mov byte [rdx + 2], al
mov dword [rdx + 3], 0x1000101
lea r8, [rsp + 0x30]
mov rcx, r14
call fcn.00409733
test ax, ax
jne 0x405547
lea rax, [rsp + 0x140]
mov qword [rax], rsi
lea rcx, [rsp + 0x250]
mov qword [rcx], rax
mov qword [rcx + 8], r12
mov dl, 0x20
call fcn.00409709
test ax, ax
jne 0x405547
test byte [rdi + 0x12c4b], 1
lea rax, str.HTTP_1.0
lea rdx, str.HTTP_1.1
cmove rdx, rax
lea rax, [rsp + 0x148]
mov qword [rax], rsi
lea rcx, [rsp + 0x260]
mov qword [rcx], rax
mov qword [rcx + 8], r12
mov r8d, 8
call fcn.004095e6
test ax, ax
jne 0x405547
lea rax, [rsp + 0x150]
mov qword [rax], rsi
lea rcx, [rsp + 0x270]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, [0x00480860]
mov r8d, 2
call fcn.004095e6
test ax, ax
jne 0x405547
lea r9, [rdi + 0x12b98]
lea r13, [rsp + 0x30]
mov qword [rsp + 0x20], r13
lea rdx, str.host:
lea r14, [rsp + 0x3c]
mov r8d, 6
mov rcx, r14
call fcn.00409636
movzx eax, word [r14]
test ax, ax
je 0x40555b
add rsp, 0x648
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x3e], 1
jne 0x4055e1
lea rax, [rsp + 0x158]
mov qword [rax], rsi
lea rcx, [rsp + 0x280]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.host:
mov r8d, 6
call fcn.004095e6
test ax, ax
jne 0x405547
lea rdx, [0x00480863]
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.00409733
test ax, ax
jne 0x405547
lea rax, [rsp + 0x160]
mov qword [rax], rsi
lea rcx, [rsp + 0x290]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, [0x00480860]
mov r8d, 2
call fcn.004095e6
test ax, ax
jne 0x405547
lea r9, [rdi + 0x12bb0]
mov qword [rsp + 0x20], r13
lea rdx, str.authorization:
lea r14, [rsp + 0x40]
mov r8d, 0xf
mov rcx, r14
call fcn.00409636
movzx eax, word [r14]
test ax, ax
jne 0x405547
cmp byte [rsp + 0x42], 1
jne 0x405cbd
cmp byte [rdi + 0x28], 0
jne 0x40562f
cmp byte [rdi + 0x48], 0
je 0x405cbd
lea rax, [rsp + 0x168]
mov qword [rax], rsi
lea rcx, [rsp + 0x2a0]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.authorization:
mov r8d, 0xf
call fcn.004095e6
test ax, ax
jne 0x405547
lea r14, [rsp + 0x50]
and qword [r14], 0
movups xmm0, xmmword [rdi + 0x10]
movups xmm1, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
cmp byte [rsp + 0x88], 0
lea r15, [0x004935e0]
mov rax, rbp
cmove rax, r15
movups xmm0, xmmword [rax]
lea rdx, [rsp + 0x220]
movaps xmmword [rdx], xmm0
mov rax, qword [rax + 0x10]
mov qword [rdx + 0x10], rax
lea rax, [rsp + 0x1e0]
mov qword [rax], r14
lea rcx, [rsp + 0x58]
mov qword [rcx], rax
lea rax, [0x0040c5e8]
mov qword [rcx + 8], rax
call fcn.0040c434
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
and qword [r14], 0
movups xmm0, xmmword [rdi + 0x30]
movups xmm1, xmmword [rdi + 0x40]
movaps xmmword [rsp + 0x380], xmm1
movaps xmmword [rsp + 0x370], xmm0
cmp byte [rsp + 0x388], 0
mov rax, rbx
cmove rax, r15
mov rcx, qword [rax + 0x10]
lea r15, [rsp + 0x110]
mov qword [r15 + 0x10], rcx
movups xmm0, xmmword [rax]
movaps xmmword [r15], xmm0
lea rax, [rsp + 0x1f0]
mov qword [rax], r14
lea rdx, [rsp + 0x200]
mov qword [rdx], rax
lea rax, [0x0040c5e8]
mov qword [rdx + 8], rax
mov rcx, r15
call fcn.00422cb2
mov rax, qword [r14]
mov rcx, qword [rsp + 0x28]
add rax, rcx
add rax, 3
mov ecx, 3
xor edx, edx
div rcx
lea r14, [rax*4 + 6]
movzx eax, word [rsi + 0x26]
mov edx, eax
and edx, 0x7fff
mov ecx, 0x4105
mov qword [rsp + 0x28], rdx
sub rcx, rdx
mov edx, r14d
and edx, 0x7ffe
cmp rcx, rdx
jae 0x4057ae
mov rcx, rsi
call fcn.00409bea
test ax, ax
jne 0x405547
movzx eax, word [rsi + 0x26]
mov ecx, eax
and ecx, 0x7fff
mov qword [rsp + 0x28], rcx
lea rcx, [rdi + 0x10]
lea rdx, [rdi + 0x30]
mov qword [rsp + 0x90], rdx
add r14d, eax
and r14d, 0x7fff
mov word [rsi + 0x26], r14w
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0x1ff
and qword [rsp + 0x68], 0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x110], xmm0
cmp byte [rsp + 0x128], 0
lea rax, [0x004935e0]
cmove r15, rax
mov rax, qword [rsp + 0x28]
lea rbx, [rax + rsi + 0x4130]
movups xmm0, xmmword [r15]
lea rdx, [rsp + 0x200]
movaps xmmword [rdx], xmm0
mov rax, qword [r15 + 0x10]
mov qword [rdx + 0x10], rax
lea rax, [rsp + 0x1d8]
lea r15, [rsp + 0x58]
mov qword [rax], r15
lea rcx, [rsp + 0x1e0]
mov qword [rcx], rax
lea r14, [0x0040c5fa]
mov qword [rcx + 8], r14
call fcn.0040c434
mov rax, qword [rsp + 0x90]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
cmp byte [rsp + 0x88], 0
lea rax, [0x004935e0]
cmove rbp, rax
movups xmm0, xmmword [rbp]
lea rdx, [rsp + 0x220]
movaps xmmword [rdx], xmm0
mov rax, qword [rbp + 0x10]
mov qword [rdx + 0x10], rax
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x1f0]
lea rax, [rsp + 0x50]
mov qword [rcx], rax
mov qword [rcx + 8], r14
call fcn.0040c4eb
mov dword [rbx], 0x69736142
mov word [rbx + 4], 0x2063
mov r8, qword [rsp + 0x58]
mov r10, qword [rsp + 0x68]
lea rax, [r10 + 2]
xor ecx, ecx
xor edx, edx
mov r9d, 3
div r9
shl rax, 2
mov r9d, 0xf
lea rdx, [0x00493600]
cmp r9, r10
jae 0x405a93
mov r15, qword [r8 + r9 - 0xf]
mov r11, qword [r8 + r9 - 7]
bswap r11
bswap r15
mov r14, r15
shr r14, 0x3a
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 6], bpl
mov r14, r15
shr r14, 0x34
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 7], bpl
mov r14, r15
shr r14, 0x2e
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 8], bpl
mov r14, r15
shr r14, 0x28
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 9], bpl
mov r14, r15
shr r14, 0x22
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0xa], bpl
mov r14, r15
shr r14, 0x1c
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0xb], bpl
mov r14d, r15d
shr r14d, 0x16
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0xc], bpl
mov r14d, r15d
shr r14d, 0x10
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0xd], bpl
mov r14d, r15d
shr r14d, 0xa
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0xe], bpl
mov r14d, r15d
shr r14d, 4
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0xf], bpl
shld r15, r11, 2
and r15d, 0x3f
mov bpl, byte [r15 + rdx + 0x114e]
mov byte [rbx + rcx + 0x10], bpl
mov r14, r11
shr r14, 0x38
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0x11], bpl
mov r14, r11
shr r14, 0x32
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0x12], bpl
mov r14, r11
shr r14, 0x2c
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0x13], bpl
mov r14, r11
shr r14, 0x26
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [rbx + rcx + 0x14], bpl
shr r11, 0x20
and r11d, 0x3f
mov r11b, byte [r11 + rdx + 0x114e]
mov byte [rbx + rcx + 0x15], r11b
add rcx, 0x10
add r9, 0xc
jmp 0x4058f6
mov r11, qword [rsp + 0x28]
add r11, rsi
add r11, 0x4139
add r9, 0xfffffffffffffff2
lea r14, [r9 + 2]
cmp r14, r10
jae 0x405b19
mov r14d, dword [r8 + r9 - 1]
bswap r14d
mov r15d, r14d
shr r15d, 0x1a
mov bpl, byte [r15 + rdx + 0x114e]
mov byte [r11 + rcx - 3], bpl
mov r15d, r14d
shr r15d, 0x14
and r15d, 0x3f
mov bpl, byte [r15 + rdx + 0x114e]
mov byte [r11 + rcx - 2], bpl
mov r15d, r14d
shr r15d, 0xe
and r15d, 0x3f
mov bpl, byte [r15 + rdx + 0x114e]
mov byte [r11 + rcx - 1], bpl
shr r14d, 8
and r14d, 0x3f
mov bpl, byte [r14 + rdx + 0x114e]
mov byte [r11 + rcx], bpl
add rcx, 4
add r9, 3
jmp 0x405aa6
lea r11, [r9 + 1]
cmp r11, r10
jae 0x405bbc
mov r14, qword [rsp + 0x28]
add r14, rsi
movzx r10d, byte [r8 + r9 - 1]
shr r10d, 2
mov r10b, byte [r10 + rdx + 0x114e]
mov byte [rcx + r14 + 0x4136], r10b
movzx r10d, byte [r8 + r9 - 1]
shl r10d, 4
and r10d, 0x30
movzx r11d, byte [r8 + r9]
shr r11d, 4
or r11d, r10d
mov r10b, byte [r11 + rdx + 0x114e]
mov byte [rcx + r14 + 0x4137], r10b
movzx r10d, byte [r8 + r9]
and r10d, 0xf
movzx r11d, byte [r8 + r9 + 1]
shr r11d, 6
lea r10d, [r11 + r10*4]
mov r10b, byte [r10 + rdx + 0x114e]
mov byte [rcx + r14 + 0x4138], r10b
movzx r8d, byte [r8 + r9 + 1]
and r8d, 0x3f
mov dl, byte [r8 + rdx + 0x114e]
mov byte [rcx + r14 + 0x4139], dl
add rcx, 4
jmp 0x405c83
cmp r9, r10
jae 0x405c2c
mov r14, qword [rsp + 0x28]
add r14, rsi
movzx r10d, byte [r8 + r9 - 1]
shr r10d, 2
mov r10b, byte [r10 + rdx + 0x114e]
mov byte [rcx + r14 + 0x4136], r10b
movzx r10d, byte [r8 + r9 - 1]
shl r10d, 4
and r10d, 0x30
movzx r11d, byte [r8 + r9]
shr r11d, 4
or r11d, r10d
mov r10b, byte [r11 + rdx + 0x114e]
mov byte [rcx + r14 + 0x4137], r10b
movzx r8d, byte [r8 + r9]
and r8d, 0xf
mov dl, byte [rdx + r8*4 + 0x114e]
mov byte [rcx + r14 + 0x4138], dl
add rcx, 3
jmp 0x405c83
lea r11, [r9 - 1]
cmp r11, r10
jae 0x405c83
mov r11, qword [rsp + 0x28]
add r11, rsi
movzx r10d, byte [r8 + r9 - 1]
shr r10d, 2
mov r10b, byte [r10 + rdx + 0x114e]
mov byte [rcx + r11 + 0x4136], r10b
movzx r8d, byte [r8 + r9 - 1]
shl r8d, 4
and r8d, 0x30
mov dl, byte [r8 + rdx + 0x114e]
mov byte [rcx + r11 + 0x4137], dl
add rcx, 2
jmp 0x405c83
mov byte [rbx + rcx + 6], 0x3d
inc rcx
cmp rax, rcx
jne 0x405c7b
lea rax, [rsp + 0x170]
mov qword [rax], rsi
lea rcx, [rsp + 0x2b0]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, [0x00480860]
mov r8d, 2
call fcn.004095e6
test ax, ax
jne 0x405547
lea r9, [rdi + 0x12bc8]
mov qword [rsp + 0x20], r13
lea rdx, str.user_agent:
lea rbx, [rsp + 0x44]
mov r8d, 0xc
mov rcx, rbx
call fcn.00409636
movzx eax, word [rbx]
test ax, ax
jne 0x405547
cmp byte [rsp + 0x46], 1
jne 0x405d99
lea rax, [rsp + 0x178]
mov qword [rax], rsi
lea rcx, [rsp + 0x2c0]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.user_agent:_zig_
mov r8d, 0x10
call fcn.004095e6
test ax, ax
jne 0x405547
lea rax, [rsp + 0x180]
mov qword [rax], rsi
lea rcx, [rsp + 0x2d0]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.0.13.0
mov r8d, 6
call fcn.004095e6
test ax, ax
jne 0x405547
lea rax, [rsp + 0x188]
mov qword [rax], rsi
lea rcx, [rsp + 0x2e0]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.__std.http__r_n
mov r8d, 0xd
call fcn.004095e6
test ax, ax
jne 0x405547
lea r9, [rdi + 0x12be0]
mov qword [rsp + 0x20], r13
lea rdx, str.connection:
lea rbx, [rsp + 0x48]
mov r8d, 0xc
mov rcx, rbx
call fcn.00409636
movzx eax, word [rbx]
test ax, ax
jne 0x405547
cmp byte [rsp + 0x4a], 1
jne 0x405e39
cmp byte [rdi + 0x12c4a], 1
jne 0x405e04
lea rax, [rsp + 0x190]
mov qword [rax], rsi
lea rcx, [rsp + 0x2f0]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.connection:_keep_alive_r_n
mov r8d, 0x18
jmp 0x405e2b
lea rax, [rsp + 0x198]
mov qword [rax], rsi
lea rcx, [rsp + 0x300]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.connection:_close_r_n
mov r8d, 0x13
call fcn.004095e6
test ax, ax
jne 0x405547
lea r9, [rdi + 0x12bf8]
mov qword [rsp + 0x20], r13
lea rdx, str.accept_encoding:
lea rbx, [rsp + 0x4c]
mov r8d, 0x11
mov rcx, rbx
call fcn.00409636
movzx eax, word [rbx]
test ax, ax
jne 0x405547
cmp byte [rsp + 0x4e], 1
jne 0x405ea7
lea rax, [rsp + 0x1a0]
mov qword [rax], rsi
lea rcx, [rsp + 0x310]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.accept_encoding:_gzip__deflate_r_n
mov r8d, 0x20
call fcn.004095e6
test ax, ax
jne 0x405547
movzx eax, byte [rdi + 0xf0]
test al, 3
je 0x406059
and eax, 3
cmp eax, 1
jne 0x405ef3
lea rax, [rsp + 0x1a8]
mov qword [rax], rsi
lea rcx, [rsp + 0x320]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.transfer_encoding:_chunked_r_n
mov r8d, 0x1c
call fcn.004095e6
test ax, ax
jne 0x405547
lea r9, [rdi + 0x12c10]
mov qword [rsp + 0x20], r13
lea rdx, str.content_type:
lea rbx, [rsp + 0xbc]
mov r8d, 0xe
mov rcx, rbx
call fcn.00409636
movzx eax, word [rbx]
test ax, ax
jne 0x405547
mov rbx, qword [rdi + 0x12c28]
mov r15, qword [rdi + 0x12c30]
inc r15
add rbx, 0x18
lea rbp, [rsp + 0x100]
dec r15
je 0x406141
mov rdx, qword [rbx - 0x18]
mov r8, qword [rbx - 0x10]
mov r14, qword [rbx - 8]
mov r13, qword [rbx]
mov qword [rsp + 0x98], rsi
lea rax, [rsp + 0x98]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xd0]
call fcn.004095e6
test ax, ax
jne 0x405547
mov qword [rsp + 0xa0], rsi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], r12
mov r8d, 2
lea rcx, [rsp + 0xe0]
lea rdx, [0x0048095f]
call fcn.004095e6
test ax, ax
jne 0x405547
mov qword [rsp + 0xa8], rsi
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], r12
lea rcx, [rsp + 0xf0]
mov rdx, r14
mov r8, r13
call fcn.004095e6
test ax, ax
jne 0x405547
add rbx, 0x20
mov qword [rsp + 0xb0], rsi
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], r12
mov r8d, 2
mov rcx, rbp
lea rdx, [0x00480860]
call fcn.004095e6
test ax, ax
je 0x405f45
jmp 0x405547
mov rbx, qword [rdi + 0xe8]
lea rax, [rsp + 0x1b0]
mov qword [rax], rsi
lea rcx, [rsp + 0xc0]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, [0x0049490a]
mov r8d, 0x10
call fcn.004095e6
test ax, ax
jne 0x405547
mov r8d, 0x40
lea rcx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
mov r9d, 0x64
cmp rbx, 0x64
jb 0x4060cc
mov rax, rbx
xor edx, edx
div r9
movzx edx, word [rcx + rdx*2]
mov word [rsp + r8 + 0x36f], dx
add r8, 0xfffffffffffffffe
mov rbx, rax
jmp 0x4060a8
cmp rbx, 9
ja 0x4060df
or bl, 0x30
mov byte [rsp + r8 + 0x370], bl
jmp 0x4060ef
movzx eax, word [rcx + rbx*2]
mov word [rsp + r8 + 0x36f], ax
dec r8
lea rcx, [rsp + r8]
add rcx, 0x370
mov edx, 0x41
sub rdx, r8
lea r8, [0x004ceac0]
lea r9, [rsp + 0xc0]
call fcn.0044c5c9
test ax, ax
jne 0x405547
movups xmm0, xmmword [rsp + 0xc0]
lea rcx, [rsp + 0x70]
movaps xmmword [rcx], xmm0
lea rdx, [0x0049491d]
mov r8d, 2
jmp 0x405ee5
cmp byte [rsi + 0x29], 0
je 0x406213
mov rax, qword [rdi + 0xd0]
movzx ecx, byte [rsi + 0x28]
and ecx, 1
mov rax, qword [rax + rcx*8 + 0x80]
test rax, rax
je 0x406213
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x406213
mov rbx, qword [rax + 0x18]
lea rax, [rsp + 0x1b8]
mov qword [rax], rsi
lea rcx, [rsp + 0x330]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, str.proxy_authorization:
mov r8d, 0x15
call fcn.004095e6
test ax, ax
jne 0x405547
lea rax, [rsp + 0x1c0]
mov qword [rax], rsi
lea rcx, [rsp + 0x340]
mov qword [rcx], rax
mov qword [rcx + 8], r12
mov rdx, rdi
mov r8, rbx
call fcn.004095e6
test ax, ax
jne 0x405547
lea rax, [rsp + 0x1c8]
mov qword [rax], rsi
lea rcx, [rsp + 0x350]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, [0x00480860]
mov r8d, 2
call fcn.004095e6
test ax, ax
jne 0x405547
lea rax, [rsp + 0x1d0]
mov qword [rax], rsi
lea rcx, [rsp + 0x360]
mov qword [rcx], rax
mov qword [rcx + 8], r12
lea rdx, [0x00480860]
mov r8d, 2
call fcn.004095e6
test ax, ax
jne 0x405547
mov rcx, rsi
call fcn.00409bea
jmp 0x405547