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

Disassembly:
push 0xffffffffffffffff
push 0x4633d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
mov ebx, dword [edx + 0xc]
mov eax, dword [esp + 0x50]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
and ebx, 0xffff
mov dword [eax + 8], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edi
mov esi, 6
lea eax, [esp + 0x30]
mov dword [esp + 0x38], edi
call fcn.00413620
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
lea ecx, [ebp + ebp*4]
lea ebx, [esi + ecx*4]
push ebx
push edx
call fcn.00414990
add esp, 8
cmp eax, 1
mov dword [esp + 0x2c], eax
jne 0x4142ea
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x14], eax
jne 0x414193
push 0
mov esi, edi
call fcn.00413d20
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x20], 0
mov edi, dword [edi + 0x14]
mov edx, dword [esp + 0x4c]
lea eax, [edi + 1]
mov dword [edx + 0x14], eax
jne 0x4141ad
mov dword [esp + 0x20], edi
jmp 0x4141b8
cmp dword [esp + 0x14], 0
je 0x4143e4
mov esi, dword [edx + 0x30]
mov eax, edi
and eax, 0xffff
mov ecx, edi
sar ecx, 0x10
shl eax, 5
add eax, dword [esi + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], 0
mov esi, dword [edx + 0x30]
mov edx, ecx
sar edx, 0x10
mov edx, dword [esi + edx*4]
and ecx, 0xffff
shl ecx, 5
lea edx, [edx + ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x414259
mov edx, ecx
sar edx, 0x10
add edx, edx
add edx, edx
and ecx, 0xffff
mov dword [esp + 0x28], edx
mov edx, dword [edx + esi]
shl ecx, 5
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + ecx + 0x1c]
mov edx, ecx
mov dword [esp + 0x24], ecx
sar edx, 0x10
mov edx, dword [esi + edx*4]
and ecx, 0xffff
shl ecx, 5
mov dword [edx + ecx + 0x18], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [edx + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + ecx]
mov edx, dword [esp + 0x2c]
mov dword [ecx + edx + 0x1c], edi
mov dword [eax + 0xc], 0
jmp 0x414265
mov dword [edx], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0xc], 0x80000
mov ecx, dword [eax + 0xc]
and ecx, 0xffff0000
or ecx, dword [esp + 0x18]
mov dword [eax + 0x14], 0
mov dword [eax + 0xc], ecx
mov edx, dword [ebx + 4]
mov dword [eax], edx
mov edx, dword [eax + 8]
mov ecx, dword [ebx + 8]
and edx, 0xffd00000
add ecx, edx
mov dword [eax + 8], ecx
test dword [ebx + 0xc], 0x10000
je 0x4142b3
mov edi, dword [esp + 0x1c]
and ecx, 0x2fffff
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
jmp 0x414154
mov eax, 1
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add ebp, eax
cmp ebp, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], ebp
jne 0x414154
mov esi, dword [esp + 0x34]
lea esi, [esi + esi + 6]
lea eax, [esp + 0x30]
call fcn.00413620
jmp 0x414150
test eax, eax
jne 0x4143a8
test ebp, ebp
je 0x414434
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x30]
mov edx, edi
sar edx, 0x10
and edi, 0xffff
shl edi, 5
add edi, dword [ecx + edx*4]
mov edx, dword [ebx + 4]
sub edx, dword [edi]
mov eax, dword [edi + 8]
add edx, dword [ebx + 8]
and eax, 0x2fffff
mov dword [edi + 4], edx
mov ebx, dword [ebx + 8]
shl ebx, 0x16
add eax, ebx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
sub ebp, 1
lea ecx, [ebp + ebp*4]
mov ebx, dword [esi + ecx*4 + 0x10]
lea esi, [esi + ecx*4]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
sub esi, ecx
mov edx, eax
mov eax, dword [edx + 0xc]
add esi, 1
push esi
add eax, ecx
push ebx
push eax
mov dword [esp + 0x44], ebp
call fcn.0044a72c
add esp, 0xc
test eax, eax
jne 0x4144b5
mov bl, byte [esi + ebx]
test bl, bl
je 0x41438a
movsx eax, bl
push eax
push 0x46fe84
call fcn.00449df2
add esp, 8
test eax, eax
je 0x4144b5
mov edi, dword [edi + 0x10]
mov esi, dword [esp + 0x30]
mov eax, 1
sub dword [esp + 0x14], eax
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
test eax, eax
jge 0x414154
or ebx, 0xffffffff
cmp eax, ebx
jne 0x414550
mov ecx, dword [esp + 0x4c]
lea edx, [ebp + ebp*4]
lea eax, [esi + edx*4 + 0x10]
add ecx, 4
push eax
call fcn.0040ae60
test esi, esi
mov dword [esp + 0x44], ebx
je 0x41442d
mov eax, dword [esi - 4]
lea edi, [esi - 4]
push 0x401270
push eax
jmp 0x41441c
lea eax, [ebp + ebp*4]
mov ecx, dword [esi + eax*4 + 4]
lea eax, [esi + eax*4]
mov eax, dword [eax + 0x10]
push ecx
push eax
add edx, 4
push str.Element__s_at_offset__d_is_sibling_to_root
push edx
call fcn.0040ab20
or ebx, 0xffffffff
add esp, 0x10
test esi, esi
mov dword [esp + 0x44], ebx
je 0x41442d
mov ecx, dword [esi - 4]
lea edi, [esi - 4]
push 0x401270
push ecx
push 0x14
push esi
call fcn.00448eff
push edi
call fcn.00424b4e
add esp, 4
mov eax, ebx
jmp 0x414609
mov edx, dword [esp + 0x50]
lea ebx, [esp + 0x50]
call fcn.00414790
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x44], 1
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 4]
mov eax, dword [eax]
push edx
push eax
add ecx, 4
push str.No_start_tag_for_end_tag__s_at_offset__d
push ecx
call fcn.0040ab20
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
or ebx, 0xffffffff
add esp, 0x10
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41448d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x401270
mov dword [esp + 0x48], ebx
mov ecx, dword [esi - 4]
lea edi, [esi - 4]
push ecx
push 0x14
push esi
call fcn.00448eff
push edi
call fcn.00424b4e
add esp, 4
mov eax, ebx
jmp 0x414609
mov edx, dword [esp + 0x50]
lea ebx, [esp + 0x2c]
call fcn.00414790
mov byte [esp + 0x44], 2
mov edx, dword [edi]
mov esi, dword [esp + 0x30]
mov eax, dword [eax]
push edx
lea ecx, [ebp + ebp*4]
mov edx, dword [esi + ecx*4 + 0x10]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x54]
sub edx, 1
push edx
push eax
add ecx, 4
push str.End_tag__s_at_offset__d_does_not_match_start_tag__s_at_offset__d
push ecx
call fcn.0040ab20
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or ebx, 0xffffffff
add esp, 0x18
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414520
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
mov dword [esp + 0x44], ebx
je 0x41442d
mov ecx, dword [esi - 4]
push 0x401270
lea edi, [esi - 4]
push ecx
push 0x14
push esi
call fcn.00448eff
push edi
call fcn.00424b4e
add esp, 4
mov eax, ebx
jmp 0x414609
cmp dword [esp + 0x14], 0
jle 0x4145a0
sub ebp, 1
lea ecx, [ebp + ebp*4]
mov edx, dword [esi + ecx*4 + 4]
lea eax, [esi + ecx*4]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x4c]
push edx
push eax
add ecx, 4
push str.Element__s_at_offset__d_not_ended
push ecx
mov dword [esp + 0x48], ebp
call fcn.0040ab20
add esp, 0x10
test esi, esi
mov dword [esp + 0x44], ebx
je 0x41442d
mov edx, dword [esi - 4]
lea edi, [esi - 4]
push 0x401270
push edx
jmp 0x41441c
mov ebp, dword [esp + 0x20]
test ebp, ebp
jne 0x4145e2
mov ecx, dword [esp + 0x4c]
push str.Root_element_not_found
add ecx, 4
call fcn.0040adc0
test esi, esi
mov dword [esp + 0x44], ebx
je 0x4145de
mov eax, dword [esi - 4]
push 0x401270
lea edi, [esi - 4]
push eax
push 0x14
push esi
call fcn.00448eff
push edi
call fcn.00424b4e
add esp, 4
xor eax, eax
jmp 0x414609
test esi, esi
mov dword [esp + 0x44], ebx
je 0x414607
mov ecx, dword [esi - 4]
push 0x401270
lea edi, [esi - 4]
push ecx
push 0x14
push esi
call fcn.00448eff
push edi
call fcn.00424b4e
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8