Function at 0x424390
Capabilities:
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
Resolve function by parsing pe exports
Send data
Send http request
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x481148
mov eax, dword fs:[0]
push eax
mov eax, 0x1150
call fcn.004624a0
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x114c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x1164]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1174]
xor esi, esi
mov dword [esp + 0x116c], esi
push 0xfff
lea eax, [esp + 0x165]
push esi
push eax
mov dword [esp + 0x20], esi
mov byte [esp + 0x16c], 0
call fcn.004611e0
push 0x38
lea ecx, [esp + 0x38]
push esi
push ecx
mov dword [esp + 0x30], 0x4886f8
mov dword [esp + 0x34], esi
call fcn.004611e0
mov eax, dword [esp + 0x1194]
mov ebx, 0x10
add esp, 0x18
cmp dword [esp + 0x1190], ebx
lea edx, [esp + 0x60]
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0xff
mov dword [esp + 0x54], 1
jae 0x424456
lea eax, [esp + 0x117c]
mov edx, dword [esp + 0x118c]
lea ecx, [esp + 0x24]
push ecx
push esi
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4244b4
mov dword [esp + 0x116c], 0xffffffff
cmp dword [esp + 0x1190], ebx
jb 0x424493
mov eax, dword [esp + 0x117c]
push eax
call fcn.0046058f
add esp, 4
mov dword [esp + 0x1190], 0xf
mov dword [esp + 0x118c], esi
mov byte [esp + 0x117c], 0
xor eax, eax
jmp 0x4246be
cmp dword [edi + 0x18], ebx
jb 0x4244be
mov eax, dword [edi + 4]
jmp 0x4244c1
lea eax, [edi + 4]
push esi
push 0x80
push 2
push esi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
or ebp, 0xffffffff
cmp edi, ebp
jne 0x424522
mov dword [esp + 0x116c], ebp
cmp dword [esp + 0x1190], ebx
jb 0x424493
mov ecx, dword [esp + 0x117c]
push ecx
call fcn.0046058f
add esp, 4
mov dword [esp + 0x1190], 0xf
mov dword [esp + 0x118c], esi
mov byte [esp + 0x117c], 0
xor eax, eax
jmp 0x4246be
push esi
push esi
push esi
push 1
push 0x487d2c
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
cmp ebx, esi
jne 0x424585
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x116c], ebp
cmp dword [esp + 0x1190], 0x10
jb 0x424493
mov edx, dword [esp + 0x117c]
push edx
call fcn.0046058f
add esp, 4
mov dword [esp + 0x1190], 0xf
mov dword [esp + 0x118c], esi
mov byte [esp + 0x117c], 0
xor eax, eax
jmp 0x4246be
mov eax, dword [esp + 0x3c]
push 1
push esi
push 3
push 0x487d2c
push 0x487d2c
push eax
lea ecx, [esp + 0x78]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebp, eax
cmp ebp, esi
jne 0x4245d7
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x116c], 0xffffffff
lea ecx, [esp + 0x1178]
call fcn.00401bb0
xor eax, eax
jmp 0x4246be
mov eax, dword [esp + 0x50]
push 1
push 0x84480000
lea edx, [esp + 0x20]
push edx
push esi
push str.HTTP_1.1
push eax
push 0x4886e8
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x42460e
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
push ebx
call esi
jmp 0x4245b2
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x424632
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push ebx
call esi
jmp 0x4245b2
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x168]
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42468c
nop
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42468c
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x16c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x168]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x424650
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push ebx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x116c], 0xffffffff
lea ecx, [esp + 0x1178]
call fcn.00401bb0
mov eax, 1
mov ecx, dword [esp + 0x1164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114c]
xor ecx, esp
call fcn.00460e4b
add esp, 0x115c
ret