Function at 0x1000d8c0
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, 0xd8
mov eax, dword [0x100571b8]
xor eax, esp
mov dword [esp + 0xd4], 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 0x1000e650
mov dword [0x10163900], esi
cmp byte [0x4d1e69], 0xeb
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jne 0x1000d927
xorps xmm0, xmm0
push 0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], xmm0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
push 0x6a0c1a43
lea ecx, [esp + 0xac]
call fcn.10011fb0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movzx ecx, byte [0x101637ed]
test eax, eax
push 0x1000d7d0
mov edi, 1
cmovne ecx, edi
push 0x609fc3
push 0xe9
mov byte [0x101637ed], cl
call fcn.1001f190
add esp, 0xc
push 0x1000d810
push 0x5b61cd
push 0xe9
call fcn.1001f190
add esp, 0xc
mov dword [0x105643a8], 0x4d9577
mov eax, dword [0x4d9578]
add eax, 0x4d957c
mov dword [0x105643a8], eax
push 0x1000d860
push 0x4d9577
push 0xe9
call fcn.1001f190
mov dword [0x105643ac], 0x59a9b1
add esp, 0xc
mov eax, dword [0x59a9b2]
add eax, 0x59a9b6
mov dword [0x105643ac], eax
mov dword [0x101638d0], eax
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x1000d8a0
push 0x101638d0
call fcn.10001c30
call fcn.100021f0
push 0x1000d8a0
push 0x59a9b1
push 0xe8
call fcn.1001f190
add esp, 0xc
push 0x1000d8a0
push 0x59af48
push 0xe8
call fcn.1001f190
add esp, 0xc
push 0x1000d8a0
push 0x59b20a
push 0xe8
call fcn.1001f190
add esp, 0xc
push 0x1000d8a0
push 0x59b23d
push 0xe8
call fcn.1001f190
add esp, 0xc
push 0x1000d8a0
push 0x59a420
push 0xe8
call fcn.1001f190
add esp, 0xc
push 0x1000d8a0
push 0x59a844
push 0xe8
call fcn.1001f190
add esp, 0xc
lea eax, [esp + 0x10]
push 0x94
push 0
push eax
call fcn.1002a1a0
add esp, 0xc
mov dword [esp + 0x10], 0x94
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 6
ja 0x1000dac2
movzx eax, byte [0x101637aa]
cmp dword [esp + 0x18], edi
cmovbe eax, edi
mov byte [0x101637aa], al
cmp byte [0x101637ed], 0
mov byte [0x101637f0], 1
jne 0x1000dad7
call fcn.10006a80
push ecx
push 0x10
lea edx, [esp + 0xb0]
mov dword [esp + 0xb0], 0xc708c483
mov ecx, 0x400000
mov dword [esp + 0xb4], 0xffffff05
mov dword [esp + 0xb8], 0x46ff
mov dword [esp + 0xbc], 0x68006a00
call fcn.10020d20
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
test eax, eax
je 0x1000dbb7
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 + 0xc]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10006cd0
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x10]
push 5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 5
push edi
call esi
mov eax, 0x10006cd0
mov byte [edi], 0xe8
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x10]
push 5
push edi
mov edi, esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1000dbfd
mov edx, 0xef
xor ecx, ecx
nop
mov al, byte [ecx + 0x1004f5b0]
xor al, dl
mov byte [esp + ecx + 0xa8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x11
jb 0x1000dbc0
xorps xmm0, xmm0
push 0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], xmm0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
push ecx
push 0x1b
lea edx, [esp + 0xb0]
mov dword [esp + 0xb0], 0xffffffa1
mov ecx, 0x400000
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0xb8], 0xffff8b32
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xc0], 0x78ffffff
mov dword [esp + 0xc4], 0x8bffff89
mov word [esp + 0xc8], 0x8ff
mov byte [esp + 0xca], 0x51
call fcn.10020d20
add esp, 8
test eax, eax
je 0x1000df7a
mov eax, dword [eax + 1]
lea edx, [esp + 0xa8]
push ecx
push 0x21
mov ecx, 0x400000
mov dword [0x10163848], eax
mov dword [esp + 0xb0], 0xffffffa1
mov dword [esp + 0xb4], 0xffff89ff
mov dword [esp + 0xb8], 0x83ffffff
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xc0], 0xffff02ff
mov dword [esp + 0xc4], 0xffffff83
mov dword [esp + 0xc8], 0x7404ffff
mov dword [esp + 0xcc], 0x6affebff
mov byte [esp + 0xd0], 0
call fcn.10020d20
add esp, 8
mov dword [0x1016384c], eax
test eax, eax
je 0x1000dd02
mov eax, dword [eax + 1]
mov dword [0x1016384c], eax
jmp 0x1000dd4f
mov edx, 0xba
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1004f5c4]
xor al, dl
mov byte [esp + ecx + 0xa8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x1000dd10
lea eax, [esp + 0xa8]
mov byte [esp + 0xb7], 0
push eax
push 0
push 0x10157d08
call fcn.10015b60
add esp, 0xc
call fcn.1001f160
push ecx
push 0x17
lea edx, [esp + 0xb0]
mov dword [esp + 0xb0], 0x8e68
mov ecx, 0x400000
mov dword [esp + 0xb4], 0xc16800
mov dword [esp + 0xb8], 0xff8d0000
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xc0], 0xffffffe8
mov word [esp + 0xc4], 0x6aff
mov byte [esp + 0xc6], 2
call fcn.10020d20
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x1000df46
push ecx
push 0x1b
lea edx, [esp + 0xb0]
mov dword [esp + 0xb0], 0xffffffa1
mov ecx, 0x400000
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0xb8], 0xffff8b32
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xc0], 0x78ffffff
mov dword [esp + 0xc4], 0x8bffff89
mov word [esp + 0xc8], 0x8ff
mov byte [esp + 0xca], 0x51
call fcn.10020d20
add esp, 8
mov dword [0x101638f8], eax
test eax, eax
je 0x1000de39
mov eax, dword [eax + 0xb]
mov dword [0x101638f8], eax
jmp 0x1000de68
mov edx, 0x67
xor ecx, ecx
mov al, byte [ecx + str.4__58]
xor al, dl
mov byte [esp + ecx + 0xa8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x1000de40
mov byte [esp + 0xba], 0
call fcn.1001f160
mov ecx, dword [esp + 0xc]
add ecx, 0x47
mov dword [0x101638f4], ecx
mov edx, dword [ecx + 1]
add ecx, 5
add edx, ecx
mov dword [0x101638f4], edx
lea ecx, [edx + 0xa]
mov dword [0x101638f0], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
mov dword [0x101638f0], eax
lea ecx, [eax + 0x2d]
mov dword [0x101638ec], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0x25]
mov dword [0x101638e8], ecx
mov dword [0x101638ec], eax
mov edx, dword [ecx + 1]
add ecx, 5
add edx, ecx
mov dword [0x101638e8], 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 [0x10163850], 0x10007900
add eax, ecx
mov dword [0x10057b54], eax
jmp 0x1000dfdd
mov edx, 0x72
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1004f5e8]
xor al, dl
mov byte [esp + ecx + 0xa8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1b
jb 0x1000df50
mov byte [esp + 0xc3], 0
call fcn.1001f160
jmp 0x1000dfdd
mov edx, 0x82
xor ecx, ecx
mov al, byte [ecx + 0x1004f604]
xor al, dl
mov byte [esp + ecx + 0xa8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x1000df81
lea eax, [esp + 0xa8]
mov byte [esp + 0xb7], 0
push eax
push 0
push 0x10157d08
call fcn.10015b60
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], 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 + 0xb0]
mov dword [esp + 0xb0], 0xffe8c88b
mov ecx, 0x400000
mov dword [esp + 0xb4], 0xe8ffffff
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0xbc], 0xffffffe8
mov dword [esp + 0xc0], 0xffffe8ff
mov dword [esp + 0xc4], 0xffe8ffff
mov dword [esp + 0xc8], 0xe8ffffff
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0xd0], 0xffffffe8
mov dword [esp + 0xd4], 0xffffe8ff
mov dword [esp + 0xd8], 0x1b0ffff
mov dword [esp + 0xdc], 0xc35de58b
call fcn.10020d20
add esp, 8
mov dword [0x101638d8], eax
test eax, eax
je 0x1000e260
lea esi, [eax + 0x1b]
lea ecx, [eax + 0x20]
mov dword [0x101638dc], esi
mov dword [0x101638e0], ecx
mov eax, dword [esi + 1]
add eax, 5
add eax, esi
mov dword [0x101638dc], eax
lea eax, [esp + 0xc]
push eax
push 0x40
push 5
push esi
call edi
mov eax, 0x10007bc0
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x10]
push 5
push esi
call edi
push ecx
push 0xe
lea edx, [esp + 0xb0]
mov dword [esp + 0xb0], 0xccccccc3
mov ecx, 0x400000
mov dword [esp + 0xb4], 0x83ec8b55
mov dword [esp + 0xb8], 0x458b14ec
mov word [esp + 0xbc], 0x5008
call fcn.10020d20
add esp, 8
mov dword [0x10057b50], eax
test eax, eax
je 0x1000e126
add eax, 4
mov dword [0x10057b50], eax
jmp 0x1000e12b
call fcn.1001f160
push ecx
push 0x17
lea edx, [esp + 0xb0]
mov dword [esp + 0xb0], 0x8bffc883
mov ecx, 0x400000
mov dword [esp + 0xb4], 0xccc35de5
mov dword [esp + 0xb8], 0xcccccccc
mov dword [esp + 0xbc], 0xcccccccc
mov dword [esp + 0xc0], 0xcccccccc
mov word [esp + 0xc4], 0x8b55
mov byte [esp + 0xc6], 0xec
call fcn.10020d20
add esp, 8
mov dword [0x10057b4c], eax
test eax, eax
je 0x1000e19e
add eax, 0x14
mov dword [0x10057b4c], eax
jmp 0x1000e1a3
call fcn.1001f160
push ecx
push 0x31
lea edx, [esp + 0xb0]
mov dword [esp + 0xb0], 0xc35de58b
mov ecx, 0x400000
mov dword [esp + 0xb4], 0xcccccccc
mov dword [esp + 0xb8], 0xcccccccc
mov dword [esp + 0xbc], 0xcccccccc
mov dword [esp + 0xc0], 0x55cccccc
mov dword [esp + 0xc4], 0xff6aec8b
mov dword [esp + 0xc8], 0xffffff68
mov dword [esp + 0xcc], 0xa164ff
mov dword [esp + 0xd0], 0x50000000
mov dword [esp + 0xd4], 0x258964
mov dword [esp + 0xd8], 0x81000000
mov dword [esp + 0xdc], 0x240ec
mov byte [esp + 0xe0], 0
call fcn.10020d20
add esp, 8
mov dword [0x10057b48], eax
test eax, eax
je 0x1000e259
add eax, 0x13
mov dword [0x10057b48], eax
jmp 0x1000e282
call fcn.1001f160
jmp 0x1000e282
xorps xmm0, xmm0
push 0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], xmm0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
mov esi, dword [0x101638f0]
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x76
push esi
call edi
push 0x76
push 0xc3
push esi
call fcn.1002a1a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push 0x76
push esi
call edi
mov esi, dword [0x101638e8]
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x1e0
push esi
call edi
push 0x1e0
push 0xc3
push esi
call fcn.1002a1a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push 0x1e0
push esi
call edi
mov esi, dword [0x101638f4]
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x33
push esi
call edi
push 0x33
push 0xc3
push esi
call fcn.1002a1a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push 0x33
push esi
call edi
mov esi, dword [0x101638f4]
lea eax, [esp + 0xc]
push eax
push 0x40
push 5
push esi
call edi
mov eax, 0x10007690
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x10]
push 5
push esi
call edi
push 0x400000
push 0
push 0x10163c60
call fcn.1002a1a0
add esp, 0xc
push 0
push 0x400000
push 0x10163c60
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 [0x10051290]
xor eax, eax
movaps xmm2, xmmword [0x100512b0]
movups xmm0, xmmword [eax + 0x10163c60]
psubb xmm0, xmm1
movups xmmword [eax + 0x10163c60], xmm0
movups xmm0, xmmword [eax + 0x10163c60]
pxor xmm0, xmm2
movups xmmword [eax + 0x10163c60], xmm0
movups xmm0, xmmword [eax + 0x10163c70]
psubb xmm0, xmm1
movups xmmword [eax + 0x10163c70], xmm0
movups xmm0, xmmword [eax + 0x10163c70]
pxor xmm0, xmm2
movups xmmword [eax + 0x10163c70], xmm0
add eax, 0x20
cmp eax, 0x400000
jb 0x1000e394
push 0xa0
push 0
push 0x10563c60
call fcn.1002a1a0
add esp, 0xc
push 0
push 0xa0
push 0x10563c60
push 0x10007690
call esi
push eax
call edi
movaps xmm1, xmmword [0x10051290]
xor eax, eax
movaps xmm2, xmmword [0x100512b0]
movups xmm0, xmmword [eax + 0x10563c60]
psubb xmm0, xmm1
movups xmmword [eax + 0x10563c60], xmm0
movups xmm0, xmmword [eax + 0x10563c60]
pxor xmm0, xmm2
movups xmmword [eax + 0x10563c60], xmm0
movups xmm0, xmmword [eax + 0x10563c70]
psubb xmm0, xmm1
movups xmmword [eax + 0x10563c70], xmm0
movups xmm0, xmmword [eax + 0x10563c70]
pxor xmm0, xmm2
movups xmmword [eax + 0x10563c70], xmm0
add eax, 0x20
cmp eax, 0xa0
jb 0x1000e420
push 0x7c
push 0
push 0x10563d00
call fcn.1002a1a0
add esp, 0xc
push 0
push 0x7c
push 0x10563d00
push fcn.10006dd0
call esi
push eax
call edi
movaps xmm1, xmmword [0x10051290]
mov edx, 3
movaps xmm2, xmmword [0x100512b0]
mov eax, 0x10563d10
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 0x1000e4b1
nop dword [eax]
mov al, byte [ecx + 0x10563d00]
sub al, 0x10
xor al, 0x77
mov byte [ecx + 0x10563d00], al
inc ecx
cmp ecx, 0x7c
jb 0x1000e4f0
push 0x52f
push 0
push 0x10563db0
call fcn.1002a1a0
add esp, 0xc
push 0
push 0x52f
push 0x10563db0
push fcn.10006e50
call esi
push eax
call edi
movaps xmm1, xmmword [0x10051290]
mov eax, 0x10563dc0
movaps xmm2, xmmword [0x100512b0]
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 0x1000e550
nop dword [eax + eax]
mov al, byte [ecx + 0x10563db0]
sub al, 0x10
xor al, 0x77
mov byte [ecx + 0x10563db0], al
inc ecx
cmp ecx, 0x52f
jb 0x1000e590
push 0xc8
push 0
push 0x105642e0
call fcn.1002a1a0
add esp, 0xc
push 0
push 0xc8
push 0x105642e0
push 0x100190e0
call esi
push eax
call edi
movaps xmm1, xmmword [0x10051290]
mov eax, 0x105642f0
movaps xmm2, xmmword [0x100512b0]
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 0x1000e5f0
nop dword [eax + eax]
mov cl, byte [edx + 0x105642e0]
sub cl, 0x10
xor cl, 0x77
mov byte [edx + 0x105642e0], cl
inc edx
cmp edx, 0xc8
jb 0x1000e630
call fcn.1001cbf0
mov ecx, dword [esp + 0xdc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10026c75
mov esp, ebp
pop ebp
ret 0xc