Function at 0x4211a0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x46900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x4211db
mov eax, 0xfffffffd
jmp 0x421eb0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406b10
mov dword [ebp - 4], 0
movzx ecx, byte [0x46b91c]
test ecx, ecx
je 0x421215
push 1
lea ecx, [ebp - 0x40]
call fcn.00406730
push eax
lea ecx, [ebp - 0x40]
call fcn.00406750
push eax
call fcn.00424210
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00406730
add eax, 1
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1d4]
lea eax, [edx + edx + 0x12]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
push ecx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1cc]
push edx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x1cc]
push eax
push 0
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.0042c590
add esp, 0xc
mov edx, dword [ebp - 0x1cc]
push edx
push 0
mov eax, dword [ebp - 0x17c]
push eax
call fcn.0042c590
add esp, 0xc
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp - 0x1a0]
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
call fcn.00406750
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
mov eax, dword [ebp - 0x1d4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x1a0]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
add ecx, 1
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x1c4]
mov al, byte [edx]
mov byte [ebp - 0x181], al
add dword [ebp - 0x1c4], 1
cmp byte [ebp - 0x181], 0
jne 0x4212f8
mov ecx, dword [ebp - 0x1c4]
sub ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x1e4], ecx
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x17c]
add eax, dword [ebp - 0x178]
mov byte [eax], 0
mov ecx, dword [ebp - 0x178]
add ecx, 1
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
and edx, 0x8000000f
jns 0x421365
dec edx
or edx, 0xfffffff0
inc edx
test edx, edx
je 0x421389
mov eax, dword [ebp - 0x17c]
add eax, dword [ebp - 0x178]
mov byte [eax], 0
mov ecx, dword [ebp - 0x178]
add ecx, 1
mov dword [ebp - 0x178], ecx
jmp 0x421352
xor edx, edx
mov eax, dword [ebp - 0x178]
add eax, 1
setb dl
neg edx
or edx, eax
push edx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x178]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.0042c590
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
mov ecx, dword [str.dmYjExMmQtZTk5NC]
push ecx
push 0x11
lea edx, [ebp - 0x24]
push edx
call fcn.0041a590
lea eax, [ebp - 0x164]
push eax
push 0x100
mov ecx, dword [str.Y2NDBiYzItNjQxOC00MGFiLWE3NWYtN2]
push ecx
call fcn.004010d0
add esp, 0xc
mov dword [ebp - 0x1dc], eax
push 1
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x178]
push ecx
mov edx, dword [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x17c]
push eax
call fcn.004027f0
add esp, 0x18
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.00412790
add esp, 4
mov dword [ebp - 0x1d0], eax
xor edx, edx
mov eax, dword [ebp - 0x1d0]
add eax, 1
setb dl
neg edx
or edx, eax
push edx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1d0]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x1a8]
push edx
call fcn.0042c590
add esp, 0xc
mov eax, dword [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x178]
push ecx
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.00412390
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
add eax, 0x20
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
push ecx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x1a8]
push edx
push str._data_:__s_
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.00412990
add esp, 0x10
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1ac]
add eax, 1
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1ac]
mov dl, byte [ecx]
mov byte [ebp - 0x17d], dl
add dword [ebp - 0x1ac], 1
cmp byte [ebp - 0x17d], 0
jne 0x42150e
mov eax, dword [ebp - 0x1ac]
sub eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1c8], 0x46b618
mov ecx, dword [ebp - 0x1c8]
add ecx, 1
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x1c8]
mov al, byte [edx]
mov byte [ebp - 0x17e], al
add dword [ebp - 0x1c8], 1
cmp byte [ebp - 0x17e], 0
jne 0x421557
mov ecx, dword [ebp - 0x1c8]
sub ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1f0]
push edx
mov eax, dword [ebp - 0x188]
push eax
mov ecx, dword [ebp - 0x1f4]
push ecx
push 0x46b618
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
movzx eax, byte [0x46b91c]
test eax, eax
je 0x421619
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x19c]
add edx, 1
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x19c]
mov cl, byte [eax]
mov byte [ebp - 0x17f], cl
add dword [ebp - 0x19c], 1
cmp byte [ebp - 0x17f], 0
jne 0x4215d1
mov edx, dword [ebp - 0x19c]
sub edx, dword [ebp - 0x210]
mov dword [ebp - 0x1f8], edx
push 2
mov eax, dword [ebp - 0x1f8]
push eax
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.00424210
add esp, 0xc
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x17c]
push eax
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x17c], 0
mov ecx, dword [ebp - 0x1a4]
push ecx
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x1a4], 0
mov edx, dword [ebp - 0x1a8]
push edx
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x188]
push eax
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x168], 0
push 0
lea ecx, [ebp - 0x168]
push ecx
push 0
push 0x80000016
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
xor eax, eax
mov ecx, dword [ebp - 0x168]
add ecx, 2
setb al
neg eax
or eax, ecx
push eax
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x168]
add edx, 2
push edx
push 0
mov eax, dword [ebp - 0x170]
push eax
call fcn.0042c590
add esp, 0xc
push 0
lea ecx, [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x170]
push edx
push 0x80000016
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
movzx ecx, byte [0x46b91c]
test ecx, ecx
je 0x421742
push 0
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x170]
push eax
call fcn.00424210
add esp, 0xc
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x168], 0
push 0
lea edx, [ebp - 0x168]
push edx
push 0
push 0x16
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
xor ecx, ecx
mov edx, dword [ebp - 0x168]
add edx, 2
setb cl
neg ecx
or ecx, edx
push ecx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x168]
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.0042c590
add esp, 0xc
push 0
lea edx, [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x170]
push eax
push 0x16
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
movzx edx, byte [0x46b91c]
test edx, edx
je 0x4217f7
push 3
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.00424210
add esp, 0xc
mov edx, dword [ebp - 0x170]
push edx
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1d8], 0
push 0x460c95
lea ecx, [ebp - 0x58]
call fcn.00406a50
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1d8], 0
push 0
push 0
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp dword [ebp - 0x16c], 0
jbe 0x421903
xor edx, edx
mov eax, dword [ebp - 0x16c]
add eax, 2
setb dl
neg edx
or edx, eax
push edx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x16c]
add ecx, 2
push ecx
push 0
mov edx, dword [ebp - 0x170]
push edx
call fcn.0042c590
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x170]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x170]
push edx
lea ecx, [ebp - 0x58]
call fcn.004072f0
mov eax, dword [ebp - 0x170]
push eax
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x170], 0
cmp dword [ebp - 0x1d8], 0
je 0x421916
cmp dword [ebp - 0x28], 0
ja 0x421846
movzx ecx, byte [0x46b91c]
test ecx, ecx
je 0x42193d
push 5
lea ecx, [ebp - 0x58]
call fcn.00406730
push eax
lea ecx, [ebp - 0x58]
call fcn.00406750
push eax
call fcn.00424210
add esp, 0xc
mov ecx, dword [ebp + 0x10]
call fcn.00419f80
lea ecx, [ebp - 0x58]
call fcn.00406750
push eax
call fcn.00428000
add esp, 4
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jne 0x421995
mov dword [ebp - 0x1fc], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00406980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406980
mov eax, dword [ebp - 0x1fc]
jmp 0x421eb0
push str.code
mov edx, dword [ebp - 0x174]
push edx
call fcn.00428520
add esp, 8
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
je 0x4219c4
mov eax, dword [ebp - 0x1b0]
cmp dword [eax + 0xc], 3
je 0x421a19
mov ecx, dword [ebp - 0x174]
push ecx
call fcn.004275f0
add esp, 4
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x200], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00406980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406980
mov eax, dword [ebp - 0x200]
jmp 0x421eb0
mov edx, dword [ebp - 0x1b0]
cmp dword [edx + 0x14], 0xc8
je 0x421a7b
mov eax, dword [ebp - 0x174]
push eax
call fcn.004275f0
add esp, 4
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x204], 0xfffffffe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00406980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406980
mov eax, dword [ebp - 0x204]
jmp 0x421eb0
push str.data
mov ecx, dword [ebp - 0x174]
push ecx
call fcn.00428520
add esp, 8
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0
jne 0x421af1
mov edx, dword [ebp - 0x174]
push edx
call fcn.004275f0
add esp, 4
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x208], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00406980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406980
mov eax, dword [ebp - 0x208]
jmp 0x421eb0
mov eax, dword [ebp - 0x194]
cmp dword [eax + 0xc], 4
je 0x421b50
mov ecx, dword [ebp - 0x174]
push ecx
call fcn.004275f0
add esp, 4
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x20c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00406980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406980
mov eax, dword [ebp - 0x20c]
jmp 0x421eb0
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x10]
push eax
lea ecx, [ebp - 0x70]
call fcn.00406a50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00406730
push eax
lea ecx, [ebp - 0x70]
call fcn.00406750
push eax
call fcn.004127b0
add esp, 8
mov dword [ebp - 0x190], eax
xor ecx, ecx
mov edx, dword [ebp - 0x190]
add edx, 1
setb cl
neg ecx
or ecx, edx
push ecx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x190]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x1b8]
push ecx
call fcn.0042c590
add esp, 0xc
mov edx, dword [ebp - 0x1b8]
push edx
lea ecx, [ebp - 0x70]
call fcn.00406730
push eax
lea ecx, [ebp - 0x70]
call fcn.00406750
push eax
call fcn.00412540
add esp, 0xc
mov dword [ebp - 0x190], eax
xor eax, eax
mov ecx, dword [ebp - 0x190]
add ecx, 1
setb al
neg eax
or eax, ecx
push eax
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x1bc], eax
mov edx, dword [ebp - 0x190]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.0042c590
add esp, 0xc
push 0xf0
push 0
lea ecx, [ebp - 0x164]
push ecx
call fcn.0042c590
add esp, 0xc
lea edx, [ebp - 0x164]
push edx
push 0x100
mov eax, dword [str.Y2NDBiYzItNjQxOC00MGFiLWE3NWYtN2]
push eax
call fcn.00401820
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov ecx, dword [str.dmYjExMmQtZTk5NC]
push ecx
push 0x11
lea edx, [ebp - 0x24]
push edx
call fcn.0041a590
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0x190]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x1b8]
push ecx
call fcn.004027f0
add esp, 0x18
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x198], edx
xor ecx, ecx
mov eax, dword [ebp - 0x198]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x198]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x1c0]
push ecx
call fcn.0042c590
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp - 0x198]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004308a5
add esp, 4
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x198]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x18c]
push ecx
call fcn.0042c590
add esp, 0xc
mov edx, dword [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x1c0]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1bc]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
mov edx, dword [ebp - 0x198]
shl edx, 1
push edx
mov eax, dword [ebp - 0x18c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c0]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x18c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004071f0
movzx eax, byte [0x46b91c]
test eax, eax
je 0x421df2
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b4]
add edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x1b4]
mov cl, byte [eax]
mov byte [ebp - 0x180], cl
add dword [ebp - 0x1b4], 1
cmp byte [ebp - 0x180], 0
jne 0x421daa
mov edx, dword [ebp - 0x1b4]
sub edx, dword [ebp - 0x220]
mov dword [ebp - 0x214], edx
push 4
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x18c]
push ecx
call fcn.00424210
add esp, 0xc
mov edx, dword [ebp - 0x174]
push edx
call fcn.004275f0
add esp, 4
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x1b8]
push eax
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x1b8], 0
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x1bc], 0
mov edx, dword [ebp - 0x1c0]
push edx
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x18c]
push eax
call fcn.0042fd15
add esp, 4
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x218], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00406980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00406980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406980
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004291f2
mov esp, ebp
pop ebp
ret