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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59db88
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0x6279a8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
jne 0x41599d
push eax
push 0x5fc1f0
lea ecx, [ebp - 0x30]
call fcn.00411530
jmp 0x4159cb
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4159b9
push ecx
push eax
lea eax, [ebp - 0x30]
push str._s__s
push eax
call fcn.004115b0
add esp, 0x10
jmp 0x4159cb
push eax
lea eax, [ebp - 0x30]
push 0x5fbc8c
push eax
call fcn.004115b0
add esp, 0xc
cmp dword [esi + 0x24], 0
push 0
je 0x4159da
push 0x803000
jmp 0x4159df
push 0x4000000
push 0
push 0
push str.HTTP_1.1
push dword [ebp - 0x30]
push 0x5fc320
push dword [esi + 0x20]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
je 0x415bd3
cmp dword [esi + 0x24], 0
mov dword [ebp + 8], 0
mov dword [ebp - 0x14], 4
je 0x415a46
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 0x415bd3
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 0x415bd3
mov ecx, 0x61e710
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415a70
push 0
push 0
sub ecx, edx
push ecx
push 0x61e710
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x415bd3
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 - 0x10], 0
nop word [eax + eax]
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
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 0x415bfc
mov dword [edi + 4], eax
inc edx
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
test eax, eax
je 0x415b09
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 + 0xc]
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 + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
add ecx, eax
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x415ac0
mov ebx, dword [ebp + 0x10]
lea eax, [ecx + 2]
push eax
mov ecx, ebx
call fcn.004132e0
test eax, eax
jne 0x415b68
mov dword [ebp + 0x10], eax
jmp 0x415b95
mov esi, dword [edi]
mov ebx, dword [ebx + 4]
cmp esi, edi
je 0x415b89
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 0x415b71
xor eax, eax
mov dword [ebp + 0x10], 1
mov word [ebx], ax
mov esi, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp esi, edi
je 0x415bc3
mov eax, dword [esi + 0xc]
mov ebx, dword [esi]
test eax, eax
je 0x415bb2
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 0x415ba0
push 0x10
push edi
call fcn.0055c9a5
mov ebx, dword [ebp + 0x10]
add esp, 8
jmp 0x415bd5
xor ebx, ebx
cmp dword [ebp - 0x2c], 0
je 0x415be6
push dword [ebp - 0x30]
call fcn.0041a8f9
add esp, 4
mov eax, ebx
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