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

Disassembly:
sub esp, 0x850
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x84c], eax
cmp dword [0x10053938], 0
push ebx
mov ebx, dword [esp + 0x86c]
push esi
mov esi, dword [esp + 0x864]
push edi
mov edi, dword [esp + 0x860]
jne 0x10002a52
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.wininet.dll_InternetOpenW]
mov dword [0x10053938], eax
test eax, eax
je 0x10002eaa
push esi
lea eax, [esp + 0x24]
push edi
push eax
call fcn.10003580
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x10002a6d
mov eax, dword [eax]
jmp 0x10002a6f
xor eax, eax
push ebp
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x884]
push eax
push dword [0x10053938]
call dword [sym.imp.wininet.dll_InternetConnectW]
mov esi, eax
mov dword [esp + 0x28], 0
or ebp, 0xffffffff
mov dword [esp + 0x14], esi
test esi, esi
je 0x10002e5c
push ebx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.10003580
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x34], 0x1003e844
mov dword [esp + 0x38], 0
test eax, eax
je 0x10002ad2
mov eax, dword [eax]
jmp 0x10002ad4
xor eax, eax
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0
push eax
push str.HEAD
push esi
call dword [sym.imp.wininet.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
je 0x10002e0a
cmp byte [esp + 0x874], 0
jne 0x10002e0a
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.wininet.dll_HttpSendRequestW]
test eax, eax
je 0x10002e0a
push 0x208
lea eax, [esp + 0x40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [esp + 0x254]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [esp + 0x468]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [esp + 0x67c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebp, dword [sym.imp.wininet.dll_InternetQueryOptionW]
lea eax, [esp + 0x48]
add esp, 0x30
mov dword [esp + 0x18], 0x208
mov dword [esp + 0x2c], 0x208
mov dword [esp + 0x1c], 0x208
mov dword [esp + 0x30], 0x208
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x14], 0
push eax
push 0x1c
push ebx
call ebp
test eax, eax
je 0x10002c9f
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x248]
push eax
push 0x1d
push ebx
call ebp
test eax, eax
je 0x10002c9f
cmp dword [esp + 0x18], 0
jbe 0x10002c9f
lea edx, [esp + 0x3c]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10002be0
sub edx, ecx
lea esi, [esp + 0x244]
sar edx, 1
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10002c00
sub esi, ecx
lea eax, [edx + 1]
mov ecx, dword [edi]
sar esi, 1
add eax, esi
push eax
mov eax, dword [ecx + 0x2c4]
push edi
call eax
mov edx, eax
lea esi, [esp + 0x3c]
mov dword [esp + 0x10], edx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10002c30
mov eax, dword [edi]
sub esi, ecx
lea ecx, [esp + 0x3c]
sar esi, 1
push ecx
push esi
mov eax, dword [eax + 0x344]
push 0
push edx
push edi
call eax
mov eax, dword [edi]
push 0x1003e858
push 1
push esi
push dword [esp + 0x1c]
mov eax, dword [eax + 0x344]
push edi
call eax
lea edx, [esp + 0x244]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10002c74
sub edx, ecx
lea eax, [esp + 0x244]
mov ecx, dword [edi]
push eax
sar edx, 1
lea eax, [esi + 1]
push edx
push eax
push dword [esp + 0x1c]
mov eax, dword [ecx + 0x344]
push edi
call eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x450]
push eax
push 0x2b
push ebx
call ebp
test eax, eax
je 0x10002dae
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x658]
push eax
push 0x2c
push ebx
call ebp
test eax, eax
je 0x10002dae
cmp dword [esp + 0x1c], 0
jbe 0x10002dae
lea edx, [esp + 0x44c]
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10002cf0
sub edx, ecx
lea esi, [esp + 0x654]
sar edx, 1
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10002d10
sub esi, ecx
lea eax, [edx + 1]
mov ecx, dword [edi]
sar esi, 1
add eax, esi
push eax
mov eax, dword [ecx + 0x2c4]
push edi
call eax
lea esi, [esp + 0x44c]
mov ebp, eax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10002d40
mov eax, dword [edi]
sub esi, ecx
lea ecx, [esp + 0x44c]
sar esi, 1
push ecx
push esi
mov eax, dword [eax + 0x344]
push 0
push ebp
push edi
call eax
mov eax, dword [edi]
push 0x1003e858
push 1
push esi
mov eax, dword [eax + 0x344]
push ebp
push edi
call eax
lea edx, [esp + 0x654]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10002d84
sub edx, ecx
lea eax, [esp + 0x654]
mov ecx, dword [edi]
push eax
sar edx, 1
lea eax, [esi + 1]
push edx
push eax
mov eax, dword [ecx + 0x344]
push ebp
push edi
call eax
jmp 0x10002db0
xor ebp, ebp
cmp dword [esp + 0x10], 0
jne 0x10002dbb
test ebp, ebp
je 0x10002dfc
mov eax, dword [edi]
push str.com_sun_deploy_security_AuthInfoItem
push edi
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
test esi, esi
je 0x10002dfc
mov ecx, dword [edi]
push str.__C_C_V
push str._init_
push esi
mov ecx, dword [ecx + 0x84]
push edi
call ecx
test eax, eax
je 0x10002dfc
push ebp
push dword [esp + 0x14]
push eax
push esi
push edi
call fcn.10001d70
add esp, 0x14
mov dword [esp + 0x28], eax
push ebx
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov esi, dword [esp + 0x14]
or ebp, 0xffffffff
push esi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10002e5c
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x10002e5c
test esi, esi
je 0x10002e5c
mov eax, dword [esi]
test eax, eax
je 0x10002e3a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10002e51
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
mov esi, dword [esp + 0x24]
test esi, esi
je 0x10002ea5
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x10002ea5
test esi, esi
je 0x10002ea5
mov eax, dword [esi]
test eax, eax
je 0x10002e83
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10002e9a
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
mov eax, dword [esp + 0x28]
pop ebp
mov ecx, dword [esp + 0x858]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x850
ret 0x1c