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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8c74
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4fa078]
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 ebx, edx
mov dword [ebp - 0xd4], ebx
mov esi, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
jne 0x4234e1
push 7
push str.http:__
jmp 0x4234ed
cmp eax, 1
jne 0x4234fe
push 8
push str.https:__
lea ecx, [ebp - 0x30]
call fcn.00407000
push esi
lea ecx, [ebp - 0x30]
call fcn.00406c00
push 0x98
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.004a4b20
add esp, 0xc
mov dword [ebp - 0xb8], 0
cmp dword [ebp - 0x1c], 0x10
lea esi, [ebp - 0x30]
mov dword [ebp - 0xb4], 0xf
cmovae esi, dword [ebp - 0x30]
mov ecx, esi
mov byte [ebp - 0xc8], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423540
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xc8]
call fcn.00407000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
push 0
push 0x4e0a3d
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.00407000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
push 0
push 0x4e0a3d
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.00407000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
movaps xmm0, xmmword [0x4e40a0]
push 0
push 0x4e0a3d
mov dword [ebp - 0x7c], 0xfffffffe
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.00407000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
push 0
push 0x4e0a3d
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00407000
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x34], 1
push eax
lea edx, [ebp - 0xb0]
mov ecx, esi
call fcn.0040a100
add esp, 8
test al, al
je 0x4236a0
push 0x12
push str.Netscape_Cert_Type
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x7c], 0
call fcn.00407000
cmp dword [ebp - 0x9c], 0x10
lea edx, [ebp - 0xb0]
cmovae edx, dword [ebp - 0xb0]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423674
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00407000
push dword [ebp - 0x80]
lea ecx, [ebp - 0xc8]
call fcn.0040a710
lea ecx, [ebp - 0xc8]
call fcn.0040a8c0
mov byte [ebp - 4], 6
mov edi, ebx
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0xcc], ecx
jb 0x4236b7
mov edi, dword [ebx]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x423724
cmp dword [ebp - 0x74], 0
jne 0x4236dd
push 0x20000000
push 0xffffffffffffffff
push str.Content_Type:_text_plain_r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov ecx, dword [ebp - 0xcc]
mov esi, 5
push ecx
push edi
push 0
push 0
push dword [ebp - 0x6c]
dec esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42371d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7c], eax
cmp eax, 0x2f0c
jne 0x423724
lea ecx, [ebp - 0xc8]
call fcn.0040a8c0
mov ecx, dword [ebp - 0xcc]
test esi, esi
jg 0x4236e2
jmp 0x423724
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 8
push eax
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push 0x13
push dword [ebp - 0x6c]
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4237db
mov eax, dword [ebp - 0xcc]
cmp eax, 8
jae 0x4237db
mov byte [ebp + eax - 0x18], 0
mov ecx, 0x4e3228
lea eax, [ebp - 0x18]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x423790
test dl, dl
je 0x42378c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x423790
add eax, 2
add ecx, 2
test dl, dl
jne 0x423770
xor eax, eax
jmp 0x423795
sbb eax, eax
or eax, 1
test eax, eax
je 0x4237db
lea ecx, [ebp - 0xc8]
call fcn.00409f60
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x423984
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42397a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4239a2
jmp 0x42397a
push 0x400
call fcn.0044bf52
push 0x400
mov edi, eax
push 0
push edi
mov dword [ebp - 0xd0], edi
call fcn.004a4b20
add esp, 0x10
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x42380e
mov eax, dword [ebx]
mov byte [eax], 0
cmp dword [ebp - 0x78], 0
jne 0x423928
nop dword [eax + eax]
push 0x400
push 0
push edi
call fcn.004a4b20
mov eax, dword [ebp - 0xd0]
mov ebx, edi
add esp, 0xc
mov dword [ebp - 0xcc], 0
xor edi, edi
mov esi, 0x400
test eax, eax
je 0x42391c
lea ecx, [ebp - 0xcc]
push ecx
push esi
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42391c
nop dword [eax + eax]
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x4238a6
sub esi, eax
mov dword [ebp - 0xcc], 0
add ebx, eax
add edi, eax
test esi, esi
jle 0x4238ad
lea eax, [ebp - 0xcc]
push eax
push esi
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x423870
jmp 0x4238ad
mov dword [ebp - 0x78], 1
mov ebx, dword [ebp - 0xd4]
cmp edi, 1
jl 0x423922
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edi, eax
ja 0x4238ee
lea eax, [ecx + edi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x4238d5
mov eax, dword [ebx]
push edi
push dword [ebp - 0xd0]
lea esi, [eax + ecx]
push esi
call fcn.004a4c80
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x42390a
push edi
push dword [ebp - 0xd0]
mov byte [ebp - 0xd8], 0
mov ecx, ebx
push dword [ebp - 0xd8]
push edi
call fcn.00407910
cmp dword [ebp - 0x78], 0
mov edi, dword [ebp - 0xd0]
je 0x423820
jmp 0x423922
mov ebx, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xd0]
push edi
call fcn.0044b7e6
add esp, 4
lea ecx, [ebp - 0xc8]
cmp dword [ebx + 0x10], 0
je 0x42379f
call fcn.00409f60
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x423976
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42396c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4239a7
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov al, 1
jmp 0x423986
push edx
push ecx
call fcn.0044bf44
add esp, 8
xor al, al
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.0044b7d5
mov esp, ebp
pop ebp
ret
call fcn.004aba6c
call fcn.004aba6c
int3