Function at 0x41d4e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x593639
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [0x63dd80]
push str..TunnellerSyncItemStatesReq.cpp
push 0x89
push str.CTunnellerSyncItemStatesReq::_BeforeExecute
call fcn.0041ac10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.Creating_item_list_for_synchronization
mov dword [esp + 0x1c], eax
mov eax, dword [0x63dd80]
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.CTunnellerSyncItemStatesReq::_BeforeExecute
push 3
push eax
call edx
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
mov edi, dword [ebp + 0x48]
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov esi, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x48]
test edi, edi
je 0x41d56e
cmp edi, eax
je 0x41d574
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x41d713
test edi, edi
jne 0x41d69d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x41d597
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 8]
push 0
push 0x63c34c
push 0x63c32c
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41d6eb
cmp byte [esi + 0xcd], 0
je 0x41d6eb
cmp byte [esi + 0xcc], 0
je 0x41d6eb
mov ecx, dword [esi + 0xc8]
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x64]
lea edi, [ebp + 0x64]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x2c], eax
call fcn.00405800
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x41d60d
cmp eax, dword [esp + 0x24]
je 0x41d613
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
cmp dword [ebx + 4], eax
jne 0x41d6e3
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
push esi
call fcn.0044e1e0
push esi
mov byte [esp + 0x3c], al
call fcn.0044e090
mov ecx, dword [esi + 0xc8]
lea edx, [esp + 0x14]
push edx
mov ebx, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
call fcn.00405750
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [esp + 0x14], str.active
cmp cl, 1
je 0x41d678
mov dword [esp + 0x14], str.inactive
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.00401fb0
mov dword [esp + 0x68], 0
cmp dword [eax + 0x18], 8
mov edx, dword [esi + 0xc8]
jb 0x41d6a4
mov ecx, dword [eax + 4]
jmp 0x41d6a7
mov eax, dword [edi]
jmp 0x41d58c
lea ecx, [eax + 4]
mov eax, dword [0x63dd80]
mov ebx, dword [eax]
push edi
mov edi, dword [esp + 0x18]
push edi
push edx
push ecx
push str.Adding_item___ls__to_list__ID__d___state__ls___update_rate__d_ms__
push str.CTunnellerSyncItemStatesReq::_BeforeExecute
push 3
push eax
mov eax, dword [ebx]
call eax
add esp, 0x20
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esi + 0xcd], 0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x41d70f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x41d702
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx]
mov dword [esp + 0x20], ecx
mov ebx, ecx
jmp 0x41d560
mov eax, dword [edi]
jmp 0x41d6f7
mov eax, dword [ebp + 0x80]
test eax, eax
jbe 0x41d86c
mov ecx, dword [0x63dd80]
push eax
push str.__d__total_items_to_synchronize
mov dword [ebp + 0x90], eax
mov edx, dword [ecx]
mov eax, dword [edx]
push str.CTunnellerSyncItemStatesReq::_BeforeExecute
push 3
push ecx
call eax
mov ecx, dword [ebp + 0x90]
mov esi, dword [sym.imp.MSVCR90.dll_malloc]
add ecx, ecx
add ecx, ecx
add esp, 0x14
push ecx
call esi
mov edx, dword [ebp + 0x90]
add edx, edx
add edx, edx
add esp, 4
push edx
mov dword [ebp + 0x84], eax
call esi
mov dword [ebp + 0x88], eax
mov eax, dword [ebp + 0x90]
add esp, 4
push eax
call esi
xor ebx, ebx
add esp, 4
mov dword [ebp + 0x8c], eax
cmp dword [ebp + 0x84], ebx
je 0x41d887
cmp dword [ebp + 0x88], ebx
je 0x41d887
test eax, eax
je 0x41d887
mov ecx, dword [ebp + 0x7c]
mov esi, dword [ecx]
mov edi, dword [ebp + 0x64]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
lea ebx, [ebx]
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x28], edx
test edi, edi
je 0x41d7d2
cmp edi, eax
je 0x41d7d8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x28]
je 0x41d887
test edi, edi
jne 0x41d864
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x41d7f9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
test edi, edi
jne 0x41d868
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 0x18]
jne 0x41d823
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp + 0x84]
cmp byte [esp + 0x38], 1
mov dword [eax + ebx*4], ecx
mov edx, dword [ebp + 0x88]
mov eax, dword [esp + 0x3c]
mov dword [edx + ebx*4], eax
mov edx, dword [ebp + 0x8c]
sete cl
mov byte [ebx + edx], cl
lea esi, [esp + 0x1c]
inc ebx
call fcn.00405e00
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x41d7c0
mov eax, dword [edi]
jmp 0x41d7ee
mov edi, dword [edi]
jmp 0x41d818
mov eax, dword [0x63dd80]
mov ecx, dword [eax]
mov edx, dword [ecx]
push str._There_are_no_items_ready_to_synchronize
push str.CTunnellerSyncItemStatesReq::_BeforeExecute
push 3
push eax
call edx
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [esp + 0x18]
sub eax, ebx
cmp eax, 0x1f4
jbe 0x41d8c2
mov eax, dword [0x63dd80]
mov esi, dword [eax]
call edi
mov ecx, dword [0x63dd80]
mov edx, dword [esi]
sub eax, ebx
push eax
push str.Function_execution_took__d_ms
push str.CTunnellerSyncItemStatesReq::_BeforeExecute
push 2
push ecx
call edx
add esp, 0x14
mov ecx, dword [0x63dd80]
push 0
push 0x5d1d25
push str..TunnellerSyncItemStatesReq.cpp
push 0xe4
push str.CTunnellerSyncItemStatesReq::_BeforeExecute
call fcn.0041aca0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret