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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446fcb
mov eax, dword fs:[0]
push eax
mov eax, 0x213c
call fcn.0042d760
mov eax, dword [0x45bce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2140], ecx
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.0042c660
add esp, 0xc
mov ecx, dword [ebp - 0x2140]
add ecx, 0x1c
call fcn.004036ae
push eax
call fcn.00413da0
add esp, 4
push eax
lea ecx, [ebp - 0x11c]
call fcn.00415380
mov dword [ebp - 4], 0
mov byte [ebp - 0x125], 1
lea ecx, [ebp - 0x11c]
call fcn.00415320
cmp eax, 0xffffffff
jne 0x412d1b
mov byte [ebp - 0x2139], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.004153e0
mov al, byte [ebp - 0x2139]
jmp 0x412ee2
mov dword [ebp - 0x2138], 0x2000
mov byte [ebp - 0x2134], 0
push 0x1fff
push 0
lea ecx, [ebp - 0x2133]
push ecx
call fcn.0042c660
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
push 0x2000
lea eax, [ebp - 0x2134]
push eax
mov ecx, dword [ebp - 0x2140]
mov edx, dword [ecx + 0x3c]
push edx
call dword [0x44934c]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x412dd5
cmp dword [ebp - 0x130], 0
je 0x412dd5
mov eax, dword [ebp - 0x130]
xor ecx, ecx
add eax, dword [ebp - 0x124]
adc ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], ecx
push 0
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x2134]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00415320
push eax
call dword [0x4490a8]
test eax, eax
jne 0x412dd3
mov byte [ebp - 0x125], 0
jmp 0x412e03
jmp 0x412df6
cmp dword [ebp - 0x12c], 0
jne 0x412df4
call dword [0x4491b8]
mov edx, dword [ebp - 0x2140]
mov dword [edx + 0x4c], eax
mov byte [ebp - 0x125], 0
jmp 0x412e03
mov eax, 1
test eax, eax
jne 0x412d1b
movzx ecx, byte [ebp - 0x125]
test ecx, ecx
je 0x412e6f
mov ecx, dword [ebp - 0x2140]
call fcn.00412f00
test eax, eax
je 0x412e6f
mov edx, dword [ebp - 0x2140]
mov dword [ebp - 0x2144], edx
mov eax, dword [ebp - 0x2144]
mov ecx, dword [ebp - 0x2144]
mov edx, dword [eax + 0x50]
or edx, dword [ecx + 0x54]
je 0x412ec3
mov eax, dword [ebp - 0x2140]
mov dword [ebp - 0x2148], eax
mov ecx, dword [ebp - 0x2148]
mov edx, dword [ebp - 0x124]
cmp edx, dword [ecx + 0x50]
jne 0x412e6f
mov eax, dword [ebp - 0x2148]
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [eax + 0x54]
je 0x412ec3
mov edx, dword [ebp - 0x2140]
cmp dword [edx + 0x4c], 0xffffffff
jne 0x412e8d
mov eax, dword [ebp - 0x2140]
mov ecx, dword [ebp - 0x2140]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x4c], edx
mov ecx, dword [ebp - 0x2140]
add ecx, 0x1c
call fcn.004036ae
push eax
call dword [0x4491c8]
mov byte [ebp - 0x213a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.004153e0
mov al, byte [ebp - 0x213a]
jmp 0x412ee2
mov byte [ebp - 0x213b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.004153e0
mov al, byte [ebp - 0x213b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret