Function at 0x572ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00403e40
xor eax, eax
push ebp
push 0x572ec3
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp - 1]
mov byte [ebx + 0x24], al
lea eax, [ebx + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00403a64
mov al, byte [ebp + 8]
mov byte [ebx + 0x27c], al
pushal
mov esi, 0x5c5620
mov esi, dword [esi]
mov edi, 0x5c5624
mov eax, 0x53a1e394
mov ebx, dword [esi]
xor ebx, eax
mov dword [edi], ebx
mov eax, 0xa37e9315
mov ebx, dword [esi + 4]
xor ebx, eax
mov dword [edi + 4], ebx
mov eax, 0x493db437
mov ebx, dword [esi + 8]
xor ebx, eax
mov dword [edi + 8], ebx
popal
lea eax, [ebx + 0x230]
mov edx, 0x5c5624
mov ecx, 0xd
call fcn.00403c3c
mov dl, 1
mov eax, dword [0x40d128]
call fcn.00402e3c
mov esi, eax
mov dword [ebx + 0x234], esi
mov eax, esi
call fcn.00410c84
mov edx, 0x330
mov eax, dword [ebx + 0x238]
call fcn.0056b4b8
mov dword [ebx + 0x260], eax
mov eax, 0x560e04
mov edx, 0x41f
call fcn.0056b4b8
mov dword [ebx + 0x264], eax
mov eax, 0x561234
mov edx, 0xec
call fcn.0056b4b8
mov dword [ebx + 0x268], eax
lea ecx, [ebp - 0x1c]
mov edx, 8
mov eax, dword [ebx + 0x260]
call fcn.00407490
push dword [ebp - 0x1c]
push 0x572edc
lea ecx, [ebp - 0x20]
mov edx, 8
mov eax, dword [ebx + 0x264]
call fcn.00407490
push dword [ebp - 0x20]
push 0x572ee8
lea ecx, [ebp - 0x24]
mov edx, 8
mov eax, dword [ebx + 0x268]
call fcn.00407490
push dword [ebp - 0x24]
push 0x572ef4
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.00403d4c
mov esi, 0x59
push 0x40
push 0x1000
lea edi, [esi + 0x10]
push edi
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebx + 0x248], eax
mov dword [ebx + 0x258], edi
mov edx, edi
mov eax, dword [ebx + 0x248]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0xc]
push eax
mov eax, 0x561334
mov ecx, esi
mov edx, dword [ebx + 0x248]
call fcn.0056b598
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x248]
call fcn.00407d10
mov eax, dword [ebp - 0xc]
call fcn.00403c8c
add eax, dword [ebx + 0x248]
inc eax
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
add eax, 4
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
add eax, 4
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
add eax, 4
mov eax, dword [eax]
mov dword [ebx + 0x278], eax
mov edi, 0x56b33c
mov esi, 0x179
push 0x40
push 0x1000
lea eax, [esi + 0x10]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [0x5c56b8], eax
lea edx, [esi + 0x10]
mov eax, dword [0x5c56b8]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0xc]
push eax
mov ecx, esi
mov edx, dword [0x5c56b8]
mov eax, edi
call fcn.0056b598
mov edi, dword [ebx + 0x238]
mov esi, 0x340
push 0x40
push 0x1000
lea eax, [esi + 0x10]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebx + 0x23c], eax
lea eax, [esi + 0x10]
mov dword [ebx + 0x24c], eax
lea edx, [esi + 0x10]
mov eax, dword [ebx + 0x23c]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0xc]
push eax
mov ecx, esi
mov edx, dword [ebx + 0x23c]
mov eax, edi
call fcn.0056b598
mov edx, esi
sub edx, 0x10
mov eax, dword [ebx + 0x23c]
call fcn.0056b4b8
mov dword [ebx + 0x26c], eax
mov edi, 0x560e04
mov esi, 0x42f
push 0x40
push 0x1000
lea eax, [esi + 0x10]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebx + 0x240], eax
lea eax, [esi + 0x10]
mov dword [ebx + 0x250], eax
lea edx, [esi + 0x10]
mov eax, dword [ebx + 0x240]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0xc]
push eax
mov ecx, esi
mov edx, dword [ebx + 0x240]
mov eax, edi
call fcn.0056b598
mov edx, esi
sub edx, 0x10
mov eax, dword [ebx + 0x240]
call fcn.0056b4b8
mov dword [ebx + 0x270], eax
mov edi, 0x561234
mov esi, 0xfc
push 0x40
push 0x1000
lea eax, [esi + 0x10]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebx + 0x244], eax
lea eax, [esi + 0x10]
mov dword [ebx + 0x254], eax
lea edx, [esi + 0x10]
mov eax, dword [ebx + 0x244]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0xc]
push eax
mov ecx, esi
mov edx, dword [ebx + 0x244]
mov eax, edi
call fcn.0056b598
mov edx, esi
sub edx, 0x10
mov eax, dword [ebx + 0x244]
call fcn.0056b4b8
mov dword [ebx + 0x274], eax
mov eax, dword [ebx + 0x26c]
cmp eax, dword [ebp - 0x10]
jne 0x572e2d
mov eax, dword [ebx + 0x270]
cmp eax, dword [ebp - 0x14]
jne 0x572e2d
mov eax, dword [ebx + 0x274]
cmp eax, dword [ebp - 0x18]
jne 0x572e2d
xor eax, eax
jmp 0x572e2f
mov al, 1
mov byte [ebx + 0x25c], al
mov eax, dword [ebp - 0xc]
push eax
mov eax, 0x56b064
mov cx, word [0x5ccc00]
mov edx, dword [0x5c56b4]
call fcn.0056b598
mov eax, dword [ebp - 0xc]
push eax
mov eax, 0x56b0a0
mov cx, word [0x5c56fc]
mov edx, dword [0x5c56f4]
call fcn.0056b598
mov eax, dword [ebp - 0xc]
push eax
mov eax, 0x56b110
mov cx, word [0x5c5700]
mov edx, dword [0x5c56f8]
call fcn.0056b598
push eax
push esi
mov eax, 0x5c56f4
mov eax, dword [eax]
mov esi, 0x5cceb8
add eax, 0x46
mov dword [eax], esi
pop esi
pop eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x572eca
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00403a34
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403a34
ret