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

Disassembly:
push 0xffffffffffffffff
push 0x4dadfb
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5176f0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5176f0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov ebp, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x46f710
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp]
push 1
push 0
push eax
mov eax, dword [edx + 0x14]
push ecx
mov ecx, ebp
mov dword [ebp + 0x20], 0
call eax
mov esi, dword [ebp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
mov ebx, dword [esp + 0x8c]
sub eax, ecx
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x1c]
jb 0x46f736
lea eax, [esp + 0x14]
mov edi, dword [eax]
mov eax, dword [esi + 0xc]
lea edx, [ecx + eax]
mov eax, dword [esp + 0x18]
cmp edx, eax
je 0x46f754
add ecx, dword [esi + 0xc]
push edi
push eax
push ecx
call fcn.004b4b70
add esp, 0xc
add dword [esi + 0x14], edi
cmp edi, ebx
jae 0x46f8da
add dword [esp + 0x18], edi
sub ebx, edi
cmp byte [ebp + 0xc], 0
mov dword [esp + 0x8c], ebx
je 0x46f793
cmp dword [ebp + 0x10], 0x4000
jae 0x46f793
jmp 0x46f780
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp + 0x10], eax
cmp eax, ebx
jae 0x46f793
cmp eax, 0x4000
jb 0x46f780
push 0x18
call fcn.004ae3b4
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
xor esi, esi
mov dword [esp + 0x80], esi
cmp ebx, esi
je 0x46f828
mov ecx, dword [esp + 0x8c]
cmp dword [ebp + 0x10], ecx
lea eax, [ebp + 0x10]
jae 0x46f7c6
lea eax, [esp + 0x8c]
mov edi, dword [eax]
mov dword [ebx + 8], edi
cmp edi, 0xffffffff
ja 0x46f847
cmp edi, esi
jne 0x46f7e3
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
mov dword [ebx], esi
jmp 0x46f82a
push edi
call fcn.004b13d7
add esp, 4
cmp eax, esi
jne 0x46f819
push 0
call fcn.004ae03f
mov esi, eax
add esp, 4
test esi, esi
je 0x46f8ab
push esi
call fcn.004ae03f
call esi
push edi
call fcn.004b13d7
add esp, 8
test eax, eax
je 0x46f7f0
xor esi, esi
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
mov dword [ebx], esi
jmp 0x46f82a
xor ebx, ebx
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [ebp + 0x18]
mov dword [edx], ebx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp + 0x18], ecx
jmp 0x46f710
push str.AllocatorBase:_requested_size_would_cause_integer_overflow
lea ecx, [esp + 0x5c]
call fcn.00416950
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 1
call fcn.004ae132
lea edx, [esp + 0x58]
mov byte [esp + 0x80], 2
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], vtable.CryptoPP::Exception.0
mov dword [esp + 0x3c], 1
call fcn.00410a90
push 0x50df24
lea eax, [esp + 0x30]
mov byte [esp + 0x84], 1
push eax
mov dword [esp + 0x34], vtable.CryptoPP::InvalidArgument.0
call fcn.004b7c29
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], str.bad_allocation
call fcn.004ae143
push 0x50dd6c
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], vtable.std::bad_alloc.0
call fcn.004b7c29
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004ae123
add esp, 0x70
ret 0x10