Function at 0x1001d3d0
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100749c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe78
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 0x10096108
push ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
call fcn.1003dc80
mov edi, eax
add esp, 8
cmp edi, esi
jne 0x1001d427
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.10056e50
add esp, 4
mov dword [ebp - 0x18], eax
push ebx
jmp 0x1001d464
mov esi, edi
sub esi, ebx
lea eax, [esi + 1]
push eax
call fcn.10056e50
push esi
push ebx
push eax
mov dword [ebp - 0x18], eax
call fcn.1003db80
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov byte [esi + ecx], 0
lea esi, [edi + 1]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1c], eax
inc eax
push eax
call fcn.10056e50
add esp, 4
mov dword [ebp - 0x14], eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x1001d478
mov dword [esi], 1
push 0
push 0
push 0
push 0
push str.UpdateInfo
mov dword [ebp - 0x10], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
mov dword [ebp - 0x20], edi
je 0x1001d732
mov esi, dword [ebp + 0xc]
lea edx, [ebp + 8]
push 4
push edx
push 2
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp + 8]
push 4
push eax
push 6
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1001d4cf
mov dword [eax], edi
lea ecx, [ebp - 0x368]
mov eax, 0x104
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0xa74]
lea eax, [ebp - 0x570]
push ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x38], eax
push 0
lea edx, [ebp - 0xe84]
lea eax, [ebp - 0x46c]
push 0x3c
push ebx
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x2c], 0x410
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x40], eax
mov word [ebp - 0x44], 0
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
push 0
push 0
push edx
mov edx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x4c]
push ecx
push edx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
mov dword [ebp + 0xc], ebx
je 0x1001d752
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
mov ecx, 0x10096124
je 0x1001d57e
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
test eax, eax
mov eax, 0x10096128
je 0x1001d58f
mov eax, str.POST
mov edx, dword [ebp - 0x18]
push 0
push SysReAllocStringLen
push 0
push edx
push str.HTTP_1.1
push ecx
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x1001d76e
lea eax, [ebp + 0x10]
push 4
push eax
push 0x1f
push esi
mov dword [ebp + 0x10], 0xf180
call dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [ebp + 8]
call fcn.10002f10
push 0x100a1924
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.1005bcce
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov ecx, edi
lea edx, [ebp - 0x160]
neg ecx
sbb ecx, ecx
and ecx, ebx
push ecx
push 0x10096134
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp + 8]
push str.Accept:_text__r_n
call fcn.1005bf21
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.1__r_n
lea ecx, [ebp + 8]
call fcn.1005bf21
push str.Content_type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp + 8]
call fcn.1005bf21
push str.Content_length:
lea ecx, [ebp + 8]
call fcn.1005bf21
lea eax, [ebp - 0x160]
lea ecx, [ebp + 8]
push eax
call fcn.1005bf21
push 0x100961d8
lea ecx, [ebp + 8]
call fcn.1005bf21
push str.Connection:_Keep_Alive_r_n
lea ecx, [ebp + 8]
call fcn.1005bf21
push str.Cache_Control:_no_cache_r_n
lea ecx, [ebp + 8]
call fcn.1005bf21
push 0x10096214
lea ecx, [ebp + 8]
call fcn.1005bf21
push 0x20000000
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.10002f50
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test ebx, ebx
jl 0x1001d6a0
push ebx
push edi
jmp 0x1001d6a4
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x1001d78a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1001d7a4
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp + 0x18]
push ecx
lea edx, [ebp - 0x970]
push 0x3ff
push edx
push esi
mov dword [ebp + 0x18], 0
call ebx
test eax, eax
je 0x1001d7a4
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x18]
test eax, eax
jbe 0x1001d7a4
mov ecx, dword [ebp + 0x14]
mov byte [ebp + eax - 0x970], 0
lea eax, [ebp - 0x970]
push eax
call fcn.1005bf21
push 1
call edi
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x970]
push ecx
push 0x3ff
push edx
push esi
call ebx
test eax, eax
jne 0x1001d6f3
jmp 0x1001d7a4
test esi, esi
je 0x1001d73c
mov dword [esi], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1001d7d6
mov dword [eax], 0x65
jmp 0x1001d7d6
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1001d75f
mov dword [eax], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1001d7c4
mov dword [eax], 0x66
jmp 0x1001d7c4
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1001d77b
mov dword [eax], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1001d7b9
mov dword [eax], 0x67
jmp 0x1001d7b9
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1001d797
mov dword [eax], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1001d7a4
mov dword [eax], 0x68
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.1005bb45
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x20]
test esi, esi
je 0x1001d7c4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x1001d7cf
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
test eax, eax
je 0x1001d7e9
push eax
call fcn.10056e79
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1001d7f9
push eax
call fcn.10056e79
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret