Function at 0x2756f040
Capabilities:
Connect to http server
Create http request
Get thread local storage value
Send data
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275aa8ca
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
push eax
push esi
push 0x27521cb8
push 0x27523edc
lea ecx, [ebp - 0x120]
push ecx
push 0x27523e80
lea edx, [ebp - 0x11c]
push 2
xor ebx, ebx
push edx
mov dword [ebp - 0x120], ebx
call fcn.2753a320
add esp, 0x20
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov dword [ebp - 4], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x130], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 1
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x144], edi
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 2
mov dword [ebp - 0x148], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 3
call fcn.275658f0
cmp dword [esi + 0x14], ebx
mov byte [ebp - 4], 4
jne 0x2756f19f
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x120], 0x8000ffff
call fcn.27565a90
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 2
call fcn.2753d3b0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2756f15d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2756f183
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a430
mov eax, 0x8000ffff
jmp 0x2756fb36
call fcn.2759c080
mov ecx, dword [0x275bbc60]
mov ebx, eax
push ecx
mov dword [ebp - 0x140], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x2756f1ed
mov dword [ebp - 0x120], 0x80048039
call fcn.27595010
test al, al
je 0x2756fab6
mov edx, dword [ebp - 0x120]
push edx
push 0x27523dd0
push 0x27523d70
push 1
jmp 0x2756faae
cmp byte [ebx + 0x104], 0
jne 0x2756f2ba
lea eax, [ebp - 0x148]
push eax
call sub.SensApi.dll_IsNetworkAlive
test eax, eax
je 0x2756f217
call fcn.27596460
test al, al
jne 0x2756f2ba
call fcn.27595010
test al, al
je 0x2756f234
push 0x27523d28
push 0x27523cc8
push 1
call fcn.27595fd0
add esp, 0xc
mov esi, dword [esi + 0x14]
lea ecx, [ebp - 0x1a8]
mov dword [esi + 0x70], 0x80048848
call fcn.27565a90
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 2
call fcn.2753d3b0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2756f278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2756f29e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a430
mov eax, 0x80048265
jmp 0x2756fb36
push 0
mov ecx, esi
call fcn.27564300
call fcn.27595010
test al, al
je 0x2756f37c
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [esi + 0x14]
call fcn.2754f550
mov edx, dword [eax]
push edx
push ecx
mov ecx, dword [esi + 0x14]
mov eax, esp
mov dword [ebp - 0x13c], esp
push eax
mov byte [ebp - 4], 5
call fcn.2754f340
mov ecx, esi
call fcn.27565580
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [esi + 0x14]
movzx edi, ax
call fcn.2754f340
mov eax, dword [eax]
movzx edx, di
push edx
push eax
push 0x27523c80
push 0x27523c20
push 1
mov byte [ebp - 4], 6
call fcn.27595fd0
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2756f356
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2756f37c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x6c], 0
je 0x2756f393
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x1a8]
push eax
call edx
lea eax, [ebp - 0x130]
push eax
mov ecx, ebx
call fcn.27566570
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x2756f3d0
call fcn.27595010
test al, al
je 0x2756fab6
mov ecx, dword [ebp - 0x120]
push ecx
push 0x27523bd8
push 0x27523b78
push 3
jmp 0x2756faae
lea eax, [esi + 0x6c]
push eax
mov dword [ebp - 0x12c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x128], 1
mov byte [ebp - 4], 7
call fcn.27595010
test al, al
je 0x2756f408
push 0x27523b28
push 0x27523ac8
push 3
call fcn.27595fd0
add esp, 0xc
cmp byte [esi + 0x84], 0
je 0x2756f44f
call fcn.27595010
test al, al
je 0x2756f42e
push 0x27523a68
push 0x27523a08
push 3
call fcn.27595fd0
add esp, 0xc
mov esi, dword [esi + 0x14]
mov eax, 0x800488e2
mov dword [ebp - 0x120], eax
mov dword [esi + 0x70], eax
lea ecx, [ebp - 0x12c]
call fcn.27570920
jmp 0x2756fab6
mov ecx, dword [esi + 0x14]
call fcn.27539c60
test al, al
jne 0x2756f4b5
cmp dword [esi + 0x20], 0
jne 0x2756f4b5
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x20], eax
jne 0x2756f4b5
call fcn.27539290
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x2756f4a5
mov edx, dword [ebp - 0x120]
push edx
push 0x275239d4
push 0x27523978
push 0
call fcn.27595fd0
add esp, 0x10
lea ecx, [ebp - 0x12c]
call fcn.27570920
jmp 0x2756fab6
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x180]
push 0x10000000
push eax
mov eax, dword [ebp - 0x130]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 0x24], eax
jne 0x2756f50a
call fcn.27539290
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x2756f4a5
mov ecx, dword [ebp - 0x120]
push ecx
push 0x27523944
push 0x275238e8
jmp 0x2756f49b
push 0x2756ef70
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [ebp - 0x1a4]
push edx
push 2
push eax
call edi
test eax, eax
jne 0x2756f554
call fcn.27595010
test al, al
je 0x2756f554
call fcn.27539290
push eax
push 0x27523880
push 0x27523820
push 0
call fcn.27595fd0
add esp, 0x10
mov edx, dword [esi + 0x24]
push 4
lea ecx, [ebp - 0x19c]
push ecx
push 6
push edx
call edi
test eax, eax
jne 0x2756f58c
call fcn.27595010
test al, al
je 0x2756f58c
call fcn.27539290
push eax
push 0x275237b8
push 0x27523758
push 0
call fcn.27595fd0
add esp, 0x10
mov ecx, dword [esi + 0x24]
push 4
lea eax, [ebp - 0x1a0]
push eax
push 5
push ecx
call edi
test eax, eax
jne 0x2756f5c4
call fcn.27595010
test al, al
je 0x2756f5c4
call fcn.27539290
push eax
push 0x275236f0
push 0x27523690
push 0
call fcn.27595fd0
add esp, 0x10
push esi
push 0x200
push 3
push 0
push 0
push ecx
mov ecx, dword [esi + 0x14]
mov edx, esp
mov dword [ebp - 0x13c], esp
push edx
call fcn.2754f340
mov ecx, esi
call fcn.27565580
mov ecx, dword [esi + 0x14]
movzx ebx, ax
lea eax, [ebp - 0x124]
push eax
call fcn.2754f340
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
push ebx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
lea ecx, [ebp - 0x124]
mov dword [esi + 0x28], eax
call fcn.2753a510
cmp dword [esi + 0x28], 0
jne 0x2756f64b
call fcn.27539290
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x2756f4a5
mov edx, dword [ebp - 0x120]
push edx
push 0x27523654
push 0x275235f8
jmp 0x2756f49b
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x124]
push eax
call fcn.2754f550
mov cl, byte [esi + 0x40]
mov eax, dword [eax]
mov edx, dword [esi + 0x28]
neg cl
push esi
sbb ecx, ecx
and ecx, 0x800000
or ecx, 0x400200
push ecx
push 0x275b9694
xor ebx, ebx
push ebx
push 0x275235e4
push eax
push 0x275235d8
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
lea ecx, [ebp - 0x124]
mov dword [esi + 0x2c], eax
call fcn.2753a510
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jne 0x2756f6d2
call fcn.27539290
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x2756f4a5
mov eax, dword [ebp - 0x120]
push eax
push 0x27523598
push 0x27523538
push ebx
jmp 0x2756f49d
mov edx, dword [ebp - 0x17c]
mov ecx, dword [edx - 0xc]
cmp ecx, ebx
jle 0x2756f7ea
add ecx, 1
push ecx
push edx
push 0x2b
push eax
call edi
cmp eax, ebx
jne 0x2756f737
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2756f701
call esi
jmp 0x2756f70d
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x2756f4a5
mov ecx, dword [ebp - 0x120]
push ecx
push 0x27523498
push 0x27523438
push ebx
jmp 0x2756f49d
mov edx, dword [ebp - 0x178]
cmp dword [edx - 0xc], ebx
jle 0x2756f78a
mov edx, dword [0x275bba50]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x178]
push ecx
push edx
call fcn.27549210
cmp eax, ebx
mov dword [ebp - 0x120], eax
jge 0x2756f78a
call fcn.27595010
test al, al
je 0x2756f4a5
mov eax, dword [ebp - 0x120]
push eax
push 0x275233d8
push 0x27523378
push ebx
jmp 0x2756f49d
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax - 0xc]
add ecx, 1
push ecx
mov ecx, dword [esi + 0x2c]
push eax
push 0x2c
push ecx
call edi
cmp eax, ebx
jne 0x2756f7ea
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2756f7b4
call esi
jmp 0x2756f7c0
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x2756f4a5
mov edx, dword [ebp - 0x120]
push edx
push 0x275232d8
push 0x27523278
push ebx
jmp 0x2756f49d
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 4
call fcn.27570920
mov eax, dword [esi + 0x14]
mov dword [eax + 0x70], ebx
lea eax, [ebp - 0x12c]
push eax
mov dword [esi + 0x30], ebx
call fcn.2753a060
mov ecx, dword [eax]
lea edi, [esi + 0x50]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
call fcn.27595010
test al, al
je 0x2756f85d
push 0x2750a488
lea eax, [ebp - 0x124]
push eax
mov ecx, edi
call fcn.275453b0
mov ecx, dword [eax]
push ecx
push 0x2750a460
push 0x27523218
push 3
mov byte [ebp - 4], 8
call fcn.27595fd0
add esp, 0x10
lea ecx, [ebp - 0x124]
call fcn.2753a510
lea eax, [esi + 0x6c]
push eax
mov dword [ebp - 0x12c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x128], 1
mov byte [ebp - 4], 9
call fcn.27595010
test al, al
je 0x2756f895
push 0x27523b28
push 0x275231b8
push 3
call fcn.27595fd0
add esp, 0xc
cmp byte [esi + 0x84], 0
je 0x2756f8ba
call fcn.27595010
test al, al
je 0x2756f42e
push 0x27523a68
push 0x27523158
jmp 0x2756f424
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x2756f43f
mov eax, dword [esi + 0x38]
cmp eax, ebx
mov dword [esi + 0x3c], ebx
je 0x2756f8de
mov byte [eax], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax - 0xc]
lea ebx, [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x2c]
push eax
push 0
push 0x27510d2e
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea ecx, [ebp - 0x12c]
mov edi, eax
mov byte [ebp - 4], 4
call fcn.27570920
test edi, edi
jne 0x2756fab6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x2756fa87
mov eax, dword [esi + 0x14]
mov dword [eax + 0x70], 0x8004882f
mov ecx, dword [esi + 0x14]
call fcn.27539c60
test al, al
jne 0x2756fa7b
mov edx, dword [esi + 0x20]
push 0x493e0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
test edi, edi
je 0x2756fa70
call fcn.27595010
test al, al
je 0x2756f975
push edi
push 0x27523110
push 0x275230b0
push 0
call fcn.27595fd0
add esp, 0x10
mov eax, dword [esi + 0x14]
mov dword [eax + 0x70], 0x80048820
mov eax, dword [ebp - 0x140]
cmp byte [eax + 0x105], 0
je 0x2756fa70
lea ecx, [ebp - 0x134]
call fcn.2753b8d0
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push ebx
mov byte [ebp - 4], 0xa
call fcn.27565350
lea ecx, [ebp - 0x140]
push ecx
call fcn.27566b10
push eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xb
call fcn.27549060
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0xa
call fcn.2753a510
cmp edi, 0xffffffff
jne 0x2756f9e7
call fcn.27539290
jmp 0x2756f9ed
push edi
call fcn.27563e20
push ecx
mov ecx, dword [esi + 0x14]
mov edx, esp
mov dword [ebp - 0x13c], esp
push edx
mov edi, eax
call fcn.2754f340
mov ecx, esi
call fcn.27565580
movzx eax, ax
movzx eax, ax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push 0x27502db8
call fcn.2753f400
push ecx
lea edx, [ebp - 0x134]
mov ecx, esp
mov dword [ebp - 0x124], esp
push edx
mov byte [ebp - 4], 0xc
call fcn.27565350
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x27523050
mov byte [ebp - 4], 0xd
call fcn.2753f400
push edi
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0x14]
push 2
call fcn.2754ff60
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 4
call fcn.2753a510
push 0
mov ecx, esi
call fcn.27564300
jmp 0x2756fab6
mov dword [ebp - 0x120], 0x48847
jmp 0x2756fab6
call fcn.27539290
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x2756fab6
mov eax, dword [ebp - 0x120]
push eax
push 0x27523014
push 0x27522fb8
push 0
call fcn.27595fd0
add esp, 0x10
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x1a8]
call fcn.27565a90
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 2
call fcn.2753d3b0
mov eax, dword [ebp - 0x144]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2756fafc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2756fb22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret