Function at 0x140017df0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push rbp
sub rsp, 0x400
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x378], 0xfffffffffffffffe
mov qword [rbp + 0x108], rcx
mov qword [rbp + 0x368], r8
mov dword [rbp + 0x364], edx
mov dword [rbp + 0x360], 0
mov dword [rbp + 0x35c], 0
mov qword [rbp + 0x350], 0
mov dword [rbp + 0x34c], 0
mov qword [rbp + 0x340], 0
mov qword [rbp + 0x338], 0
mov qword [rbp + 0x330], 0
lea rcx, [rbp + 0x310]
call fcn.140018e40
jmp 0x140017e7a
lea rcx, [rbp + 0x2f0]
call fcn.140004b80
lea rcx, [rbp + 0x2d0]
call fcn.140004b80
lea rcx, [rbp + 0x310]
call fcn.140009e50
mov rcx, rax
call fcn.1400387c0
mov qword [rbp + 0x100], rax
jmp 0x140017eb2
mov rax, qword [rbp + 0x100]
mov dword [rbp + 0x2cc], eax
mov dword [rbp + 0x2c8], 0
mov rax, rsp
mov dword [rax + 0x20], 0
lea rcx, str.WinHTTP
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpOpen]
xor edx, edx
mov r9d, edx
mov r8, r9
call rax
mov qword [rbp + 0xf8], rax
jmp 0x140017ef7
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x340], rax
cmp qword [rbp + 0x340], 0
jne 0x140017fb6
lea rcx, [0x140075ed0]
lea rdx, str.Error_in_WinHttpOpen:
call fcn.1400089d0
mov qword [rbp + 0xf0], rax
jmp 0x140017f32
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0xec], eax
jmp 0x140017f46
mov edx, dword [rbp + 0xec]
lea rcx, [rbp + 0x2a8]
call fcn.140008d70
jmp 0x140017f5d
mov rcx, qword [rbp + 0xf0]
lea rdx, [rbp + 0x2a8]
call fcn.140008da0
mov qword [rbp + 0xe0], rax
jmp 0x140017f7c
mov rcx, qword [rbp + 0xe0]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x140017f94
lea rcx, [rbp + 0x2a8]
call fcn.140004f90
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018ac1
mov rcx, qword [rbp + 0x108]
mov ax, word [rbp + 0x364]
mov word [rbp + 0xd6], ax
call fcn.140008750
mov r8w, word [rbp + 0xd6]
mov rdx, rax
mov rcx, qword [rbp + 0x340]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpConnect]
xor r9d, r9d
call rax
mov qword [rbp + 0xd8], rax
jmp 0x140017ffa
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x338], rax
cmp qword [rbp + 0x338], 0
jne 0x1400180ce
lea rcx, [0x140075ed0]
lea rdx, str.Error_in_WinHttpOpen:
call fcn.1400089d0
mov qword [rbp + 0xc8], rax
jmp 0x140018035
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0xc4], eax
jmp 0x140018049
mov edx, dword [rbp + 0xc4]
lea rcx, [rbp + 0x280]
call fcn.140008d70
jmp 0x140018060
mov rcx, qword [rbp + 0xc8]
lea rdx, [rbp + 0x280]
call fcn.140008da0
mov qword [rbp + 0xb8], rax
jmp 0x14001807f
mov rcx, qword [rbp + 0xb8]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x140018097
lea rcx, [rbp + 0x280]
call fcn.140004f90
mov rcx, qword [rbp + 0x340]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x1400180b8
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018ac1
mov rcx, qword [rbp + 0x338]
mov rax, rsp
mov dword [rax + 0x30], 0
mov qword [rax + 0x28], 0
mov qword [rax + 0x20], 0
lea rdx, str.POST
lea r8, str.get_key
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
xor r9d, r9d
call rax
mov qword [rbp + 0xb0], rax
jmp 0x140018115
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x330], rax
cmp qword [rbp + 0x330], 0
jne 0x1400181fe
lea rcx, [0x140075ed0]
lea rdx, str.Error_in_WinHttpOpenRequest:
call fcn.1400089d0
mov qword [rbp + 0xa8], rax
jmp 0x140018150
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0xa4], eax
jmp 0x140018164
mov edx, dword [rbp + 0xa4]
lea rcx, [rbp + 0x260]
call fcn.140008d70
jmp 0x14001817b
mov rcx, qword [rbp + 0xa8]
lea rdx, [rbp + 0x260]
call fcn.140008da0
mov qword [rbp + 0x98], rax
jmp 0x14001819a
mov rcx, qword [rbp + 0x98]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x1400181b2
lea rcx, [rbp + 0x260]
call fcn.140004f90
mov rcx, qword [rbp + 0x340]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x1400181d3
mov rcx, qword [rbp + 0x338]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x1400181e8
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018ac1
mov eax, dword [rbp + 0x2cc]
mov dword [rbp + 0x90], eax
lea rcx, [rbp + 0x310]
call fcn.140009e50
mov edx, dword [rbp + 0x90]
mov r9, rax
mov rcx, qword [rbp + 0x330]
mov rax, rsp
mov dword [rax + 0x28], edx
mov dword [rax + 0x20], edx
mov qword [rax + 0x30], 0
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov r8d, 0xffffffff
call rax
mov dword [rbp + 0x94], eax
jmp 0x140018258
mov eax, dword [rbp + 0x94]
mov dword [rbp + 0x34c], eax
cmp dword [rbp + 0x34c], 0
jne 0x14001834d
lea rcx, [0x140075ed0]
lea rdx, str.Error_in_WinHttpSendRequest:
call fcn.1400089d0
mov qword [rbp + 0x88], rax
jmp 0x140018290
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x84], eax
jmp 0x1400182a4
mov edx, dword [rbp + 0x84]
lea rcx, [rbp + 0x240]
call fcn.140008d70
jmp 0x1400182bb
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp + 0x240]
call fcn.140008da0
mov qword [rbp + 0x78], rax
jmp 0x1400182d7
mov rcx, qword [rbp + 0x78]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x1400182ec
lea rcx, [rbp + 0x240]
call fcn.140004f90
mov rcx, qword [rbp + 0x340]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x14001830d
mov rcx, qword [rbp + 0x338]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x140018322
mov rcx, qword [rbp + 0x330]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x140018337
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018ac1
mov rcx, qword [rbp + 0x330]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
xor edx, edx
call rax
mov dword [rbp + 0x74], eax
jmp 0x140018367
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0x34c], eax
cmp dword [rbp + 0x34c], 0
jne 0x14001844d
lea rcx, [0x140075ed0]
lea rdx, str.Error_in_WinHttpReceiveResponse:
call fcn.1400089d0
mov qword [rbp + 0x68], rax
jmp 0x140018399
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x64], eax
jmp 0x1400183aa
mov edx, dword [rbp + 0x64]
lea rcx, [rbp + 0x220]
call fcn.140008d70
jmp 0x1400183be
mov rcx, qword [rbp + 0x68]
lea rdx, [rbp + 0x220]
call fcn.140008da0
mov qword [rbp + 0x58], rax
jmp 0x1400183d7
mov rcx, qword [rbp + 0x58]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x1400183ec
lea rcx, [rbp + 0x220]
call fcn.140004f90
mov rcx, qword [rbp + 0x340]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x14001840d
mov rcx, qword [rbp + 0x338]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x140018422
mov rcx, qword [rbp + 0x330]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x140018437
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018ac1
mov dword [rbp + 0x360], 0
mov rcx, qword [rbp + 0x330]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
lea rdx, [rbp + 0x360]
call rax
mov dword [rbp + 0x54], eax
jmp 0x140018476
mov eax, dword [rbp + 0x54]
cmp eax, 0
jne 0x140018552
lea rcx, [0x140075ed0]
lea rdx, str.ERROR_in_WinHttpQueryDataAvailable:
call fcn.1400089d0
mov qword [rbp + 0x48], rax
jmp 0x14001849e
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x44], eax
jmp 0x1400184af
mov edx, dword [rbp + 0x44]
lea rcx, [rbp + 0x200]
call fcn.140008d70
jmp 0x1400184c3
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x200]
call fcn.140008da0
mov qword [rbp + 0x38], rax
jmp 0x1400184dc
mov rcx, qword [rbp + 0x38]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x1400184f1
lea rcx, [rbp + 0x200]
call fcn.140004f90
mov rcx, qword [rbp + 0x340]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x140018512
mov rcx, qword [rbp + 0x338]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x140018527
mov rcx, qword [rbp + 0x330]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x14001853c
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018ac1
cmp dword [rbp + 0x360], 0x2800
jbe 0x1400185e8
lea rcx, [0x140075ed0]
lea rdx, str.ERROR:_incoming_response_from_server_is_too_large
call fcn.1400089d0
mov qword [rbp + 0x30], rax
jmp 0x14001857e
mov rcx, qword [rbp + 0x30]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x140018593
mov rcx, qword [rbp + 0x340]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x1400185a8
mov rcx, qword [rbp + 0x338]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x1400185bd
mov rcx, qword [rbp + 0x330]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x1400185d2
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018ac1
mov eax, dword [rbp + 0x360]
inc eax
mov ecx, eax
call fcn.14002ad20
mov qword [rbp + 0x28], rax
jmp 0x140018600
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x350], rax
cmp qword [rbp + 0x350], 0
jne 0x140018659
lea rcx, [0x140075ed0]
lea rdx, str.ERROR_in_WinHttpQueryDataAvailable:_Out_of_memory
call fcn.1400089d0
mov qword [rbp + 0x20], rax
jmp 0x140018635
mov rcx, qword [rbp + 0x20]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x14001864a
mov dword [rbp + 0x360], 0
jmp 0x14001874f
mov rcx, qword [rbp + 0x350]
mov eax, dword [rbp + 0x360]
inc eax
mov r8d, eax
xor eax, eax
mov dl, al
call fcn.1400593a0
mov r8d, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x350]
mov rcx, qword [rbp + 0x330]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpReadData]
lea r9, [rbp + 0x35c]
call rax
mov dword [rbp + 0x1c], eax
jmp 0x1400186a1
mov eax, dword [rbp + 0x1c]
cmp eax, 0
jne 0x14001872d
lea rcx, [0x140075ed0]
lea rdx, str.ERROR_in_WinHttpReadData:
call fcn.1400089d0
mov qword [rbp + 0x10], rax
jmp 0x1400186c9
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0xc], eax
jmp 0x1400186da
mov edx, dword [rbp + 0xc]
lea rcx, [rbp + 0x1e0]
call fcn.140008d70
jmp 0x1400186ee
mov rcx, qword [rbp + 0x10]
lea rdx, [rbp + 0x1e0]
call fcn.140008da0
mov qword [rbp], rax
jmp 0x140018707
mov rcx, qword [rbp]
lea rdx, [0x140008d00]
call fcn.140008d50
jmp 0x14001871c
lea rcx, [rbp + 0x1e0]
call fcn.140004f90
jmp 0x14001874a
mov rdx, qword [rbp + 0x350]
lea rcx, [rbp + 0x2f0]
call fcn.140010560
jmp 0x140018745
jmp 0x14001874a
jmp 0x14001874f
mov rax, qword [rbp + 0x350]
mov qword [rbp - 8], rax
cmp rax, 0
je 0x14001876d
mov rcx, qword [rbp - 8]
call fcn.14002ad28
cmp qword [rbp + 0x330], 0
je 0x140018795
mov rcx, qword [rbp + 0x330]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x140018790
jmp 0x140018795
cmp qword [rbp + 0x338], 0
je 0x1400187bd
mov rcx, qword [rbp + 0x338]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x1400187b8
jmp 0x1400187bd
cmp qword [rbp + 0x340], 0
je 0x1400187e5
mov rcx, qword [rbp + 0x340]
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
jmp 0x1400187e0
jmp 0x1400187e5
lea rcx, [rbp + 0x1d0]
lea rdx, [rbp + 0x2f0]
lea r8, [rbp + 0x2d0]
xor r9d, r9d
call fcn.14001f570
jmp 0x140018807
lea rdx, str.status
lea rcx, [rbp + 0x190]
call fcn.140004bd0
jmp 0x14001881f
lea rcx, [rbp + 0x1d0]
lea rdx, [rbp + 0x190]
call fcn.14001f140
mov qword [rbp - 0x10], rax
jmp 0x14001883b
mov rcx, qword [rbp - 0x10]
call fcn.14001f080
mov qword [rbp - 0x18], rax
jmp 0x14001884d
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp + 0x1b0]
call fcn.1400084c0
jmp 0x140018862
lea rcx, [rbp + 0x190]
call fcn.140004f90
lea rdx, [0x14005cc5b]
lea rcx, [rbp + 0x150]
call fcn.140004bd0
jmp 0x140018886
lea rcx, [rbp + 0x1d0]
lea rdx, [rbp + 0x150]
call fcn.14001f140
mov qword [rbp - 0x20], rax
jmp 0x1400188a2
mov rcx, qword [rbp - 0x20]
call fcn.14001f080
mov qword [rbp - 0x28], rax
jmp 0x1400188b4
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp + 0x170]
call fcn.1400084c0
jmp 0x1400188c9
lea rcx, [rbp + 0x150]
call fcn.140004f90
lea rdx, str.base64_aes_key
lea rcx, [rbp + 0x130]
call fcn.140004bd0
jmp 0x1400188ed
lea rcx, [rbp + 0x1d0]
lea rdx, [rbp + 0x130]
call fcn.14001f140
mov qword [rbp - 0x30], rax
jmp 0x140018909
mov rcx, qword [rbp - 0x30]
call fcn.14001f080
mov qword [rbp - 0x38], rax
jmp 0x14001891b
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp + 0x368]
call fcn.14001a590
jmp 0x140018930
lea rcx, [rbp + 0x130]
call fcn.140004f90
lea rcx, [rbp + 0x170]
lea rdx, [0x14005b82c]
call fcn.14001a630
test al, 1
jne 0x140018977
mov rcx, qword [rbp + 0x368]
lea rdx, [0x14005b82c]
call fcn.14001a630
test al, 1
jne 0x140018977
jmp 0x140018994
lea rdx, [0x14005cc74]
lea rcx, [rbp + 0x1b0]
call fcn.140010560
jmp 0x14001898f
jmp 0x140018994
lea rcx, [rbp + 0x1b0]
lea rdx, [0x14005cc76]
call fcn.14001a630
test al, 1
jne 0x1400189b4
jmp 0x140018a76
mov rcx, qword [rbp + 0x368]
call fcn.140004f20
cmp rax, 0x2c
je 0x1400189e0
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018a98
lea rcx, [rbp + 0x170]
call fcn.140004f20
cmp rax, 0x20
je 0x140018a0c
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018a98
lea rcx, [rbp + 0x110]
lea rdx, [rbp + 0x170]
call fcn.1400084c0
jmp 0x140018a24
lea rcx, [rbp + 0x110]
call fcn.1400190d0
mov byte [rbp - 0x39], al
jmp 0x140018a38
mov al, byte [rbp - 0x39]
xor al, 0xff
test al, 1
jne 0x140018a4a
jmp 0x140018a60
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
jmp 0x140018a98
mov byte [rbp + 0x377], 1
mov dword [rbp + 0x2a4], 1
jmp 0x140018a98
lea rcx, [rbp + 0x1b0]
call fcn.1400192a0
jmp 0x140018a87
mov byte [rbp + 0x377], 0
mov dword [rbp + 0x2a4], 1
lea rcx, [rbp + 0x170]
call fcn.140004f90
lea rcx, [rbp + 0x1b0]
call fcn.140004f90
lea rcx, [rbp + 0x1d0]
call fcn.140011f90
jmp 0x140018ac1
lea rcx, [rbp + 0x2d0]
call fcn.140004f90
lea rcx, [rbp + 0x2f0]
call fcn.140004f90
lea rcx, [rbp + 0x310]
call fcn.140004f90
mov rcx, qword [rbp + 0x108]
call fcn.140004f60
mov al, byte [rbp + 0x377]
and al, 1
movzx eax, al
add rsp, 0x400
pop rbp
ret