Function at 0x57ccc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00403e40
xor eax, eax
push ebp
push 0x57d1a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp - 5]
mov edx, dword [ebp - 4]
mov byte [edx + 0x24], al
mov eax, dword [ebp - 4]
add eax, 0x22c
mov edx, dword [ebp - 0xc]
call fcn.00403a64
mov al, byte [ebp + 8]
mov edx, dword [ebp - 4]
mov byte [edx + 0x27c], al
pushal
mov esi, 0x5a579c
mov esi, dword [esi]
mov edi, 0x5a57a0
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
mov eax, dword [ebp - 4]
add eax, 0x230
mov edx, 0x5a57a0
mov ecx, 0xd
call fcn.00403c3c
mov dl, 1
mov eax, dword [0x40d000]
call fcn.00402e3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x234], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.00411924
mov edx, 0x330
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.0057a4b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x260], eax
mov eax, 0x56fdfc
mov edx, 0x41f
call fcn.0057a4b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x264], eax
mov eax, 0x57022c
mov edx, 0xec
call fcn.0057a4b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x268], eax
lea ecx, [ebp - 0x2c]
mov edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x260]
call fcn.00407424
push dword [ebp - 0x2c]
push 0x57d1c0
lea ecx, [ebp - 0x30]
mov edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x264]
call fcn.00407424
push dword [ebp - 0x30]
push 0x57d1cc
lea ecx, [ebp - 0x34]
mov edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
call fcn.00407424
push dword [ebp - 0x34]
push 0x57d1d8
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00403d4c
mov dword [ebp - 0x14], 0x59
push 0x40
push 0x1000
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x248], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov edx, dword [ebp - 4]
mov dword [edx + 0x258], eax
mov edx, dword [ebp - 0x14]
add edx, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0x10]
push eax
mov eax, 0x57032c
mov cx, word [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x248]
call fcn.0057a5a8
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
call fcn.00407c10
mov eax, dword [ebp - 0x10]
call fcn.00403c8c
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x248]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
add dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
add dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
add dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x278], eax
mov dword [ebp - 0x28], 0x57a334
mov dword [ebp - 0x14], 0x179
push 0x40
push 0x1000
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [0x5a5838], eax
mov edx, dword [ebp - 0x14]
add edx, 0x10
mov eax, dword [0x5a5838]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0x10]
push eax
mov cx, word [ebp - 0x14]
mov edx, dword [0x5a5838]
mov eax, dword [ebp - 0x28]
call fcn.0057a5a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0x340
push 0x40
push 0x1000
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x23c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov edx, dword [ebp - 4]
mov dword [edx + 0x24c], eax
mov edx, dword [ebp - 0x14]
add edx, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0x10]
push eax
mov cx, word [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x23c]
mov eax, dword [ebp - 0x28]
call fcn.0057a5a8
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
call fcn.0057a4b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x26c], eax
mov dword [ebp - 0x28], 0x56fdfc
mov dword [ebp - 0x14], 0x42f
push 0x40
push 0x1000
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x240], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov edx, dword [ebp - 4]
mov dword [edx + 0x250], eax
mov edx, dword [ebp - 0x14]
add edx, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x240]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0x10]
push eax
mov cx, word [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x240]
mov eax, dword [ebp - 0x28]
call fcn.0057a5a8
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x240]
call fcn.0057a4b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x270], eax
mov dword [ebp - 0x28], 0x57022c
mov dword [ebp - 0x14], 0xfc
push 0x40
push 0x1000
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x244], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov edx, dword [ebp - 4]
mov dword [edx + 0x254], eax
mov edx, dword [ebp - 0x14]
add edx, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
xor ecx, ecx
call fcn.00402b14
mov eax, dword [ebp - 0x10]
push eax
mov cx, word [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x244]
mov eax, dword [ebp - 0x28]
call fcn.0057a5a8
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
call fcn.0057a4b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x274], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
cmp eax, dword [ebp - 0x1c]
jne 0x57d10e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
cmp eax, dword [ebp - 0x20]
jne 0x57d10e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
cmp eax, dword [ebp - 0x24]
jne 0x57d10e
xor eax, eax
jmp 0x57d110
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x25c], al
mov eax, dword [ebp - 0x10]
push eax
mov eax, 0x57a05c
mov cx, word [0x5ac6f0]
mov edx, dword [0x5a5834]
call fcn.0057a5a8
mov eax, dword [ebp - 0x10]
push eax
mov eax, 0x57a098
mov cx, word [0x5a58d0]
mov edx, dword [0x5a58c8]
call fcn.0057a5a8
mov eax, dword [ebp - 0x10]
push eax
mov eax, 0x57a108
mov cx, word [0x5a58d4]
mov edx, dword [0x5a58cc]
call fcn.0057a5a8
push eax
push esi
mov eax, 0x5a58c8
mov eax, dword [eax]
mov esi, 0x5ac9a8
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 0x57d1ae
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00403a34
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403a34
ret