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

Disassembly:
push 0xffffffffffffffff
push 0x57e0fb
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x600f84]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x600f84]
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 0x4773c0
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 0x4773e6
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 0x477404
add ecx, dword [esi + 0xc]
push edi
push eax
push ecx
call fcn.005580e0
add esp, 0xc
add dword [esi + 0x14], edi
cmp edi, ebx
jae 0x47758a
add dword [esp + 0x18], edi
sub ebx, edi
cmp byte [ebp + 0xc], 0
mov dword [esp + 0x8c], ebx
je 0x477443
cmp dword [ebp + 0x10], 0x4000
jae 0x477443
jmp 0x477430
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp + 0x10], eax
cmp eax, ebx
jae 0x477443
cmp eax, 0x4000
jb 0x477430
push 0x18
call fcn.00552482
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
xor esi, esi
mov dword [esp + 0x80], esi
cmp ebx, esi
je 0x4774d8
mov ecx, dword [esp + 0x8c]
cmp dword [ebp + 0x10], ecx
lea eax, [ebp + 0x10]
jae 0x477476
lea eax, [esp + 0x8c]
mov edi, dword [eax]
mov dword [ebx + 8], edi
cmp edi, 0xffffffff
ja 0x4774f7
cmp edi, esi
jne 0x477493
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
mov dword [ebx], esi
jmp 0x4774da
push edi
call fcn.005554d5
add esp, 4
cmp eax, esi
jne 0x4774c9
push 0
call fcn.0055210d
mov esi, eax
add esp, 4
test esi, esi
je 0x47755b
push esi
call fcn.0055210d
call esi
push edi
call fcn.005554d5
add esp, 8
test eax, eax
je 0x4774a0
xor esi, esi
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
mov dword [ebx], esi
jmp 0x4774da
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 0x4773c0
push str.AllocatorBase:_requested_size_would_cause_integer_overflow
lea ecx, [esp + 0x5c]
call fcn.004163a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 1
call fcn.00552200
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.004104d0
push 0x5ee324
lea eax, [esp + 0x30]
mov byte [esp + 0x84], 1
push eax
mov dword [esp + 0x34], vtable.CryptoPP::InvalidArgument.0
call fcn.0055bc30
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], str.bad_allocation
call fcn.00552211
push 0x5ee16c
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], vtable.std::bad_alloc.0
call fcn.0055bc30
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.005521f1
add esp, 0x70
ret 0x10