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

Disassembly:
push ebp
lea ebp, [esp - 0x3c8]
sub esp, 0x448
mov eax, dword [0x6d1d54cc]
xor eax, ebp
mov dword [ebp + 0x3c4], eax
cmp dword [0x6d1d560c], 0
mov eax, dword [ebp + 0x3e4]
push ebx
push esi
mov esi, dword [ebp + 0x3d0]
push edi
mov edi, dword [ebp + 0x3d8]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], eax
jne 0x6d1b1ebc
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x6d1d560c], eax
test eax, eax
je 0x6d1b23a7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2a4]
push 0
push edi
push esi
call edx
mov ecx, dword [0x6d1d560c]
push 0
push 0
push 3
push 0
mov edi, eax
mov eax, dword [ebp + 0x3dc]
push 0
push eax
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [esi]
mov ecx, dword [edx + 0x2a8]
mov ebx, eax
mov eax, dword [ebp - 0x58]
push edi
push eax
push esi
mov dword [ebp - 0x74], ebx
call ecx
mov dword [ebp - 0x58], 0
test ebx, ebx
je 0x6d1b23a4
mov eax, dword [ebp - 0x5c]
mov edx, dword [esi]
mov ecx, dword [edx + 0x2a4]
push 0
push eax
push esi
call ecx
push 0
push 0
lea edx, [ebp - 0x80]
push edx
push 0
push 0
mov edi, eax
push edi
push str.HEAD
push ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], 0x6d1cb6ac
mov dword [ebp - 0x7c], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
mov dword [ebp - 0x68], ebx
test ebx, ebx
je 0x6d1b238a
cmp byte [ebp + 0x3e0], 0
jne 0x6d1b238a
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x6d1b238a
mov edi, 0x104
push edi
lea eax, [ebp + 0xb8]
push 0
push eax
call sub.MSVCR100.dll_memset
push edi
lea ecx, [ebp - 0x4c]
push 0
push ecx
call sub.MSVCR100.dll_memset
push edi
lea edx, [ebp + 0x1bc]
push 0
push edx
call sub.MSVCR100.dll_memset
push edi
lea eax, [ebp + 0x2c0]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x30
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp + 0xb8]
push edx
xor eax, eax
push 0x1c
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x78], edi
mov edi, dword [sym.imp.WININET.dll_InternetQueryOptionA]
push ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
call edi
test eax, eax
je 0x6d1b217d
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 0x1d
push ebx
call edi
test eax, eax
je 0x6d1b217d
cmp dword [ebp - 0x64], 0
jbe 0x6d1b217d
lea edx, [ebp + 0xb8]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1b202b
xor eax, eax
jmp 0x6d1b2045
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0xb8]
push ecx
push eax
call fcn.6d1b1d20
lea edx, [eax + 2]
jmp 0x6d1b2050
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d1b2050
sub eax, edx
lea edx, [ebp - 0x4c]
sar eax, 1
push edx
mov ebx, eax
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1b207a
xor eax, eax
jmp 0x6d1b2091
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.6d1b1d20
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d1b2094
sub eax, edx
mov edx, dword [esi]
mov ecx, dword [edx + 0x2c4]
sar eax, 1
lea eax, [eax + ebx + 1]
push eax
push esi
call ecx
lea edx, [ebp + 0xb8]
push edx
mov dword [ebp - 0x50], eax
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1b20d2
xor eax, eax
jmp 0x6d1b20ec
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0xb8]
push ecx
push eax
call fcn.6d1b1d20
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x6d1b20f1
sub ecx, edi
mov edi, dword [ebp - 0x50]
sar ecx, 1
push eax
mov ebx, ecx
push ebx
push 0
push edi
mov ecx, esi
call fcn.6d1b1e00
push 0x6d1cb6a8
push 1
push ebx
push edi
mov ecx, esi
call fcn.6d1b1e00
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1b213a
xor eax, eax
jmp 0x6d1b2151
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.6d1b1d20
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x6d1b2156
mov edx, dword [ebp - 0x50]
sub ecx, edi
push eax
sar ecx, 1
push ecx
inc ebx
push ebx
push edx
mov ecx, esi
call fcn.6d1b1e00
mov ebx, dword [ebp - 0x68]
mov edi, dword [sym.imp.WININET.dll_InternetQueryOptionA]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 0x1bc]
push ecx
push 0x2b
push ebx
call edi
test eax, eax
je 0x6d1b2331
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp + 0x2c0]
push eax
push 0x2c
push ebx
call edi
test eax, eax
je 0x6d1b2331
cmp dword [ebp - 0x60], 0
jbe 0x6d1b2331
lea ecx, [ebp + 0x1bc]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1b21d3
xor eax, eax
jmp 0x6d1b21ed
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea edx, [ebp + 0x1bc]
push edx
push eax
call fcn.6d1b1d20
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d1b21f0
sub eax, edx
sar eax, 1
mov ebx, eax
lea eax, [ebp + 0x2c0]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1b221d
xor eax, eax
jmp 0x6d1b2237
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x2c0]
push ecx
push eax
call fcn.6d1b1d20
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d1b2240
sub eax, edx
mov edx, dword [esi]
mov ecx, dword [edx + 0x2c4]
sar eax, 1
lea eax, [eax + ebx + 1]
push eax
push esi
call ecx
lea edx, [ebp + 0x1bc]
push edx
mov dword [ebp - 0x54], eax
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1b227e
xor eax, eax
jmp 0x6d1b2298
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x1bc]
push ecx
push eax
call fcn.6d1b1d20
mov ecx, eax
lea edi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x6d1b22a0
sub ecx, edi
mov edi, dword [ebp - 0x54]
sar ecx, 1
push eax
mov ebx, ecx
push ebx
push 0
push edi
mov ecx, esi
call fcn.6d1b1e00
push 0x6d1cb6a8
push 1
push ebx
push edi
mov ecx, esi
call fcn.6d1b1e00
lea edx, [ebp + 0x2c0]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1b22ec
xor eax, eax
jmp 0x6d1b2306
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x2c0]
push ecx
push eax
call fcn.6d1b1d20
mov ecx, eax
lea edi, [ecx + 2]
jmp 0x6d1b2310
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x6d1b2310
mov edx, dword [ebp - 0x54]
sub ecx, edi
push eax
sar ecx, 1
push ecx
inc ebx
push ebx
push edx
mov ecx, esi
call fcn.6d1b1e00
mov ebx, dword [ebp - 0x68]
cmp dword [ebp - 0x50], 0
jne 0x6d1b233d
cmp dword [ebp - 0x54], 0
je 0x6d1b2380
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 0x6d1b2380
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
push str.__C_C_V
push 0x6d1cb520
push edi
push esi
call eax
test eax, eax
je 0x6d1b2380
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
push ecx
push edx
push eax
push edi
push esi
call fcn.6d1b1b20
add esp, 0x14
mov dword [ebp - 0x58], eax
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [esi]
mov edx, dword [eax + 0x2a8]
push edi
push ecx
push esi
call edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x58]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3c4]
xor ecx, ebp
call fcn.6d1c932c
lea esp, [ebp + 0x3c8]
pop ebp
ret 0x1c