Function at 0x46ec10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov eax, dword [esi + 8]
mov dword [esp], eax
call method.machine::FrontendMemory.FrontendMemory_Endian_
mov eax, dword [ebp + 0xc]
mov dword [ebx], method.machine::Cache.metaObject___const
lea ecx, [ebx + 0xc]
sub esp, 4
mov dword [esp], eax
call method.machine::CacheConfig.CacheConfig_machine::CacheConfig_const_
mov eax, dword [ebp + 0x10]
sub esp, 4
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], 0xf0000000
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x30], 0xfffffffe
mov dword [ebx + 0x40], eax
mov eax, edi
mov edi, dword [ebp + 0xc]
mov byte [ebx + 0x44], al
lea eax, [ebx + 0x48]
mov dword [ebx + 0x34], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call method.machine::CachePolicy.get_policy_instance_machine::CacheConfig_const_
mov dword [ebx + 0x4c], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
call method.machine::CacheConfig.enabled___const
test al, al
jne 0x46ed00
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
mov ecx, dword [ebp + 0xc]
call method.machine::CacheConfig.block_size___const
mov dword [ebp - 0x3c], eax
cmp eax, 0x1fffffff
ja 0x46f139
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x46ed80
lea esi, [eax*4]
mov dword [esp], esi
call sym.operator_new_unsigned_int_
cmp dword [ebp - 0x3c], 1
mov dword [ebp - 0x30], eax
lea edi, [eax + 4]
mov dword [eax], 0
je 0x46f020
add eax, esi
mov dword [ebp - 0x38], eax
cmp edi, eax
je 0x46ed62
lea eax, [esi - 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._memset
mov ecx, dword [ebp + 0xc]
call method.machine::CacheConfig.set_count___const
mov dword [ebp - 0x40], eax
cmp eax, 0x3ffffff
ja 0x46f115
mov dword [ebp - 0x3c], esi
jmp 0x46eda4
mov ecx, dword [ebp + 0xc]
call method.machine::CacheConfig.set_count___const
mov dword [ebp - 0x40], eax
cmp eax, 0x3ffffff
ja 0x46f121
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
je 0x46ee88
shl dword [ebp - 0x40], 5
mov edi, dword [ebp - 0x40]
mov dword [esp], edi
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
add eax, edi
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
sub edi, eax
mov dword [ebp - 0x2c], edi
je 0x46efd0
cmp dword [ebp - 0x2c], 0x7ffffffc
ja 0x46f0a5
movzx eax, word [0x53d650]
mov esi, dword [ebp - 0x44]
mov word [ebp - 0x48], ax
movzx eax, word [ebp - 0x48]
mov edi, dword [ebp - 0x2c]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov word [esi], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esp], edi
call sym.operator_new_unsigned_int_
lea edx, [eax + edi]
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], edx
cmp ecx, edi
je 0x46f060
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], edx
add esi, 0x20
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp], eax
call sym._memcpy
mov edx, dword [ebp - 0x4c]
mov dword [esi - 0xc], edx
cmp dword [ebp - 0x34], esi
jne 0x46ee10
jmp 0x46ee91
mov dword [ebp - 0x44], 0
xor esi, esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x24]
call method.machine::CacheConfig.associativity___const
mov ecx, dword [ebx + 0x4c]
mov edx, eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x2c], eax
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, edx
jb 0x46f0e8
cmp edx, eax
jae 0x46ef4d
lea eax, [edx + edx*2]
lea edi, [ecx + eax*4]
cmp dword [ebp - 0x2c], edi
je 0x46ef4d
mov dword [ebp - 0x38], esi
mov edx, edi
mov dword [ebp - 0x48], ebx
lea esi, [esi]
nop
mov esi, dword [edx + 4]
mov ebx, dword [edx]
cmp esi, ebx
je 0x46ef18
mov dword [ebp - 0x34], edx
lea esi, [esi]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46f048
mov edx, dword [ebx + 0x18]
mov dword [esp], eax
add ebx, 0x20
sub edx, eax
mov dword [esp + 4], edx
call sym.operator_delete_void__unsigned_int_
cmp esi, ebx
jne 0x46eef0
mov edx, dword [ebp - 0x34]
mov ebx, dword [edx]
test ebx, ebx
je 0x46f090
mov eax, dword [edx + 8]
mov esi, edx
add esi, 0xc
mov edx, eax
mov dword [ebp - 0x34], eax
sub edx, ebx
mov dword [esp], ebx
mov dword [esp + 4], edx
call sym.operator_delete_void__unsigned_int_
mov eax, dword [ebp - 0x2c]
mov edx, esi
cmp esi, eax
jne 0x46eee0
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x38]
mov dword [ebx + 0x50], edi
mov eax, dword [ebp - 0x44]
mov ebx, eax
cmp esi, eax
je 0x46ef7f
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46efc0
mov edx, dword [ebx + 0x18]
mov dword [esp], eax
add ebx, 0x20
sub edx, eax
mov dword [esp + 4], edx
call sym.operator_delete_void__unsigned_int_
cmp esi, ebx
jne 0x46ef60
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x46ef98
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym.operator_delete_void__unsigned_int_
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x46ecee
mov ecx, dword [ebp - 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.operator_delete_void__unsigned_int_
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
add ebx, 0x20
cmp esi, ebx
jne 0x46ef60
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x46ef86
jmp 0x46ef98
mov eax, dword [ebp - 0x44]
movzx edx, word [0x53d650]
mov ecx, dword [ebp - 0x38]
lea esi, [esi]
cmp dword [ebp - 0x30], ecx
mov word [eax], dx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
je 0x46f078
mov edi, dword [ebp - 0x34]
add eax, 0x20
cmp eax, edi
jne 0x46efe0
mov esi, dword [ebp - 0x34]
jmp 0x46ee91
mov ecx, dword [ebp + 0xc]
call method.machine::CacheConfig.set_count___const
mov dword [ebp - 0x40], eax
cmp eax, 0x3ffffff
ja 0x46f12d
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], 4
jmp 0x46eda4
add ebx, 0x20
cmp esi, ebx
jne 0x46eef0
jmp 0x46ef13
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x14], edx
add esi, 0x20
cmp esi, eax
jne 0x46ee10
jmp 0x46f015
add eax, 0x20
cmp dword [ebp - 0x34], eax
jne 0x46efe0
jmp 0x46f015
mov eax, edx
add eax, 0xc
mov edx, eax
cmp dword [ebp - 0x2c], eax
jne 0x46eee0
jmp 0x46ef44
mov edi, dword [ebp - 0x44]
movzx eax, word [0x53d650]
mov edx, dword [ebp - 0x2c]
mov word [edi], ax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
test edx, edx
jns 0x46f110
call sym.std::__throw_bad_array_new_length__
lea esi, [esi]
sub edx, eax
lea edi, [ebp - 0x24]
lea ecx, [ebx + 0x4c]
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call method.std::vector_std::vector_machine::CacheLine__std::allocator_machine::CacheLine_____std::allocator_std::vector_machine::CacheLine__std::allocator_machine::CacheLine_______._M_fill_insert___gnu_cxx::__normal_iterator_std::vector_machine::CacheLine__st
sub esp, 0xc
jmp 0x46ef4d
call sym.std::__throw_bad_alloc__
mov dword [esp], 0x53d61c
call sym.std::__throw_length_error_char_const_
mov dword [esp], 0x53d61c
call sym.std::__throw_length_error_char_const_
mov dword [esp], 0x53d61c
call sym.std::__throw_length_error_char_const_
mov dword [esp], 0x53d61c
call sym.std::__throw_length_error_char_const_
jmp method.machine::Cache.Cache_machine::FrontendMemory__machine::CacheConfig_const__unsigned_int__unsigned_int__unsigned_int__bool___clone_.cold_