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

Disassembly:
push 0xffffffffffffffff
push 0x43e6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x64]
mov edx, dword [edi + 0x30]
mov eax, ebx
sar eax, 0x10
mov ecx, ebx
and ecx, 0xffff
mov dword [esp + 0x2c], eax
mov eax, dword [edx + eax*4]
mov dword [esp + 0x28], ecx
shl ecx, 5
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [esp + 0x68]
xor esi, esi
and eax, 0xffff
mov dword [ecx + 8], esi
lea ecx, [edi + 4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], eax
call fcn.00401600
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
push 6
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], esi
call fcn.00408df0
mov dword [esp + 0x18], esi
jmp 0x409004
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x48]
lea ebp, [eax + edx*4]
push ebp
push ecx
mov dword [esp + 0x24], ebp
call fcn.004081c0
add esp, 8
xor ecx, ecx
mov dword [esp + 0x30], eax
cmp eax, 1
jne 0x4091b9
mov esi, dword [edi + 0x18]
test esi, esi
je 0x40905d
mov eax, dword [edi + 0x30]
mov edx, esi
mov ecx, esi
sar edx, 0x10
mov edx, dword [eax + edx*4]
and ecx, 0xffff
shl ecx, 5
mov eax, dword [edx + ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [esp + 0x14], esi
jmp 0x40907d
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x14], eax
jne 0x40906e
push 0
mov ecx, edi
call fcn.00407100
mov eax, dword [edi + 0x14]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x14]
inc eax
mov dword [edi + 0x14], eax
cmp dword [esp + 0x20], 0
jne 0x409088
mov dword [esp + 0x20], esi
mov edx, dword [edi + 0x30]
mov eax, esi
and eax, 0xffff
mov ecx, esi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], ecx
mov edx, ecx
mov dword [eax + 0x18], 0
mov ebx, dword [edi + 0x30]
sar edx, 0x10
mov edx, dword [ebx + edx*4]
and ecx, 0xffff
shl ecx, 5
lea edx, [edx + ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x409121
mov edx, ecx
sar edx, 0x10
and ecx, 0xffff
shl ecx, 5
add edx, edx
add edx, edx
mov ebp, dword [ebx + edx]
mov dword [esp + 0x24], ecx
mov ecx, dword [ecx + ebp + 0x1c]
mov ebp, ecx
mov dword [esp + 0x30], ecx
and ecx, 0xffff
sar ebp, 0x10
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x1c]
shl ecx, 5
mov dword [ebx + ecx + 0x18], esi
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x24]
mov dword [edx + ecx + 0x1c], esi
mov dword [eax + 0xc], 0
jmp 0x40912d
mov dword [edx], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0x80000
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax + 0xc]
and edx, 0xffff0000
or ecx, edx
mov edx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 4]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
and edx, 0xffd00000
add ecx, edx
mov dword [eax + 8], ecx
test dword [ebp + 0xc], 0x10000
je 0x409187
mov edx, dword [esp + 0x64]
and ecx, 0x2fffff
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], edx
mov dword [eax + 4], ecx
jmp 0x409000
mov eax, dword [esp + 0x50]
inc dword [esp + 0x18]
inc eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x4c]
jne 0x409000
mov edx, dword [esp + 0x4c]
lea eax, [edx + edx + 6]
push eax
lea ecx, [esp + 0x4c]
call fcn.00408df0
jmp 0x409000
test eax, eax
jne 0x409518
mov ecx, dword [esp + 0x18]
mov eax, ecx
mov dword [esp + 0x1c], ecx
mov esi, ebx
test eax, eax
je 0x409233
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x48]
lea ecx, [eax + edx*4 - 4]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [edx]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x48], esp
call fcn.00407380
test al, al
jne 0x409228
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x30]
sub dword [esp + 0x24], 0x14
mov edx, esi
and esi, 0xffff
sar edx, 0x10
mov edx, dword [ecx + edx*4]
dec eax
shl esi, 5
mov esi, dword [edx + esi + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4091e0
jmp 0x409233
cmp dword [esp + 0x1c], 0
jne 0x4094e0
mov eax, dword [edi + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + edx*4]
mov ecx, dword [esp + 0x28]
shl ecx, 5
or dword [eax + ecx + 0xc], 0x800000
mov edx, dword [edi + 0x30]
lea eax, [eax + ecx + 0xc]
mov ecx, ebx
mov eax, ebx
and eax, 0xffff
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
mov edx, dword [edi + 4]
cmp dword [edx - 0xc], 0
lea eax, [ecx + eax + 0xc]
jne 0x409301
mov esi, dword [esp + 0x68]
mov eax, dword [esi + 4]
sub eax, dword [esi]
add eax, 0x65
push eax
call fcn.0041930b
mov dword [esp + 0x28], eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.00408e90
mov ecx, dword [ebp + 4]
mov eax, dword [eax]
mov esi, dword [esp + 0x30]
push ecx
push eax
push str.No_start_tag_for_end_tag__s_at_offset__d
push esi
call fcn.0042b7a5
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x1c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4092d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x4092e0
xor eax, eax
jmp 0x4092ee
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4092e5
sub eax, edx
push eax
push esi
lea ecx, [edi + 4]
call fcn.00401aa0
push esi
call fcn.00419316
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x409004
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp edx, ecx
jle 0x409610
mov eax, dword [edi + 0x30]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov eax, dword [eax + ebp*4]
shl esi, 5
or dword [eax + esi + 0xc], 0x800000
lea eax, [eax + esi + 0xc]
mov eax, edx
sub eax, ecx
sub edx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
jmp 0x409350
mov edx, dword [edi + 0x30]
mov esi, ebx
and esi, 0xffff
mov ecx, ebx
sar ecx, 0x10
shl esi, 5
add esi, dword [edx + ecx*4]
and dword [esi + 8], 0x2fffff
or dword [esi + 0xc], 0x100000
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
and eax, 0x2fffff
mov dword [esp + 0x64], ebx
mov dword [esi + 0x14], 0
mov dword [esi + 4], eax
test ecx, 0x200000
je 0x4093c6
xor ecx, 0x200000
mov dword [esi + 0xc], ecx
mov ecx, dword [edi + 0x30]
mov eax, ebx
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov ebp, ebx
and ebp, 0xffff
shl ebp, 5
or dword [eax + ebp + 0xc], 0x200000
lea eax, [eax + ebp + 0xc]
test edx, edx
je 0x40942b
mov ebp, dword [edi + 0x30]
lea ecx, [ecx]
mov eax, edx
sar eax, 0x10
mov ecx, edx
add eax, eax
add eax, eax
mov ebp, dword [eax + ebp]
and ecx, 0xffff
shl ecx, 5
mov dword [ecx + ebp + 0x10], ebx
mov ebx, dword [edi + 0x30]
mov ebp, dword [ebx + eax]
mov ebx, dword [esp + 0x14]
mov dword [ecx + ebp + 0x1c], ebx
mov edi, dword [edi + 0x30]
mov ebp, ebx
sar ebp, 0x10
mov edi, dword [edi + ebp*4]
and ebx, 0xffff
shl ebx, 5
mov dword [edi + ebx + 0x18], edx
mov edi, dword [esp + 0x3c]
mov ebp, dword [edi + 0x30]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x14], edx
mov edx, dword [eax + ebp]
mov edx, dword [edx + ecx + 0x18]
test edx, edx
jne 0x4093d0
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 4]
dec eax
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x50], eax
jne 0x409601
cmp dword [esp + 0x30], 0
jne 0x4095a6
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + edx*4 + 0x10]
mov ecx, dword [ecx - 0xc]
lea ebx, [eax + edx*4]
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 4]
sub eax, dword [edx]
inc eax
lea edx, [eax + ecx + 0x64]
push edx
call fcn.0041930b
mov ebp, eax
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408e90
mov edx, dword [esi]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ebx + 0x10]
mov eax, dword [eax]
push edx
mov edx, dword [ecx]
push ebx
dec edx
push edx
push eax
push str.End_tag__s_at_offset__d_does_not_match_start_tag__s_at_offset__d
push ebp
call fcn.0042b7a5
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
add esp, 0x24
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x409588
xor eax, eax
push eax
push ebp
lea ecx, [edi + 4]
call fcn.00401aa0
push ebp
jmp 0x4095f9
mov edx, dword [edi + 0x30]
mov eax, dword [ebp + 4]
mov ecx, esi
and esi, 0xffff
sar ecx, 0x10
shl esi, 5
add esi, dword [edx + ecx*4]
sub eax, dword [esi]
mov ecx, dword [esi + 8]
add eax, dword [ebp + 8]
and ecx, 0x2fffff
mov dword [esi + 4], eax
mov ebp, dword [ebp + 8]
shl ebp, 0x16
add ecx, ebp
mov dword [esi + 8], ecx
jmp 0x409301
cmp eax, 0xffffffff
jne 0x40957a
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x28]
shl eax, 5
or dword [edx + eax + 0xc], 0x800000
mov ecx, dword [edi + 0x30]
lea eax, [edx + eax + 0xc]
mov eax, ebx
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edx, ebx
and edx, 0xffff
shl edx, 5
or dword [eax + edx + 0xc], 0x200000
lea eax, [eax + edx + 0xc]
mov edx, dword [edi + 4]
cmp dword [edx - 0xc], 0
lea ecx, [edi + 4]
jne 0x409004
add ebp, 0x10
push ebp
call fcn.00402100
jmp 0x409004
cmp eax, 0xfffffffe
jne 0x409004
jmp 0x409310
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409590
sub eax, edx
push eax
push ebp
lea ecx, [edi + 4]
call fcn.00401aa0
push ebp
jmp 0x4095f9
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4 + 0x10]
mov eax, dword [eax - 0xc]
lea esi, [edx + ecx*4]
add eax, 0x64
push eax
call fcn.0041930b
mov ecx, dword [esi + 4]
mov ebx, eax
mov eax, dword [esi + 0x10]
push ecx
push eax
push 0x4420b0
push ebx
call fcn.0042b7a5
add esp, 0x14
test ebx, ebx
jne 0x4095e0
xor eax, eax
jmp 0x4095ee
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4095e5
sub eax, edx
push eax
push ebx
lea ecx, [edi + 4]
call fcn.00401aa0
push ebx
call fcn.00419316
add esp, 4
sub dword [esp + 0x24], 1
mov ebx, dword [esp + 0x14]
jne 0x409350
cmp dword [esp + 0x30], 0xfffffffe
je 0x409649
mov eax, dword [edi + 0x30]
mov edx, ebx
sar edx, 0x10
mov ecx, dword [eax + edx*4]
and ebx, 0xffff
shl ebx, 5
mov eax, dword [ecx + ebx + 0x10]
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], eax
mov eax, 1
sub dword [esp + 0x50], eax
sub dword [esp + 0x18], eax
jmp 0x409000
mov esi, dword [esp + 0x48]
mov dword [esp + 0x5c], 0xffffffff
test esi, esi
je 0x40967a
mov edx, dword [esi - 4]
mov eax, dword [esp + 0x48]
push fcn.00406e00
add esi, 0xfffffffc
push edx
push 0x14
push eax
call fcn.0042a415
push esi
call fcn.00419316
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8