Function at 0x10046cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10050ef5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [esp + 0x24]
push ebx
push esi
and eax, 0xfffffe06
mov dword [esp + 0x30], 0
push edi
or eax, 6
mov esi, ecx
push 8
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
mov dword [esp + 0x5c], 0
test edi, edi
je 0x10046d5e
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.100123c0
mov dword [edi], eax
jmp 0x10046d60
xor edi, edi
mov dword [esp + 0x28], edi
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x60], 1
push eax
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.1000f020
mov ecx, eax
call fcn.1000fe50
mov edi, dword [eax]
test edi, edi
je 0x10046d8d
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
dec ecx
shr eax, 2
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax + edx*4]
call sym.KwLib.dll_public:_class_KwLib::Json::Value____thiscall_KwLib::Json::Value::operator_class_KwLib::Json::Value_const__
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], 0xffffffff
call sym.KwLib.dll_public:_void___thiscall_KwLib::Json::Value::destructor_void_
mov edx, dword [esi + 0x44]
cmp dword [esi + 0x48], edx
je 0x10046def
lea ebx, [ebx]
mov ecx, dword [esi + 0x48]
mov al, byte [ecx]
cmp al, 0x20
je 0x10046de5
cmp al, 9
je 0x10046de5
cmp al, 0xd
je 0x10046de5
cmp al, 0xa
jne 0x10046def
lea eax, [ecx + 1]
mov dword [esi + 0x48], eax
cmp eax, edx
jne 0x10046dd0
mov eax, dword [esi + 0x48]
cmp byte [eax], 0x5d
jne 0x10046e19
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call sym.KwLib.dll_private:_bool___thiscall_KwLib::Json::Reader::readToken_class_KwLib::Json::Reader::Token__
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
jmp 0x10046e20
mov ecx, esi
call sym.KwLib.dll_private:_class_KwLib::Json::Value____thiscall_KwLib::Json::Reader::currentValue_void_
push edi
mov ecx, eax
call sym.KwLib.dll_public:_class_KwLib::Json::Value____thiscall_KwLib::Json::Value::operator___unsigned_int_
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
inc edi
push eax
call fcn.1000f2a0
mov ecx, esi
call sym.KwLib.dll_private:_bool___thiscall_KwLib::Json::Reader::readValue_void_
dec dword [esi + 0x10]
jne 0x10046e53
mov dword [esi + 0xc], 0
mov ecx, esi
test al, al
je 0x10046f2c
lea eax, [esp + 0x10]
push eax
call sym.KwLib.dll_private:_bool___thiscall_KwLib::Json::Reader::readToken_class_KwLib::Json::Reader::Token__
mov ecx, dword [esp + 0x10]
cmp ecx, 0xc
jne 0x10046e89
test al, al
je 0x10046e89
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call sym.KwLib.dll_private:_bool___thiscall_KwLib::Json::Reader::readToken_class_KwLib::Json::Reader::Token__
mov ecx, dword [esp + 0x10]
cmp ecx, 0xc
je 0x10046e70
cmp ecx, 0xa
je 0x10046e97
cmp ecx, 4
je 0x10046e97
mov dl, 1
jmp 0x10046e99
xor dl, dl
test al, al
je 0x10046ec0
test dl, dl
jne 0x10046ec0
cmp ecx, 4
jne 0x10046e20
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x27
push str.Missing___or___in_array_declaration
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.10001a10
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x60], 2
push eax
lea eax, [esp + 0x40]
mov ecx, esi
push eax
call sym.KwLib.dll_private:_bool___thiscall_KwLib::Json::Reader::addErrorAndRecover_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_KwLib::Json::Reader::Token___enum_KwLib::Json::Reader::TokenType_
cmp dword [esp + 0x4c], 0x10
mov bl, al
jb 0x10046f16
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 4
call sym.KwLib.dll_private:_bool___thiscall_KwLib::Json::Reader::recoverFromError_enum_KwLib::Json::Reader::TokenType_
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4