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

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
push str.db_rebuild
push edi
call fcn.0040c5d0
xor ebx, ebx
cmp dword [0x598104], ebx
jne 0x41e23e
push ebp
push esi
mov esi, dword [esp + 0x18]
push esi
push str.create_db__d_n
call fcn.0048f0d0
push str.save_run_history_n
call fcn.0048f0d0
add esp, 0xc
push edi
call fcn.004556e0
cmp esi, ebx
je 0x41de7a
push str.set_ood_n
call fcn.0048f0d0
add esp, 4
push edi
call fcn.0040c150
push str.clear_queries_n
call fcn.0048f0d0
mov esi, dword [edi + 0x294]
add esp, 4
cmp esi, ebx
je 0x41df3a
push esi
call fcn.004526e0
lea eax, [esi + 4]
push eax
call fcn.004013d0
lea ecx, [esi + 0x1c]
push ecx
call fcn.004013d0
lea edx, [esi + 0x34]
push edx
call fcn.004013d0
lea eax, [esi + 0x4c]
push eax
call fcn.004013d0
lea ecx, [esi + 0x64]
push ecx
call fcn.004013d0
lea edx, [esi + 0x7c]
push edx
call fcn.004013d0
push esi
call fcn.00442d70
push esi
push 0x442d90
call fcn.00496c90
push esi
push 0x442dd0
call fcn.00496c90
push esi
push fcn.00442df0
call fcn.00496c90
mov eax, dword [esi + 0x254]
cmp eax, ebx
mov dword [esi + 0x284], ebx
je 0x41df14
push eax
call fcn.004a4a00
mov dword [esi + 0x254], ebx
push esi
call fcn.00437b30
push esi
call fcn.00420cc0
mov eax, dword [esi + 0x278]
mov dword [esi + 0x2c8], eax
mov esi, dword [esi + 0x258]
cmp esi, ebx
jne 0x41de95
push str.clear_folder_updates_n
call fcn.0048f0d0
add esp, 4
push edi
call fcn.0043e5a0
mov eax, dword [edi + 0x28]
cmp eax, ebx
mov dword [edi + 0x10], ebx
je 0x41df60
push eax
call fcn.004a4a00
mov dword [edi + 0x28], ebx
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x41df70
push eax
call fcn.004a4a00
mov dword [edi + 0x2c], ebx
lea ecx, [edi + 0x1cc]
push ecx
call fcn.004013d0
lea edx, [edi + 0x1e4]
push edx
call fcn.004013d0
push edi
call fcn.004552a0
lea eax, [edi + 0x200]
push eax
call fcn.004013d0
lea ecx, [edi + 0x218]
push ecx
call fcn.004013d0
lea edx, [edi + 0x230]
push edx
call fcn.004013d0
lea eax, [edi + 0x248]
push eax
call fcn.004013d0
lea ecx, [edi + 0x260]
push ecx
call fcn.004013d0
push str.clear_monitors_n
mov dword [edi + 0x278], ebx
mov dword [edi + 0x27c], ebx
call fcn.0048f0d0
add esp, 4
push edi
call fcn.0043eab0
push str.destroy_service_n
call fcn.0048f0d0
mov eax, dword [edi + 0x2d8]
add esp, 4
cmp eax, ebx
je 0x41e00c
push eax
call fcn.004b8d30
mov dword [edi + 0x2d8], ebx
push str.clear_read_dir_changes_n
mov dword [edi + 0x2dc], ebx
call fcn.0048f0d0
add esp, 4
push edi
call fcn.0043f450
cmp dword [edi + 0x348], ebx
je 0x41e038
call fcn.004c02e0
mov dword [edi + 0x348], ebx
push str.clear_filelist_monitor_n
call fcn.0048f0d0
add esp, 4
push edi
call fcn.0043c200
lea edx, [edi + 0x2a4]
push edx
mov dword [edi + 0x324], ebx
mov dword [edi + 0x328], ebx
call fcn.004013d0
lea eax, [edi + 0x2bc]
push eax
call fcn.004013d0
mov dword [edi + 0x29c], ebx
mov dword [edi + 0x2a0], ebx
mov dword [edi + 0x380], ebx
mov dword [edi + 0x37c], ebx
movsx ecx, byte [0x58a6cf]
mov dword [edi + 0x1fc], ecx
mov edx, dword [0x58deec]
mov eax, dword [edx + 0x78]
push eax
push edi
call fcn.0040cda0
add dword [edi + 0x10], 1
push str.remove_events_n
mov dword [edi + 4], ebx
call fcn.0048f0d0
add esp, 0xc
push edi
push 0x413d30
call fcn.00496c90
push edi
push 0x4135f0
call fcn.00496c90
push edi
push 0x4137d0
call fcn.00496c90
push edi
push fcn.0043dc80
call fcn.00496c90
push edi
push fcn.004100e0
call fcn.00496c90
push 0x68
call fcn.004a49a0
push 0x68
mov esi, eax
push ebx
push esi
call fcn.00549e40
push str.create_volume_list_n
mov dword [esi], edi
call fcn.0048f0d0
add esp, 0x10
push 1
call fcn.004a7520
push 1
mov dword [esi + 4], eax
call fcn.004b66e0
lea ecx, [esi + 0x3c]
push ecx
mov dword [esi + 8], eax
call fcn.0048e400
movsx edx, byte [0x58a711]
mov ebp, dword [esi + 4]
cmp ebp, ebx
mov dword [esi + 0x38], edx
je 0x41e171
mov edi, edi
cmp byte [ebp + 0x20], bl
je 0x41e16a
cmp byte [ebp + 0x21], bl
jne 0x41e16a
movsx eax, byte [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [ebp + 8]
push 1
push eax
push ecx
push edx
call fcn.004065c0
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x41e140
mov ebp, dword [esi + 8]
cmp ebp, ebx
je 0x41e1a9
cmp byte [ebp + 0x20], bl
je 0x41e1a2
cmp byte [ebp + 0x21], bl
jne 0x41e1a2
movsx eax, byte [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 4]
push 1
push eax
push ecx
push edx
call fcn.00406880
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x41e178
push str.copy_config_n
call fcn.0048f0d0
mov eax, dword [0x5980e8]
add esp, 4
push eax
lea ecx, [esi + 0x10]
push ecx
lea edx, [esi + 0xc]
push edx
call fcn.004081c0
mov eax, dword [0x5980f0]
push eax
lea ecx, [esi + 0x18]
push ecx
lea edx, [esi + 0x14]
push edx
call fcn.00408290
lea ebp, [esi + 0x1c]
push ebp
call fcn.0041f050
push ebp
call fcn.0041fbc0
push str.fire_create_events_n
call fcn.0048f0d0
mov ebp, dword [edi + 0x294]
add esp, 4
cmp ebp, ebx
je 0x41e222
push ebp
push 0x442d90
call fcn.00496d10
push ebp
push 0x4495a0
call fcn.00496d10
mov ebp, dword [ebp + 0x258]
cmp ebp, ebx
jne 0x41e202
push str.start_rebuild_thread_n
call fcn.0048f0d0
add esp, 4
push esi
push 0x416d80
call fcn.004b1f80
pop esi
mov dword [edi], eax
pop ebp
pop edi
pop ebx
ret 8