Function at 0xd0fcc0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd335a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
push 0xd03790
push 0xd03794
lea ecx, [ebp - 0x28]
call fcn.00d10bd0
cmp dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
je 0xd0fee1
mov esi, dword [ebp - 0x24]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
test esi, esi
je 0xd0fd75
cmp esi, 0x7fffffff
ja 0xd0feff
cmp esi, 0x1000
jb 0xd0fd4f
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0xd0ff04
push eax
call fcn.00d19a3c
add esp, 4
test eax, eax
je 0xd0ff09
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0xd0fd5a
push esi
call fcn.00d19a3c
add esp, 4
mov edi, eax
push esi
lea eax, [esi + edi]
mov dword [ebp - 0x34], edi
push 0
push edi
mov dword [ebp - 0x2c], eax
call fcn.00d1afb0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x30], eax
sub eax, edi
mov byte [ebp - 4], 1
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00d10d60
test edi, edi
je 0xd0fed9
mov eax, 0x5a4d
cmp word [edi], ax
jne 0xd0fed9
mov ecx, dword [edi + 0x3c]
add ecx, edi
movzx esi, word [ecx + 0x14]
movzx eax, word [ecx + 6]
add esi, 0x18
add esi, ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0xd0fe1e
test esi, esi
jne 0xd0fdc5
push 0xd03800
call fcn.00d109a0
add esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [eax]
add edx, eax
add eax, 0x900000
mov dword [ebp - 0x1c], edx
cmp edx, eax
jae 0xd0fe15
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0xd0fe15
cmp dword [esi + 8], ecx
mov eax, dword [esi + 0x14]
cmovb ecx, dword [esi + 8]
add eax, edi
push ecx
push eax
push edx
mov dword [ebp - 0x18], ecx
call fcn.00d10980
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 0x28
sub dword [ebp - 0x10], 1
jne 0xd0fdb4
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00d0ff10
mov esi, dword [esi + 8]
lea eax, [ebp - 0x20]
add esp, 8
mov dword [ebp - 0x20], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + eax + 0x80]
mov edx, dword [edi + eax + 0x84]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], edx
mov ecx, dword [edi + 0x3c]
add ecx, edi
movzx eax, word [ecx + 6]
lea eax, [eax + eax*4]
lea eax, [eax*8 + 0xf8]
push eax
push ecx
push esi
call fcn.00d10990
mov eax, dword [edi + 0x3c]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
sub ecx, edi
mov esi, dword [edi + eax + 0x28]
mov eax, dword [ebp + 8]
add esi, dword [eax]
mov eax, edi
cmp ecx, 0x1000
jb 0xd0fead
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd0ff09
push ecx
push edi
call fcn.00d19a6c
mov ecx, dword [ebp - 0x28]
add esp, 8
test ecx, ecx
je 0xd0fec7
push ecx
call fcn.00d1ccd5
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x34]
call fcn.00d0f420
push 0x40010
push 0xd03768
push 0xd037a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00d1d040
call fcn.00d0f550
call fcn.00d0f520
call fcn.00d1cb5f
int3