Function at 0x6d592380
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x850
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x84c], eax
push ebx
mov ebx, dword [esp + 0x86c]
push ebp
push esi
mov esi, dword [esp + 0x860]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x86c]
cmp dword [0x6d5e2da0], ebp
jne 0x6d5923d2
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.wininet.dll_InternetOpenW]
mov dword [0x6d5e2da0], eax
cmp eax, ebp
jne 0x6d5923d2
xor eax, eax
jmp 0x6d5927d4
push edi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.6d592e60
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebp
je 0x6d5923ed
mov eax, dword [eax]
jmp 0x6d5923ef
xor eax, eax
mov ecx, dword [esp + 0x870]
mov edx, dword [0x6d5e2da0]
push ebp
push ebp
push 3
push ebp
push ebp
push ecx
push eax
push edx
call dword [sym.imp.wininet.dll_InternetConnectW]
mov edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ebp
cmp edi, ebp
je 0x6d592790
push ebx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.6d592e60
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x34], 0x6d5cd9ac
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x6d592444
mov eax, dword [eax]
jmp 0x6d592446
xor eax, eax
push ebp
push ebp
lea ecx, [esp + 0x3c]
push ecx
push ebp
push ebp
push eax
push 0x6d5cd9a0
push edi
call dword [sym.imp.wininet.dll_HttpOpenRequestW]
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x6d592747
cmp byte [esp + 0x874], 0
jne 0x6d592747
push ebp
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.wininet.dll_HttpSendRequestW]
test eax, eax
je 0x6d592747
mov edi, 0x208
push edi
lea edx, [esp + 0x40]
push ebp
push edx
call sub.MSVCR100.dll_memset
push edi
lea eax, [esp + 0x45c]
push ebp
push eax
call sub.MSVCR100.dll_memset
push edi
lea ecx, [esp + 0x260]
push ebp
push ecx
call sub.MSVCR100.dll_memset
push edi
lea edx, [esp + 0x67c]
push ebp
push edx
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x40]
add esp, 0x30
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
push 0x1c
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], edi
mov edi, dword [sym.imp.wininet.dll_InternetQueryOptionW]
push edx
xor ebx, ebx
call edi
test eax, eax
je 0x6d5925e8
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x450]
push ecx
push 0x1d
push edx
call edi
test eax, eax
je 0x6d5925e8
cmp dword [esp + 0x20], ebx
jbe 0x6d5925e8
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d592530
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x44c]
lea edi, [eax + 2]
jmp 0x6d592550
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d592550
mov ecx, dword [esi]
sub eax, edi
sar eax, 1
lea edx, [eax + edx + 1]
mov eax, dword [ecx + 0x2c4]
push edx
push esi
call eax
mov ebp, eax
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
jmp 0x6d592580
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d592580
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
push edi
push 0
push ebp
mov ecx, esi
call fcn.6d591df0
push 0x6d5cd99c
push 1
push edi
push ebp
mov ecx, esi
call fcn.6d591df0
lea eax, [esp + 0x44c]
lea edx, [eax + 2]
jmp 0x6d5925c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d5925c0
sub eax, edx
lea edx, [esp + 0x44c]
push edx
sar eax, 1
push eax
inc edi
push edi
push ebp
mov ecx, esi
call fcn.6d591df0
mov edi, dword [sym.imp.wininet.dll_InternetQueryOptionW]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x248]
push ecx
push 0x2b
push edx
call edi
test eax, eax
je 0x6d5926f2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x658]
push ecx
push 0x2c
push edx
call edi
test eax, eax
je 0x6d5926f2
cmp dword [esp + 0x14], ebx
jbe 0x6d5926f2
lea eax, [esp + 0x244]
lea edx, [eax + 2]
jmp 0x6d592640
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d592640
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x654]
lea edi, [eax + 2]
jmp 0x6d592660
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d592660
mov ecx, dword [esi]
sub eax, edi
sar eax, 1
lea edx, [eax + edx + 1]
mov eax, dword [ecx + 0x2c4]
push edx
push esi
call eax
mov ebx, eax
lea eax, [esp + 0x244]
lea edx, [eax + 2]
jmp 0x6d592690
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d592690
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x244]
push ecx
mov edi, eax
push edi
push 0
push ebx
mov ecx, esi
call fcn.6d591df0
push 0x6d5cd99c
push 1
push edi
push ebx
mov ecx, esi
call fcn.6d591df0
lea eax, [esp + 0x654]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d5926d0
sub eax, edx
lea edx, [esp + 0x654]
push edx
sar eax, 1
push eax
inc edi
push edi
push ebx
mov ecx, esi
call fcn.6d591df0
test ebp, ebp
jne 0x6d5926fa
test ebx, ebx
je 0x6d592738
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
push str.com_sun_deploy_security_AuthInfoItem
push esi
call ecx
mov edi, eax
test edi, edi
je 0x6d592738
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
push str.__C_C_V
push 0x6d5cd6d0
push edi
push esi
call eax
test eax, eax
je 0x6d592738
push ebx
push ebp
push eax
push edi
push esi
call fcn.6d591b20
add esp, 0x14
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov esi, dword [esp + 0x18]
xor ebp, ebp
cmp esi, ebp
je 0x6d592790
lea edx, [esi + 8]
push edx
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d592790
cmp esi, ebp
je 0x6d592790
mov eax, dword [esi]
cmp eax, ebp
je 0x6d592777
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d592787
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x1c]
cmp esi, ebp
je 0x6d5927d0
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5927d0
cmp esi, ebp
je 0x6d5927d0
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5927b7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5927c7
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x850
ret 0x1c