Function at 0x41d500
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44e070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
call fcn.0041d950
xor ebx, ebx
lea ecx, [esi + 0x78]
mov dword [esp + 0x2c], ebx
call fcn.0041f2b0
lea edi, [esi + 0x1c]
mov byte [esp + 0x2c], 1
mov ecx, edi
call fcn.0041ba60
mov dword [esi], 0x44faac
mov dword [edi], 0x44faa0
mov dword [esi + 0x58], 0x44fa78
lea ecx, [esi + 0x98]
mov dword [esp + 0x2c], 2
cmp ecx, ebx
je 0x41d571
lea eax, [ecx - 0x98]
jmp 0x41d573
xor eax, eax
push ecx
add eax, 8
push 0x40
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa0]
mov byte [esp + 0x2c], 3
call fcn.0040cb10
lea ecx, [esi + 0x160]
mov byte [esp + 0x2c], 4
call fcn.0040cb10
lea ecx, [esi + 0x220]
mov byte [esp + 0x2c], 5
call fcn.0040cb10
lea ecx, [esi + 0x2e0]
mov byte [esp + 0x2c], 6
call fcn.0040cb10
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x2c], 7
call fcn.004227e0
lea ecx, [esi + 0x3bc]
mov byte [esp + 0x2c], 8
call fcn.004227e0
lea ecx, [esi + 0x3d8]
mov byte [esp + 0x2c], 9
call fcn.004227e0
lea ecx, [esi + 0x3f4]
mov byte [esp + 0x2c], 0xa
call fcn.004227e0
lea ecx, [esi + 0x410]
mov byte [esp + 0x2c], 0xb
call fcn.004227e0
lea ecx, [esi + 0x42c]
mov byte [esp + 0x2c], 0xc
call fcn.004227e0
lea ecx, [esi + 0x448]
mov byte [esp + 0x2c], 0xd
call fcn.004227e0
mov eax, dword [0x457050]
lea edi, [esi + 0x464]
mov dword [edi], eax
mov ecx, dword [0x457050]
lea ebp, [esi + 0x468]
mov dword [ebp], ecx
lea ecx, [esi + 0x474]
mov byte [esp + 0x2c], 0x10
call fcn.00409040
lea edx, [esp + 0x14]
push 0xab
mov dword [esi + 0x584], ebx
mov dword [esi + 0x588], ebx
mov dword [esi + 0x58c], ebx
mov dword [esi + 0x590], ebx
push edx
mov byte [esp + 0x34], 0x11
mov dword [esi], 0x44fa6c
mov dword [esi + 0x1c], 0x44fa60
mov dword [esi + 0x58], 0x44fa38
mov dword [esi + 0x470], ebx
mov dword [esi + 0x46c], ebx
mov dword [esi + 0x74], ebx
call fcn.004150b0
add esp, 8
mov dword [esp + 0x1c], eax
mov ecx, dword [edi]
mov eax, dword [eax]
cmp ecx, eax
mov byte [esp + 0x2c], 0x12
mov dword [esp + 0x18], eax
je 0x41d73e
cmp dword [ecx - 0xc], ebx
jge 0x41d6d7
mov edx, dword [0x457054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41d6dc
cmp dword [eax - 0xc], ebx
jge 0x41d725
mov eax, dword [eax - 8]
mov ecx, edi
push eax
mov dword [esp + 0x14], eax
call fcn.0040ca70
test eax, eax
je 0x41d73e
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
lea eax, [ecx + ecx]
lea ecx, [ecx + ecx + 2]
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00402e60
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [eax - 8], ecx
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
mov word [edx + eax], bx
jmp 0x41d73e
mov ecx, edi
call fcn.00403e30
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x457054]
mov byte [esp + 0x2c], 0x11
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41d772
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d772
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
lea ecx, [esp + 0x14]
push 0xac
push ecx
call fcn.004150b0
add esp, 8
mov edi, eax
mov ecx, dword [ebp]
mov eax, dword [edi]
cmp ecx, eax
mov byte [esp + 0x2c], 0x13
mov dword [esp + 0x1c], eax
je 0x41d805
cmp dword [ecx - 0xc], ebx
jge 0x41d7aa
mov edx, dword [0x457054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41d7af
cmp dword [eax - 0xc], ebx
jge 0x41d7ef
mov edi, dword [eax - 8]
mov ecx, ebp
push edi
call fcn.0040ca70
test eax, eax
je 0x41d805
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp]
lea eax, [edi + edi]
mov dword [esp + 0x18], eax
push eax
lea eax, [edi + edi + 2]
push edx
push eax
push ecx
call fcn.00402e60
mov edx, dword [ebp]
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov dword [edx - 8], edi
mov eax, dword [ebp]
mov word [ecx + eax], bx
jmp 0x41d805
mov ecx, ebp
call fcn.00403e30
mov eax, dword [edi]
mov dword [ebp], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x457054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41d834
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d834
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret