Function at 0x1000d660
Capabilities:
Allocate or change rwx memory
Check http status code
Check os version
Encode data using xor
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x100571b8]
xor eax, esp
mov dword [esp + 0xdc], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
sub dword [ebp + 0xc], 1
jne 0x1000e410
mov dword [0x1016383c], esi
cmp byte [0x4d1e69], 0xeb
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jne 0x1000d6c7
xorps xmm0, xmm0
push 0
movups xmmword [0x10163b58], xmm0
movups xmmword [0x10163b68], xmm0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
push 0x6a0c19fb
lea ecx, [esp + 0x10]
call fcn.10011d80
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1000d6e9
mov byte [0x1016372d], 1
jmp 0x1000d758
cmp byte [0x1016372d], 0
jne 0x1000d758
push 0x1f2777df
lea ecx, [esp + 0xb4]
call fcn.10011e60
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
mov word [esp + 0xb8], 0
push 0x5cca7a33
lea ecx, [esp + 0x10]
movq qword [esp + 0xb4], xmm0
mov esi, eax
mov byte [esp + 0xbe], 0
call fcn.10012080
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov word [esp + 0x14], 0
movq qword [esp + 0xc], xmm0
call eax
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x1000d570
push 0x609fc3
push 0xe9
call fcn.1001ef40
add esp, 0xc
push 0x1000d5b0
push 0x5b61cd
push 0xe9
call fcn.1001ef40
add esp, 0xc
mov dword [0x105642e8], 0x4d9577
mov eax, dword [0x4d9578]
add eax, 0x4d957c
mov dword [0x105642e8], eax
push 0x1000d600
push 0x4d9577
push 0xe9
call fcn.1001ef40
add esp, 0xc
push 0x1000d640
push 0x59a9b1
push 0xe8
call fcn.1001ef40
add esp, 0xc
push 0x1000d640
push 0x59af48
push 0xe8
call fcn.1001ef40
add esp, 0xc
push 0x1000d640
push 0x59b20a
push 0xe8
call fcn.1001ef40
add esp, 0xc
push 0x1000d640
push 0x59b23d
push 0xe8
call fcn.1001ef40
add esp, 0xc
push 0x1000d640
push 0x59a420
push 0xe8
call fcn.1001ef40
add esp, 0xc
push 0x1000d640
push 0x59a844
push 0xe8
call fcn.1001ef40
add esp, 0xc
lea eax, [esp + 0x18]
push 0x94
push 0
push eax
call fcn.10029de0
add esp, 0xc
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 6
mov ecx, 1
ja 0x1000d886
movzx eax, byte [0x101636ea]
cmp dword [esp + 0x20], ecx
cmovbe eax, ecx
mov byte [0x101636ea], al
cmp byte [0x1016372d], 0
mov byte [0x10163730], cl
jne 0x1000d89a
call fcn.10006970
push ecx
push 0x10
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0xc708c483
mov ecx, 0x400000
mov dword [esp + 0xbc], 0xffffff05
mov dword [esp + 0xc0], 0x46ff
mov dword [esp + 0xc4], 0x68006a00
call fcn.10020960
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
test eax, eax
je 0x1000d974
mov esi, dword [eax + 0x1f]
lea edi, [eax + 0x1e]
add esi, 5
add esi, edi
lea ecx, [esi + 0xa]
mov dword [0x10057b68], ecx
mov eax, dword [ecx + 1]
add eax, 5
add eax, ecx
mov dword [0x10057b68], eax
lea eax, [esp + 8]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10006bc0
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
push 5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
lea eax, [esp + 8]
push eax
push 0x40
push 5
push edi
call esi
mov eax, 0x10006bc0
mov byte [edi], 0xe8
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
push 5
push edi
mov edi, esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1000d9bd
mov edx, 0xef
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x1004f570]
xor al, dl
mov byte [esp + ecx + 0xb0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x11
jb 0x1000d980
xorps xmm0, xmm0
push 0
movups xmmword [0x10163b58], xmm0
movups xmmword [0x10163b68], xmm0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
push ecx
push 0x1b
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0xffffffa1
mov ecx, 0x400000
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xc0], 0xffff8b32
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0xc8], 0x78ffffff
mov dword [esp + 0xcc], 0x8bffff89
mov word [esp + 0xd0], 0x8ff
mov byte [esp + 0xd2], 0x51
call fcn.10020960
add esp, 8
test eax, eax
je 0x1000dd3a
mov eax, dword [eax + 1]
lea edx, [esp + 0xb0]
push ecx
push 0x21
mov ecx, 0x400000
mov dword [0x10163788], eax
mov dword [esp + 0xb8], 0xffffffa1
mov dword [esp + 0xbc], 0xffff89ff
mov dword [esp + 0xc0], 0x83ffffff
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0xc8], 0xffff02ff
mov dword [esp + 0xcc], 0xffffff83
mov dword [esp + 0xd0], 0x7404ffff
mov dword [esp + 0xd4], 0x6affebff
mov byte [esp + 0xd8], 0
call fcn.10020960
add esp, 8
mov dword [0x1016378c], eax
test eax, eax
je 0x1000dac2
mov eax, dword [eax + 1]
mov dword [0x1016378c], eax
jmp 0x1000db0f
mov edx, 0xba
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1004f584]
xor al, dl
mov byte [esp + ecx + 0xb0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x1000dad0
lea eax, [esp + 0xb0]
mov byte [esp + 0xbf], 0
push eax
push 0
push 0x10157d08
call fcn.10015910
add esp, 0xc
call fcn.1001ef10
push ecx
push 0x17
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0x8e68
mov ecx, 0x400000
mov dword [esp + 0xbc], 0xc16800
mov dword [esp + 0xc0], 0xff8d0000
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0xc8], 0xffffffe8
mov word [esp + 0xcc], 0x6aff
mov byte [esp + 0xce], 2
call fcn.10020960
add esp, 8
mov dword [esp + 8], eax
test eax, eax
je 0x1000dd06
push ecx
push 0x1b
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0xffffffa1
mov ecx, 0x400000
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xc0], 0xffff8b32
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0xc8], 0x78ffffff
mov dword [esp + 0xcc], 0x8bffff89
mov word [esp + 0xd0], 0x8ff
mov byte [esp + 0xd2], 0x51
call fcn.10020960
add esp, 8
mov dword [0x10163834], eax
test eax, eax
je 0x1000dbf9
mov eax, dword [eax + 0xb]
mov dword [0x10163834], eax
jmp 0x1000dc28
mov edx, 0x67
xor ecx, ecx
mov al, byte [ecx + str.4__58]
xor al, dl
mov byte [esp + ecx + 0xb0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x1000dc00
mov byte [esp + 0xc2], 0
call fcn.1001ef10
mov ecx, dword [esp + 8]
add ecx, 0x47
mov dword [0x10163830], ecx
mov edx, dword [ecx + 1]
add ecx, 5
add edx, ecx
mov dword [0x10163830], edx
lea ecx, [edx + 0xa]
mov dword [0x1016382c], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
mov dword [0x1016382c], eax
lea ecx, [eax + 0x2d]
mov dword [0x10163828], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0x25]
mov dword [0x10163824], ecx
mov dword [0x10163828], eax
mov edx, dword [ecx + 1]
add ecx, 5
add edx, ecx
mov dword [0x10163824], edx
lea ecx, [edx + 8]
mov dword [0x10057b58], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0x21]
mov dword [0x10057b64], ecx
mov dword [0x10057b58], eax
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0x3a]
mov dword [0x10057b60], ecx
mov dword [0x10057b64], eax
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0x42]
mov dword [0x10057b60], eax
mov dword [0x10057b5c], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0xc8]
mov dword [0x10057b5c], eax
mov dword [0x10057b54], ecx
mov eax, dword [ecx + 1]
add eax, 5
mov dword [0x10163790], 0x100077f0
add eax, ecx
mov dword [0x10057b54], eax
jmp 0x1000dd9d
mov edx, 0x72
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1004f5a8]
xor al, dl
mov byte [esp + ecx + 0xb0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1b
jb 0x1000dd10
mov byte [esp + 0xcb], 0
call fcn.1001ef10
jmp 0x1000dd9d
mov edx, 0x82
xor ecx, ecx
mov al, byte [ecx + 0x1004f5c4]
xor al, dl
mov byte [esp + ecx + 0xb0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x1000dd41
lea eax, [esp + 0xb0]
mov byte [esp + 0xbf], 0
push eax
push 0
push 0x10157d08
call fcn.10015910
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10163b58], xmm0
movups xmmword [0x10163b68], xmm0
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
push ecx
push 0x30
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0xffe8c88b
mov ecx, 0x400000
mov dword [esp + 0xbc], 0xe8ffffff
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp + 0xc4], 0xffffffe8
mov dword [esp + 0xc8], 0xffffe8ff
mov dword [esp + 0xcc], 0xffe8ffff
mov dword [esp + 0xd0], 0xe8ffffff
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd8], 0xffffffe8
mov dword [esp + 0xdc], 0xffffe8ff
mov dword [esp + 0xe0], 0x1b0ffff
mov dword [esp + 0xe4], 0xc35de58b
call fcn.10020960
add esp, 8
mov dword [0x10163814], eax
test eax, eax
je 0x1000e01d
lea esi, [eax + 0x1b]
lea ecx, [eax + 0x20]
mov dword [0x10163818], esi
mov dword [0x1016381c], ecx
mov eax, dword [esi + 1]
add eax, 5
add eax, esi
mov dword [0x10163818], eax
lea eax, [esp + 8]
push eax
push 0x40
push 5
push esi
call edi
mov eax, 0x10007ab0
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
push 5
push esi
call edi
push ecx
push 0xe
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0xccccccc3
mov ecx, 0x400000
mov dword [esp + 0xbc], 0x83ec8b55
mov dword [esp + 0xc0], 0x458b14ec
mov word [esp + 0xc4], 0x5008
call fcn.10020960
add esp, 8
mov dword [0x10057b50], eax
test eax, eax
je 0x1000dee3
add eax, 4
mov dword [0x10057b50], eax
jmp 0x1000dee8
call fcn.1001ef10
push ecx
push 0x17
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0x8bffc883
mov ecx, 0x400000
mov dword [esp + 0xbc], 0xccc35de5
mov dword [esp + 0xc0], 0xcccccccc
mov dword [esp + 0xc4], 0xcccccccc
mov dword [esp + 0xc8], 0xcccccccc
mov word [esp + 0xcc], 0x8b55
mov byte [esp + 0xce], 0xec
call fcn.10020960
add esp, 8
mov dword [0x10057b4c], eax
test eax, eax
je 0x1000df5b
add eax, 0x14
mov dword [0x10057b4c], eax
jmp 0x1000df60
call fcn.1001ef10
push ecx
push 0x31
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0xc35de58b
mov ecx, 0x400000
mov dword [esp + 0xbc], 0xcccccccc
mov dword [esp + 0xc0], 0xcccccccc
mov dword [esp + 0xc4], 0xcccccccc
mov dword [esp + 0xc8], 0x55cccccc
mov dword [esp + 0xcc], 0xff6aec8b
mov dword [esp + 0xd0], 0xffffff68
mov dword [esp + 0xd4], 0xa164ff
mov dword [esp + 0xd8], 0x50000000
mov dword [esp + 0xdc], 0x258964
mov dword [esp + 0xe0], 0x81000000
mov dword [esp + 0xe4], 0x240ec
mov byte [esp + 0xe8], 0
call fcn.10020960
add esp, 8
mov dword [0x10057b48], eax
test eax, eax
je 0x1000e016
add eax, 0x13
mov dword [0x10057b48], eax
jmp 0x1000e03f
call fcn.1001ef10
jmp 0x1000e03f
xorps xmm0, xmm0
push 0
movups xmmword [0x10163b58], xmm0
movups xmmword [0x10163b68], xmm0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
mov esi, dword [0x1016382c]
lea eax, [esp + 8]
push eax
push 0x40
push 0x76
push esi
call edi
push 0x76
push 0xc3
push esi
call fcn.10029de0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 0x76
push esi
call edi
mov esi, dword [0x10163824]
lea eax, [esp + 8]
push eax
push 0x40
push 0x1e0
push esi
call edi
push 0x1e0
push 0xc3
push esi
call fcn.10029de0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 0x1e0
push esi
call edi
mov esi, dword [0x10163830]
lea eax, [esp + 8]
push eax
push 0x40
push 0x33
push esi
call edi
push 0x33
push 0xc3
push esi
call fcn.10029de0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 0x33
push esi
call edi
mov esi, dword [0x10163830]
lea eax, [esp + 8]
push eax
push 0x40
push 5
push esi
call edi
mov eax, 0x10007580
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
push 5
push esi
call edi
push 0x400000
push 0
push 0x10163ba0
call fcn.10029de0
add esp, 0xc
push 0
push 0x400000
push 0x10163ba0
push 0x400000
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
movaps xmm1, xmmword [0x10051240]
xor eax, eax
movaps xmm2, xmmword [0x10051260]
nop
movups xmm0, xmmword [eax + 0x10163ba0]
psubb xmm0, xmm1
movups xmmword [eax + 0x10163ba0], xmm0
movups xmm0, xmmword [eax + 0x10163ba0]
pxor xmm0, xmm2
movups xmmword [eax + 0x10163ba0], xmm0
movups xmm0, xmmword [eax + 0x10163bb0]
psubb xmm0, xmm1
movups xmmword [eax + 0x10163bb0], xmm0
movups xmm0, xmmword [eax + 0x10163bb0]
pxor xmm0, xmm2
movups xmmword [eax + 0x10163bb0], xmm0
add eax, 0x20
cmp eax, 0x400000
jb 0x1000e150
push 0xa0
push 0
push 0x10563ba0
call fcn.10029de0
add esp, 0xc
push 0
push 0xa0
push 0x10563ba0
push 0x10007580
call esi
push eax
call edi
movaps xmm1, xmmword [0x10051240]
xor eax, eax
movaps xmm2, xmmword [0x10051260]
nop dword [eax]
movups xmm0, xmmword [eax + 0x10563ba0]
psubb xmm0, xmm1
movups xmmword [eax + 0x10563ba0], xmm0
movups xmm0, xmmword [eax + 0x10563ba0]
pxor xmm0, xmm2
movups xmmword [eax + 0x10563ba0], xmm0
movups xmm0, xmmword [eax + 0x10563bb0]
psubb xmm0, xmm1
movups xmmword [eax + 0x10563bb0], xmm0
movups xmm0, xmmword [eax + 0x10563bb0]
pxor xmm0, xmm2
movups xmmword [eax + 0x10563bb0], xmm0
add eax, 0x20
cmp eax, 0xa0
jb 0x1000e1e0
push 0x7c
push 0
push 0x10563c40
call fcn.10029de0
add esp, 0xc
push 0
push 0x7c
push 0x10563c40
push fcn.10006cc0
call esi
push eax
call edi
movaps xmm1, xmmword [0x10051240]
mov edx, 3
movaps xmm2, xmmword [0x10051260]
mov eax, 0x10563c50
lea ecx, [edx + 0x5d]
lea eax, [eax + 0x20]
movups xmm0, xmmword [eax - 0x30]
psubb xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x20]
psubb xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm2
movups xmmword [eax - 0x20], xmm0
sub edx, 1
jne 0x1000e271
nop dword [eax]
mov al, byte [ecx + 0x10563c40]
sub al, 0x10
xor al, 0x77
mov byte [ecx + 0x10563c40], al
inc ecx
cmp ecx, 0x7c
jb 0x1000e2b0
push 0x52f
push 0
push 0x10563cf0
call fcn.10029de0
add esp, 0xc
push 0
push 0x52f
push 0x10563cf0
push fcn.10006d40
call esi
push eax
call edi
movaps xmm1, xmmword [0x10051240]
mov eax, 0x10563d00
movaps xmm2, xmmword [0x10051260]
mov edx, 0x29
mov ecx, 0x520
nop dword [eax]
lea eax, [eax + 0x20]
movups xmm0, xmmword [eax - 0x30]
psubb xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x20]
psubb xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm2
movups xmmword [eax - 0x20], xmm0
sub edx, 1
jne 0x1000e310
nop dword [eax + eax]
mov al, byte [ecx + 0x10563cf0]
sub al, 0x10
xor al, 0x77
mov byte [ecx + 0x10563cf0], al
inc ecx
cmp ecx, 0x52f
jb 0x1000e350
push 0xc8
push 0
push 0x10564220
call fcn.10029de0
add esp, 0xc
push 0
push 0xc8
push 0x10564220
push 0x10018ec0
call esi
push eax
call edi
movaps xmm1, xmmword [0x10051240]
mov eax, 0x10564230
movaps xmm2, xmmword [0x10051260]
mov ecx, 6
mov edx, 0xc0
lea eax, [eax + 0x20]
movups xmm0, xmmword [eax - 0x30]
psubb xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x20]
psubb xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm2
movups xmmword [eax - 0x20], xmm0
sub ecx, 1
jne 0x1000e3b0
nop dword [eax + eax]
mov cl, byte [edx + 0x10564220]
sub cl, 0x10
xor cl, 0x77
mov byte [edx + 0x10564220], cl
inc edx
cmp edx, 0xc8
jb 0x1000e3f0
call fcn.1001c9a0
mov ecx, dword [esp + 0xe4]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10026898
mov esp, ebp
pop ebp
ret 0xc