Function at 0x4364b0
Capabilities:
Check http status code
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
and esp, 0xfffffff0
mov eax, 0x6708
call fcn.004beaf0
mov eax, dword [0x54c384]
xor eax, esp
mov dword [esp + 0x6704], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], edi
test edi, edi
je 0x4365ff
push dword [edi + 0x10]
push 0x1a2
push str.CQhHttpTransfer::HttpThreadProc
push str.__s__d___HttpThreadProc::lpszUrl___s
call fcn.0041f720
push 0x208
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x4fc]
mov dword [esp + 0x38], 0
push 0
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x54], 0
movaps xmmword [esp + 0xdc], xmm0
movaps xmmword [esp + 0xec], xmm0
call fcn.004c05c0
add esp, 0x1c
lea eax, [esp + 0x2e0]
push 0x208
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea eax, [esp + 0x4708]
push 0x2000
push 0
push eax
call fcn.004c05c0
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x2ec]
xorps xmm0, xmm0
mov dword [esp + 0x5c], eax
mov ecx, edx
mov dword [esp + 0x40], 0
lea eax, [esp + 0x4714]
movlpd qword [esp + 0x50], xmm0
add esp, 0xc
mov dword [esp + 0x4c], 0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
lea esi, [ecx + 2]
mov dword [esp + 0x68], 0
movlpd qword [esp + 0x74], xmm0
mov dword [esp + 0x40], 0x3c
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x1000
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4365d7
lea eax, [esp + 0x40]
sub ecx, esi
push eax
push 0
sar ecx, 1
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x436618
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x6704]
xor ecx, esp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x4c]
cmp eax, 4
jne 0x43662b
mov dword [esp + 0x30], 1
jmp 0x436638
cmp eax, 3
jne 0x4365ff
mov dword [esp + 0x30], 0
movzx esi, word [esp + 0x58]
push 0
push 0
push 0
push 0
push 0x5010a0
mov dword [esp + 0x50], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x43666a
mov eax, 0xfffffffd
mov dword [esp + 0x18], eax
jmp 0x436e5f
push 0
push 0
push 3
push 0
push 0
push esi
lea ecx, [esp + 0x2f8]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x436e21
mov edx, 0x80048200
nop dword [eax]
mov eax, dword [edi + 0x70]
cmp eax, 1
je 0x4366b9
cmp eax, 2
je 0x4366da
cmp dword [edi + 0x20], 0
jbe 0x4366da
cmp dword [edi + 0x1c], 0
je 0x4366da
movq xmm0, qword [str.POST]
mov ax, word [0x509188]
movq qword [esp + 0xc0], xmm0
mov word [esp + 0xc8], ax
jmp 0x4366f2
mov eax, dword [0x509178]
mov dword [esp + 0xc0], eax
mov eax, dword [0x50917c]
mov dword [esp + 0xc4], eax
cmp dword [edi + 0x78], 0
mov eax, 0x800c8200
cmove eax, edx
cmp dword [esp + 0x30], 0
je 0x436715
or eax, 0x800000
cmp dword [edi + 0x74], 0
jne 0x436715
or eax, 0x1000
push 0
push eax
push 0
push 0
push str.HTTP_1.0
lea eax, [esp + 0x471c]
push eax
lea eax, [esp + 0xd8]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x436e17
lea eax, [esp + 0x4e8]
push str.Accept:___r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__r_nConnection:close_r_n
push eax
call fcn.00435ca0
add esp, 8
lea eax, [esp + 0x4e8]
push 0xa0000000
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x24]
cmp esi, dword [eax + 0x28]
je 0x4368d8
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x7c], esi
jb 0x4367b0
mov eax, dword [esi]
mov dword [esp + 0x7c], eax
cmp ecx, 0x10
jae 0x4367de
movups xmm0, xmmword [eax]
mov dword [esp + 0xa0], ecx
lea eax, [esp + 0x90]
mov dword [esp + 0xa4], 0xf
movups xmmword [esp + 0x90], xmm0
jmp 0x43687d
mov edi, ecx
mov eax, SysReAllocString
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, eax
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x436825
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.004bdd09
add esp, 4
test eax, eax
je 0x436e8a
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x436838
test ecx, ecx
je 0x436836
push ecx
call fcn.004bdd09
add esp, 4
mov ecx, eax
jmp 0x436838
xor ecx, ecx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x90], ecx
push eax
push dword [esp + 0x80]
push ecx
call fcn.004c0b40
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0xa0], eax
cmp edi, 0x10
lea eax, [esp + 0x90]
mov dword [esp + 0xa4], edi
cmovae eax, dword [esp + 0x90]
mov edi, dword [esp + 0x1c]
push 0x20000000
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov edx, dword [esp + 0xa4]
cmp edx, 0x10
jb 0x4368c8
mov ecx, dword [esp + 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4368be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436e8a
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov eax, dword [esp + 0x10]
add esi, 0x18
cmp esi, dword [eax + 0x28]
jne 0x436781
mov eax, dword [esp + 0x24]
nop dword [eax]
inc eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x84], 4
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [esp + 0x7c], 0x3180
lea eax, [esp + 0x7c]
push 4
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [esp + 0x10]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
test esi, esi
jne 0x4369a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
jne 0x4369a0
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 4
push eax
lea eax, [esp + 0x88]
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [esp + 0x84], 0x100
lea eax, [esp + 0x84]
push 4
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [esp + 0x24]
cmp eax, 2
jl 0x4368e0
mov eax, dword [esp + 0x10]
push 0
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x436e29
test esi, esi
je 0x436d2b
push 0x200
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
mov dword [esp + 0x8c], 0x100
xor esi, esi
lea eax, [esp + 0x8c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x80], esi
push esi
push eax
lea eax, [esp + 0xe8]
push eax
push 0x13
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x436a22
lea eax, [esp + 0xe0]
push eax
call fcn.004c5459
add esp, 4
mov dword [esp + 0x20], eax
mov esi, eax
cmp esi, 0xc8
je 0x436bb4
cmp esi, 0x197
je 0x436a42
cmp esi, 0x193
jne 0x436bab
cmp dword [esp + 0x34], 0
jne 0x436bab
push 0
push 0
push 0
push 0
xor al, al
mov byte [esp + 0x1f], 0
push 0x5010a0
mov byte [esp + 0x2b], al
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x436bab
push 0
push 0x84000000
push 0
push 0
push str.http:__profile.se.360.cn_proxyerr.php
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x436b36
push 0x200
lea eax, [esp + 0x6f4]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
mov dword [esp + 0xbc], 0x100
lea eax, [esp + 0xbc]
push 0
push eax
lea eax, [esp + 0x6f8]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x436b21
lea eax, [esp + 0x6f0]
push eax
call fcn.004c5459
add esp, 4
cmp eax, 0x193
je 0x436af5
cmp eax, 0x197
jne 0x436b21
push 0
push 7
push 0x2eee
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
sete byte [esp + 0x13]
call esi
jmp 0x436b3c
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x13], 0
mov byte [esp + 0x1b], 1
call esi
jmp 0x436b3c
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [esp + 0xf], 0
jne 0x436a75
push edi
call esi
cmp byte [esp + 0x17], 0
je 0x436ba7
push dword [esp + 0x1c]
call esi
mov eax, dword [esp + 0x28]
push eax
call esi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], 1
test eax, eax
je 0x436b71
push eax
call esi
xor eax, eax
lea ecx, [esp + 0x2e0]
push eax
push eax
push 3
push eax
push eax
push dword [esp + 0x50]
mov dword [esp + 0x44], eax
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x436e21
mov edi, dword [esp + 0x10]
jmp 0x436698
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], esi
jmp 0x436e29
push 0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xe8]
push eax
push 5
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x436bec
lea eax, [esp + 0xe0]
push eax
call fcn.004c5459
add esp, 4
mov dword [esp + 0x80], eax
jmp 0x436bf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x10]
sub esp, 8
mov ecx, esp
push ecx
lea eax, [esi + 0x30]
push eax
call fcn.004373c0
lea edx, [esi + 0x38]
mov ecx, edi
call fcn.004360f0
add esp, 8
xor edi, edi
xor esi, esi
nop word [eax + eax]
push 0x2001
lea eax, [esp + 0x6f4]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
mov dword [esp + 0x7c], 0
lea eax, [esp + 0x7c]
push eax
push 0x2000
lea eax, [esp + 0x6f8]
push eax
push dword [esp + 0x28]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x436cd2
xor ecx, ecx
mov eax, esi
add eax, dword [esp + 0x7c]
setb cl
neg ecx
or ecx, eax
push ecx
push edi
call fcn.004ce520
push dword [esp + 0x84]
mov edi, eax
lea eax, [esp + 0x6fc]
push eax
lea ecx, [esi + edi]
push ecx
call fcn.004c0b40
add esi, dword [esp + 0x90]
add esp, 0x14
cmp esi, 0x500000
jbe 0x436cae
mov eax, dword [esp + 0x10]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x10]
push 0
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x436e0a
cmp dword [esp + 0x7c], 0
jne 0x436c20
jmp 0x436cf1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x436df8
cmp esi, eax
jne 0x436df8
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x436d08
push dword [ecx + 0x18]
push esi
push edi
push 0xc8
call eax
mov dword [esp + 0x38], 1
test edi, edi
je 0x436d1f
push 0
push edi
call fcn.004ce520
add esp, 8
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], 0xc8
push 0x1001
lea eax, [esp + 0x26fc]
push 0
push eax
call fcn.004c05c0
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [esp + 0x94]
add esp, 0xc
mov dword [esp + 0x88], 0x1000
push 0
push eax
lea eax, [esp + 0x2700]
push eax
push 0x80000016
push edi
call esi
lea ecx, [esp + 0x26f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436d77
sub ecx, edx
lea eax, [esp + 0x26f8]
push ecx
mov ecx, dword [esp + 0x14]
push eax
lea ecx, [ecx + 0x40]
call fcn.00404000
push 0x1001
lea eax, [esp + 0x3704]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
mov dword [esp + 0x88], 0x1000
lea eax, [esp + 0x88]
push 0
push eax
lea eax, [esp + 0x3708]
push eax
push 0x16
push edi
call esi
lea ecx, [esp + 0x3700]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436dd8
sub ecx, edx
lea eax, [esp + 0x3700]
push ecx
mov ecx, dword [esp + 0x14]
push eax
lea ecx, [ecx + 0x58]
call fcn.00404000
jmp 0x436e29
mov dword [esp + 0x18], 0xfffffffa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x436e29
push 0
push edi
call fcn.004ce520
add esp, 8
jmp 0x436e29
mov dword [esp + 0x18], 0xfffffffb
jmp 0x436e3a
mov dword [esp + 0x18], 0xfffffffc
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x436e3a
push eax
call esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x436e45
push eax
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x436e50
push eax
call esi
cmp dword [esp + 0x38], 0
jne 0x436e70
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x436e70
push dword [edi + 0x18]
push 0
push 0
push eax
call ecx
mov ecx, dword [esp + 0x670c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
call fcn.004c8da3
int3