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

Disassembly:
push 0xffffffffffffffff
push 0x445ad5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
mov ebx, ecx
push ebp
push esi
lea eax, [ebx + 0xc8]
push edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax]
cmp esi, eax
je 0x433933
mov eax, dword [esp + 0x90]
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x4338ff
mov ebp, 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 edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 0xc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [edx + 8]
push ebp
xor ebp, ebp
push ecx
push ebp
mov ecx, edx
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const___unsigned_int_const]
cmp eax, ebp
je 0x433b62
mov esi, dword [esi]
mov eax, dword [ebx + 0xa8]
cmp esi, eax
jne 0x4338eb
xor ebp, ebp
cmp esi, dword [ebx + 0xa8]
jne 0x43395c
mov edx, dword [esp + 0x90]
mov eax, dword [ebx + 0xa8]
lea ecx, [ebx + 0xa4]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00434760
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea edx, [esp + 0x13]
lea ecx, [esp + 0x3c]
push edx
mov dword [esp + 0x8c], ebp
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebp
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 3
call fcn.004385c0
mov dword [esp + 0x6c], ebp
push str.__xml_version_1.0__encoding____
lea ecx, [esp + 0x30]
mov dword [esp + 0x8c], 4
call fcn.004385c0
push ebp
push ebp
push str.tasks
lea ecx, [esp + 0x38]
call fcn.0043cd40
lea ecx, [esp + 0x2c]
call fcn.00439910
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax]
cmp esi, eax
je 0x433a7a
push ebp
push ebp
push str.item
lea ecx, [esp + 0x38]
call fcn.0043cd40
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x54]
push 0x4659a4
push eax
call fcn.0043bd70
mov eax, dword [esi + 0x10]
cmp eax, ebp
jne 0x433a1f
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 + 0x50]
push eax
push 0x4549f8
push ecx
lea ecx, [esp + 0x38]
call fcn.0043bdb0
mov eax, dword [esi + 0x20]
cmp eax, ebp
jne 0x433a3f
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 [esp + 0x50]
push eax
push 0x45414c
push edx
lea ecx, [esp + 0x38]
call fcn.0043bdb0
mov eax, dword [esi + 8]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x54]
push str.method
push eax
call fcn.0043bd70
mov esi, dword [esi]
mov eax, dword [ebx + 0xa8]
cmp esi, eax
jne 0x4339ec
lea ecx, [esp + 0x2c]
call fcn.00439950
mov cl, byte [ebx + 0x68]
add ebx, 0x68
mov byte [esp + 0x1c], cl
push ebp
lea ecx, [esp + 0x20]
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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x1c]
mov eax, dword [edx]
push eax
push ebp
push ebx
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 edi, str.tasks.xml
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x88], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x24]
sub edx, ecx
cmp edx, esi
ja 0x433ade
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp esi, ebp
jbe 0x433b24
mov eax, dword [esp + 0x24]
push ebp
lea ecx, [esp + 0x20]
lea ebx, [eax + esi]
push ebx
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 0x433b24
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.tasks.xml
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
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_]
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x433b31
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]
push eax
lea ecx, [esp + 0x30]
call fcn.00438a80
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x433b82
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x433b79
cmp al, 0xff
je 0x433b79
dec al
mov byte [ecx], al
jmp 0x433b82
mov eax, dword [esp + 0x90]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov eax, dword [eax + 0x24]
mov dword [esi + 0x2c], eax
jmp 0x433935
push ecx
call fcn.0041da60
add esp, 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], 7
call fcn.00433470
cmp dword [esp + 0x70], ebp
je 0x433bb1
lea ecx, [esp + 0x70]
call fcn.00433420
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], ebp
mov byte [esp + 0x8c], 6
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 ecx, dword [esp + 0x30]
pop edi
pop esi
cmp ecx, ebp
pop ebp
pop ebx
je 0x433c02
mov al, byte [ecx - 1]
test al, al
je 0x433bf8
cmp al, 0xff
je 0x433bf8
dec al
mov byte [ecx - 1], al
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
dec ecx
push ecx
call fcn.0041da60
add esp, 4
mov ecx, dword [esp + 0x70]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x7c
ret 4