Function at 0x408740
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Reference http user-agent string

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47179d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x494054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
xor eax, eax
mov dword [ebp - 4], 2
push eax
push eax
push eax
push 4
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_106.0.0.0_Safari_537.36
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x90], eax
test eax, eax
je 0x4087e1
push 0
push 0x1bb
push 0x488afc
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x8c], eax
cmp dword [ebx + 0x4c], 0x10
lea edx, [ebx + 0x38]
mov eax, dword [ebx + 0x48]
lea edi, [ebx + 0x38]
cmovae edx, dword [ebx + 0x38]
add eax, edx
mov dword [ebp - 0xf8], 0
cmp dword [ebx + 0x4c], 0x10
mov dword [ebp - 0x84], eax
cmovae edi, dword [ebx + 0x38]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0xf8], cx
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
call fcn.004068e0
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0xf8]
push dword [ebp - 0x58]
push dword [ebp - 0x84]
push edi
call fcn.00406a60
mov byte [ebp - 4], 3
lea edx, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
lea edi, [ebx + 0x20]
mov eax, dword [ebx + 0x30]
cmovae edx, dword [ebx + 0x20]
add eax, edx
mov dword [ebp - 0xe0], 0
cmp dword [ebx + 0x34], 0x10
mov dword [ebp - 0x58], eax
cmovae edi, dword [ebx + 0x20]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0xe0], cx
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
call fcn.004068e0
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0xe0]
push dword [ebp - 0x84]
push dword [ebp - 0x58]
push edi
call fcn.00406a60
mov byte [ebp - 4], 4
lea edx, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
lea edi, [ebx + 8]
mov eax, dword [ebx + 0x18]
cmovae edx, dword [ebx + 8]
add eax, edx
mov dword [ebp - 0xc8], 0
cmp dword [ebx + 0x1c], 0x10
mov dword [ebp - 0x58], eax
cmovae edi, dword [ebx + 8]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0xc8], cx
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
call fcn.004068e0
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0xc8]
push dword [ebp - 0x84]
push dword [ebp - 0x58]
push edi
call fcn.00406a60
push 4
push str._bot
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00406570
mov dword [ebp - 0x110], 0
xor ecx, ecx
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x100], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x15
push str._sendMessage_chat_id
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 6
call fcn.00406740
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x90]
lea ecx, [ebp - 0x140]
call fcn.00406360
push 6
push str.text
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.00406740
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x90]
lea ecx, [ebp - 0x50]
call fcn.00406360
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x408a84
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x12c]
cmp edx, 8
jb 0x408ac8
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408abe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
xor eax, eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x408b23
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408b19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xfc]
cmp edx, 8
jb 0x408b67
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408b5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
xor eax, eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x408bc8
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408bbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x408c29
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xe4]
cmp edx, 8
jb 0x408c8a
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
mov ecx, dword [ebp - 0x8c]
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
test ecx, ecx
je 0x408d3d
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0x800000
cmovae eax, dword [ebp - 0x50]
push 0
push 0
push 0
push eax
push 0x4889c0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x7c], esi
test esi, esi
je 0x408d8d
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x408e9f
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x408efa
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x80], eax
jmp 0x408efa
push 0xe
push str.Connect_failed
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0xf
call fcn.00401bb0
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x408d8d
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408d83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40961d
push edx
push ecx
call fcn.0044c564
add esp, 8
call edi
mov ecx, eax
lea esi, [ebp - 0x1b]
mov dword [ebp - 0x58], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x58]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x408d97
lea eax, [ebp - 0x1b]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp esi, eax
je 0x408ded
sub eax, esi
lea ecx, [ebp - 0x78]
push eax
push esi
call fcn.00401bb0
push 0xc
push str.Open_Failed
push 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x12
call fcn.0040a520
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov edx, dword [ebp - 0x114]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp edx, 0x10
jb 0x408e64
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408e5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40960e
push edx
push ecx
call fcn.0044c564
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x408e9c
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408e92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40960e
push edx
push ecx
call fcn.0044c564
add esp, 8
mov esi, dword [ebp - 0x7c]
push 0xb
push str.Send_Failed
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
call fcn.00401bb0
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x408ef7
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408eed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40961d
push edx
push ecx
call fcn.0044c564
add esp, 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x38], 0
test eax, eax
je 0x409354
nop dword [eax]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x409029
call edi
mov ecx, eax
lea esi, [ebp - 0x1b]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov ah, dl
shl al, 2
add ah, al
add ah, ah
sub cl, ah
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x408f31
lea eax, [ebp - 0x1b]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], dl
cmp esi, eax
je 0x408f77
sub eax, esi
lea ecx, [ebp - 0x78]
push eax
push esi
call fcn.00401bb0
push 0x27
push str.Error__u_in_WinHttpQueryDataAvailable._n
push 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x13
call fcn.0040a520
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov edx, dword [ebp - 0x114]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp edx, 0x10
jb 0x408fee
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408fe4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x409026
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40901c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
mov esi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x54]
xor ecx, ecx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.00451031
mov edi, eax
add esp, 4
test edi, edi
je 0x4092ef
mov eax, dword [ebp - 0x54]
inc eax
push eax
push 0
push edi
call fcn.0044e510
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x54]
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x40918e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x1b]
mov dword [ebp - 0x58], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x58]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x409080
lea eax, [ebp - 0x1b]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp esi, eax
je 0x4090d6
sub eax, esi
lea ecx, [ebp - 0x78]
push eax
push esi
call fcn.00401bb0
push 0x1d
push str.Error__u_in_WinHttpReadData._n
push 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x14
call fcn.0040a520
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x158], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x148], xmm0
mov edx, dword [ebp - 0x144]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp edx, 0x10
jb 0x40914d
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409143
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x4092d2
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40917f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
jmp 0x4092d2
push dword [ebp - 0x54]
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x78]
push edi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.00401bb0
mov esi, dword [ebp - 0x94]
mov eax, esi
mov byte [ebp - 4], 0x15
cmp dword [esi + 0x14], 0x10
jb 0x4091c7
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x78]
push eax
push 0
call fcn.0040a520
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xb0]
movq qword [ebp - 0x88], xmm1
movq qword [ebp - 0xa0], xmm1
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0xb0], xmm0
cmp esi, eax
je 0x40925c
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x409252
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x40923c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
mov eax, edx
push ecx
push eax
call fcn.0044c564
movups xmm0, xmmword [ebp - 0x28]
add esp, 8
movq xmm1, qword [ebp - 0x88]
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm1
jmp 0x409296
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x409296
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40928c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x4092ce
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4092c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409609
push edx
push ecx
call fcn.0044c564
add esp, 8
mov byte [ebp - 0x59], 1
push edi
call fcn.0044c595
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
cmp dword [ebp - 0x54], 0
jbe 0x409354
mov esi, dword [ebp - 0x7c]
jmp 0x408f10
push 0xe
push str.Out_of_memory_n
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
call fcn.00401bb0
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x409347
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40933d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40961d
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x54], 0
push dword [ebp - 0x94]
lea ecx, [ebp - 0xb0]
call fcn.00405f50
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x40939f
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409395
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409613
push edx
push ecx
call fcn.0044c564
add esp, 8
cmp dword [ebp - 0x80], 0
jne 0x4094b4
call edi
mov ecx, eax
lea esi, [ebp - 0x1b]
mov dword [ebp - 0x58], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x58]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x4093b3
lea eax, [ebp - 0x1b]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp esi, eax
je 0x409409
sub eax, esi
lea ecx, [ebp - 0x78]
push eax
push esi
call fcn.00401bb0
push 0x17
push str.Error__d_has_occurred._n
push 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x16
call fcn.0040a520
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa0], xmm0
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp edx, 0x10
jb 0x409480
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409476
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409618
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x4094b4
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4094aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409618
push edx
push ecx
call fcn.0044c564
add esp, 8
mov eax, dword [ebp - 0x7c]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x4094c4
push eax
call esi
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x4094d1
push eax
call esi
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4094de
push eax
call esi
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x409518
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40950e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40961d
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edx, dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 0x10
jb 0x409560
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409556
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40961d
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp edx, 0x10
jb 0x4095a6
mov ecx, dword [ebx + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40959c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40961d
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edx, dword [ebx + 0x4c]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xf
mov byte [ebx + 0x20], 0
cmp edx, 0x10
jb 0x4095e8
mov ecx, dword [ebx + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4095de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40961d
push edx
push ecx
call fcn.0044c564
add esp, 8
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044c0d8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00450fe0
call fcn.00450fe0
call fcn.00450fe0
call fcn.00450fe0
call fcn.00450fe0
int3