Function at 0x41d5d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44e4e0
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.0041da20
xor ebx, ebx
lea ecx, [esi + 0x78]
mov dword [esp + 0x2c], ebx
call fcn.0041f350
lea edi, [esi + 0x1c]
mov byte [esp + 0x2c], 1
mov ecx, edi
call fcn.0041bb30
mov dword [esi], 0x450ac4
mov dword [edi], 0x450ab8
mov dword [esi + 0x58], 0x450a90
lea ecx, [esi + 0x98]
mov dword [esp + 0x2c], 2
cmp ecx, ebx
je 0x41d641
lea eax, [ecx - 0x98]
jmp 0x41d643
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.0040cb00
lea ecx, [esi + 0x160]
mov byte [esp + 0x2c], 4
call fcn.0040cb00
lea ecx, [esi + 0x220]
mov byte [esp + 0x2c], 5
call fcn.0040cb00
lea ecx, [esi + 0x2e0]
mov byte [esp + 0x2c], 6
call fcn.0040cb00
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x2c], 7
call fcn.00422c80
lea ecx, [esi + 0x3bc]
mov byte [esp + 0x2c], 8
call fcn.00422c80
lea ecx, [esi + 0x3d8]
mov byte [esp + 0x2c], 9
call fcn.00422c80
lea ecx, [esi + 0x3f4]
mov byte [esp + 0x2c], 0xa
call fcn.00422c80
lea ecx, [esi + 0x410]
mov byte [esp + 0x2c], 0xb
call fcn.00422c80
lea ecx, [esi + 0x42c]
mov byte [esp + 0x2c], 0xc
call fcn.00422c80
lea ecx, [esi + 0x448]
mov byte [esp + 0x2c], 0xd
call fcn.00422c80
mov eax, dword [0x458050]
lea edi, [esi + 0x464]
mov dword [edi], eax
mov ecx, dword [0x458050]
lea ebp, [esi + 0x468]
mov dword [ebp], ecx
lea ecx, [esi + 0x474]
mov byte [esp + 0x2c], 0x10
call fcn.00409030
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], 0x450a84
mov dword [esi + 0x1c], 0x450a78
mov dword [esi + 0x58], 0x450a50
mov dword [esi + 0x470], ebx
mov dword [esi + 0x46c], ebx
mov dword [esi + 0x74], ebx
call fcn.004150a0
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 0x41d80e
cmp dword [ecx - 0xc], ebx
jge 0x41d7a7
mov edx, dword [0x458054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41d7ac
cmp dword [eax - 0xc], ebx
jge 0x41d7f5
mov eax, dword [eax - 8]
mov ecx, edi
push eax
mov dword [esp + 0x14], eax
call fcn.0040ca60
test eax, eax
je 0x41d80e
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.00402e50
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 0x41d80e
mov ecx, edi
call fcn.00403ed0
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 [0x458054]
mov byte [esp + 0x2c], 0x11
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41d842
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d842
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
lea ecx, [esp + 0x14]
push 0xac
push ecx
call fcn.004150a0
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 0x41d8d5
cmp dword [ecx - 0xc], ebx
jge 0x41d87a
mov edx, dword [0x458054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41d87f
cmp dword [eax - 0xc], ebx
jge 0x41d8bf
mov edi, dword [eax - 8]
mov ecx, ebp
push edi
call fcn.0040ca60
test eax, eax
je 0x41d8d5
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.00402e50
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 0x41d8d5
mov ecx, ebp
call fcn.00403ed0
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 [0x458054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41d904
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d904
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
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