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

Disassembly:
push 0xffffffffffffffff
push 0x5cfde0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov dword [esp + 0x4c], 2
push 0
push 0
push 0
push 0
push 0x692fd0
mov byte [esp + 0x2b], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x4c], 3
test ebp, ebp
je 0x42a11c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
push 0
push 0
push 3
push 0
push 0
push eax
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x4c], 4
test edi, edi
je 0x42a10c
mov edx, dword [esp + 0x58]
push 0
push 0x8400f200
push 0
push 0
push 0
push edx
push 0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], esi
mov byte [esp + 0x4c], 5
test esi, esi
je 0x42a0fc
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x42a0fc
lea eax, [esp + 0x28]
push 0x13
push eax
mov dword [esp + 0x30], esi
call fcn.00489940
add esp, 8
cmp eax, 0xc8
jne 0x42a0fc
lea ecx, [esp + 0x28]
push 5
push ecx
mov dword [esp + 0x30], esi
call fcn.00489940
mov ebx, eax
add esp, 8
mov dword [esp + 0x34], ebx
test ebx, ebx
jle 0x42a0fc
mov edx, dword [esp + 0x5c]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push edx
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov edi, ebp
mov dword [esp + 0x28], edi
mov byte [esp + 0x4c], 6
cmp ebp, 0xffffffff
je 0x42a0b3
mov edi, 0x10000
lea ebx, [esp + 0x20]
mov dword [esp + 0x18], 0
call fcn.00438410
mov byte [esp + 0x4c], 7
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x24]
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push ebx
call edi
test eax, eax
je 0x42a099
lea esp, [esp]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42a099
mov eax, dword [esi]
push 0
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a099
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push ebx
call edi
test eax, eax
jne 0x42a060
mov byte [esp + 0x4c], 6
lea ebx, [esp + 0x20]
call fcn.004b7990
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x1c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x42a0cd
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [esp + 0x17], 1
jmp 0x42a0e7
cmp ebp, 0xffffffff
je 0x42a0d5
push ebp
call ebx
or edi, 0xffffffff
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x4c], 5
cmp edi, 0xffffffff
je 0x42a0f4
push edi
call ebx
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x4c], 4
test esi, esi
je 0x42a10c
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x4c], 3
test edi, edi
je 0x42a11c
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x4c], 2
test ebp, ebp
je 0x42a12c
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x4c], 1
lea ecx, [esp + 0x54]
call fcn.0040b950
mov byte [esp + 0x4c], 0
lea ecx, [esp + 0x58]
call fcn.0040b950
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.0040b950
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret