Function at 0x410010
Capabilities:
Check http status code
Connect to http server
Download and write a file
Parse url
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4714d5
push eax
mov eax, 0x19d8
mov dword fs:[0], esp
call fcn.00449730
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xbc]
push dword [ebp + 8]
call fcn.00404940
mov byte [ebp - 4], 2
push dword [edi + 0x3e0]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0xa8], 8
lea ecx, [ebp - 0xbc]
mov eax, dword [ebp - 0xac]
cmovae ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x18], ecx
cmp eax, 2
jb 0x4100e6
dec eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0x14], eax
nop
sub eax, ecx
sar eax, 1
je 0x4100e3
cmp word [ecx], 0x2f
je 0x4100a6
add ecx, 2
sub eax, 1
jne 0x410096
jmp 0x4100e3
mov edx, 0x487c78
mov edi, ecx
mov esi, 2
sub edi, edx
nop dword [eax]
nop dword [eax + eax]
mov ax, word [edx + edi]
cmp ax, word [edx]
jne 0x410171
add edx, 2
sub esi, 1
jne 0x4100c0
sub ecx, dword [ebp - 0x18]
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x41027e
mov edi, dword [ebp - 0x10]
push 8
xor eax, eax
mov dword [ebp - 0x24], 0
push str.https:__
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.00404a00
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00408a60
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x410129
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00404b90
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x410186
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41017c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411878
jmp 0x41017c
mov eax, dword [ebp - 0x14]
add ecx, 2
jmp 0x410090
push edx
push ecx
call fcn.00448b15
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
mov esi, dword [ebp - 0x24]
xor eax, eax
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0xac]
add eax, esi
mov dword [ebp - 0x40], 0
push eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x14], 1
call fcn.00406860
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push esi
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
push eax
call fcn.00404b90
cmp dword [ebp - 0xa8], 8
lea eax, [ebp - 0xbc]
push dword [ebp - 0xac]
cmovae eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x50]
push eax
call fcn.00404b90
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00406110
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x41023e
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410234
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x410281
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
jmp 0x410281
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 0xa8], 8
lea eax, [ebp - 0x13e4]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x130]
lea eax, [ebp - 0x15e4]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x114], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x17e4]
movlpd qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x19e4]
push ecx
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push 0
push dword [ebp - 0xac]
mov dword [ebp - 0x118], 0
push eax
movlpd qword [ebp - 0xfc], xmm0
mov dword [ebp - 0x130], 0x3c
mov dword [ebp - 0x11c], 0x100
mov dword [ebp - 0x110], 0x100
mov dword [ebp - 0x108], 0x100
mov dword [ebp - 0x100], 0x100
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x41043b
lea eax, [ebp - 0xbc]
mov edx, str.Error_2029___Bad_URL_passed__
push eax
lea ecx, [ebp - 0xec]
call fcn.0041cd20
add esp, 4
push 1
push 0x48616c
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00404b90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x3b0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040b710
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x4103ed
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4103e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41187d
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xd8]
cmp edx, 8
jb 0x410888
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41187d
push edx
push ecx
call fcn.00448b15
add esp, 8
mov esi, 2
jmp 0x411787
push 0
push 0
push 3
push dword [ebp - 0x10c]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0x120]
push dword [edi + 0x38c]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x410892
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0x14], 0x404
push eax
call fcn.0042cb80
mov esi, eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0042cb80
add esp, 0x10
push 0x2d
push str.Error_2030___Error_communicating_with_server
push 0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0041e5c0
mov dword [ebp - 0x40], 0
xor ecx, ecx
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 8
push str._:_code
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.00404b90
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
sub eax, edx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jbe 0x41056a
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x41056a
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push edx
cmovae eax, dword [ebp - 0x68]
mov ecx, esi
push eax
push 0
call fcn.0041e5c0
jmp 0x41057c
cmp dword [esi + 0x14], 8
jb 0x410572
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.00404b90
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push 2
push 0x4879c8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.00404b90
mov dword [ebp - 0x74], 0
xor ecx, ecx
mov dword [ebp - 0x70], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x74], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x410603
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00404b90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x3b0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
push eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040b710
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x410697
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41068d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411882
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x4106d4
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4106ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411882
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp edx, 8
jb 0x410725
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41071b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411882
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x410773
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410769
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411882
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x4107c1
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4107b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411882
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xc0]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x410815
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41080b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411882
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xd8]
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
cmp edx, 8
jb 0x410872
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410868
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411882
push edx
push ecx
call fcn.00448b15
add esp, 8
mov eax, dword [edi + 0x3b4]
mov ecx, 2
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x3b4], eax
mov esi, 2
jmp 0x411787
cmp dword [ebp - 0x124], 4
mov edx, 0x84802000
push 0
mov eax, 0x84002000
mov dword [ebp - 0xf4], 0x48795c
cmove eax, edx
mov dword [ebp - 0xf0], 0
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
push 0
push dword [ebp - 0x104]
push 0x487d44
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
jne 0x410d36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd4]
xor eax, eax
mov dword [ebp + 0x3c], 2
push eax
push 0x4854f0
mov dword [ebp - 0x18], 0x40f
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
call fcn.00404a00
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0042cb80
mov esi, eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0042cb80
add esp, 0x10
push 0x2d
push str.Error_2031___Error_communicating_with_server
push edi
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0041e5c0
mov dword [ebp - 0x74], edi
xor ecx, ecx
mov dword [ebp - 0x70], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x74], xmm0
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 7
mov word [eax], cx
push 8
push str._:_code
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x12
call fcn.00404b90
mov dword [ebp - 0x58], edi
xor ecx, ecx
mov dword [ebp - 0x54], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x54]
mov eax, edi
mov edx, dword [ebp - 0x58]
sub eax, edx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jbe 0x410a06
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x410a06
cmp edi, 8
lea eax, [ebp - 0x68]
push edx
cmovae eax, dword [ebp - 0x68]
mov ecx, esi
push eax
push 0
call fcn.0041e5c0
jmp 0x410a18
cmp dword [esi + 0x14], 8
jb 0x410a0e
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.00404b90
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push 2
push 0x4879c8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x14
call fcn.00404b90
mov dword [ebp - 0x40], 0
xor ecx, ecx
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x15
sub esp, 0x18
mov eax, dword [ebp + 8]
mov esi, esp
mov dword [ebp - 0x6c], esi
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x410aa4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00404b90
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov word [eax], cx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0xd4]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004118a0
mov edx, dword [ebp - 0x3c]
mov esi, eax
cmp edx, 8
jb 0x410b35
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410b2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x410b83
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410b79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x410bd1
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410bc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x410c22
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xd8]
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp edx, 8
jb 0x410c79
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
cmp edx, 8
jb 0x410cd6
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410ccc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x411787
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411562
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
jmp 0x411562
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x24]
push eax
call fcn.00417820
cmp dword [ebp + 0x38], 8
lea eax, [ebp + 0x24]
push 0
cmovae eax, dword [ebp + 0x24]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
jne 0x410ea2
push 0x16
xor eax, eax
mov dword [ebp - 0x74], 0
push str.Error_writing_to_file
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.00404a00
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x24]
cmp dword [ebp + 0x38], 8
lea ecx, [ebp - 0x84]
push dword [ebp + 0x34]
cmovae eax, dword [ebp + 0x24]
push eax
call fcn.00404b90
xor eax, eax
mov dword [ebp + 8], 2
push eax
push 0x4854f0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.00404a00
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x17
push eax
sub esp, 0x18
lea eax, [ebp - 0x84]
mov ecx, esp
push eax
call fcn.00404940
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004118a0
mov edx, dword [ebp - 0x3c]
mov esi, eax
cmp edx, 8
jb 0x410e4e
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410e44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41188c
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x411787
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411562
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41188c
jmp 0x411562
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4112e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd4]
xor eax, eax
mov dword [ebp + 0x3c], 2
push eax
push 0x4854f0
mov dword [ebp - 0x18], 0x41d
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
call fcn.00404a00
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0042cb80
mov edi, eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0042cb80
add esp, 0x10
push 0x2d
push str.Error_2032___Error_communicating_with_server
push 0
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.0041e5c0
mov dword [ebp - 0x74], 0
xor ecx, ecx
mov dword [ebp - 0x70], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x74], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 8
push str._:_code
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1b
call fcn.00404b90
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
sub eax, edx
mov ecx, dword [edi + 0x10]
cmp ecx, eax
jbe 0x410ff4
mov eax, dword [edi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x410ff4
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push edx
cmovae eax, dword [ebp - 0x68]
mov ecx, edi
push eax
push 0
call fcn.0041e5c0
jmp 0x411006
cmp dword [edi + 0x14], 8
jb 0x410ffc
mov edi, dword [edi]
push ecx
push edi
lea ecx, [ebp - 0x68]
call fcn.00404b90
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push 3
push 0x487ddc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1d
call fcn.00404b90
mov dword [ebp - 0x40], 0
xor ecx, ecx
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edi, esp
mov dword [ebp - 0x6c], edi
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x411092
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00404b90
mov dword [edi + 0x10], 0
xor ecx, ecx
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov word [eax], cx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0xd4]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004118a0
mov edx, dword [ebp - 0x3c]
mov esi, eax
cmp edx, 8
jb 0x411123
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411119
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x411171
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x4111bf
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4111b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x411210
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411206
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp edx, 8
jb 0x411267
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41125d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xd8]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x4112c4
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4112ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
xor eax, eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
jmp 0x410cf3
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x88], 0x1000
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0xa4], 0
push eax
lea eax, [ebp - 0x11e4]
push eax
push 0x13
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x11e4]
push eax
call fcn.004522ee
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [eax - 0xc8]
cmp ecx, 0x64
jb 0x411571
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x411392
xor eax, eax
mov word [ebp + ecx*2 - 0x11e4], ax
lea ecx, [ebp - 0x11e4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411370
sub ecx, edx
lea eax, [ebp - 0x11e4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00404b90
mov eax, dword [ebp - 0x14]
cmp eax, 0x194
jne 0x411469
lea eax, [ebp + 8]
mov dword [ebp + 8], 3
push eax
lea eax, [ebp - 0x34]
mov edx, str.Error_2033___File_was_not_found_on_the_server__
push eax
lea ecx, [ebp - 0xa0]
call fcn.0041cd20
sub esp, 0x14
mov byte [ebp - 4], 0x20
mov esi, esp
mov ecx, eax
mov dword [ebp + 0x3c], esi
push 1
push 0x48616c
call fcn.00404b90
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov word [eax], cx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp + 0x24]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004118a0
mov edx, dword [ebp - 0x8c]
mov esi, eax
cmp edx, 8
jb 0x411547
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41145a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
jmp 0x411547
push 1
push 3
lea ecx, [ebp - 0x1e0]
call fcn.00418380
push 0x437
mov edx, str.Error_2034___Error_communicating_with_server
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1d0]
call fcn.0041cde0
mov ecx, eax
call fcn.00418af0
push dword [ebp - 0x14]
mov edx, str._response_was_HTTP
lea ecx, [ebp - 0x1d0]
call fcn.0041cde0
mov ecx, eax
call fcn.00418af0
mov edx, 0x4879c8
lea ecx, [ebp - 0x1d0]
call fcn.0041cde0
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4114d1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
push edx
call fcn.0041ec30
mov edx, 0x487f2c
mov ecx, eax
call fcn.0041cde0
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae ecx, dword [ebp - 0x34]
push ecx
push eax
call fcn.0041ec30
add esp, 0x18
mov edx, 0x48616c
mov ecx, eax
call fcn.0041cde0
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
sub esp, 0x18
lea ecx, [ebp - 0x1e0]
push esp
call fcn.004182d0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x24]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004118a0
lea ecx, [ebp - 0x1e0]
mov esi, eax
call fcn.00409ee0
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x411787
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
jmp 0x410d0f
push edx
push ecx
call fcn.00448b15
add esp, 8
jmp 0x411787
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x88], 0x1002
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0xa4], 0
push eax
lea eax, [ebp - 0x11e4]
push eax
push 5
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x11e4]
push eax
call fcn.004522ee
mov esi, eax
add esp, 4
cmp esi, 1
jge 0x411633
mov esi, dword [ebp + 0x3c]
nop dword [eax]
mov eax, 0x1002
cmp esi, 1
jl 0x4115cf
cmp esi, eax
cmovb eax, esi
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x3c], 0
push ecx
push eax
lea eax, [ebp - 0x11e4]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41173f
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x41170b
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
lea eax, [ebp - 0x11e4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x3c]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp eax, ecx
jne 0x4116f2
sub esi, ecx
jmp 0x4115c0
mov eax, dword [ebp + 0x3c]
cmp eax, esi
je 0x4115c0
test eax, eax
jle 0x4115c0
push 1
push 3
lea ecx, [ebp - 0x1e0]
call fcn.00418380
push esi
mov edx, str.Error_2058___Error__server_says_file_is
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x1d0]
call fcn.0041cde0
mov ecx, eax
call fcn.00418af0
push dword [ebp + 0x3c]
mov edx, str._but_it_should_be
lea ecx, [ebp - 0x1d0]
call fcn.0041cde0
mov ecx, eax
call fcn.00418af0
mov edx, 0x4879c8
lea ecx, [ebp - 0x1d0]
call fcn.0041cde0
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4116a2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
push edx
call fcn.0041ec30
add esp, 0xc
mov dword [ebp + 8], 2
lea eax, [ebp + 8]
lea ecx, [ebp - 0x1e0]
push eax
sub esp, 0x18
push esp
call fcn.004182d0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x24]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004118a0
lea ecx, [ebp - 0x1e0]
mov esi, eax
call fcn.00409ee0
jmp 0x411787
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 2
push eax
sub esp, 0x18
mov ecx, esp
push 0x28
push str.Error_2060___Error_saving_file_to_disk:
jmp 0x411756
test esi, esi
jle 0x411721
lea eax, [ebp + 8]
push eax
sub esp, 0x18
mov ecx, esp
push 0x3f
push str.Error_2059___Download_complete_but_incomplete_file__error_code
jmp 0x41174f
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x411787
lea eax, [ebp + 8]
push eax
sub esp, 0x18
mov ecx, esp
push 0x2d
push str.Error_2061___Error_downloading_file_to_disk:
mov dword [ebp + 8], 2
mov dword [ecx + 0x10], 0
xor eax, eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00404a00
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x24]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004118a0
mov esi, eax
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x4117c7
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4117bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
cmp edx, 8
jb 0x41181a
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411810
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp + 0x38]
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
cmp edx, 8
jb 0x411864
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41185a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411887
push edx
push ecx
call fcn.00448b15
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x38
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
int3