Function at 0x101c9510
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10243115
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x102e91c0]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
xor edi, edi
mov dword [ebp - 4], 0
push edi
push edi
push edi
push edi
push str.WinHTTP_post_1.0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push 4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], eax
push ecx
push 0x54
push eax
mov dword [ebp - 0x54], 0xaa0
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x101c95db
push edi
push 0x1bb
push dword [ebp - 0x58]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x101c95db
push 0x800000
push edi
push edi
push edi
push ebx
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x101c95e3
mov esi, dword [esi]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101c95e8
sub ecx, edx
test edi, edi
je 0x101c98a7
push 0
push ecx
push ecx
push esi
push 0xffffffffffffffff
push str.Content_type:_application_json__charsetutf_8_r_n
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x101c98a7
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x101c989a
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov byte [ebp - 4], 1
nop dword [eax + eax]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push edi
call ebx
test eax, eax
je 0x101c9869
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x101c96d6
inc eax
push eax
call fcn.101d062a
mov esi, eax
add esp, 4
test esi, esi
je 0x101c97b2
mov ecx, dword [ebp - 0x44]
inc ecx
push ecx
push 0
push esi
call fcn.101d28f0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x44]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x101c9761
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101c96b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10030160
push esi
call fcn.101d0625
add esp, 4
cmp dword [ebp - 0x44], 0
ja 0x101c9650
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov eax, 4
cmovae ecx, dword [ebp - 0x28]
mov esi, ebx
cmp ebx, eax
mov edx, str.true
cmova esi, eax
sub esi, eax
jb 0x101c9711
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x101c971a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x101c9700
cmp esi, 0xfffffffc
je 0x101c9804
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x101c9757
cmp esi, 0xfffffffd
je 0x101c9804
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x101c9757
cmp esi, 0xfffffffe
je 0x101c9804
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x101c9757
cmp esi, 0xffffffff
je 0x101c9804
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x101c9804
sbb eax, eax
or eax, 1
jmp 0x101c9806
push esi
call fcn.101d0625
mov ecx, dword [ebp - 0x14]
add esp, 4
xor bl, bl
cmp ecx, 0x10
jb 0x101c98b3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101c979a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101c98f6
push ecx
push edx
call fcn.101d02bd
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 8
push edi
call esi
jmp 0x101c98c4
push 0
call fcn.101d0625
mov ecx, dword [ebp - 0x14]
add esp, 4
xor bl, bl
cmp ecx, 0x10
jb 0x101c98b3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101c97ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101c98f6
push ecx
push edx
call fcn.101d02bd
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 8
push edi
call esi
jmp 0x101c98c4
xor eax, eax
test eax, eax
jne 0x101c9821
cmp ebx, 4
jae 0x101c9814
or eax, 0xffffffff
jmp 0x101c981f
mov eax, 4
cmp eax, ebx
sbb eax, eax
neg eax
test eax, eax
mov eax, dword [ebp - 0x14]
sete bl
cmp eax, 0x10
jb 0x101c98b3
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x101c9854
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101c98f6
push ecx
push edx
call fcn.101d02bd
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 8
push edi
call esi
jmp 0x101c98c4
mov ecx, dword [ebp - 0x14]
xor bl, bl
cmp ecx, 0x10
jb 0x101c98b3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101c97ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101c98f6
jmp 0x101c97ec
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
push edi
call esi
jmp 0x101c98c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
test edi, edi
je 0x101c98be
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
jmp 0x101c98c4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x101c98ce
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x101c98d8
push eax
call esi
mov al, bl
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.101cff65
mov esp, ebp
pop ebp
ret
call fcn.101dc0ba
int3