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

Disassembly:
push 0x4ac
mov eax, 0x41c142
call fcn.0041a667
mov esi, ecx
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x4a4], esi
call dword [0x41d248]
lea eax, [ebp - 0x4a0]
push eax
mov edi, 0x400
push edi
lea eax, [ebp - 0x410]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x40b37d
cmp dword [ebp - 0x4a0], ebx
je 0x40b3a0
push dword [ebp - 0x4a0]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call dword [0x41d21c]
lea eax, [ebp - 0x4a0]
push eax
push edi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x4a4]
mov dword [ebp - 0x4a0], ebx
call esi
test eax, eax
jne 0x40b347
push 0x423b5c
push 0x423b68
push str.bugreport
call fcn.004124b5
add esp, 0xc
cmp dword [ebp - 0x414], 0x10
mov eax, dword [ebp - 0x428]
jae 0x40b3b5
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x4ac]
push eax
call fcn.00411f64
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x4ac]
push esi
push str.6e0Rs
push str.bugreport
call fcn.004124b5
add esp, 0x14
cmp dword [ebp - 0x418], ebx
jne 0x40b41b
push str.RecvBasicInfoAck:_failed__data_null._r_n
push 0x421370
call fcn.004124b5
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.00401677
push 2
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [0x41d1cc]
mov eax, esi
call fcn.0041a6ea
ret
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x4a4], 2
call dword [0x41d248]
push 0x423be0
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
call dword [0x41d1f4]
xor edi, edi
jmp 0x40b5ae
push edi
push 0x423be0
lea ecx, [ebp - 0x42c]
call dword [0x41d1ec]
mov edi, eax
cmp edi, 0xffffffff
je 0x40b5ba
push edi
push ebx
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x42c]
call dword [0x41d1e8]
push ebx
push 0x423be4
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 3
call dword [0x41d1ec]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b55f
push esi
push ebx
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x49c]
call dword [0x41d1e8]
mov byte [ebp - 4], 4
mov eax, dword [0x41d1e0]
push dword [eax]
inc esi
push esi
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x49c]
call dword [0x41d1e8]
lea eax, [ebp - 0x480]
push eax
mov byte [ebp - 4], 5
mov esi, dword [0x41d1e4]
push str.nRet
call esi
test al, al
pop ecx
pop ecx
je 0x40b518
cmp dword [ebp - 0x44c], 0x10
mov eax, dword [ebp - 0x460]
jae 0x40b508
lea eax, [ebp - 0x460]
push eax
call dword [0x41d2cc]
pop ecx
mov dword [ebp - 0x4a4], eax
jmp 0x40b53f
lea eax, [ebp - 0x480]
push eax
push str.Config
call esi
test al, al
pop ecx
pop ecx
je 0x40b53f
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x448]
call dword [0x41d1f8]
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 4
call dword [0x41d1cc]
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 3
call dword [0x41d1cc]
mov eax, dword [0x41d1e0]
push dword [eax]
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x42c]
call dword [0x41d1e8]
push eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 6
call dword [0x41d1f8]
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 3
call dword [0x41d1cc]
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 2
call dword [0x41d1cc]
cmp dword [ebp - 0x418], ebx
jne 0x40b44d
cmp dword [ebp - 0x434], ebx
je 0x40b6b1
cmp dword [ebp - 0x430], 0x10
mov eax, dword [ebp - 0x444]
jae 0x40b5db
lea eax, [ebp - 0x444]
push dword [ebp - 0x434]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0040e822
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4b0]
cmp dword [eax - 0xc], ebx
je 0x40b6a3
push eax
call fcn.004017cb
mov esi, eax
call fcn.00408f2a
test eax, eax
je 0x40b692
lea eax, [ebp - 0x4a8]
push eax
mov dword [ebp - 0x4a8], ebx
call fcn.004010c5
push eax
call fcn.004041eb
test eax, eax
je 0x40b68b
lea eax, [ebp - 0x4b4]
push eax
call fcn.004010c5
call fcn.00401771
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004010c5
lea esi, [ebp - 0x4b8]
call fcn.00401755
mov byte [ebp - 4], 9
push dword [edi]
push eax
push dword [ebp - 0x4a8]
call fcn.0040f0b0
mov eax, dword [ebp - 0x4b8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x4b4]
add eax, 0xfffffff0
call fcn.00401677
jmp 0x40b6a3
push str.no_need_set_fdump_flag_
jmp 0x40b697
push str.parse_config_failed_
push 0x421370
call fcn.004124b5
pop ecx
pop ecx
mov eax, dword [ebp - 0x4b0]
add eax, 0xfffffff0
call fcn.00401677
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 1
call dword [0x41d1cc]
mov eax, dword [ebp - 0x4ac]
add eax, 0xfffffff0
call fcn.00401677
mov esi, dword [ebp - 0x4a4]
jmp 0x40b403