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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447580
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4630d8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00410730
mov esi, eax
xor edi, edi
push str.CBaseSerializableObject::DeserialiseChild_:
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], edi
call fcn.004010e0
push esi
lea ecx, [esp + 0x18]
push ecx
mov ebx, 1
mov ecx, eax
mov byte [esp + 0x48], bl
call fcn.004011f0
lea esi, [eax + 4]
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], ebx
mov byte [esp + 0x40], 2
jle 0x4169f2
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 7
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], bl
call fcn.0040ed80
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0
call fcn.0040ed80
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040ed80
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x416a92
push str.Failed_to_read_the_child_object_start_tag
lea ecx, [esp + 0x18]
call fcn.004010e0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x18]
add ecx, 4
push eax
mov dword [esp + 0x44], 3
call fcn.00401b30
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040ed80
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
cmp ax, 0xeb0a
jne 0x416b53
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push esi
push edi
call fcn.00416770
add esp, 0x18
test eax, eax
jne 0x416c5d
mov edx, dword [esi]
push edx
lea ecx, [esp + 0x18]
call fcn.0040c470
mov esi, eax
push str.DeserialiseChild_ObjType_:
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], 4
call fcn.004010e0
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov byte [esp + 0x48], 5
call fcn.004011f0
lea esi, [eax + 4]
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], ebx
mov byte [esp + 0x40], 6
jle 0x416b18
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 7
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 5
call fcn.0040ed80
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 4
call fcn.0040ed80
or ebx, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call fcn.0040ed80
jmp 0x416bab
cmp ax, 0xeb0b
je 0x416ba8
push str.The_child_object_null_start_tag_was_incorrect
lea ecx, [esp + 0x18]
call fcn.004010e0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x18]
add ecx, 4
push eax
mov dword [esp + 0x44], 7
call fcn.00401b30
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040ed80
mov eax, 0x25c
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x416c07
push str.Failed_to_read_the_child_object_end_tag
lea ecx, [esp + 0x18]
call fcn.004010e0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x18]
add ecx, 4
push eax
mov dword [esp + 0x44], 8
call fcn.00401b30
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call fcn.0040ed80
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esp + 0x10], 0xaeb
je 0x416c5b
push str.The_child_object_end_tag_was_incorrect
lea ecx, [esp + 0x20]
call fcn.004010e0
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
add ecx, 4
push edx
mov dword [esp + 0x44], 9
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
call fcn.0040ed80
mov eax, 0x25c
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret