Function at 0x6d2c1e60
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 [0x6d2e54cc]
xor eax, ebp
mov dword [ebp + 0x3c4], eax
cmp dword [0x6d2e560c], 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 0x6d2c1ebc
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x6d2e560c], eax
test eax, eax
je 0x6d2c23a7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2a4]
push 0
push edi
push esi
call edx
mov ecx, dword [0x6d2e560c]
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 0x6d2c23a4
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], 0x6d2db6ac
mov dword [ebp - 0x7c], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
mov dword [ebp - 0x68], ebx
test ebx, ebx
je 0x6d2c238a
cmp byte [ebp + 0x3e0], 0
jne 0x6d2c238a
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x6d2c238a
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 0x6d2c217d
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 0x1d
push ebx
call edi
test eax, eax
je 0x6d2c217d
cmp dword [ebp - 0x64], 0
jbe 0x6d2c217d
lea edx, [ebp + 0xb8]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d2c202b
xor eax, eax
jmp 0x6d2c2045
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0xb8]
push ecx
push eax
call fcn.6d2c1d20
lea edx, [eax + 2]
jmp 0x6d2c2050
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d2c2050
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 0x6d2c207a
xor eax, eax
jmp 0x6d2c2091
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.6d2c1d20
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d2c2094
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 0x6d2c20d2
xor eax, eax
jmp 0x6d2c20ec
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0xb8]
push ecx
push eax
call fcn.6d2c1d20
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x6d2c20f1
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.6d2c1e00
push 0x6d2db6a8
push 1
push ebx
push edi
mov ecx, esi
call fcn.6d2c1e00
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d2c213a
xor eax, eax
jmp 0x6d2c2151
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.6d2c1d20
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x6d2c2156
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.6d2c1e00
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 0x6d2c2331
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp + 0x2c0]
push eax
push 0x2c
push ebx
call edi
test eax, eax
je 0x6d2c2331
cmp dword [ebp - 0x60], 0
jbe 0x6d2c2331
lea ecx, [ebp + 0x1bc]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d2c21d3
xor eax, eax
jmp 0x6d2c21ed
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea edx, [ebp + 0x1bc]
push edx
push eax
call fcn.6d2c1d20
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d2c21f0
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 0x6d2c221d
xor eax, eax
jmp 0x6d2c2237
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x2c0]
push ecx
push eax
call fcn.6d2c1d20
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d2c2240
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 0x6d2c227e
xor eax, eax
jmp 0x6d2c2298
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x1bc]
push ecx
push eax
call fcn.6d2c1d20
mov ecx, eax
lea edi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x6d2c22a0
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.6d2c1e00
push 0x6d2db6a8
push 1
push ebx
push edi
mov ecx, esi
call fcn.6d2c1e00
lea edx, [ebp + 0x2c0]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d2c22ec
xor eax, eax
jmp 0x6d2c2306
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x2c0]
push ecx
push eax
call fcn.6d2c1d20
mov ecx, eax
lea edi, [ecx + 2]
jmp 0x6d2c2310
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x6d2c2310
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.6d2c1e00
mov ebx, dword [ebp - 0x68]
cmp dword [ebp - 0x50], 0
jne 0x6d2c233d
cmp dword [ebp - 0x54], 0
je 0x6d2c2380
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 0x6d2c2380
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
push str.__C_C_V
push 0x6d2db520
push edi
push esi
call eax
test eax, eax
je 0x6d2c2380
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
push ecx
push edx
push eax
push edi
push esi
call fcn.6d2c1b20
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.6d2d932c
lea esp, [ebp + 0x3c8]
pop ebp
ret 0x1c