Function at 0x433ec0
Capabilities:
Check http status code
Connect to http server
Create http request
Download and write a file
Parse url
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Write file on windows

Disassembly:
mov eax, 0x2974
call fcn.00448800
mov eax, dword [0x45d600]
xor eax, esp
mov dword [esp + 0x2970], eax
push esi
push edi
mov esi, ecx
mov edi, edx
push str.http:__
push esi
mov dword [esp + 0x20], edi
call fcn.00436727
add esp, 8
test eax, eax
jne 0x433f22
push str.https:__
push esi
call fcn.00436727
add esp, 8
test eax, eax
jne 0x433f22
pop edi
mov eax, 0xfffff7cc
pop esi
mov ecx, dword [esp + 0x2970]
xor ecx, esp
call fcn.0043581d
add esp, 0x2974
ret
test edi, edi
jne 0x433f42
pop edi
mov eax, 0xfffff830
pop esi
mov ecx, dword [esp + 0x2970]
xor ecx, esp
call fcn.0043581d
add esp, 0x2974
ret
push ebp
push 0
push 0
push 0
push 1
push str.HisUtil::URLDownloadToFile
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x433f7d
pop ebp
pop edi
mov eax, 0xfffff768
pop esi
mov ecx, dword [esp + 0x2970]
xor ecx, esp
call fcn.0043581d
add esp, 0x2974
ret
push ebx
push 0x3c
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0043e3a0
add esp, 0xc
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x10000000
push 0
mov edi, 0x800
lea edx, [esp + 0x1188]
lea eax, [esp + 0x984]
push esi
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x50], 0x100
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
push 1
push 0
push 3
push 0
push 0
push edx
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x4340d8
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
push ecx
push edx
push str._s_s
lea eax, [esp + 0x184]
push edi
push eax
call fcn.0043631a
push str.https:__
push esi
mov dword [esp + 0x2c], 0x80000000
call fcn.00436727
add esp, 0x1c
test eax, eax
je 0x434041
mov dword [esp + 0x10], 0x803000
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0
push 0
push str.HTTP_1.0
lea edx, [esp + 0x18c]
push edx
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4340dc
mov edi, dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0
push 0
push 0
push 0
push esi
call edi
test eax, eax
jne 0x4340dc
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x1f
push esi
mov dword [esp + 0x38], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [esp + 0x10], 0x380
push 4
lea edx, [esp + 0x14]
push edx
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0
push 0
push 0
push esi
call edi
test eax, eax
jne 0x4340dc
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push ebp
call esi
mov eax, 0xfffff7cc
jmp 0x4341b6
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x70]
push edx
push 0x13
push esi
mov dword [esp + 0x30], 0xa
mov dword [esp + 0x38], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [esp + 0x68]
push eax
call fcn.00436754
add esp, 4
cmp eax, 0x190
jae 0x4340bf
mov ecx, dword [esp + 0x20]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x434152
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push ebp
call esi
mov eax, 0xfffff7fe
jmp 0x4341b6
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x14], 0
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x1988]
push eax
push esi
call ebp
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x198c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x14], 0x1000
je 0x434160
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
xor eax, eax
mov ecx, dword [esp + 0x2980]
pop ebx
pop ebp
pop edi
pop esi
xor ecx, esp
call fcn.0043581d
add esp, 0x2974
ret