Function at 0x10001bf0
Capabilities:
Connect to http server
Create http request
Get file size
Read and send data from client to server
Read file on windows
Send data
Send http request

Disassembly:
mov eax, 0x32700
call fcn.100053e0
push ebx
push ebp
push esi
push edi
push str.uppage
call fcn.10001000
mov eax, dword [esp + 0x3271c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 4
lea ecx, [esp + 0x610]
push eax
push ecx
call esi
lea edx, [esp + 0x610]
lea eax, [esp + 0x410]
push edx
push eax
call esi
mov edi, dword [esp + 0x32714]
xor ebx, ebx
push edi
push str.http:__
call fcn.10003300
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
jle 0x10001c57
lea ebx, [edi + ebp + 7]
push ebx
push 0x10007138
call fcn.10003300
mov edi, eax
add esp, 8
lea edx, [esp + 0x54]
lea ecx, [edi + 1]
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [esp + 0x32714]
add edi, ebp
lea edi, [edi + eax + 7]
push edi
push 0x10007134
call fcn.10003300
add esp, 8
mov ebx, eax
lea ecx, [edi + 1]
lea edx, [esp + 0x24]
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebx + edi + 1]
lea ecx, [esp + 0xb0]
push eax
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edi, eax
lea eax, [esp + 0x410]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10001f1c
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x718]
push 0x32000
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x32000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0x800
jb 0x10001f1c
lea ecx, [esp + 0x510]
push str.___________________________7b4a6d158c9
push ecx
call esi
lea edx, [esp + 0x410]
push 1
lea eax, [esp + 0x514]
push edx
push eax
call fcn.10001ab0
add esp, 0xc
lea ecx, [esp + 0x10c]
push eax
push ecx
call esi
lea edx, [esp + 0x510]
push edx
call fcn.10001b40
add esp, 4
push eax
lea eax, [esp + 0x210]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x20c]
push ecx
call ebx
lea edx, [esp + 0x10c]
mov ebp, eax
push edx
call ebx
mov ecx, dword [esp + 0x14]
push 0x32000
add ecx, ebp
add eax, ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10001f1c
lea edx, [esp + 0x30c]
push str.Content_Type:_multipart_form_data__boundary
push edx
call esi
lea eax, [esp + 0x30c]
push 0x10007150
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 0
push 0
push str.Upload
call dword [sym.imp.WININET.dll_InternetOpenA]
push 1
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x68]
mov ebp, eax
push edi
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0x20000000
push 0
push 0
lea edx, [esp + 0xc0]
push str.HTTP_1.0
push edx
push str.POST
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
lea eax, [esp + 0x30c]
push 0x10000000
push eax
call ebx
lea ecx, [esp + 0x310]
push eax
push ecx
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov edx, dword [esp + 0x20]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x2c]
push 1
push 0xc
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x38]
push eax
push esi
mov dword [esp + 0x40], 0x28
mov dword [esp + 0x5c], edx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x10c]
push ecx
push edx
mov dword [esp + 0x18], 0
call ebx
mov edi, dword [sym.imp.WININET.dll_InternetWriteFile]
push eax
lea eax, [esp + 0x114]
push eax
push esi
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x714]
push edx
push eax
push esi
call edi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20c]
push ecx
push edx
call ebx
push eax
lea eax, [esp + 0x214]
push eax
push esi
call edi
push 1
push 4
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
push ebp
call esi
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32700
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x32700
ret