Function at 0x1000f180
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x110a0
call fcn.10123010
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x1109c], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
push 0x3ff
mov edi, edx
lea edx, [esp + 0x10ca5]
push ebx
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x10cac], bl
call fcn.1011e8d0
add esp, 0xc
push 0x3f
lea eax, [esp + 0x10465]
push ebx
push eax
mov byte [esp + 0x1046c], bl
call fcn.1011e8d0
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x108a5]
push ebx
push ecx
mov byte [esp + 0x108ac], bl
call fcn.1011e8d0
mov edx, dword [str._update_upload_file.php]
mov eax, dword [0x101aa6ec]
mov ecx, dword [0x101aa6f0]
add esp, 0xc
mov dword [esp + 0x104a0], edx
mov edx, dword [0x101aa6f4]
push 0x3e8
mov dword [esp + 0x104b0], edx
mov dword [esp + 0x104a8], eax
mov eax, dword [0x101aa6f8]
mov dword [esp + 0x104ac], ecx
mov ecx, dword [0x101aa6fc]
lea edx, [esp + 0x104bc]
push ebx
push edx
mov dword [esp + 0x104bc], eax
mov dword [esp + 0x104c0], ecx
call fcn.1011e8d0
xor eax, eax
add esp, 0xc
push 0x1040f
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], al
lea eax, [esp + 0x55]
push ebx
push eax
mov dword [esp + 0x24], str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
call fcn.1011e8d0
add esp, 0xc
cmp edi, ebx
je 0x1000f93c
cmp esi, ebx
je 0x1000f93c
push edi
push esi
push 0x101aa76c
push 0xb62
push str.HttpUploadFile
push str..If_FileTransfer.c
push 3
call fcn.1014edc0
add esp, 0x1c
push edi
push esi
push 0x101aa76c
push 0xb62
push str.HttpUploadFile
push str..If_FileTransfer.c
push 3
call fcn.1014f750
add esp, 0x1c
push esi
call fcn.1014bcf0
add esp, 4
cmp eax, 0x20000000
jbe 0x1000f343
push 0x101aa784
push 0xb66
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101aa784
push 0xb66
jmp 0x1000f964
lea ecx, [esp + 0x10ca0]
push ecx
call sym.IsaManage.dll_IsiGetServerIP
lea edx, [esp + 0x10464]
add esp, 4
push edx
call sym.IsaManage.dll_IsiGetWebPort
lea eax, [esp + 0x10464]
add esp, 4
push eax
call fcn.1011a0ed
add esp, 4
push str.file
lea ecx, [esp + 0x54]
push pe_nt_image_headers32
push ecx
movzx ebx, ax
mov dword [esp + 0x415c], 2
call fcn.1011b28e
add esp, 0xc
push esi
lea edx, [esp + 0x154]
push 0x4000
push edx
call fcn.1011b28e
add esp, 0xc
push str.filepath
lea eax, [esp + 0x4158]
push pe_nt_image_headers32
push eax
mov dword [esp + 0x8260], 1
call fcn.1011b28e
add esp, 0xc
push esi
lea ecx, [esp + 0x4258]
push 0x4000
push ecx
call fcn.1011b28e
add esp, 0xc
push str.fileserverpath
lea edx, [esp + 0x825c]
push pe_nt_image_headers32
push edx
mov dword [esp + 0xc364], 1
call fcn.1011b28e
add esp, 0xc
push edi
lea eax, [esp + 0x835c]
push 0x4000
push eax
call fcn.1011b28e
add esp, 0xc
push str.submit
lea ecx, [esp + 0xc360]
push pe_nt_image_headers32
push ecx
mov dword [esp + 0xc364], 1
call fcn.1011b28e
add esp, 0xc
push str.submit
lea edx, [esp + 0xc460]
push 0x4000
push edx
call fcn.1011b28e
add esp, 0xc
push 0
push 0x101a721a
push 0x101a721a
push 0
push str.MERONG_0.9__p_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
jne 0x1000f4b3
push str.InternetOpen_is_error
push 0xb85
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.InternetOpen_is_error
push 0xb85
jmp 0x1000f964
push 0
push 0x4400000
push 3
push 0
push 0
push ebx
lea eax, [esp + 0x10cb8]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x1000f535
push str.InternetConnect
push 0xb93
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.InternetConnect
push 0xb93
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop ebx
mov ecx, dword [esp + 0x1109c]
xor ecx, esp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x1000f582
push 0x101aa814
push 0xb99
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101aa814
push 0xb99
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000f916
push 0
push 0x4400040
lea ecx, [esp + 0x20]
push ecx
push 0x101a721a
push str.HTTP_1.0
lea edx, [esp + 0x104b4]
push edx
push 0x101aa840
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x1000f5f3
push str.HttpOpenRequest
push 0xba9
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.HttpOpenRequest
push 0xba9
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000f903
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push closesocket
push 0xd
push str.Accept:___r_n
push edi
call ebx
test eax, eax
jne 0x1000f64d
push str.HttpAddRequestHeaders
push 0xbb3
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.HttpAddRequestHeaders
push 0xbb3
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000f903
push closesocket
push 0xd
push str.Accept:___r_n
push edi
call ebx
test eax, eax
jne 0x1000f6a1
push str.HttpAddRequestHeaders
push 0xbbd
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.HttpAddRequestHeaders
push 0xbbd
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000f903
mov edx, dword [esp + 0x18]
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 8], ecx
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000f6b0
sub eax, dword [esp + 8]
push 0x10000000
push eax
push edx
push edi
call ebx
test eax, eax
jne 0x1000f70c
push str.HttpAddRequestHeaders
push 0xbc7
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.HttpAddRequestHeaders
push 0xbc7
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000f903
push 0x400
lea edx, [esp + 0x108a4]
push 0
push edx
call fcn.1011e8d0
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.1000ea60
push eax
push 0x101aa8b8
mov dword [esp + 0x10], eax
lea eax, [esp + 0x108a8]
push 0x400
push eax
call fcn.1011a6b9
lea eax, [esp + 0x108b0]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000f755
push 0x10000000
sub eax, edx
push eax
lea ecx, [esp + 0x108a8]
push ecx
push edi
call ebx
test eax, eax
jne 0x1000f7b6
push str.HttpAddRequestHeaders_is_error
push 0xbd4
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.HttpAddRequestHeaders_is_error
push 0xbd4
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000f903
push 0
push 8
push 0
lea edx, [esp + 0x34]
push edx
push edi
mov dword [esp + 0x3c], 0x28
mov dword [esp + 0x40], 0
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x1000f81d
push str.HttpSendRequestEx_is_error
push 0xbdc
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push str.HttpSendRequestEx_is_error
push 0xbdc
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000f903
push esi
push 0x101aa90c
push 0xbe0
push str.HttpUploadFile
push str..If_FileTransfer.c
push 3
call fcn.1014edc0
push esi
push 0x101aa90c
push 0xbe0
push str.HttpUploadFile
push str..If_FileTransfer.c
push 3
call fcn.1014f750
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
push eax
push ecx
push edi
lea eax, [esp + 0x8c]
call fcn.1000ec10
add esp, 0x3c
cmp dword [esp + 8], eax
je 0x1000f8b3
push 0x101aa91c
push 0xbe8
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101aa91c
push 0xbe8
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x14
jmp 0x1000f903
push esi
push 0x101aa938
push 0xbeb
push str.HttpUploadFile
push str..If_FileTransfer.c
push 3
call fcn.1014edc0
push esi
push 0x101aa938
push 0xbeb
push str.HttpUploadFile
push str..If_FileTransfer.c
push 3
call fcn.1014f750
add esp, 0x30
push 0
push 8
push 0
push edi
call dword [sym.imp.WININET.dll_HttpEndRequestA]
mov dword [esp + 0x10], 1
test edi, edi
je 0x1000f90e
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop ebx
mov ecx, dword [esp + 0x1109c]
xor ecx, esp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
push 0x101aa750
push 0xb5e
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101aa750
push 0xb5e
push str.HttpUploadFile
push str..If_FileTransfer.c
push 1
call fcn.1014f750
mov ecx, dword [esp + 0x110b8]
add esp, 0x14
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1011a380
mov esp, ebp
pop ebp
ret