Function at 0x406370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43f370
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 ebx, ecx
xor edi, edi
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], edi
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x38], 1
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov byte [esp + 0x38], 2
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x38], 3
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 4
cmp dword [ebx + 0x2f8], edi
jne 0x4064b1
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
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 0x4064aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40687a
mov eax, dword [ebx + 0x2f4]
mov eax, dword [eax]
mov edi, dword [ebx + 0x2dc]
mov ebp, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
lea esp, [esp]
mov esi, dword [ebx + 0x2f4]
mov eax, dword [ebx + 0x2dc]
test edi, edi
je 0x4064e4
cmp edi, eax
je 0x4064e9
call fcn.00429770
cmp ebp, esi
je 0x4065d1
test edi, edi
jne 0x406522
call fcn.00429770
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x406506
call fcn.00429770
mov ecx, dword [esp + 0x40]
cmp ecx, dword [ebp + 0x10]
je 0x406526
lea esi, [esp + 0x28]
call fcn.00409dd0
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x4064d0
mov eax, dword [edi]
jmp 0x4064fc
test edi, edi
jne 0x40662c
call fcn.00429770
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40653f
call fcn.00429770
mov ebx, dword [ebp + 0xc]
push ebx
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov edx, dword [esp + 0x44]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, ebx
mov ebx, dword [edx + 0x20]
mov dword [esp + 0x1c], esi
test edi, edi
jne 0x406633
call fcn.00429770
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x406577
call fcn.00429770
lea eax, [ebp + 0x1c]
call fcn.00402520
mov eax, dword [esp + 0x44]
mov ebx, dword [eax + 0xc]
test edi, edi
jne 0x40663a
call fcn.00429770
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40659f
call fcn.00429770
lea eax, [ebp + 0x24]
call fcn.00402520
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 8]
test edi, edi
jne 0x406641
call fcn.00429770
cmp ebp, dword [edi + 0x18]
jne 0x4065c5
call fcn.00429770
lea eax, [ebp + 0x18]
call fcn.00402520
test esi, esi
jne 0x406648
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4065f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40661b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
jmp 0x40646c
mov eax, dword [edi]
jmp 0x406535
mov eax, dword [edi]
jmp 0x40656d
mov eax, dword [edi]
jmp 0x406595
mov edi, dword [edi]
jmp 0x4065bb
push 0x4433c8
lea esi, [esp + 0x20]
call fcn.0040b450
add esp, 4
mov esi, eax
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov dword [esp + 0x40], edi
mov byte [esp + 0x38], 5
jne 0x406729
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
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 0x40670f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4064aa
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
xor eax, eax
jmp 0x40687a
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x20]
lea eax, [esp + 0x14]
call fcn.00402520
lea edx, [esp + 0x44]
push edx
push 0x4430ec
push edi
mov dword [esp + 0x50], 0
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
mov edx, dword [esp + 0x44]
test edx, edx
jne 0x40675e
xor eax, eax
jmp 0x406772
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406763
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x1c]
call fcn.00403540
mov ebp, dword [esp + 0x18]
mov ecx, str..._styles_images_logo.gif
mov eax, ebp
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4067b6
test dx, dx
je 0x4067b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4067b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x406790
xor eax, eax
jmp 0x4067bb
sbb eax, eax
sbb eax, 0xffffffff
mov ebx, dword [esp + 0x14]
test eax, eax
sete al
test al, al
je 0x4067d5
push ebx
push 0x4430ec
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
mov esi, dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
call esi
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4067ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406824
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406849
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40686a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x406875
push eax
call esi
mov eax, 1
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