Function at 0x1400539f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x248
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140053a25
jmp 0x14005401c
lea rdx, str.InternetOpenA
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, str.InternetConnectA
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.HttpOpenRequestA
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rdx, str.HttpSendRequestA
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], rax
lea rdx, str.InternetCloseHandle
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x88], 0
je 0x140053ad8
cmp qword [rsp + 0x90], 0
je 0x140053ad8
cmp qword [rsp + 0x98], 0
je 0x140053ad8
cmp qword [rsp + 0xa0], 0
je 0x140053ad8
cmp qword [rsp + 0x48], 0
jne 0x140053ae8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14005401c
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.A_WinInet_Example_Program_1.0
call qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140053b88
lea rdx, str.InternetOpenA_failed:
lea rcx, [0x1400955a0]
call fcn.1400013d0
mov qword [rsp + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xb0]
call fcn.1400079c0
mov qword [rsp + 0xb8], rax
lea rdx, [0x140004500]
mov rcx, qword [rsp + 0xb8]
call fcn.140007bf0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14005401c
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x1bb
lea rdx, str.api.telegram.org
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140053c5d
lea rdx, str.InternetConnectA_failed:
lea rcx, [0x1400955a0]
call fcn.1400013d0
mov qword [rsp + 0xc8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xc8]
call fcn.1400079c0
mov qword [rsp + 0xd0], rax
lea rdx, [0x140004500]
mov rcx, qword [rsp + 0xd0]
call fcn.140007bf0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14005401c
mov r8, qword [rsp + 0x250]
lea rdx, str._bot
lea rcx, [rsp + 0x1e0]
call fcn.140001820
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
lea r8, str._sendMessage
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x1c0]
call fcn.1400017d0
nop
lea rcx, [rsp + 0x1e0]
call fcn.140007450
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x1c0]
call fcn.140050cc0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.POST
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xf0]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140053dcd
lea rdx, str.HttpOpenRequestA_failed:
lea rcx, [0x1400955a0]
call fcn.1400013d0
mov qword [rsp + 0xf8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
call fcn.1400079c0
mov qword [rsp + 0x100], rax
lea rdx, [0x140004500]
mov rcx, qword [rsp + 0x100]
call fcn.140007bf0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x108]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x110]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x1c0]
call fcn.140007450
jmp 0x14005401c
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
lea rcx, [rsp + 0x1a0]
call fcn.140005e80
nop
mov r8, qword [rsp + 0x258]
lea rdx, str.chat_id
lea rcx, [rsp + 0x220]
call fcn.140001820
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
lea r8, str.text
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x200]
call fcn.1400017d0
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x260]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x180]
call fcn.140001780
nop
lea rcx, [rsp + 0x200]
call fcn.140007450
nop
lea rcx, [rsp + 0x220]
call fcn.140007450
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0x180]
call fcn.140053390
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x180]
call fcn.140050cc0
mov qword [rsp + 0x138], rax
lea rcx, [rsp + 0x1a0]
call fcn.140053390
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x1a0]
call fcn.140050cc0
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x138]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x148]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x140053f6a
lea rdx, str.HttpSendRequestA_failed:
lea rcx, [0x1400955a0]
call fcn.1400013d0
mov qword [rsp + 0x150], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x150]
call fcn.1400079c0
mov qword [rsp + 0x158], rax
lea rdx, [0x140004500]
mov rcx, qword [rsp + 0x158]
call fcn.140007bf0
jmp 0x140053f99
lea rdx, str.Message_sent_successfully_
lea rcx, [0x140095470]
call fcn.1400013d0
mov qword [rsp + 0x160], rax
lea rdx, [0x140004500]
mov rcx, qword [rsp + 0x160]
call fcn.140007bf0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x168]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x170]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x178]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x180]
call fcn.140007450
nop
lea rcx, [rsp + 0x1a0]
call fcn.140007450
nop
lea rcx, [rsp + 0x1c0]
call fcn.140007450
add rsp, 0x248
ret