Function at 0x419d20
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5684f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x70]
xor edx, edx
mov esi, dword [ebp + 0x48]
mov eax, ecx
sar eax, 0x10
mov ebx, ecx
and ecx, 0xffff
shl eax, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov eax, dword [esi + eax]
lea esi, [ebp + 0x10]
shl ecx, 5
mov dword [esp + 0x20], ecx
push edi
mov ecx, dword [eax + ecx + 0xc]
mov dword [esp + 0x34], ebp
and ecx, 0xffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 8], edx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, esi
mov edi, dword [edx]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Split_void_]
mov eax, dword [esi + 8]
cmp eax, edi
jae 0x419da2
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jbe 0x419de3
mov ecx, dword [esi + 4]
sub eax, edi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esi + 8]
add esp, 0xc
sub eax, edi
mov ecx, esi
push 0
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x419de1
mov eax, dword [esp + 0x2c]
mov ecx, esi
push eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], ecx
push 6
lea ecx, [esp + 0x3c]
call fcn.0041a670
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x40]
jmp 0x419e14
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
shl ecx, 5
add ecx, eax
push ecx
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0041ab80
add esp, 8
xor edi, edi
cmp eax, 1
mov dword [esp + 0x28], eax
jne 0x419fc2
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x2c]
cmp ecx, eax
jne 0x419e4c
push edi
mov ecx, ebp
call fcn.00419830
mov esi, dword [ebp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
lea edx, [esi + 1]
mov dword [esp + 0x10], esi
mov dword [ebp + 0x2c], edx
jne 0x419e65
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 0x48]
mov eax, esi
mov edx, esi
sar eax, 0x10
and edx, 0xffff
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x74]
shl edx, 5
add eax, edx
mov edx, ecx
sar edx, 0x10
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], 0
mov ebx, dword [ebp + 0x48]
and ecx, 0xffff
shl ecx, 5
mov edx, dword [ebx + edx*4]
lea edx, [edx + ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x419efc
mov edx, ecx
and ecx, 0xffff
sar edx, 0x10
shl edx, 2
shl ecx, 5
mov edi, dword [edx + ebx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + ecx + 0x1c]
mov edi, ecx
mov dword [esp + 0x2c], ecx
sar edi, 0x10
and ecx, 0xffff
mov edi, dword [ebx + edi*4]
shl ecx, 5
mov dword [edi + ecx + 0x18], esi
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 0x48]
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x28]
mov dword [edx + ecx + 0x1c], esi
mov dword [eax + 0xc], 0
jmp 0x419f08
mov dword [edx], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0x80000
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
add edx, ecx
mov ecx, dword [eax + 0xc]
and ecx, 0xffff0000
mov dword [eax + 0x14], 0
or edx, ecx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
shl edx, 5
mov edx, dword [edx + ecx + 4]
mov dword [eax], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
shl ecx, 5
mov ecx, dword [ecx + edx + 8]
mov edx, dword [eax + 8]
and edx, 0xffd00000
add edx, ecx
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov edi, ecx
shl edi, 5
test byte [edi + ebx + 0xe], 1
je 0x419f91
mov ecx, dword [esp + 0x74]
and edx, 0x2fffff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x38]
shl edx, 5
mov edx, dword [edx + ecx + 8]
mov dword [eax + 4], edx
jmp 0x419e0c
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
inc edi
inc ecx
cmp ecx, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], ecx
jne 0x419e10
lea eax, [eax + eax + 6]
lea ecx, [esp + 0x38]
push eax
call fcn.0041a670
jmp 0x419e0c
test eax, eax
jne 0x41a163
mov edi, dword [esp + 0x14]
mov esi, ebx
mov eax, edi
test eax, eax
je 0x41a034
shl eax, 5
mov dword [esp + 0x1c], eax
jmp 0x419fe3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + ecx - 0xc]
test eax, eax
jne 0x419ff4
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x78]
push eax
call fcn.0041a5b0
test al, al
jne 0x41a02c
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x48]
mov edx, esi
sub ecx, 0x20
sar edx, 0x10
and esi, 0xffff
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + edx*4]
dec edi
shl esi, 5
test edi, edi
mov esi, dword [ecx + esi + 0x10]
jne 0x419fdf
jmp 0x41a034
test edi, edi
jne 0x41a108
mov edx, dword [ebp + 0x48]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax]
mov edx, dword [esp + 0x24]
lea eax, [ecx + edx + 0xc]
mov edx, dword [ecx + edx + 0xc]
or edx, 0x800000
mov dword [eax], edx
mov ecx, dword [ebp + 0x48]
mov eax, ebx
mov edx, ebx
sar eax, 0x10
and edx, 0xffff
mov eax, dword [ecx + eax*4]
shl edx, 5
mov ecx, dword [eax + edx + 0xc]
lea eax, [eax + edx + 0xc]
or ecx, 0x200000
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x419e06
mov edi, dword [esp + 0x78]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
sub ecx, eax
add ecx, 0x65
push ecx
call sub.MFC42.DLL_operatornew
lea edx, [esp + 0x58]
push edi
push edx
mov esi, eax
call fcn.0041a870
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x41a0b3
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
shl ecx, 5
mov ecx, dword [ecx + edx + 4]
push ecx
push eax
push str.No_start_tag_for_end_tag__s_at_offset__d
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x54]
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [ebp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x44]
add esp, 4
jmp 0x419e14
mov eax, dword [ebp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, esi
and esi, 0xffff
sar edx, 0x10
shl ecx, 5
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x38]
shl esi, 5
add ecx, edx
add eax, esi
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 4]
add edx, esi
mov esi, dword [eax]
sub edx, esi
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
shl ecx, 5
mov ecx, dword [ecx + edx + 8]
mov edx, dword [eax + 8]
and edx, 0x2fffff
shl ecx, 0x16
add edx, ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x28]
jmp 0x41a1ea
cmp eax, 0xffffffff
jne 0x41a1e1
mov eax, dword [ebp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + eax + 0xc]
lea eax, [edx + eax + 0xc]
or ecx, 0x800000
mov dword [eax], ecx
mov edx, dword [ebp + 0x48]
mov ecx, ebx
mov eax, ebx
sar ecx, 0x10
and eax, 0xffff
mov ecx, dword [edx + ecx*4]
shl eax, 5
lea eax, [ecx + eax + 0xc]
mov ecx, dword [eax]
or ecx, 0x200000
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x419e06
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
shl edx, 5
lea eax, [edx + eax + 0x10]
mov edx, dword [ecx]
push edx
push 0
push eax
lea ecx, [ebp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x40]
jmp 0x419e14
cmp eax, 0xfffffffe
jne 0x419e06
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jle 0x41a55c
mov eax, dword [ebp + 0x48]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + edx]
mov edx, dword [esp + 0x24]
lea eax, [eax + edx + 0xc]
mov edx, dword [eax]
or edx, 0x800000
mov dword [eax], edx
mov eax, ecx
sub eax, edi
sub ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
jmp 0x41a226
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x48]
mov eax, ebx
sar eax, 0x10
and ebx, 0xffff
mov esi, dword [ecx + eax*4]
shl ebx, 5
add esi, ebx
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
and edi, 0x2fffff
or ecx, 0x100000
mov eax, edi
mov dword [esp + 0x74], ebx
and eax, 0x2fffff
mov dword [esi + 8], edi
test ecx, 0x200000
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
mov dword [esi + 4], eax
je 0x41a2a6
xor ecx, 0x200000
mov eax, ebx
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x48]
mov edi, ebx
sar eax, 0x10
and edi, 0xffff
mov eax, dword [ecx + eax*4]
shl edi, 5
mov ecx, dword [eax + edi + 0xc]
lea eax, [eax + edi + 0xc]
or ecx, 0x200000
mov dword [eax], ecx
test edx, edx
je 0x41a308
mov edi, dword [ebp + 0x48]
mov eax, edx
mov ecx, edx
sar eax, 0x10
shl eax, 2
and ecx, 0xffff
mov edi, dword [eax + edi]
shl ecx, 5
mov dword [edi + ecx + 0x10], ebx
mov edi, dword [ebp + 0x48]
mov ebx, dword [edi + eax]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [ebx + ecx + 0x1c], edi
mov ebp, dword [ebp + 0x48]
mov ebx, edi
and edi, 0xffff
sar ebx, 0x10
shl edi, 5
mov ebx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x34]
mov dword [ebx + edi + 0x18], edx
mov edi, dword [ebp + 0x48]
mov ebx, dword [esp + 0x74]
mov edx, dword [eax + edi]
mov edx, dword [edx + ecx + 0x18]
test edx, edx
jne 0x41a2ad
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x18]
dec ecx
mov dword [esp + 0x10], ebx
test eax, eax
mov dword [esp + 0x40], ecx
jne 0x41a512
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41a427
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
shl ecx, 5
mov edx, dword [ebx + 4]
mov edi, dword [ebx]
mov ecx, dword [ecx + eax + 0x18]
sub edx, edi
lea eax, [edx + ecx + 0x65]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
shl ecx, 5
mov edi, eax
add esp, 4
lea eax, [ecx + edx + 0x10]
mov dword [esp + 0x1c], edi
mov eax, dword [eax + 4]
test eax, eax
jne 0x41a370
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x44]
push ebx
push ecx
mov dword [esp + 0x7c], eax
call fcn.0041a870
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x41a38e
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edx, dword [esi]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [ebx]
dec edx
push ecx
push edx
push eax
push str.End_tag__s_at_offset__d_does_not_match_start_tag__s_at_offset__d
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x60]
xor esi, esi
add esp, 0x18
cmp eax, esi
je 0x41a3d1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41a3c8
cmp al, 0xff
je 0x41a3c8
dec al
mov byte [ecx], al
jmp 0x41a3d1
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov ebx, ecx
lea esi, [ebp + 0x10]
push 1
push ebx
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x41a41d
mov edi, dword [esi + 4]
mov esi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], ebx
add ebx, eax
mov byte [ebx], 0
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x41a506
mov edx, dword [esp + 0x38]
shl ecx, 5
mov ecx, dword [ecx + edx + 0x18]
add ecx, 0x64
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x44]
add esp, 4
shl eax, 5
add eax, ecx
mov dword [esp + 0x74], esi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x41a45e
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edx, dword [eax + 4]
push edx
push ecx
push str.Element__s_at_offset__d_not_ended
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x41a48b
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebp + 0x14]
lea edi, [ebp + 0x10]
test ecx, ecx
je 0x41a4b4
mov al, byte [ecx - 1]
test al, al
je 0x41a4b4
cmp al, 0xff
je 0x41a4b4
test ebx, ebx
jne 0x41a4da
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x41a505
test ebx, ebx
jne 0x41a4c4
push 1
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x41a505
mov eax, dword [edi + 0xc]
cmp eax, 0x1f
ja 0x41a4d0
cmp eax, ebx
jae 0x41a4e3
push 1
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [edi + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x74]
mov dword [ebp + 0x18], ebx
add ebx, eax
mov byte [ebx], 0
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x44]
add esp, 4
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x41a222
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
cmp eax, 0xfffffffe
je 0x41a562
mov eax, dword [ebp + 0x48]
mov edx, ebx
sar edx, 0x10
and ebx, 0xffff
mov edx, dword [eax + edx*4]
shl ebx, 5
dec ecx
mov eax, dword [edx + ebx + 0x10]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], eax
dec dword [esp + 0x14]
jmp 0x419e10
mov ecx, dword [esp + 0x40]
jmp 0x41a529
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], 0xffffffff
test eax, eax
je 0x41a58f
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x405450
push ecx
push 0x20
push eax
call fcn.005654c6
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8