Function at 0x456c70
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4712d9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x495aa0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dl, byte [esp + 0x80]
mov ebx, ecx
mov ecx, dword [esp + 0x78]
xor esi, esi
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], dl
mov dword [esp + 0x30], esi
call dword [sym.imp.dvacore.dll_public:_void___thiscall_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char__::constructor_void_]
xor eax, eax
mov word [edi + 0x1c], ax
lea ecx, [ebx + 0x18]
mov dword [esp + 0x68], esi
mov dword [esp + 0x20], ecx
mov esi, 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], esi
mov byte [esp + 0x24], al
call fcn.004127e0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x68], esi
mov esi, dword [eax]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
cmp esi, eax
je 0x456dad
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esi + 0x18]
call dword [sym.imp.dvacore.dll_public:_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int__::compare_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int___const__const]
test eax, eax
jne 0x456d70
cmp byte [esi + 0x64], al
jne 0x456d70
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
push edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
call fcn.004382a0
mov eax, dword [esi + 0x58]
add esp, 0x10
cmp dword [esp + 0x28], eax
jne 0x456d83
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esi + 0x18]
call dword [sym.imp.dvacore.dll_public:_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int__::compare_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int___const__const]
test eax, eax
jne 0x456d70
cmp byte [esi + 0x64], al
jne 0x456d70
cmp byte [esp + 0x7c], al
jne 0x456d99
lea ecx, [esp + 0x18]
call fcn.0042b2e0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
jmp 0x456d11
add esi, 0x34
push esi
mov ecx, edi
call dword [sym.imp.dvacore.dll_public:_class_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char______thiscall_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char__::operator_class_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char___const__]
mov dx, word [esi + 0x1c]
mov word [edi + 0x1c], dx
jmp 0x456dad
add esi, 0x34
push esi
mov ecx, edi
call dword [sym.imp.dvacore.dll_public:_class_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char______thiscall_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char__::operator_class_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char___const__]
mov ax, word [esi + 0x1c]
mov word [edi + 0x1c], ax
movzx eax, word [edi + 0x1c]
test ax, ax
jne 0x456dfe
cmp byte [esp + 0x7c], al
jne 0x456dfe
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call fcn.00448b60
mov esi, eax
push esi
mov ecx, edi
mov byte [esp + 0x6c], 2
call dword [sym.imp.dvacore.dll_public:_class_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char______thiscall_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char__::operator_class_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char___const__]
mov dx, word [esi + 0x1c]
lea ecx, [esp + 0x3c]
mov word [edi + 0x1c], dx
mov byte [esp + 0x68], 1
call dword [sym.imp.dvacore.dll_public:_void___thiscall_std::basic_string_unsigned_char__struct_std::char_traits_unsigned_char___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_char__::destructor_void_]
cmp byte [esp + 0x24], 0
mov byte [esp + 0x68], 0
je 0x456e4a
mov eax, dword [esp + 0x20]
dec dword [eax]
jne 0x456e4a
xor ecx, ecx
lea edx, [eax + 4]
xchg dword [edx], ecx
lea ecx, [eax + 8]
mov eax, 0x80000000
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x456e4a
cmp eax, 0x80000000
jle 0x456e4a
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x456e4a
call fcn.00411590
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004661fa
add esp, 0x58
ret 0x14