Function at 0x1000d770
Capabilities:
Check http status code
Delete file
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058228
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100754f8]
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 edi, ecx
cmp dword [edi + 0x70], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x12c], ebx
mov dword [edi + 0x128], eax
mov dword [edi + 0x130], 0
je 0x1000d7d8
mov eax, dword [edi]
push 1
push 0
push dword [edi + 0x68]
call dword [eax + 0x14]
mov esi, eax
test esi, esi
js 0x1000d886
cmp dword [edi + 0x74], 0
je 0x1000d7f6
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
push dword [edi + 0x6c]
call dword [eax + 0x14]
mov esi, eax
test esi, esi
js 0x1000d886
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x150]
push eax
mov dword [ebp - 0x30], esi
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [edi + 0x11c], 0
mov dword [edi + 0x118], 0
test esi, esi
je 0x1000d84d
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
jmp 0x1000d84f
xor esi, esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
push edi
add eax, ebx
push eax
push ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push esi
push dword [edi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1000d878
call fcn.1000b900
mov esi, eax
jmp 0x1000d87a
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.10003fa0
test esi, esi
jns 0x1000d8cd
mov ecx, edi
call fcn.1000ce30
lea ebx, [edi + 0x100]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0xac], 0
je 0x1000d8c1
add edi, 0x9c
cmp dword [edi + 0x14], 8
jb 0x1000d8b1
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1000d8c1
call fcn.1000b900
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1000d957
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
mov esi, eax
test esi, esi
js 0x1000d949
cmp esi, 1
jne 0x1000d8d3
push 0
push dword [edi + 4]
call ebx
test eax, eax
jne 0x1000d8fb
call fcn.1000b900
mov esi, eax
test esi, esi
js 0x1000d949
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 4
push eax
push 0
push 0x20000013
push dword [edi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1000d932
call fcn.1000b900
mov esi, eax
test esi, esi
js 0x1000d949
mov eax, dword [ebp - 0x30]
cmp eax, 0x197
jne 0x1000d977
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov esi, eax
test esi, esi
jns 0x1000d8d3
mov ecx, edi
call fcn.1000ce30
mov ecx, edi
call fcn.1000ba60
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.10033ba6
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x191
jne 0x1000d987
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
jmp 0x1000d943
cmp eax, 0xc8
je 0x1000d9c2
cmp eax, 0xce
je 0x1000d9c2
mov ecx, edi
mov dword [edi + 0x11c], 1
mov dword [edi + 0x118], eax
call fcn.1000ce30
mov ecx, edi
call fcn.1000ba60
push 0x2f79
call fcn.1000b920
add esp, 4
jmp 0x1000d959
mov dword [edi + 0x11c], 1
mov dword [edi + 0x118], eax
mov dword [edi + 0x120], 0xffffffff
mov dword [edi + 0x124], 0xffffffff
call fcn.1000bf40
mov ecx, eax
test ecx, ecx
je 0x1000db24
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], 0x20
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x20
or eax, ecx
mov dword [ebp - 4], 0
jge 0x1000da2d
push 0x20
lea ecx, [ebp - 0x2c]
call fcn.1000cbb0
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x20
jl 0x1000db2e
xor eax, eax
mov dword [esi - 0xc], 0x20
push eax
mov word [esi + 0x40], ax
lea eax, [ebp - 0x38]
push eax
push esi
push 0
push 5
push dword [edi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1000da64
call fcn.1000b900
mov ebx, eax
jmp 0x1000da66
xor ebx, ebx
push dword [esi - 8]
push esi
call fcn.1003e5db
add esp, 8
test eax, eax
js 0x1000db2e
cmp eax, dword [esi - 8]
jg 0x1000db2e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
js 0x1000daa5
push esi
call fcn.1003e46f
add esp, 4
mov dword [edi + 0x120], eax
mov dword [edi + 0x124], edx
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000dac0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [ebp - 0x34], 0
nop dword [eax]
lea eax, [ebp - 0x34]
push eax
push dword [edi + 0xd4]
push dword [edi + 0xd0]
push dword [edi + 4]
call ebx
test eax, eax
jne 0x1000daf8
call fcn.1000b900
mov esi, eax
test esi, esi
js 0x1000d949
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x1000db1d
mov eax, dword [edi]
push ecx
push dword [edi + 0xd0]
mov ecx, edi
call dword [eax + 0x34]
mov esi, eax
test esi, esi
js 0x1000d949
cmp dword [ebp - 0x34], 0
jne 0x1000dad0
xor eax, eax
jmp 0x1000d959
push 0x80004005
call fcn.1000b940
push 0x80070057
call fcn.1000b940
int3