Function at 0x4134e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x454d43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x14], ebp
call fcn.0040cbb0
lea ebx, [ebp + 0x64]
xor esi, esi
mov ecx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], ebx
call fcn.0040cbc0
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov word [ebx + 0x14], si
mov byte [ebx + 0x16], 0
mov eax, 0x4587e4
mov ecx, 1
mov dword [ebx + 0xc], eax
cmp word [0x4587e4], 0xffff
mov byte [esp + 0x20], cl
je 0x413550
add eax, 4
inc ecx
cmp word [eax], 0xffff
jne 0x413545
lea edi, [ecx*8]
push edi
call fcn.00440c16
mov edx, eax
add esp, 4
cmp edx, esi
mov dword [ebx + 0x10], edx
je 0x41357d
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebp + 0x20]
mov byte [esp + 0x20], 2
mov ecx, edi
mov dword [ebp + 0x1c], 0x4586a0
call fcn.00410190
mov dword [ebp + 0x5c], 0x45869c
or eax, 0xffffffff
mov dword [ebp + 0x60], 0x4587dc
mov dword [ebp + 0x7c], esi
mov dword [ebp + 0x80], esi
mov dword [ebp + 0x84], esi
mov byte [ebp + 0x98], 0
mov dword [ebp + 0x88], esi
mov dword [ebp + 0x8c], esi
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], eax
lea ecx, [ebp + 0x9c]
cmp ecx, esi
je 0x4135e4
lea eax, [ecx - 0x9c]
jmp 0x4135e6
xor eax, eax
push ecx
add eax, 8
push 0x40
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp + 0xa4]
mov byte [esp + 0x20], 5
call fcn.0042e4e0
lea ecx, [ebp + 0xc0]
mov byte [esp + 0x20], 6
call fcn.0042e4e0
lea ecx, [ebp + 0xdc]
mov byte [esp + 0x20], 7
call fcn.0042e4e0
lea ecx, [ebp + 0xfc]
mov byte [esp + 0x20], 8
mov dword [ebp + 0xf8], esi
call fcn.00415180
lea ecx, [ebp + 0x1c4]
mov byte [esp + 0x20], 9
call fcn.00415180
lea ecx, [ebp + 0x28c]
mov byte [esp + 0x20], 0xa
call fcn.00415180
lea ecx, [ebp + 0x354]
mov byte [esp + 0x20], 0xb
call fcn.004178a0
lea ecx, [ebp + 0x3c4]
mov byte [esp + 0x20], 0xc
call fcn.004178a0
lea ecx, [ebp + 0x434]
mov byte [esp + 0x20], 0xd
call fcn.004178a0
mov eax, dword [str.lF_F]
lea ebx, [ebp + 0x4a4]
mov dword [ebx], eax
mov ecx, dword [str.lF_F]
mov dword [ebp + 0x4a8], ecx
mov dword [ebp + 0x4b0], esi
mov edx, dword [str.lF_F]
mov dword [ebp + 0x4b4], edx
mov eax, dword [str.lF_F]
mov dword [ebp + 0x4b8], eax
lea ecx, [ebp + 0x4c0]
mov byte [esp + 0x20], 0x12
mov dword [ebp + 0x4bc], esi
call fcn.0042e4e0
mov ecx, dword [esp + 0x28]
mov dword [ebp], 0x4587d0
mov dword [ebp + 0x1c], 0x4587cc
mov dword [edi], 0x4587c8
mov dword [ebp + 0x5c], 0x4587c4
mov dword [ebp + 0x60], 0x4587bc
mov dword [ebp + 0x4ac], 0xb4
mov eax, dword [ebx]
mov edi, dword [ecx]
mov byte [esp + 0x20], 0x13
cmp eax, edi
je 0x4137be
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, esi
mov edx, dword [0x46005c]
mov dword [esp + 0x10], ecx
jge 0x413737
lea ecx, [eax - 0xc]
cmp ecx, edx
jne 0x41373c
mov ecx, dword [esp + 0x10]
cmp dword [edi - 0xc], esi
jge 0x413785
mov eax, dword [edi - 8]
mov ecx, ebx
push eax
mov dword [esp + 0x2c], eax
call fcn.004079b0
test eax, eax
je 0x4137be
mov ecx, dword [esp + 0x28]
lea eax, [ecx + ecx]
lea edx, [ecx + ecx + 2]
cmp edx, eax
jb 0x413778
mov ecx, eax
mov esi, edi
mov edi, dword [ebx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
xor esi, esi
mov edx, dword [ebx]
mov dword [edx - 8], ecx
mov ecx, dword [ebx]
mov word [ecx + eax], si
jmp 0x4137be
add eax, 0xfffffff4
cmp eax, edx
je 0x4137ac
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4137a5
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.00439890
add esp, 4
mov eax, dword [str.lF_F]
mov dword [ebx], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x4a8]
lea edi, [ebp + 0x4a8]
mov ecx, dword [edx]
cmp eax, ecx
mov dword [esp + 0x28], ecx
je 0x413873
mov ebx, dword [eax - 0xc]
lea edx, [eax - 0xc]
cmp ebx, esi
jge 0x4137f1
lea ebx, [eax - 0xc]
cmp ebx, dword [0x46005c]
jne 0x4137f6
cmp dword [ecx - 0xc], esi
jge 0x413833
mov ebx, dword [ecx - 8]
mov ecx, edi
push ebx
call fcn.004079b0
test eax, eax
je 0x413873
mov edx, dword [edi]
lea eax, [ebx + ebx]
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [ebx + ebx + 2]
push eax
push ecx
push edx
call fcn.00402fc0
mov eax, dword [edi]
mov edx, dword [esp + 0x3c]
add esp, 0x10
mov dword [eax - 8], ebx
mov ecx, dword [edi]
mov word [ecx + edx], si
jmp 0x413873
mov ecx, dword [0x46005c]
add eax, 0xfffffff4
cmp eax, ecx
je 0x413861
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x413859
mov eax, dword [edi]
sub eax, 0xc
push eax
call fcn.00439890
add esp, 4
mov ecx, dword [str.lF_F]
mov dword [edi], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8