Function at 0x53f4a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x63ea58], 0
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3d8], 0
jne 0x53f4fe
push 0x63ea5c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x63ea58], 1
push 0x63ea5c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call fcn.0053fb10
mov esi, eax
push edi
mov dword [ebp - 0x3e4], esi
call fcn.0053fb10
mov dword [ebp - 0x3f4], eax
xor edi, edi
lea eax, [ebp - 0x3d0]
push 1
push eax
call fcn.0053ff90
add esp, 0x10
test eax, eax
je 0x53f8df
mov edi, edi
push 0x26
push esi
push 0
lea eax, [ebp - 0x3d0]
push esi
push eax
call fcn.0053fe70
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x53f593
mov eax, dword [ecx + 0x11c]
cmp eax, 0x105
je 0x53f593
cmp eax, 0x101
je 0x53f593
cmp eax, 0x102
je 0x53f593
cmp eax, 0x103
je 0x53f593
cmp eax, 0x104
je 0x53f593
mov eax, dword [ecx + 0x128]
add edi, eax
add esi, eax
cmp edi, 5
jb 0x53f540
lea eax, [ebp - 0x3d0]
push eax
call fcn.0053fe50
add esp, 4
cmp edi, 5
jb 0x53f8df
mov esi, dword [ebp - 0x3e4]
push edi
push esi
call fcn.0053fb50
add esp, 8
mov dword [ebp - 0x3d8], 0
cmp esi, 0x80000000
jae 0x53f5e0
lea eax, [esi + 0x7ff80000]
mov esi, 1
mov dword [ebp - 0x3d4], eax
jmp 0x53f5f0
mov dword [ebp - 0x3d4], 0xfff80000
add esi, 0x80010000
xor eax, eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x3d4]
jae 0x53f8da
push 0x1c
lea eax, [ebp - 0x43c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x53f6b2
cmp dword [ebp - 0x42c], 0x10000
jne 0x53f69c
mov eax, dword [ebp - 0x430]
cmp eax, 0x70
jb 0x53f6a2
mov ecx, dword [ebp - 0x404]
cmp eax, ecx
jb 0x53f6a2
lea eax, [ecx - 1]
xor edx, edx
add eax, esi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x70
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x3d8], eax
test eax, eax
jne 0x53f6c0
mov eax, dword [ebp - 0x430]
mov esi, dword [ebp - 0x43c]
add esi, eax
cmp esi, dword [ebp - 0x3d4]
jb 0x53f641
mov eax, dword [ebp - 0x3d8]
test eax, eax
je 0x53f8da
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x3e0]
push ecx
push 0x40
push 0x70
push eax
mov dword [ebp - 0x3dc], eax
call esi
mov ecx, dword [ebp - 0x3d8]
mov eax, dword [0x63ea74]
inc dword [0x63ea78]
mov dword [0x63ea74], ecx
mov dword [ecx], eax
lea eax, [ebp - 0x3e0]
push eax
push dword [ebp - 0x3e0]
push 0x70
push ecx
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [ebp - 0x3e4]
mov edx, eax
mov ecx, dword [ebp - 0x3dc]
lea eax, [ebp - 0x3e0]
push eax
push 0x40
push edi
push esi
push edx
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x3d8], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x53f8b9
mov ecx, dword [ebp - 0x3dc]
lea eax, [ebp - 0x3ec]
push eax
push 0x40
push 0x70
push ecx
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d8], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x53f890
mov ecx, dword [ebp - 0x3dc]
xor edx, edx
mov dword [ebp - 0x3d8], ecx
lea esi, [ecx + 0x50]
mov dword [ebp - 0x3f8], esi
lea eax, [ecx + 0x30]
mov esi, dword [ebp - 0x3e4]
mov dword [ebp - 0x3e8], esi
mov esi, eax
sub dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp - 0x3e8]
lea eax, [edx + esi]
mov cl, byte [ecx + eax]
mov byte [eax], cl
mov eax, dword [ebp - 0x3f8]
mov byte [eax + edx], cl
inc edx
cmp edx, edi
jb 0x53f7b3
mov esi, dword [ebp - 0x3e4]
lea eax, [edi + esi]
push eax
mov eax, dword [ebp - 0x3f0]
add eax, edi
push eax
call fcn.0053f450
mov edx, dword [ebp - 0x3f4]
add esp, 8
mov ecx, edx
mov eax, esi
sub ecx, esi
sub eax, edx
cmp edx, esi
push edx
cmovae eax, ecx
cmp eax, 0x7fff0000
jbe 0x53f835
mov esi, dword [ebp - 0x3dc]
add esi, 0x10
push esi
call fcn.0053f450
sub eax, dword [ebp - 0x3dc]
add esp, 8
sub eax, 0x10
push eax
push esi
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
mov esi, dword [ebp - 0x3e4]
push esi
call fcn.0053f450
mov ecx, dword [ebp - 0x3dc]
add esp, 8
mov edx, dword [ebp - 0x3f4]
mov eax, ecx
push edi
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3fc]
mov dword [eax + 8], edi
mov dword [eax + 4], esi
lea eax, [ecx + 0x30]
push eax
push dword [ebp - 0x3d4]
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3dc]
push 0x70
push eax
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
push esi
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x3e0]
push eax
push dword [ebp - 0x3e0]
push edi
push esi
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x3dc]
cmp dword [eax + 4], 0
jne 0x53f8da
push 1
push eax
call fcn.0053fdd0
add esp, 8
mov dword [ebp - 0x3d8], 0
call fcn.0053fa80
push 0x63ea5c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x3d8], eax
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.00557e89
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret