Function at 0x10012ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055585
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x10065070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
push 1
mov dword [ebp - 4], 0
call fcn.1002e095
mov dword [esi + 0xc], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
mov byte [esi + 0x10], 0
movups xmmword [esi + 0x28], xmm0
xor eax, eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 7
mov word [esi + 0x28], ax
mov byte [ebp - 4], 3
push 0x34
mov word [esi + 0x48], ax
mov byte [esi + 0x4a], al
call fcn.10045fe5
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
push 0
lea ecx, [ebp - 0x78]
mov dword [edi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.1002db7c
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x64], 0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], al
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xc
push 0x1005dd00
push eax
call fcn.1002e192
lea eax, [ebp - 0x44]
push eax
call fcn.1002f131
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x30], eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xd
push eax
call fcn.1002e1dd
mov eax, dword [ebp - 0x4c]
add esp, 0x10
mov edi, dword [sym.imp.msvcrt.dll_free]
test eax, eax
je 0x10012c0f
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x10012c23
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x10012c37
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], 0
test eax, eax
je 0x10012c4b
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], 0
test eax, eax
je 0x10012c5f
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], 0
test eax, eax
je 0x10012c73
push eax
call edi
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0
call fcn.1002dbd4
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
mov dword [eax], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
push dword [esi + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 4], eax
call fcn.1002e1f7
mov edi, eax
add esp, 4
mov eax, dword [0x100665d4]
test eax, eax
jne 0x10012ce5
push eax
lea ecx, [ebp - 0x18]
call fcn.1002db7c
cmp dword [0x100665d4], 0
jne 0x10012cd8
mov eax, dword [0x100665c8]
inc eax
mov dword [0x100665c8], eax
mov dword [0x100665d4], eax
lea ecx, [ebp - 0x18]
call fcn.1002dbd4
mov eax, dword [0x100665d4]
push eax
push dword [ebp - 0x10]
push edi
call fcn.10031668
add esp, 0xc
mov dword [edi + 0x10], 0
cmp dword [edi + 0x18], 0x1005dcfc
je 0x10012d50
cmp dword [edi + 0x18], 0
je 0x10012d14
push dword [edi + 0x18]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [edi + 0x18], 0
mov esi, 0x1005dcfc
inc esi
cmp byte [esi], 0
jne 0x10012d20
sub esi, 0x1005dcfc
inc esi
push esi
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x10012d4d
push esi
push 0x1005dcfc
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x10012d74
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10012d6a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [esi + 0xc], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10012d89
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, esi
mov dword [esi + 0x4c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret