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

Disassembly:
sub esp, 0x850
mov eax, dword [0x1004f860]
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 [0x1004fba0], ebp
jne 0x100023d2
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.wininet.dll_InternetOpenW]
mov dword [0x1004fba0], eax
cmp eax, ebp
jne 0x100023d2
xor eax, eax
jmp 0x100027d4
push edi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.10002e60
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebp
je 0x100023ed
mov eax, dword [eax]
jmp 0x100023ef
xor eax, eax
mov ecx, dword [esp + 0x870]
mov edx, dword [0x1004fba0]
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 0x10002790
push ebx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.10002e60
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x34], 0x1003a96c
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x10002444
mov eax, dword [eax]
jmp 0x10002446
xor eax, eax
push ebp
push ebp
lea ecx, [esp + 0x3c]
push ecx
push ebp
push ebp
push eax
push 0x1003a960
push edi
call dword [sym.imp.wininet.dll_HttpOpenRequestW]
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x10002747
cmp byte [esp + 0x874], 0
jne 0x10002747
push ebp
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.wininet.dll_HttpSendRequestW]
test eax, eax
je 0x10002747
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 0x100025e8
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 0x100025e8
cmp dword [esp + 0x20], ebx
jbe 0x100025e8
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002530
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x44c]
lea edi, [eax + 2]
jmp 0x10002550
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002550
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 0x10002580
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002580
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.10001de0
push 0x1003a95c
push 1
push edi
push ebp
mov ecx, esi
call fcn.10001de0
lea eax, [esp + 0x44c]
lea edx, [eax + 2]
jmp 0x100025c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100025c0
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.10001de0
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 0x100026f2
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 0x100026f2
cmp dword [esp + 0x14], ebx
jbe 0x100026f2
lea eax, [esp + 0x244]
lea edx, [eax + 2]
jmp 0x10002640
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002640
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x654]
lea edi, [eax + 2]
jmp 0x10002660
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002660
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 0x10002690
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002690
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.10001de0
push 0x1003a95c
push 1
push edi
push ebx
mov ecx, esi
call fcn.10001de0
lea eax, [esp + 0x654]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100026d0
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.10001de0
test ebp, ebp
jne 0x100026fa
test ebx, ebx
je 0x10002738
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 0x10002738
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
push str.__C_C_V
push str._init_
push edi
push esi
call eax
test eax, eax
je 0x10002738
push ebx
push ebp
push eax
push edi
push esi
call fcn.10001b10
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 0x10002790
lea edx, [esi + 8]
push edx
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x10002790
cmp esi, ebp
je 0x10002790
mov eax, dword [esi]
cmp eax, ebp
je 0x10002777
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x10002787
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 0x100027d0
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x100027d0
cmp esi, ebp
je 0x100027d0
mov eax, dword [esi]
cmp eax, ebp
je 0x100027b7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x100027c7
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.1003779c
add esp, 0x850
ret 0x1c