Function at 0x415670
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59db50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x61de38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x24], 0
push 0
je 0x4156a9
push 0x803000
jmp 0x4156ae
push 0x4000000
push 0
push 0
push str.HTTP_1.1
push dword [ebp + 8]
push str.POST
push dword [esi + 0x20]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
jne 0x4156e4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x24], 0
mov dword [ebp + 8], 0
mov dword [ebp - 0x14], 4
je 0x415723
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x1f
push ebx
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [ebp + 8], 0x100
lea eax, [ebp + 8]
push 4
push eax
push 0x1f
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
je 0x4156ce
push 0x20000000
push 0x8f
push str.Accept:_text__r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_5.0__Windows_NT__r_nContent_type:_application_application_x_www_form_urlencoded_r_n_r_n_r_n
push ebx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x4156ce
mov esi, dword [ebp + 0xc]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415745
sub ecx, edx
mov edx, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x415756
push ecx
push esi
sub edx, edi
push edx
push str.Content_Type:_application_x_www_form_urlencoded
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4156ce
push 0
push 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004135b0
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
mov esi, dword [edi + 4]
push eax
push esi
push edi
call fcn.004165f0
mov edx, dword [ebp - 0x18]
mov ecx, 0xffffffe
sub ecx, edx
cmp ecx, 1
jb 0x4158c5
mov dword [edi + 4], eax
inc edx
mov dword [esi], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
test eax, eax
je 0x4157e9
push eax
call fcn.0041a8f9
add esp, 4
mov edi, dword [ebp - 0x1c]
push 0x400
mov esi, dword [edi + 4]
call fcn.0041a8fe
add esp, 4
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x10]
push ecx
push 0x400
push dword [eax + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp + 0xc], ecx
test eax, eax
jne 0x4157a0
mov ebx, dword [ebp + 0x10]
lea eax, [ecx + 2]
push eax
mov ecx, ebx
call fcn.004132e0
test eax, eax
jne 0x415848
mov dword [ebp + 0xc], eax
jmp 0x415875
mov esi, dword [edi]
mov ebx, dword [ebx + 4]
cmp esi, edi
je 0x415869
push dword [esi + 8]
push dword [esi + 0xc]
push ebx
call fcn.0055e7e0
add ebx, dword [esi + 8]
add esp, 0xc
mov esi, dword [esi]
cmp esi, edi
jne 0x415851
xor eax, eax
mov dword [ebp + 0xc], 1
mov word [ebx], ax
mov esi, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp esi, edi
je 0x4158a3
mov eax, dword [esi + 0xc]
mov ebx, dword [esi]
test eax, eax
je 0x415892
push eax
call fcn.0041a8f9
add esp, 4
push 0x10
push esi
call fcn.0055c9a5
add esp, 8
mov esi, ebx
cmp ebx, edi
jne 0x415880
push 0x10
push edi
call fcn.0055c9a5
mov eax, dword [ebp + 0xc]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.0055dbbe
int3