Function at 0x4eba00
Capabilities:
Access peb ldr_data
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ae8f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x58a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [edi + 4], 0xff
xorps xmm0, xmm0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], vtable.EDA_RECT.0
movups xmmword [edi + 0x20], xmm0
mov byte [edi + 0x40], 0
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x48], 0
mov dword [edi + 0x50], vtable.EDA_RECT.0
movups xmmword [edi + 0x58], xmm0
mov byte [edi + 0x78], 0
movups xmmword [edi + 0x68], xmm0
mov dword [edi + 0x80], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.BOARD.0
push 0x40
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0x20
mov dword [edi + 0x94], 0x20
call fcn.005008e0
add esp, 4
mov esi, eax
push 0x40
push 0
push esi
call fcn.00504db0
xor eax, eax
add esp, 0xc
mov word [esi], ax
mov dword [edi + 0x88], esi
mov byte [ebp - 4], 1
mov dword [edi + 0x98], eax
push 0x20
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], 0x20
mov dword [edi + 0xa8], 0x20
call fcn.005008e0
xorps xmm0, xmm0
add esp, 4
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x9c], eax
mov byte [ebp - 4], 2
push 0x40
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0x20
mov dword [edi + 0xb8], 0x20
call fcn.005008e0
add esp, 4
mov esi, eax
push 0x40
push 0
push esi
call fcn.00504db0
add esp, 0xc
xor eax, eax
mov word [esi], ax
mov dword [edi + 0xac], esi
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], eax
mov byte [edi + 0xc8], 1
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], eax
mov byte [edi + 0xd8], 1
mov dword [edi + 0xdc], eax
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], eax
mov byte [edi + 0xe8], 1
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], eax
mov byte [ebp - 4], 7
lea esi, [edi + 0x130]
mov dword [edi + 0xf8], eax
xorps xmm0, xmm0
movups xmmword [edi + 0x100], xmm0
mov dword [edi + 0x110], eax
mov dword [edi + 0x114], eax
movsd qword [edi + 0x120], xmm0
mov dword [edi + 0x128], 0x1000001
mov dword [edi + 0x12c], 0x10101
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0xffffffff
or dword [esi], 2
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
or dword [esi], 0x20000
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
or dword [esi], 0x200000
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
or dword [esi], 0x10000
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
or dword [esi], 0x40000
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
or dword [esi], 0x400000
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
or dword [esi + 4], 4
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi], eax
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
or dword [esi], 0x20000000
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
or dword [esi], 0x40000000
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and dword [esi + 8], eax
and dword [esi + 0xc], ecx
mov eax, dword [esi + 4]
or dword [esi], 0x80000000
mov dword [esi + 4], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 4]
and dword [esi + 0xc], ecx
and dword [esi + 8], eax
or dword [esi + 4], 1
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi], eax
and dword [esi + 0xc], ecx
and dword [esi + 8], eax
mov eax, dword [esi + 4]
or dword [esi], 0x10000000
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
and dword [esi + 0xc], ecx
mov ecx, esi
and dword [esi + 8], eax
call fcn.004f9e20
mov ecx, dword [esi + 8]
mov edi, 2
and ecx, 0x5f9fffff
and dword [esi + 0xc], 0xfffffffe
mov dword [esi + 8], ecx
cmp edi, 0x23
jae 0x4ebe16
xor ecx, ecx
mov eax, edi
and eax, 0x3f
xor edx, edx
bts ecx, eax
mov esi, edi
shr esi, 6
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp - 0x14]
cmovae edx, ecx
not ecx
not edx
inc edi
and dword [eax + esi*8 + 8], ecx
and dword [eax + esi*8 + 0xc], edx
cmp edi, 0x10
jl 0x4ebd37
mov esi, dword [ebp - 0x18]
push 0xc
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
call fcn.0050058b
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x148], eax
movups xmmword [esi + 0x150], xmm0
mov byte [esi + 0x170], 0
movups xmmword [esi + 0x160], xmm0
mov byte [esi + 0x178], 0
movups xmmword [esi + 0x180], xmm0
mov byte [esi + 0x190], 0
push 0
mov dword [esi + 0x48], 1
call fcn.00514f22
add esp, 4
push eax
call fcn.005165e4
add esp, 4
call fcn.005165c3
cdq
mov ecx, 0xc8
idiv ecx
mov eax, esi
add edx, 0x12c
mov dword [esi + 0x118], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004ef900
int3