Function at 0x10004f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004afc5
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10061010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edi
mov dword [edi], 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.10010cda
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0xf
mov byte [edi + 0x10], 0
movups xmmword [edi + 0x28], xmm0
xor eax, eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 7
mov word [edi + 0x28], ax
mov byte [ebp - 4], 3
push 0x34
mov word [edi + 0x48], ax
mov byte [edi + 0x4a], al
call fcn.10026b6a
mov esi, eax
mov dword [ebp - 0x50], esi
mov dword [esi + 4], 0
push 0x34
lea eax, [ebp - 0x44]
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
push 0
push eax
call fcn.10028660
add esp, 0x14
lea ecx, [ebp - 0x44]
push 0
call fcn.10010911
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xc
push 0x1005a18c
push eax
call fcn.10010dda
lea eax, [ebp - 0x80]
push eax
call fcn.10011096
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xd
push eax
call fcn.10010e25
mov eax, dword [ebp - 0x18]
add esp, 0x10
test eax, eax
je 0x1000508f
push eax
call fcn.1002d591
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x100050a6
push eax
call fcn.1002d591
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x100050bd
push eax
call fcn.1002d591
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], 0
test eax, eax
je 0x100050d4
push eax
call fcn.1002d591
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x100050eb
push eax
call fcn.1002d591
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], 0
test eax, eax
je 0x10005102
push eax
call fcn.1002d591
add esp, 4
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], 0
call fcn.10010969
mov dword [esi], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov byte [ebp - 4], 3
push dword [edi + 0xc]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 4], esi
call fcn.10010e3f
mov esi, eax
add esp, 4
mov eax, dword [0x10062bb4]
mov dword [ebp - 0x4c], esi
test eax, eax
jne 0x10005174
push eax
lea ecx, [ebp - 0x48]
call fcn.10010911
cmp dword [0x10062bb4], 0
jne 0x10005167
mov eax, dword [0x10062ba8]
inc eax
mov dword [0x10062ba8], eax
mov dword [0x10062bb4], eax
lea ecx, [ebp - 0x48]
call fcn.10010969
mov eax, dword [0x10062bb4]
push eax
push dword [ebp - 0x50]
push esi
call fcn.100126f9
mov dword [esi + 0x10], 0
add esp, 0xc
mov eax, dword [esi + 0x18]
cmp eax, 0x1005a188
je 0x100051e4
test eax, eax
je 0x1000519f
push eax
call fcn.1002d591
add esp, 4
mov dword [esi + 0x18], 0
mov esi, 0x1005a188
nop dword [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x100051b0
sub esi, 0x1005a188
inc esi
push esi
call fcn.1002db76
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x18], ecx
test ecx, ecx
je 0x100051e1
push esi
push 0x1005a188
push ecx
call fcn.100280e0
add esp, 0xc
mov esi, dword [ebp - 0x4c]
mov ecx, dword [edi + 0xc]
cmp ecx, esi
je 0x10005208
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x100051fe
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0xc], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1000521d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, edi
mov dword [edi + 0x4c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026b2b
mov esp, ebp
pop ebp
ret