Function at 0x100af540
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016a415
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x1020f140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [esi], vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_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.10112367
add esp, 4
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.10129da7
mov edi, eax
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [edi + 4], 0
push 0x34
lea eax, [ebp - 0x48]
mov dword [edi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
push 0
push eax
call fcn.1012bde0
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0
call fcn.10111ea7
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x30], ax
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xc
push 0x101e7ee0
push eax
call fcn.10112465
lea eax, [ebp - 0x88]
push eax
call fcn.1011288c
add esp, 0xc
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 - 0x48]
mov byte [ebp - 4], 0xd
push eax
call fcn.101124b0
mov eax, dword [ebp - 0x1c]
add esp, 4
test eax, eax
je 0x100af6b2
push eax
call fcn.10133e54
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x100af6c9
push eax
call fcn.10133e54
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], 0
test eax, eax
je 0x100af6e0
push eax
call fcn.10133e54
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x100af6f7
push eax
call fcn.10133e54
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], 0
test eax, eax
je 0x100af70e
push eax
call fcn.10133e54
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x100af725
push eax
call fcn.10133e54
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x44], 0
call fcn.10111eff
mov dword [edi], vtable.std::codecvt_utf8_utf16_wchar_t__1114111__0_.0
mov byte [ebp - 4], 3
push dword [esi + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 4], edi
call fcn.101124ca
mov edi, eax
add esp, 4
mov eax, dword [0x10212b3c]
test eax, eax
jne 0x100af794
push eax
lea ecx, [ebp - 0x4c]
call fcn.10111ea7
cmp dword [0x10212b3c], 0
jne 0x100af787
mov eax, dword [0x10212b30]
inc eax
mov dword [0x10212b30], eax
mov dword [0x10212b3c], eax
lea ecx, [ebp - 0x4c]
call fcn.10111eff
mov eax, dword [0x10212b3c]
push eax
push dword [ebp - 0x54]
push edi
call fcn.101156e5
add esp, 0xc
mov dword [edi + 0x10], 0
cmp dword [edi + 0x18], 0x10197b5c
je 0x100af7ff
cmp dword [edi + 0x18], 0
je 0x100af7c2
push dword [edi + 0x18]
call fcn.10133e54
add esp, 4
mov dword [edi + 0x18], 0
mov esi, 0x10197b5c
nop
inc esi
cmp byte [esi], 0
jne 0x100af7d0
sub esi, 0x10197b5c
inc esi
push esi
call fcn.10134999
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x100af7fc
push esi
push 0x10197b5c
push eax
call fcn.1012b860
add esp, 0xc
mov esi, dword [ebp - 0x50]
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x100af823
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x100af819
mov eax, dword [ecx]
push 1
call dword [eax]
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 0x100af838
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 ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10129a67
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret