Function at 0x407e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43f178
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x44e98c
mov dword [esp + 0x28], ebx
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ebx
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x44]
push eax
push 0x44370c
lea edi, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.004026d0
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x330]
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetChildrenCount]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x407f09
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407eda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x408058
cmp eax, ebx
mov dword [esp + 0x44], ebx
jle 0x40800c
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0x330]
push edx
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetNthChild]
mov eax, dword [esp + 0x1c]
push eax
mov edi, eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, edi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x38], 2
je 0x407ff9
lea edx, [esp + 0x20]
push edx
push 0x4431d4
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
mov edx, dword [esp + 0x20]
cmp edx, ebx
jne 0x407f7b
xor eax, eax
jmp 0x407f8f
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407f80
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x28]
call fcn.00403540
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x40806e
mov ebp, dword [esp + 0x24]
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407fda
test dx, dx
je 0x407fd6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407fda
add eax, 4
add ecx, 4
test dx, dx
jne 0x407fb4
xor eax, eax
jmp 0x407fdf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
push esi
test al, al
jne 0x407ff1
mov dword [esp + 0x2c], 1
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
xor ebx, ebx
mov eax, dword [esp + 0x44]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
jl 0x407f15
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40802c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408054
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
push 0x80004005
call fcn.00403880
int3