Function at 0x401e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x405d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40a018]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
lea eax, [esp + 0x44]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.jfdom.dll_public:_class_jfDomNodeList___thiscall_jfDomNode::getChildNodes_void_]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0xb0], 1
call dword [sym.imp.jfdom.dll_public:_unsigned_int___thiscall_jfDomNodeList::getLength_void_const]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x18], eax
jbe 0x401f70
mov eax, dword [esp + 0x38]
and eax, 3
or eax, 3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
push ebp
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb8], 2
call dword [sym.imp.jfdom.dll_public:_class_jfDomNode___thiscall_jfDomNodeList::item_unsigned_int_]
lea edi, [esp + 0x34]
mov ebx, eax
mov byte [esp + 0xb0], 3
call fcn.00401c70
lea ecx, [esp + 0x30]
mov bl, al
mov byte [esp + 0xb0], 2
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNode::destructor_void_]
test bl, bl
je 0x401f36
mov esi, dword [esp + 0x20]
test esi, esi
mov edx, dword [esp + 0x24]
je 0x401f11
mov ecx, dword [esp + 0x28]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 4
sar ecx, 4
cmp eax, ecx
jae 0x401f11
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
push eax
push ecx
push 1
push edx
mov ecx, edi
mov esi, edx
call fcn.00403c60
add esp, 0x10
add esi, 0x10
mov dword [esp + 0x24], esi
jmp 0x401f36
cmp esi, edx
mov edi, edx
jbe 0x401f1d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x2c]
call fcn.00403580
lea ecx, [esp + 0x38]
mov byte [esp + 0xb0], 4
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 1
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNode::destructor_void_]
add ebp, 1
xor ebx, ebx
cmp ebp, dword [esp + 0x18]
jb 0x401e71
lea esp, [esp]
mov esi, dword [esp + 0x20]
cmp esi, ebx
mov edi, dword [esp + 0x24]
je 0x4024c6
mov eax, edi
sub eax, esi
sar eax, 4
je 0x4024c6
cmp eax, ebx
ja 0x401f9b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x38]
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNode::constructor_class_jfDomNode_const__]
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb4], 5
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::constructor_class_jfString_const__]
mov dl, byte [esi + 0xc]
mov byte [esp + 0x40], dl
mov al, byte [esi + 0xd]
mov byte [esp + 0x41], al
mov edi, 1
mov byte [esp + 0xb0], 6
xor bl, bl
lea ebp, [edi + 0xf]
lea esp, [esp]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esp + 0x24]
je 0x4020b0
mov esi, eax
sub esi, ecx
sar esi, 4
cmp edi, esi
jae 0x4020b0
test bl, bl
jne 0x4020b8
cmp edi, esi
jb 0x402015
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
lea esi, [ecx + ebp]
push esi
lea ecx, [esp + 0x5c]
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNode::constructor_class_jfDomNode_const__]
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], 7
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::constructor_class_jfString_const__]
mov dl, byte [esi + 0xc]
mov byte [esp + 0x64], dl
mov al, byte [esi + 0xd]
mov byte [esp + 0x65], al
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], 8
call dword [sym.imp.jfutility.dll_public:_int___thiscall_jfString::CompareCase_class_jfString_const__const]
test eax, eax
jne 0x402081
mov al, byte [esp + 0x64]
test al, al
jne 0x402070
cmp byte [esp + 0x40], al
jmp 0x402074
cmp al, byte [esp + 0x40]
je 0x40207d
mov eax, 1
jmp 0x40207f
xor eax, eax
mov bl, al
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 9
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0xb0], 6
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNode::destructor_void_]
add edi, 1
add ebp, 0x10
jmp 0x401fe0
test bl, bl
je 0x40242d
mov edi, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0x10
lea esp, [esp]
test ecx, ecx
je 0x402313
sub eax, ecx
sar eax, 4
cmp edi, eax
jae 0x402313
mov edx, dword [esp + 0x2c]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea esi, [ecx + edx]
push esi
lea ecx, [esp + 0x4c]
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNode::constructor_class_jfDomNode_const__]
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xb4], 0xa
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::constructor_class_jfString_const__]
mov cl, byte [esi + 0xc]
mov byte [esp + 0x54], cl
mov dl, byte [esi + 0xd]
mov byte [esp + 0x55], dl
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xb4], 0xb
call dword [sym.imp.jfutility.dll_public:_int___thiscall_jfString::CompareCase_class_jfString_const__const]
test eax, eax
jne 0x4022d6
cmp byte [esp + 0xbc], al
je 0x40216b
mov ebp, dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::constructor_char_const__]
push str.global
lea ecx, [esp + 0x74]
call ebp
mov edi, eax
mov byte [esp + 0xb0], 0xc
or dword [esp + 0x14], 1
jmp 0x402192
push str.once
lea ecx, [esp + 0x7c]
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::constructor_char_const__]
mov edi, eax
mov dword [esp + 0xb0], 0xd
or dword [esp + 0x14], 2
mov ebp, dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::constructor_char_const__]
push str.match
lea ecx, [esp + 0x8c]
call ebp
mov esi, eax
push str.bind
lea ecx, [esp + 0x84]
mov dword [esp + 0xb4], 0xe
call ebp
mov ecx, dword [esp + 0xb8]
push edi
push esi
push ecx
mov ecx, eax
lea edi, [esp + 0x54]
mov byte [esp + 0xbc], 0xf
call fcn.00401ad0
add esp, 0xc
lea ecx, [esp + 0x80]
mov byte [esp + 0xb0], 0xe
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::destructor_void_]
lea ecx, [esp + 0x88]
mov byte [esp + 0xb0], 0xd
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::destructor_void_]
mov dword [esp + 0xb0], 0xc
test byte [esp + 0x14], 2
je 0x402226
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x78]
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::destructor_void_]
mov dword [esp + 0xb0], 0xb
test byte [esp + 0x14], 1
je 0x402247
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x70]
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::destructor_void_]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, eax
mov esi, ecx
jbe 0x40225f
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
lea ebp, [edx + esi]
cmp ebp, eax
ja 0x40226e
cmp ebp, ecx
jae 0x402274
call ebx
mov eax, dword [esp + 0x24]
lea edi, [ebp + 0x10]
cmp edi, eax
mov dword [esp + 0x18], eax
je 0x4022b8
mov ebx, edi
lea esi, [ebp + 0xc]
sub ebx, ebp
push edi
lea ecx, [esi - 0xc]
call dword [sym.imp.jfdom.dll_public:_class_jfDomNode____thiscall_jfDomNode::operator_class_jfDomNode_const__]
lea eax, [edi + 4]
push eax
lea ecx, [esi - 8]
call dword [sym.imp.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_class_jfString_const__]
mov cl, byte [ebx + esi]
mov byte [esi], cl
mov dl, byte [edi + 0xd]
mov byte [esi + 1], dl
add edi, 0x10
add esi, 0x10
cmp edi, dword [esp + 0x18]
jne 0x402286
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea ecx, [eax - 0x10]
push edx
push ecx
mov edi, eax
call fcn.00403bf0
mov edi, dword [esp + 0x38]
add esp, 8
sub dword [esp + 0x24], 0x10
jmp 0x4022e2
add edi, 1
add dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb0], 0x10
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 6
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNode::destructor_void_]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x4020d0
cmp byte [esp + 0xbc], 0
je 0x40233f
mov ebp, dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::constructor_char_const__]
push str.global
lea ecx, [esp + 0x6c]
call ebp
mov edi, eax
mov byte [esp + 0xb0], 0x11
or dword [esp + 0x14], 4
jmp 0x402369
push str.once
lea ecx, [esp + 0x9c]
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::constructor_char_const__]
mov edi, eax
mov dword [esp + 0xb0], 0x12
or dword [esp + 0x14], 8
mov ebp, dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::constructor_char_const__]
push str.match
lea ecx, [esp + 0xa4]
call ebp
mov esi, eax
push str.bind
lea ecx, [esp + 0x94]
mov dword [esp + 0xb4], 0x13
call ebp
mov ecx, dword [esp + 0xb8]
push edi
push esi
push ecx
mov ecx, eax
lea edi, [esp + 0x40]
mov byte [esp + 0xbc], 0x14
call fcn.00401ad0
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xb0], 0x13
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::destructor_void_]
lea ecx, [esp + 0xa0]
mov byte [esp + 0xb0], 0x12
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::destructor_void_]
mov dword [esp + 0xb0], 0x11
mov ebx, dword [esp + 0x14]
test bl, 8
je 0x402404
and ebx, 0xfffffff7
lea ecx, [esp + 0x98]
mov dword [esp + 0x14], ebx
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::destructor_void_]
test bl, 4
mov dword [esp + 0xb0], 6
je 0x402425
and ebx, 0xfffffffb
lea ecx, [esp + 0x68]
mov dword [esp + 0x14], ebx
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfLiteral::destructor_void_]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, eax
mov esi, ecx
mov dword [esp + 0x18], esi
jbe 0x402441
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
lea edi, [esi + 0x10]
cmp edi, eax
mov ebx, eax
je 0x402483
mov ebp, edi
add esi, 0xc
sub ebp, dword [esp + 0x18]
push edi
lea ecx, [esi - 0xc]
call dword [sym.imp.jfdom.dll_public:_class_jfDomNode____thiscall_jfDomNode::operator_class_jfDomNode_const__]
lea edx, [edi + 4]
push edx
lea ecx, [esi - 8]
call dword [sym.imp.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_class_jfString_const__]
mov al, byte [esi + ebp]
mov byte [esi], al
mov cl, byte [edi + 0xd]
mov byte [esi + 1], cl
add edi, 0x10
add esi, 0x10
cmp edi, ebx
jne 0x402453
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea ecx, [eax - 0x10]
push edx
push ecx
mov edi, eax
call fcn.00403bf0
sub dword [esp + 0x2c], 0x10
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0xb0], 0x15
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 1
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNode::destructor_void_]
xor ebx, ebx
jmp 0x401f70
cmp esi, ebx
mov byte [esp + 0xb0], 0
je 0x4024ea
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.00403bf0
mov ecx, dword [esp + 0x28]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 0xc
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xb0], 0xffffffff
call dword [sym.imp.jfdom.dll_public:_void___thiscall_jfDomNodeList::destructor_void_]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret