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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058d48
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100764f8]
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 0x1000e378
mov eax, dword [edi]
push 1
push 0
push dword [edi + 0x68]
call dword [eax + 0x14]
mov esi, eax
test esi, esi
js 0x1000e426
cmp dword [edi + 0x74], 0
je 0x1000e396
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 0x1000e426
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 0x1000e3ed
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
jmp 0x1000e3ef
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 0x1000e418
call fcn.1000c4a0
mov esi, eax
jmp 0x1000e41a
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.10003fd0
test esi, esi
jns 0x1000e46d
mov ecx, edi
call fcn.1000d9d0
lea ebx, [edi + 0x100]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0xac], 0
je 0x1000e461
add edi, 0x9c
cmp dword [edi + 0x14], 8
jb 0x1000e451
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1000e461
call fcn.1000c4a0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1000e4f7
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 0x1000e4e9
cmp esi, 1
jne 0x1000e473
push 0
push dword [edi + 4]
call ebx
test eax, eax
jne 0x1000e49b
call fcn.1000c4a0
mov esi, eax
test esi, esi
js 0x1000e4e9
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 0x1000e4d2
call fcn.1000c4a0
mov esi, eax
test esi, esi
js 0x1000e4e9
mov eax, dword [ebp - 0x30]
cmp eax, 0x197
jne 0x1000e517
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov esi, eax
test esi, esi
jns 0x1000e473
mov ecx, edi
call fcn.1000d9d0
mov ecx, edi
call fcn.1000c600
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.10034676
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x191
jne 0x1000e527
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
jmp 0x1000e4e3
cmp eax, 0xc8
je 0x1000e562
cmp eax, 0xce
je 0x1000e562
mov ecx, edi
mov dword [edi + 0x11c], 1
mov dword [edi + 0x118], eax
call fcn.1000d9d0
mov ecx, edi
call fcn.1000c600
push 0x2f79
call fcn.1000c4c0
add esp, 4
jmp 0x1000e4f9
mov dword [edi + 0x11c], 1
mov dword [edi + 0x118], eax
mov dword [edi + 0x120], 0xffffffff
mov dword [edi + 0x124], 0xffffffff
call fcn.1000cae0
mov ecx, eax
test ecx, ecx
je 0x1000e6c4
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 0x1000e5cd
push 0x20
lea ecx, [ebp - 0x2c]
call fcn.1000d750
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x20
jl 0x1000e6ce
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 0x1000e604
call fcn.1000c4a0
mov ebx, eax
jmp 0x1000e606
xor ebx, ebx
push dword [esi - 8]
push esi
call fcn.1003f0ab
add esp, 8
test eax, eax
js 0x1000e6ce
cmp eax, dword [esi - 8]
jg 0x1000e6ce
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
js 0x1000e645
push esi
call fcn.1003ef64
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 0x1000e660
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 0x1000e698
call fcn.1000c4a0
mov esi, eax
test esi, esi
js 0x1000e4e9
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x1000e6bd
mov eax, dword [edi]
push ecx
push dword [edi + 0xd0]
mov ecx, edi
call dword [eax + 0x34]
mov esi, eax
test esi, esi
js 0x1000e4e9
cmp dword [ebp - 0x34], 0
jne 0x1000e670
xor eax, eax
jmp 0x1000e4f9
push 0x80004005
call fcn.1000c4e0
push 0x80070057
call fcn.1000c4e0
int3