Function at 0x404610
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4516f5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4691b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 1
push str.TelegramBot
mov dword [ebp - 4], 2
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x404663
lea esi, [eax + 1]
jmp 0x404919
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x1c
push str.https:__api.telegram.org_bot
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
mov byte [ebp - 4], 3
push 0x1c
call fcn.0040c300
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x30]
sub eax, edx
mov dword [ebp - 0x2c], edx
push edi
push ecx
cmp edi, eax
ja 0x4046e0
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [esi + edx]
push eax
call fcn.004260f0
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x4046f0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
call fcn.0040c300
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x15
push str._sendMessage_chat_id
cmp eax, 0x15
jb 0x404727
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x15]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.004260f0
add esp, 0xc
mov byte [esi + 0x15], 0
jmp 0x404738
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x15
call fcn.0040c300
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x38]
mov esi, dword [ebp - 0x14]
mov eax, esi
cmovae ecx, dword [ebp + 0x38]
mov edi, dword [ebp + 0x48]
mov edx, dword [ebp - 0x18]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x404778
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + edx]
push esi
call fcn.004260f0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x404788
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
call fcn.0040c300
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 6
push str.text
cmp eax, 6
jb 0x4047bf
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 6]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.004260f0
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x4047d0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 6
call fcn.0040c300
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x18]
sub eax, edx
mov dword [ebp - 0x2c], edx
push edi
push ecx
cmp edi, eax
ja 0x404818
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [esi + edx]
push eax
call fcn.004260f0
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x404828
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
call fcn.0040c300
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x10
push str.parse_modeHTML
cmp eax, 0x10
jb 0x40485f
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x10]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.004260f0
add esp, 0xc
mov byte [esi + 0x10], 0
jmp 0x404870
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x10
call fcn.0040c300
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0x2000
cmovae edi, dword [ebp - 0x28]
call fcn.00424e4f
add esp, 4
mov esi, eax
push 0x1000
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [ebp - 0x30]
push 0
push 0x80000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
jne 0x4048c5
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, 1
jmp 0x4048d3
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x404907
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4048fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049ee
push ecx
push edx
call fcn.00424e41
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40494d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404943
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049ee
push ecx
push edx
call fcn.00424e41
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x40498f
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404985
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049ee
push ecx
push edx
call fcn.00424e41
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp ecx, 0x10
jb 0x4049d1
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4049c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049ee
push ecx
push edx
call fcn.00424e41
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004249b0
mov esp, ebp
pop ebp
ret
call fcn.0042b71c
int3