Function at 0x14002c160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6b0
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x68]
call fcn.140025540
nop
cmp dword [rsp + 0x6e8], 1
jne 0x14002c45b
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x44]
lea rcx, [rsp + 0x5f0]
call fcn.140016070
mov rcx, rax
call fcn.1400392e0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140028750
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x22]
movzx r8d, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x45]
lea rcx, [rsp + 0x340]
call fcn.140015940
mov rcx, rax
call fcn.140038d70
mov qword [rsp + 0xc0], rax
movzx r9d, byte [rsp + 0x24]
movzx r8d, byte [rsp + 0x25]
movzx edx, byte [rsp + 0x46]
lea rcx, [rsp + 0x2a0]
call fcn.140015760
mov rcx, rax
call fcn.140038d70
mov qword [rsp + 0x90], rax
movzx r9d, byte [rsp + 0x26]
movzx r8d, byte [rsp + 0x27]
movzx edx, byte [rsp + 0x47]
lea rcx, [rsp + 0x2b0]
call fcn.140015640
mov rcx, rax
call fcn.140038d70
mov r8, qword [rsp + 0x6c8]
mov rdx, rax
lea rcx, [rsp + 0x3d0]
call fcn.140018b60
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x3b0]
call fcn.140018b00
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0x6d0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x390]
call fcn.140018aa0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x370]
call fcn.140018b00
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0x6e0]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x350]
call fcn.140018aa0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x68]
call fcn.14002a600
nop
lea rcx, [rsp + 0x350]
call fcn.140027d60
nop
lea rcx, [rsp + 0x370]
call fcn.140027d60
nop
lea rcx, [rsp + 0x390]
call fcn.140027d60
nop
lea rcx, [rsp + 0x3b0]
call fcn.140027d60
nop
lea rcx, [rsp + 0x3d0]
call fcn.140027d60
jmp 0x14002cbba
cmp dword [rsp + 0x6e8], 2
jne 0x14002c80d
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x28]
movzx r8d, byte [rsp + 0x29]
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x630]
call fcn.140017b20
mov rcx, rax
call fcn.1400392e0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140028750
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2a]
movzx r8d, byte [rsp + 0x2b]
movzx edx, byte [rsp + 0x49]
lea rcx, [rsp + 0x2c0]
call fcn.140015940
mov rcx, rax
call fcn.140038d70
mov qword [rsp + 0x160], rax
movzx r9d, byte [rsp + 0x2c]
movzx r8d, byte [rsp + 0x2d]
movzx edx, byte [rsp + 0x4a]
lea rcx, [rsp + 0x2d0]
call fcn.140015850
mov rcx, rax
call fcn.140038d70
mov qword [rsp + 0x130], rax
movzx r9d, byte [rsp + 0x2e]
movzx r8d, byte [rsp + 0x2f]
movzx edx, byte [rsp + 0x4b]
lea rcx, [rsp + 0x2e0]
call fcn.140015760
mov rcx, rax
call fcn.140038d70
mov qword [rsp + 0x100], rax
movzx r9d, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx edx, byte [rsp + 0x4c]
lea rcx, [rsp + 0x2f0]
call fcn.140015640
mov rcx, rax
call fcn.140038d70
mov r8, qword [rsp + 0x6c8]
mov rdx, rax
lea rcx, [rsp + 0x4b0]
call fcn.140018b60
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x490]
call fcn.140018b00
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov r8, qword [rsp + 0x6d0]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x470]
call fcn.140018aa0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x138], rax
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x450]
call fcn.140018b00
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov r8, qword [rsp + 0x6d8]
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x430]
call fcn.140018aa0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x168], rax
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x410]
call fcn.140018b00
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov r8, qword [rsp + 0x6e0]
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x3f0]
call fcn.140018aa0
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x68]
call fcn.14002a600
nop
lea rcx, [rsp + 0x3f0]
call fcn.140027d60
nop
lea rcx, [rsp + 0x410]
call fcn.140027d60
nop
lea rcx, [rsp + 0x430]
call fcn.140027d60
nop
lea rcx, [rsp + 0x450]
call fcn.140027d60
nop
lea rcx, [rsp + 0x470]
call fcn.140027d60
nop
lea rcx, [rsp + 0x490]
call fcn.140027d60
nop
lea rcx, [rsp + 0x4b0]
call fcn.140027d60
jmp 0x14002cbba
cmp dword [rsp + 0x6e8], 3
jne 0x14002cbba
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x32]
movzx r8d, byte [rsp + 0x33]
movzx edx, byte [rsp + 0x4d]
lea rcx, [rsp + 0x670]
call fcn.1400154e0
mov rcx, rax
call fcn.1400392e0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140028750
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x34]
movzx r8d, byte [rsp + 0x35]
movzx edx, byte [rsp + 0x4e]
lea rcx, [rsp + 0x300]
call fcn.140015940
mov rcx, rax
call fcn.140038d70
mov qword [rsp + 0x200], rax
movzx r9d, byte [rsp + 0x36]
movzx r8d, byte [rsp + 0x37]
movzx edx, byte [rsp + 0x4f]
lea rcx, [rsp + 0x310]
call fcn.140015850
mov rcx, rax
call fcn.140038d70
mov qword [rsp + 0x1d0], rax
movzx r9d, byte [rsp + 0x38]
movzx r8d, byte [rsp + 0x39]
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x320]
call fcn.140015760
mov rcx, rax
call fcn.140038d70
mov qword [rsp + 0x1a0], rax
movzx r9d, byte [rsp + 0x3a]
movzx r8d, byte [rsp + 0x3b]
movzx edx, byte [rsp + 0x51]
lea rcx, [rsp + 0x330]
call fcn.140015640
mov rcx, rax
call fcn.140038d70
mov r8, qword [rsp + 0x6c8]
mov rdx, rax
lea rcx, [rsp + 0x590]
call fcn.140018b60
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a8], rax
mov r8, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x570]
call fcn.140018b00
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov r8, qword [rsp + 0x6d0]
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x550]
call fcn.140018aa0
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d8], rax
mov r8, qword [rsp + 0x1d0]
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x530]
call fcn.140018b00
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov r8, qword [rsp + 0x6d8]
mov rdx, qword [rsp + 0x1e8]
lea rcx, [rsp + 0x510]
call fcn.140018aa0
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x208], rax
mov r8, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x208]
lea rcx, [rsp + 0x4f0]
call fcn.140018b00
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x218], rax
mov r8, qword [rsp + 0x6e0]
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0x4d0]
call fcn.140018aa0
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov rdx, qword [rsp + 0x228]
lea rcx, [rsp + 0x68]
call fcn.14002a600
nop
lea rcx, [rsp + 0x4d0]
call fcn.140027d60
nop
lea rcx, [rsp + 0x4f0]
call fcn.140027d60
nop
lea rcx, [rsp + 0x510]
call fcn.140027d60
nop
lea rcx, [rsp + 0x530]
call fcn.140027d60
nop
lea rcx, [rsp + 0x550]
call fcn.140027d60
nop
lea rcx, [rsp + 0x570]
call fcn.140027d60
nop
lea rcx, [rsp + 0x590]
call fcn.140027d60
call sub.libcurl.dll_curl_easy_init
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14002cc97
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov qword [rsp + 0x238], rax
movzx r9d, byte [rsp + 0x3c]
movzx r8d, byte [rsp + 0x3d]
movzx edx, byte [rsp + 0x52]
lea rcx, [rsp + 0x5b0]
call fcn.1400159c0
mov rcx, rax
call fcn.140038e50
mov qword [rsp + 0x230], rax
mov rdx, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x238]
call fcn.140018630
mov qword [rsp + 0x240], rax
lea rdx, [0x140022510]
mov rcx, qword [rsp + 0x240]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140048858]
mov rcx, qword [rsp + 0x6c0]
call fcn.140025270
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x68]
call fcn.140027d60
mov rax, qword [rsp + 0x6c0]
jmp 0x14002ce24
lea rcx, [rsp + 0x68]
call fcn.140038260
mov r8, rax
mov edx, 0x2712
mov rcx, qword [rsp + 0x58]
call sub.libcurl.dll_curl_easy_setopt
lea rcx, [rsp + 0x278]
call fcn.140025540
nop
lea r8, [0x14000f980]
mov edx, 0x4e2b
mov rcx, qword [rsp + 0x58]
call sub.libcurl.dll_curl_easy_setopt
lea r8, [rsp + 0x278]
mov edx, 0x2711
mov rcx, qword [rsp + 0x58]
call sub.libcurl.dll_curl_easy_setopt
mov rcx, qword [rsp + 0x58]
call sub.libcurl.dll_curl_easy_perform
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14002cdda
lea rax, [rsp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov qword [rsp + 0x250], rax
movzx r9d, byte [rsp + 0x3e]
movzx r8d, byte [rsp + 0x3f]
movzx edx, byte [rsp + 0x53]
lea rcx, [rsp + 0x5d0]
call fcn.140015ae0
mov rcx, rax
call fcn.140038e50
mov qword [rsp + 0x248], rax
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x250]
call fcn.140018630
mov qword [rsp + 0x260], rax
mov ecx, dword [rsp + 0x60]
call sub.libcurl.dll_curl_easy_strerror
mov qword [rsp + 0x258], rax
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x260]
call fcn.140018630
mov qword [rsp + 0x268], rax
lea rdx, [0x140022510]
mov rcx, qword [rsp + 0x268]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140048858]
lea rcx, [rsp + 0x278]
call fcn.140028750
mov rcx, qword [rsp + 0x58]
call sub.libcurl.dll_curl_easy_cleanup
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x6c0]
call fcn.140025150
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x278]
call fcn.140027d60
nop
lea rcx, [rsp + 0x68]
call fcn.140027d60
mov rax, qword [rsp + 0x6c0]
add rsp, 0x6b0
pop rdi
ret