Function at 0x43ca50
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d8dc
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4a8800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x25c], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x270]
mov ebx, dword [ebp + 8]
mov edi, 0x8448cf40
push str.https
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x268], 0
call fcn.00423c60
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
mov ecx, ebx
push eax
call fcn.0043be40
mov esi, dword [ebp - 0x270]
mov ecx, esi
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43cafd
test dx, dx
je 0x43caf9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43cafd
add eax, 4
add ecx, 4
test dx, dx
jne 0x43cad7
xor eax, eax
jmp 0x43cb02
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x26c]
sete bl
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a9c10]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x43cb40
add eax, 0xfffffff4
push eax
call ecx
test eax, eax
jg 0x43cb3a
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff4
push eax
call fcn.0045a610
add esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
mov dword [ebp - 4], 0xffffffff
cmp eax, dword [0x4a9c10]
je 0x43cb65
add esi, 0xfffffff4
push esi
call ecx
test eax, eax
jg 0x43cb65
push esi
call fcn.0045a610
add esp, 4
test bl, bl
mov eax, 0x84c8ff40
mov ebx, dword [ebp - 0x25c]
mov ecx, ebx
cmovne edi, eax
call fcn.0043bef0
test eax, eax
jne 0x43cb87
xor eax, eax
jmp 0x43cee4
push 0x1ff
lea eax, [ebp - 0x20f]
mov dword [ebp - 0x264], 0
push 0
push eax
mov byte [ebp - 0x210], 0
call fcn.0045c460
mov eax, dword [ebp - 0x260]
add esp, 0xc
mov ecx, ebx
push 0
push edi
push 0
push 0x495130
push dword [eax]
mov eax, dword [ebx]
call dword [eax]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
mov dword [ebp - 0x260], ebx
test ebx, ebx
je 0x43cb80
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0045c460
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push ebx
call esi
mov edx, dword [ebp - 0x264]
xor ecx, ecx
test edx, edx
setne cl
and eax, ecx
je 0x43cd71
cmp edx, 0x1ff
je 0x43cd23
cmp byte [ebp - 0x210], 0
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x240], 0
jne 0x43cc76
xor ecx, ecx
jmp 0x43cc89
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cc80
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.00421650
mov byte [ebp - 4], 2
lea eax, [ebp - 0x258]
push dword [ebp - 0x264]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.0043cf10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.0042a2c0
cmp dword [ebp - 0x244], 0x10
jb 0x43cce4
push dword [ebp - 0x258]
call fcn.0045a050
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x22c], 0x10
mov dword [ebp - 0x244], 0xf
mov dword [ebp - 0x248], 0
mov byte [ebp - 0x258], 0
jb 0x43cc01
push dword [ebp - 0x240]
call fcn.0045a050
add esp, 4
jmp 0x43cc01
cmp byte [ebp - 0x210], 0
jne 0x43cd46
xor ecx, ecx
lea eax, [ebp - 0x210]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.0042a380
jmp 0x43cc01
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cd50
sub ecx, edx
lea eax, [ebp - 0x210]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.0042a380
jmp 0x43cc01
push dword [ebp - 0x218]
call fcn.00459559
add esp, 4
lea ecx, [ebp - 0x228]
cmp dword [ebp - 0x214], 0x10
mov edi, eax
cmovae ecx, dword [ebp - 0x228]
push dword [ebp - 0x218]
push ecx
push edi
call fcn.0045b660
mov esi, dword [ebp - 0x218]
add esp, 0xc
mov ebx, dword [ebp - 0x274]
mov ecx, ebx
push esi
call fcn.00423df0
xor ecx, ecx
test eax, eax
je 0x43cdcc
mov eax, dword [ebx]
mov dword [eax - 8], esi
mov eax, dword [ebx]
mov word [eax + esi*2], cx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x218]
push eax
push ecx
push eax
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, ebx
mov esi, eax
call fcn.00424000
cmp esi, 0xffffffff
jne 0x43cdfb
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov eax, dword [ebx]
xor ecx, ecx
push edi
mov dword [eax - 8], esi
mov eax, dword [ebx]
mov word [eax + esi*2], cx
call fcn.0045a610
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
push dword [ebp - 0x260]
call esi
mov edi, dword [ebp - 0x25c]
mov eax, dword [edi + 4]
test eax, eax
je 0x43ce36
push eax
call esi
mov dword [edi + 4], 0
mov eax, dword [ebx]
cmp dword [eax - 8], 0
jle 0x43ce98
push str.NULL
lea ecx, [ebp - 0x25c]
call fcn.00423c60
mov eax, dword [ebp - 0x25c]
mov edx, eax
mov ecx, dword [ebx]
mov dword [ebp - 0x268], 1
mov si, word [ecx]
cmp si, word [edx]
jne 0x43ce88
test si, si
je 0x43ce84
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x43ce88
add ecx, 4
add edx, 4
test si, si
jne 0x43ce62
xor ecx, ecx
jmp 0x43ce8d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x43ce9e
mov edi, 1
jmp 0x43cea0
mov eax, dword [ebp - 0x25c]
xor edi, edi
test byte [ebp - 0x268], 1
je 0x43cecb
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a9c10]
je 0x43cecb
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43cecb
push esi
call fcn.0045a610
add esp, 4
cmp dword [ebp - 0x214], 0x10
jb 0x43cee2
push dword [ebp - 0x228]
call fcn.0045a050
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret 8