Function at 0x10050c60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], esp
mov dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xdc], 0x10056240
mov eax, dword fs:[0]
mov dword [esi + 0xd8], eax
lea eax, [esi + 0xd8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
lea edi, [esi + 0x38]
mov ecx, edi
push 1
call fcn.100546e0
lea eax, [esi + 8]
mov dword [esi], eax
mov dword [esi + 4], 4
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x10055690
mov dword [esi + 0x10], method.std::_Packaged_state_void____cdecl___void__.virtual_12
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0x10055690
mov dword [esi + 0x1c], method.std::_Packaged_state_void____cdecl___void__.virtual_12
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], 0x100558e0
mov dword [esi + 0x28], 0x10055920
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], 0x100558e0
mov dword [esi + 0x34], 0x10055920
mov dword [esi + 0xe0], 0
push 4
push eax
push dword [ebp + 0xc]
push edi
call fcn.10054a00
add esp, 0x10
lea ecx, [esi + 0x38]
push dword [ebp + 8]
call fcn.10054810
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x38], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esi + eax + 0x34], ecx
mov dword [esi + 0x3c], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esi + 0x78], 1
je 0x10050da5
mov eax, dword [esi + 0x5c]
mov eax, dword [eax]
mov ecx, 0x34
test eax, eax
jne 0x10050d75
mov eax, dword [esi + 0x58]
mov eax, dword [eax]
mov ecx, 0x30
mov ecx, dword [esi + ecx + 0x38]
add eax, dword [ecx]
mov ecx, dword [esi + 0x48]
mov ecx, dword [ecx]
sub eax, ecx
cmp eax, 0x1000
jb 0x10050d9b
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10050e14
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100ea090
add esp, 8
lea ecx, [esi + 0x3c]
lea edi, [esi + 0x88]
mov eax, dword [esi + 0x48]
mov dword [eax], 0
mov eax, dword [esi + 0x58]
mov dword [eax], 0
mov eax, dword [esi + 0x68]
mov dword [eax], 0
mov eax, dword [esi + 0x4c]
mov dword [eax], 0
mov eax, dword [esi + 0x5c]
mov dword [eax], 0
mov eax, dword [esi + 0x6c]
mov dword [eax], 0
mov dword [esi + 0x74], 0
and byte [esi + 0x78], 0xfe
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov eax, dword [esi + 0xd8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 0x10
lea esi, [ebp - 0xe4]
mov ebp, dword [esi + 0xd0]
lea ecx, [esi + 0x38]
call fcn.10054950
add esp, 0x10
pop ebp
ret