Function at 0x403a20
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b640
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5acf20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x2c], ebx
xor esi, esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push esi
push esi
push esi
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x1c], eax
push esi
test eax, eax
jne 0x403a94
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x403cce
push 0x4000000
push 0
push 0
push dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x403ac3
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push dword [ebp - 0x1c]
call esi
xor esi, esi
jmp 0x403cce
push 0x1f4
call fcn.0052c088
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x403aee
push dword [ebp - 0x34]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
xor esi, esi
jmp 0x403cce
mov dword [ebp - 0x20], 0
push 0x1f4
push 0
push eax
call fcn.0052cdb0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 0x1f4
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [sym.imp.WININET.dll_InternetReadFile]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x20], ecx
jbe 0x403c0a
jmp 0x403b30
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xe]
mov al, byte [ecx + eax]
mov byte [ebp - 0xd], al
mov byte [ebp - 0xe], al
cmp edx, edi
jae 0x403ba7
cmp ebx, edx
ja 0x403ba7
mov eax, edx
sub eax, ebx
mov dword [ebp - 0x18], eax
cmp edi, esi
jne 0x403b9e
mov eax, esi
sub eax, edi
cmp eax, 1
jae 0x403b9b
mov eax, ebx
sub eax, edi
dec eax
cmp eax, 1
jb 0x403c18
sub esi, ebx
or eax, 0xffffffff
mov ecx, esi
sub edi, ebx
shr ecx, 1
inc edi
sub eax, ecx
cmp eax, esi
jae 0x403b7f
xor esi, esi
jmp 0x403b81
add esi, ecx
cmp esi, edi
lea ecx, [ebp - 0x2c]
cmovb esi, edi
push esi
call fcn.004047e0
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
test edi, edi
je 0x403bf9
mov al, byte [ebx + eax]
jmp 0x403bf7
cmp edi, esi
jne 0x403bf3
mov eax, esi
sub eax, edi
cmp eax, 1
jae 0x403bf0
mov eax, ebx
sub eax, edi
dec eax
cmp eax, 1
jb 0x403c18
sub esi, ebx
or eax, 0xffffffff
mov ecx, esi
sub edi, ebx
shr ecx, 1
inc edi
sub eax, ecx
cmp eax, esi
jae 0x403bd4
xor esi, esi
jmp 0x403bd6
add esi, ecx
cmp esi, edi
lea ecx, [ebp - 0x2c]
cmovb esi, edi
push esi
call fcn.004047e0
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov al, byte [ebp - 0xd]
test edi, edi
je 0x403bf9
mov byte [edi], al
inc ecx
inc edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0x20]
jb 0x403b30
cmp dword [ebp - 0x20], 0
je 0x403c22
mov eax, dword [ebp - 0x30]
jmp 0x403af5
push str.vector_T__too_long
call fcn.00548d41
mov esi, ebx
cmp ebx, edi
je 0x403cbc
mov edx, dword [ebp - 0x14]
nop
mov al, byte [esi]
mov ecx, dword [edx + 0x10]
mov byte [ebp - 0xd], al
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x403cfb
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
cmp eax, 0xfffffffe
ja 0x403cfb
mov edx, dword [edx + 0x14]
cmp edx, eax
jae 0x403c98
push ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.00404360
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403cb0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x403c7b
mov ecx, dword [ecx]
mov al, byte [ebp - 0xd]
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], eax
jb 0x403cf3
mov ecx, dword [edx]
mov byte [ecx + eax], 0
jmp 0x403cb3
test eax, eax
jne 0x403c6d
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0
cmp edx, 0x10
jb 0x403cad
mov eax, dword [eax]
mov byte [eax], 0
mov edx, dword [ebp - 0x14]
inc esi
cmp esi, edi
jne 0x403c30
mov esi, 1
test ebx, ebx
je 0x403cce
push ebx
call fcn.00406027
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x403cdf
push dword [ebp + 8]
call fcn.00406027
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
mov byte [ecx + eax], 0
jmp 0x403cb3
push str.string_too_long
call fcn.00548d41
int3