Function at 0x403ae9
Capabilities:
Connect to http server
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x40b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x4fc], ecx
xor ecx, ecx
cmp dword [eax + 0x14], 8
push edi
mov dword [ebp - 0x500], eax
mov edi, edx
mov dword [eax + 0x10], ecx
jb 0x403b22
mov edx, dword [eax]
jmp 0x403b24
mov edx, eax
xor ebx, ebx
mov word [edx], bx
add eax, 0x1c
push 8
pop ebx
mov dword [ebp - 0x504], eax
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], ebx
jb 0x403b3f
mov eax, dword [eax]
push 0xf
xor edx, edx
mov word [eax], dx
pop eax
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x4d8], eax
xor eax, eax
push 0x206
mov word [ebp - 0x4d0], ax
mov word [ebp - 0x214], ax
push ecx
lea eax, [ebp - 0x212]
push eax
mov dword [ebp - 0x4a4], ecx
mov byte [ebp - 0x4b4], cl
mov dword [ebp - 0x4dc], ecx
mov byte [ebp - 0x4ec], cl
mov dword [ebp - 0x4bc], 7
mov dword [ebp - 0x4c0], ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], ebx
jb 0x403ba7
mov esi, dword [esi]
cmp dword [edi + 0x14], ebx
jb 0x403bb0
mov ecx, dword [edi]
jmp 0x403bb2
mov ecx, edi
mov eax, dword [ebp - 0x4fc]
cmp dword [eax + 0x14], ebx
jb 0x403bbf
mov eax, dword [eax]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
push eax
push str.qqver_sloghash_suin_lucpucore_dosver_sduration_dlogined_d
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_swprintf_s]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402fd1
mov ebx, eax
add esp, 0x2c
lea eax, [ebp - 0x4b4]
call fcn.0040339d
push 1
xor edi, edi
lea esi, [ebp - 0x438]
call fcn.004033ec
cmp dword [ebp - 0x4a0], 0x10
mov eax, dword [ebp - 0x4b4]
jae 0x403c2b
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x438]
push eax
mov eax, dword [ebp - 0x4a4]
call fcn.00402c7a
pop ecx
mov ebx, eax
pop ecx
lea eax, [ebp - 0x4ec]
call fcn.0040339d
push 1
xor edi, edi
lea esi, [ebp - 0x438]
call fcn.004033ec
cmp dword [ebp - 0x4d8], 0x10
mov eax, dword [ebp - 0x4ec]
jae 0x403c71
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00402d9c
pop ecx
mov ebx, eax
pop ecx
lea eax, [ebp - 0x4d0]
call fcn.0040225c
push 1
xor edi, edi
lea esi, [ebp - 0x438]
call fcn.00402702
xor eax, eax
push 0x206
mov word [ebp - 0x41c], ax
xor ebx, ebx
lea eax, [ebp - 0x41a]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x4d0]
add esp, 0xc
cmp dword [ebp - 0x4bc], 8
jae 0x403cd1
lea eax, [ebp - 0x4d0]
push eax
push str.pfrt.qq.com
push str.http:___s_occurs__p_s
lea eax, [ebp - 0x41c]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x14
push 7
pop eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x45c], eax
xor eax, eax
mov word [ebp - 0x470], ax
xor ecx, ecx
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x41c]
mov word [ebp - 0x454], cx
mov word [ebp - 0x438], cx
push eax
lea edx, [ebp - 0x470]
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x4f0], 0x50
call fcn.0040472a
test eax, eax
je 0x4041c3
mov eax, dword [ebp - 0x500]
mov esi, dword [eax + 0x38]
cmp esi, ebx
je 0x4041c3
mov eax, dword [0x4098f8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4098fc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov edi, 0x400000
push edi
mov dword [ebp - 0x50c], eax
mov dword [ebp - 0x508], ebx
mov dword [ebp - 0x4f4], ebx
call dword [sym.imp.MSVCR100.dll_malloc]
pop ecx
mov dword [ebp - 0x4f8], eax
cmp eax, ebx
je 0x4041c3
cmp dword [ebp - 0x424], 8
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x4fc], ebx
jae 0x403dce
lea ecx, [ebp - 0x438]
push ebx
push ebx
push 3
mov eax, 0x409624
push eax
push eax
push dword [ebp - 0x4f0]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4f0], eax
cmp eax, ebx
je 0x403f08
cmp dword [ebp - 0x45c], 8
mov eax, dword [ebp - 0x470]
jae 0x403e0a
lea eax, [ebp - 0x470]
push ebx
push 0x84000000
lea ecx, [ebp - 0x50c]
push ecx
push ebx
push ebx
push eax
push str.POST
push dword [ebp - 0x4f0]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
je 0x403efc
push ebx
push ebx
push ebx
lea eax, [ebp - 0x498]
push eax
push esi
mov dword [ebp - 0x498], 0x28
mov dword [ebp - 0x494], ebx
mov dword [ebp - 0x490], ebx
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], ebx
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x474], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov dword [ebp - 0x4f4], eax
cmp eax, ebx
je 0x403ef5
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov dword [ebp - 0x4f4], eax
cmp eax, ebx
je 0x403ef5
push edi
push ebx
push dword [ebp - 0x4f8]
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x4fc]
push eax
push 0x3fffff
push dword [ebp - 0x4f8]
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x4f4], eax
cmp eax, ebx
je 0x403ef5
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x454]
push dword [ebp - 0x4f8]
call fcn.00404958
mov dword [ebp - 0x4f4], eax
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x4f0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x4f8]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x470]
call fcn.00402702
push 1
lea esi, [ebp - 0x438]
call fcn.00402702
cmp dword [ebp - 0x4f4], 1
jne 0x4041df
push str._isneedreason:
lea eax, [ebp - 0x438]
call fcn.004026d3
xor eax, eax
cmp dword [ebp - 0x424], 8
mov word [ebp - 0x470], ax
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x45c], 7
mov dword [ebp - 0x460], ebx
jae 0x403f7c
lea eax, [ebp - 0x438]
push dword [ebp - 0x428]
lea ecx, [ebp - 0x454]
push eax
xor eax, eax
call fcn.00401df6
test eax, eax
jne 0x4041c3
cmp dword [ebp - 0x424], 8
mov eax, dword [ebp - 0x438]
jae 0x403fad
lea eax, [ebp - 0x438]
push dword [ebp - 0x428]
lea ecx, [ebp - 0x454]
push eax
xor eax, eax
call fcn.00401df6
mov edi, dword [sym.imp.MSVCR100.dll_wcslen]
mov esi, 0x409870
push esi
mov ebx, eax
call edi
pop ecx
push eax
push esi
mov eax, ebx
lea ecx, [ebp - 0x454]
call fcn.00401df6
mov ebx, 0x409874
push ebx
lea esi, [eax + 1]
call edi
pop ecx
push eax
push ebx
mov eax, esi
lea ecx, [ebp - 0x454]
call fcn.00401df6
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x454]
push eax
lea esi, [ebp - 0x48c]
call fcn.00401b59
mov ebx, eax
lea eax, [ebp - 0x470]
call fcn.0040225c
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
call fcn.00402702
lea esi, [ebp - 0x470]
call fcn.00404bd1
test eax, eax
je 0x404082
push ebx
call fcn.00402702
push ebx
lea esi, [ebp - 0x438]
call fcn.00402702
push ebx
lea esi, [ebp - 0x454]
call fcn.00402702
push ebx
lea esi, [ebp - 0x4d0]
call fcn.00402702
push ebx
lea esi, [ebp - 0x4ec]
call fcn.004033ec
push ebx
lea esi, [ebp - 0x4b4]
call fcn.004033ec
xor eax, eax
jmp 0x404217
mov esi, dword [sym.imp.MSVCR100.dll_wcslen]
mov edi, 0x40987c
push edi
call esi
pop ecx
push eax
push edi
xor eax, eax
lea ecx, [ebp - 0x454]
call fcn.00401df6
cmp eax, 0xffffffff
je 0x4041c1
mov ebx, str._sekey:
push ebx
call esi
pop ecx
push eax
push ebx
xor eax, eax
lea ecx, [ebp - 0x454]
call fcn.00401df6
cmp eax, 0xffffffff
je 0x4041c1
push edi
call esi
pop ecx
push eax
push edi
xor eax, eax
lea ecx, [ebp - 0x454]
call fcn.00401df6
mov edi, 0x409870
push edi
mov ebx, eax
call esi
pop ecx
push eax
push edi
mov eax, ebx
lea ecx, [ebp - 0x454]
call fcn.00401df6
mov ebx, 0x409874
push ebx
lea edi, [eax + 1]
call esi
pop ecx
push eax
push ebx
mov eax, edi
lea ecx, [ebp - 0x454]
call fcn.00401df6
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x454]
push eax
lea esi, [ebp - 0x48c]
call fcn.00401b59
mov ebx, eax
mov eax, dword [ebp - 0x500]
call fcn.0040225c
push 1
xor edi, edi
call fcn.00402702
mov esi, dword [sym.imp.MSVCR100.dll_wcslen]
mov edi, str._sekey:
push edi
call esi
pop ecx
push eax
push edi
xor eax, eax
lea ecx, [ebp - 0x454]
call fcn.00401df6
mov edi, 0x409870
push edi
mov ebx, eax
call esi
pop ecx
push eax
push edi
mov eax, ebx
lea ecx, [ebp - 0x454]
call fcn.00401df6
mov ebx, 0x409874
push ebx
lea edi, [eax + 1]
call esi
pop ecx
push eax
push ebx
mov eax, edi
lea ecx, [ebp - 0x454]
call fcn.00401df6
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x454]
push eax
lea esi, [ebp - 0x48c]
call fcn.00401b59
mov ebx, eax
mov eax, dword [ebp - 0x504]
call fcn.0040225c
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
call fcn.00402702
jmp 0x4041c3
xor ebx, ebx
push 1
xor edi, edi
lea esi, [ebp - 0x470]
call fcn.00402702
push 1
lea esi, [ebp - 0x438]
call fcn.00402702
push 1
xor edi, edi
lea esi, [ebp - 0x454]
call fcn.00402702
push 1
lea esi, [ebp - 0x4d0]
call fcn.00402702
push 1
lea esi, [ebp - 0x4ec]
call fcn.004033ec
push 1
lea esi, [ebp - 0x4b4]
call fcn.004033ec
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004080ae
leave
ret 0x18