Function at 0xf364f3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0xc], 0
je 0xf36505
cmp dword [ebp + 0x10], 0
jne 0xf3650c
xor eax, eax
jmp 0xf3673e
lea eax, [ebp - 0xc]
push eax
push 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0xf3652e
mov eax, 0x205
jmp 0xf3673e
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0x1000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0xf36551
mov eax, 0x205
jmp 0xf3673e
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
jmp 0xf36571
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
jae 0xf36726
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x24], 0x18
jae 0xf36678
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x1c
add eax, 0xf17ac0
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
push ecx
call fcn.00f1aa74
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0xf365d3
cmp dword [ebp - 0x24], 0x18
jb 0xf365c8
jmp 0xf365d3
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0xf3659c
cmp dword [ebp - 4], 0
jne 0xf36678
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov edx, dword [ebp - 0x20]
mov ax, word [ecx + edx*2]
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
lea ecx, [edx + eax*4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov dword [ecx*4 + 0xf481a0], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov byte [eax + edx*8 + 0xe00], 0xe9
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*8 + 0xe05]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx*4 + 0xf17d80]
sub edx, eax
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*8 + 0xe01]
push eax
call fcn.00f2d70b
add esp, 0xc
mov ecx, dword [ebp - 0x24]
lea edx, [ecx*8 + 0xe00]
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x28], 1
jae 0xf36721
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x1c
add edx, 0xf17d60
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
push eax
call fcn.00f1aa74
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0xf366ba
cmp dword [ebp - 0x28], 1
jb 0xf366af
jmp 0xf366ba
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0xf36682
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x1c
add edx, 0xf17d60
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
push eax
call fcn.00f1aa74
add esp, 8
test eax, eax
jne 0xf36721
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x20]
mov cx, word [edx + eax*2]
mov word [ebp - 0x1c], cx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
lea edx, [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov edx, dword [ebp - 0x28]
mov dword [edx*4 + 0xf48264], ecx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0xf36568
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov esp, ebp
pop ebp
ret