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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102521dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x10], ecx
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_WM::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
push 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push dword [ebp + 0xc]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_WM::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_WM::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
push 0x38
mov byte [ebp - 4], 2
call fcn.1006e6a7
mov esi, eax
add esp, 0x28
mov dword [ebp + 0xc], esi
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov dword [esi + 8], 0xffffffff
lea edi, [ebp - 0x40]
cmovae ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x2c], 0x10
mov dword [esi + 4], 0xffffffff
cmovae edi, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0x10
mov dword [esi + 0xc], 0
cmovae ecx, dword [ebp - 0x58]
mov dword [esi + 0x20], 0x1032091c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [esi + 0x2c], 0x1032091c
mov dword [esi + 0x30], 0x1032091c
mov dword [esi + 0x34], 0x1032091c
mov edx, ecx
mov byte [ebp - 4], 7
lea eax, [edx + 1]
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x100fab27
sub edx, dword [ebp + 8]
push edx
push ecx
lea ecx, [esi + 0x2c]
call fcn.1023b7e0
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100fab40
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.1023b7e0
mov edx, ebx
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100fab58
sub edx, edi
lea ecx, [esi + 0x34]
push edx
push ebx
call fcn.1023b7e0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
push esi
mov ecx, dword [ecx + 0x20]
call fcn.1023ce20
mov edx, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
cmp edx, 0x10
jb 0x100fabb4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fabaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fabaa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100fabea
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fabe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fabe0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100fac20
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fac16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fac16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc