Function at 0x51b890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7593
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.Effekseer::ReferenceObject.0
mov dword [edi + 8], 1
mov dword [edi], vtable.Effekseer::ManagerImplemented.0
mov dword [edi + 4], vtable.Effekseer::ManagerImplemented.1.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov al, byte [ebp + 0xc]
mov byte [edi + 0x18], al
mov eax, dword [ebp + 8]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x1c], 0
mov dword [ebp + 0xc], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [edi + 0x30]
mov dword [edi + 0x30], 0
mov dword [ebp - 0x18], eax
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x3c]
mov dword [ecx], 0
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ebx, [edi + 0x48]
mov byte [ebp - 4], 5
push 8
mov dword [ebp - 0x2c], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.005b2e07
mov dword [eax + 4], 0
mov dword [ebx], eax
mov dword [eax], ebx
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 6
push 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.005b2e07
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
add edi, 0x70
mov byte [ebp - 4], 7
push 8
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.005b2e07
add esp, 0xc
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 8
lea eax, [edi + 0x84]
mov dword [ebp - 0x2c], eax
push fcn.00483b10
push fcn.004343a0
push 0x14
push 0xc
push eax
call fcn.005b2e94
lea esi, [edi + 0x1c4]
mov byte [ebp - 4], 9
push 1
mov ecx, esi
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00524430
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0x51c410
push 0x51b3a0
push 2
lea eax, [edi + 0x1cc]
mov byte [ebp - 4], 0xa
push 8
push eax
mov dword [ebp - 0x2c], eax
call fcn.005b2e94
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
lea esi, [edi + 0x1f4]
mov byte [ebp - 4], 0xd
push 1
mov ecx, esi
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00524430
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x1fc]
push 0x102
push eax
call fcn.005da178
add esp, 8
mov byte [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x248], 0
mov dword [edi + 0x24c], 0
mov dword [edi + 0x250], 0
mov dword [edi + 0x254], 0
mov dword [edi + 0x27c], 0
lea esi, [edi + 0x280]
mov byte [ebp - 4], 0x17
mov edi, 0x20
nop
sub esp, 0xc
mov ecx, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0050d7a0
mov dword [esi + 0xc], 0
add esi, 0x10
sub edi, 1
jne 0x51bb80
mov esi, dword [ebp - 0x14]
add esi, 0x480
push 8
mov dword [ebp - 0x2c], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.005b2e07
mov dword [eax + 4], edi
mov dword [esi], eax
mov dword [eax], esi
mov esi, dword [ebp - 0x14]
push 2
lea eax, [esi + 0x494]
push eax
call fcn.005da178
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x19
push eax
call fcn.005267e0
add esp, 0x10
mov ecx, dword [eax]
mov dword [eax], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x230]
mov byte [ebp - 4], 0x1a
test ecx, ecx
je 0x51bc20
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi + 0x230], 0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x230], eax
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1b
test ecx, ecx
je 0x51bc39
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.std::_Func_impl_no_alloc_int____cdecl___void___int___.0
mov dword [ebp - 0x50], 0x521aa0
mov dword [ebp - 0x30], eax
push eax
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 0x1c
call fcn.0051cc70
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x51bc78
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x54]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [esi + 0x1e4]
mov eax, 0x66666667
sub ecx, dword [esi + 0x1dc]
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x40
jae 0x51bca7
push 0x40
lea ecx, [esi + 0x1dc]
call fcn.00524100
mov eax, dword [esi + 0x20]
add eax, 0xf
cdq
and edx, 0xf
lea esi, [edx + eax]
mov eax, dword [ebp + 0xc]
sar esi, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
sub ecx, eax
mov eax, 0x59e60383
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
cmp esi, eax
jae 0x51bd14
imul eax, esi, 0x5b20
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x20]
je 0x51bd57
mov edi, dword [ebp - 0x20]
mov esi, eax
mov ecx, esi
call fcn.00404240
add esi, 0x5b20
cmp esi, edi
jne 0x51bcf8
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x51bd57
mov ecx, dword [ebp + 0xc]
jbe 0x51bd5d
mov ecx, dword [ecx + 8]
mov eax, 0x59e60383
sub ecx, dword [ebp - 0x24]
imul ecx
mov ecx, dword [ebp + 0xc]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x51bd46
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0051aa90
mov ecx, dword [ebp + 0xc]
jmp 0x51bd5d
push dword [ebp - 0x24]
mov eax, esi
sub eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.00524230
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x51be02
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebx + 0xc]
mov esi, ecx
lea eax, [edx + ecx]
test al, 3
jne 0x51bd9c
lea eax, [ecx + 4]
shr eax, 2
cmp dword [ebx + 8], eax
ja 0x51bd9c
push 1
mov ecx, ebx
call fcn.00523d40
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
lea eax, [ecx*4 - 1]
and edx, eax
lea eax, [ecx - 1]
mov dword [ebx + 0xc], edx
add edx, esi
mov esi, edx
mov dword [ebp - 0x2c], edx
shr esi, 2
and esi, eax
mov eax, dword [ebx + 4]
cmp dword [eax + esi*4], 0
jne 0x51bdd9
push 0x10
call fcn.005b2e07
mov ecx, dword [ebx + 4]
add esp, 4
mov edx, dword [ebp - 0x2c]
mov dword [ecx + esi*4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + esi*4]
and edx, 3
mov esi, dword [ebp + 0xc]
mov dword [eax + edx*4], esi
add esi, 0x5b20
inc dword [ebx + 0x10]
mov ecx, dword [ebx + 0x10]
mov dword [ebp + 0xc], esi
cmp esi, edi
jne 0x51bd76
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
add ebx, 0x84
lea eax, [ebx + 0xf0]
mov dword [ebp + 0xc], eax
cmp ebx, eax
je 0x51be40
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
sar eax, 2
cmp esi, eax
jbe 0x51be38
cmp esi, 0x3fffffff
ja 0x51c088
push esi
mov ecx, ebx
call fcn.00524080
add ebx, 0xc
cmp ebx, dword [ebp + 0xc]
jne 0x51be18
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0xc]
add ecx, 0x174
mov dword [ebp + 0xc], 0
push eax
lea eax, [ecx + 0x50]
push eax
push ecx
call fcn.0051b210
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
lea esi, [ebx + ebx*4]
mov dword [ebp + 0xc], ecx
sub ecx, eax
shl esi, 6
cmp esi, ecx
jb 0x51bead
jbe 0x51beb2
mov eax, dword [edx + 8]
sub eax, dword [edx]
cmp esi, eax
jbe 0x51be97
lea eax, [ebp + 0xf]
mov ecx, edx
push eax
push esi
call fcn.0051a860
mov edx, dword [ebp - 0x18]
jmp 0x51beb2
sub esi, ecx
push esi
push 0
push dword [ebp + 0xc]
call fcn.005b4c50
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp - 0x18]
add eax, esi
mov dword [edx + 4], eax
test ebx, ebx
jle 0x51bf5b
mov dword [ebp + 0xc], ebx
xor edi, edi
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [edx]
mov esi, ecx
mov edx, dword [ebx + 0x68]
add eax, edi
mov dword [ebp - 0x28], eax
lea eax, [edx + ecx]
test al, 3
jne 0x51bef3
lea eax, [ecx + 4]
shr eax, 2
cmp dword [ebx + 0x64], eax
ja 0x51bef3
push 1
lea ecx, [ebx + 0x5c]
call fcn.00523d40
mov edx, dword [ebx + 0x68]
mov esi, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x64]
lea eax, [ecx*4 - 1]
and edx, eax
lea eax, [ecx - 1]
mov dword [ebx + 0x68], edx
add edx, esi
mov esi, edx
mov dword [ebp - 0x2c], edx
shr esi, 2
and esi, eax
mov eax, dword [ebx + 0x60]
cmp dword [eax + esi*4], 0
jne 0x51bf30
push 0x10
call fcn.005b2e07
mov ecx, dword [ebx + 0x60]
add esp, 4
mov edx, dword [ebp - 0x2c]
mov dword [ecx + esi*4], eax
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi*4]
and edx, 3
mov ecx, dword [ebp - 0x28]
add edi, 0x140
mov dword [eax + edx*4], ecx
inc dword [ebx + 0x6c]
sub dword [ebp + 0xc], 1
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebp - 0x18]
jne 0x51bec5
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
imul esi, ebx, 0x2c
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp + 0xc], ecx
sub ecx, edx
cmp esi, ecx
jae 0x51bf74
lea eax, [edx + esi]
jmp 0x51bfa6
jbe 0x51bfae
mov eax, dword [eax + 8]
sub eax, edx
cmp esi, eax
jbe 0x51bf91
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xf]
push eax
push esi
call fcn.0051a860
mov eax, dword [ebp - 0x10]
jmp 0x51bfae
sub esi, ecx
push esi
push 0
push dword [ebp + 0xc]
call fcn.005b4c50
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, esi
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov eax, ecx
test ebx, ebx
jle 0x51c04d
mov ecx, dword [edi + 0x10]
xor edx, edx
mov dword [ebp + 0xc], edx
nop
mov eax, dword [eax]
mov esi, ecx
add eax, edx
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [edx + ecx]
test al, 3
jne 0x51bfed
lea eax, [ecx + 4]
shr eax, 2
cmp dword [edi + 8], eax
ja 0x51bfed
push 1
mov ecx, edi
call fcn.00523d40
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 8]
lea eax, [ecx*4 - 1]
and edx, eax
lea eax, [ecx - 1]
mov dword [edi + 0xc], edx
lea ebx, [edx + esi]
mov esi, ebx
shr esi, 2
and esi, eax
mov eax, dword [edi + 4]
cmp dword [eax + esi*4], 0
jne 0x51c025
push 0x10
call fcn.005b2e07
mov ecx, dword [edi + 4]
add esp, 4
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
and ebx, 3
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 0xc]
add edx, 0x2c
mov dword [eax + ebx*4], ecx
inc dword [edi + 0x10]
sub dword [ebp + 8], 1
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], edx
jne 0x51bfc0
mov ebx, dword [ebp - 0x14]
push ecx
mov edx, esp
push ecx
mov esi, dword [ebx + 0x230]
mov eax, esp
push edx
mov dword [eax], 0
call fcn.005115e0
add esp, 8
mov ecx, esi
call fcn.00526ac0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004307b0
int3