Function at 0x100130a0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x1c]
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
call fcn.1000fcf0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esi + 4]
call fcn.10010630
test eax, eax
je 0x1001357b
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.1000cdf0
lea ecx, [esp + 0x38]
push 4
push ecx
call fcn.1000cdf0
mov ecx, dword [esp + 0x40]
add esp, 0x10
cmp ecx, ebx
je 0x10013104
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [edi + 4]
push edx
lea ecx, [esi + 0x24]
mov dword [esp + 0x38], ebx
call fcn.100104d0
test eax, eax
mov ecx, dword [esp + 0x30]
jne 0x1001315e
cmp ecx, ebx
je 0x10013134
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x10013148
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x14]
call fcn.1000fd10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x58
ret 0x24
cmp ecx, ebx
mov esi, ecx
je 0x1001316a
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jne 0x100131a8
lea ecx, [esp + 0x2c]
call fcn.10010290
lea ecx, [esp + 0x14]
call fcn.1000fd10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x58
ret 0x24
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.1000cf40
add esp, 8
test dword [edi + 8], 0x1000000
je 0x10013449
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x100131f9
cmp dword [eax], ebx
je 0x100131f9
lea ecx, [esp + 0x6c]
call fcn.100035a0
lea ecx, [esp + 0x2c]
call fcn.10010290
lea ecx, [esp + 0x14]
call fcn.1000fd10
pop edi
pop esi
pop ebp
mov eax, 0xc0000018
pop ebx
add esp, 0x58
ret 0x24
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x38]
call fcn.10002def
lea eax, [esp + 0x3c]
push 8
push eax
call fcn.1000cdf0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
add esp, 8
push ebx
push ebx
push edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push edx
push ebp
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, dword [ebp + 0x3c]
mov ebx, dword [esi + ebp + 0x50]
add esi, ebp
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp + 0x3c]
cmp dword [ecx + 0x4c], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebx
je 0x100132ab
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 3
call fcn.10010220
mov eax, dword [eax]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1001cd50
mov ecx, dword [ebp + 0x3c]
add esp, 8
push eax
add ecx, 0x54
call fcn.1000fe00
test al, al
mov dword [esp + 0x8c], 1
jne 0x100132b6
mov dword [esp + 0x8c], 0
test byte [esp + 0x10], 2
je 0x100132cb
and dword [esp + 0x10], 0xfffffffd
lea ecx, [esp + 0x7c]
call fcn.100032b0
test byte [esp + 0x10], 1
je 0x100132db
lea ecx, [esp + 0x20]
call fcn.10005c10
cmp dword [esp + 0x8c], 0
je 0x100132f7
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x100132f7
mov ebx, eax
mov dword [esp + 0x7c], ebx
jmp 0x1001332a
mov edx, dword [esi + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x2000
push ebx
push edx
call ebp
test eax, eax
push 0x40
je 0x1001331a
push 0x1000
push ebx
push eax
jmp 0x10013322
push 0x101000
push ebx
push 0
call ebp
mov dword [esp + 0x7c], eax
mov ebx, eax
xor ebp, ebp
cmp dword [esp + 0x8c], ebp
je 0x10013344
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + 0x50], ebp
je 0x10013344
mov dword [esi + 0x28], ebp
mov edx, dword [esi + 0x54]
mov eax, dword [esp + 0x34]
push edx
push eax
push ebx
call fcn.1000ce10
mov eax, dword [esi + 0x28]
add esp, 0xc
cmp eax, ebp
je 0x10013361
add eax, ebx
jmp 0x10013363
xor eax, eax
mov dword [edi + 0xc], eax
movzx ecx, word [esi + 0x5e]
mov dword [edi + 0x28], ecx
movzx edx, word [esi + 4]
mov dword [edi + 0x2c], edx
movzx eax, word [esi + 0x5c]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x64]
mov dword [edi + 0x18], ecx
mov edx, dword [esi + 0x60]
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], ebp
mov ax, word [esi + 0x48]
mov word [edi + 0x22], ax
mov cx, word [esi + 0x4a]
mov eax, dword [esp + 0x1c]
mov word [edi + 0x20], cx
cmp word [eax + 6], 0
movzx edx, word [esi + 0x14]
lea esi, [esi + edx + 0x18]
jbe 0x10013402
add esi, 0x10
mov edi, dword [esi - 4]
mov ebx, dword [esi - 8]
add edi, dword [esp + 0x7c]
mov ecx, dword [esi]
push ebx
push edi
mov dword [esp + 0x94], ecx
call fcn.1000cdf0
mov eax, dword [esp + 0x94]
add esp, 8
cmp ebx, eax
jl 0x100133da
mov ebx, eax
mov edx, dword [esi + 4]
add edx, dword [esp + 0x34]
push ebx
push edx
push edi
call fcn.1000ce10
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + 6]
add ebp, 1
add esp, 0xc
add esi, 0x28
cmp ebp, ecx
jl 0x100133b0
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov esi, dword [esp + 0x80]
test esi, esi
je 0x10013434
push 0x1c
lea eax, [esp + 0x50]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [esp + 0x58]
mov dword [esi], ecx
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
mov dword [edx], ebx
mov esi, 0x40000003
push eax
jmp 0x10013507
mov eax, dword [esp + 0x7c]
cmp eax, ebx
jne 0x10013455
xor esi, esi
jmp 0x10013457
mov esi, dword [eax]
mov ecx, dword [esp + 0x44]
sub ecx, esi
push ecx
lea ecx, [esp + 0x40]
call fcn.10002def
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
push ebx
push ebx
xor eax, eax
push eax
mov eax, dword [edx + 0x14]
push esi
push ecx
call eax
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
push edi
push ebx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ebp, dword [esp + 0x8c]
push ebp
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [esp + 0x7c]
push ecx
push 4
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push esi
call fcn.1000cdf0
push edi
push ebx
push esi
call fcn.1000ce10
add esp, 0x14
lea edx, [esp + 0x7c]
push edx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [esp + 0x80]
test edi, edi
mov eax, dword [esp + 0x70]
mov dword [eax], esi
je 0x10013500
push 0x1c
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [esp + 0x58]
mov dword [edi], edx
xor esi, esi
test ebx, ebx
je 0x1001350f
push ebx
call fcn.10002e75
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x18]
push edx
mov eax, edx
push eax
add ecx, 0x10
call fcn.10007c70
mov eax, dword [esp + 0x6c]
xor edi, edi
cmp eax, edi
je 0x10013543
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x30]
cmp ecx, edi
je 0x10013556
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x10013595
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x14]
call fcn.1000fd10
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x24
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x10013585
mov dword [eax], ebx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x10013592
mov dword [eax], ebx
or esi, 0xffffffff
lea ecx, [esp + 0x14]
call fcn.1000fd10
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x24