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

Disassembly:
push 0xffffffffffffffff
push 0x5c2731
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [esp + 4], ecx
mov ecx, dword [0x695738]
push 0xc8
call fcn.00409ec0
test al, al
jne 0x408de9
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x24], bl
je 0x408dcd
mov edx, dword [0x695730]
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [esp + 0x24], cx
mov esi, 7
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
call fcn.00402610
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x6c], ebx
cmp byte [0x69572c], bl
je 0x408aa5
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
xor eax, eax
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
call fcn.00402610
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
push 1
push 0x5fd4a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.004024f0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x28]
call fcn.004023f0
push 2
push 0x5f7f1c
lea ecx, [esp + 0x24]
call fcn.004024f0
mov eax, dword [esp + 0x5c]
push eax
mov byte [esp + 0x70], bl
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0x54], edi
jb 0x408aaa
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00584768
add esp, 4
jmp 0x408aaa
mov edi, 8
cmp dword [esp + 0x2c], 0x7fff
jbe 0x408ac9
push str.JobThread::ProcessFiles
push str.DEBUG:__s:_Path_is_too_long_
push ebx
call sub.zenwinx.dll_winx_dbg_print
add esp, 0xc
jmp 0x408b28
push 0xd
xor edx, edx
push str.UD_CUT_FILTER
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
call fcn.00402710
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x74], 2
call fcn.004327f0
mov edx, dword [esp + 0x64]
push edx
mov byte [esp + 0x78], bl
call fcn.005844d1
add esp, 0xc
cmp dword [esp + 0x54], edi
jb 0x408b28
mov eax, dword [esp + 0x40]
push eax
call fcn.00584768
add esp, 4
mov eax, dword [0x695730]
cmp dword [eax + 0x14], edi
jb 0x408b34
mov eax, dword [eax]
movzx eax, word [eax]
cmp eax, 0x80
jb 0x408b47
push eax
call fcn.004238f0
add esp, 4
mov byte [esp + 0x10], al
mov ebp, dword [esp + 0x10]
push ebx
push ebp
call sub.udefrag.dll_udefrag_validate_volume
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x408bf2
xor ecx, ecx
push 0xe
mov word [esp + 0x44], cx
push str.UD_DEEP_ACTION
lea ecx, [esp + 0x48]
mov esi, 0x10
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
call fcn.00402710
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov ecx, dword [0x695738]
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x70], 3
call fcn.00401ff0
mov edi, eax
mov eax, dword [esp + 0x5c]
push eax
mov byte [esp + 0x70], bl
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x54], 8
jb 0x408bcf
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00584768
add esp, 4
cmp edi, ebx
je 0x408bd8
mov esi, 0x30
push ebx
push 0x405ce0
push 0x4072a0
push ebx
push esi
push 1
push ebp
call sub.udefrag.dll_udefrag_start_job
add esp, 0x1c
mov edi, eax
call fcn.004bf5e0
test al, al
je 0x408c1b
call fcn.004bf5b0
mov ecx, dword [0x695738]
mov edx, dword [ecx]
mov eax, dword [edx + 0x244]
push ebx
push ebx
push 0x20
call eax
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, ebx
jge 0x408c99
mov ecx, dword [0x695738]
cmp byte [ecx + 0x23e], bl
jne 0x408d16
push 0x60
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x6c], 4
cmp esi, ebx
je 0x408c92
mov edx, dword [0x696740]
push edx
push 4
mov ecx, esi
call fcn.00424270
mov dword [esi + 0x40], 7
mov dword [esi + 0x3c], ebx
xor eax, eax
mov word [esi + 0x2c], ax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi], vtable.wxCommandEvent.0
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x29], 1
mov dword [esi + 0x20], 0x7fffffff
mov dword [esi + 0x50], edi
jmp 0x408d01
xor esi, esi
mov dword [esi + 0x50], edi
jmp 0x408d01
push 0x60
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x6c], 5
cmp esi, ebx
je 0x408cf7
mov ecx, dword [0x696740]
push ecx
push 0xd
mov ecx, esi
call fcn.00424270
mov dword [esi + 0x40], 7
mov dword [esi + 0x3c], ebx
xor edx, edx
mov word [esi + 0x2c], dx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi], vtable.wxCommandEvent.0
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x29], 1
mov dword [esi + 0x20], 0x7fffffff
jmp 0x408cf9
xor esi, esi
movsx eax, byte [esp + 0x10]
mov dword [esi + 0x50], eax
mov ecx, dword [0x695738]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push esi
mov byte [esp + 0x70], bl
call eax
push 0x60
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x6c], 6
cmp esi, ebx
je 0x408d74
mov ecx, dword [0x696740]
push ecx
push 6
mov ecx, esi
call fcn.00424270
mov dword [esi + 0x40], 7
mov dword [esi + 0x3c], ebx
xor edx, edx
mov word [esi + 0x2c], dx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi], vtable.wxCommandEvent.0
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x29], 1
mov dword [esi + 0x20], 0x7fffffff
jmp 0x408d76
xor esi, esi
mov eax, dword [0x695738]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push esi
mov byte [esp + 0x70], bl
call eax
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x70], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x30], 8
jb 0x408db3
mov edx, dword [esp + 0x1c]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
mov byte [ecx + 0x24], bl
mov ecx, dword [0x695738]
push 0xc8
call fcn.00409ec0
test al, al
je 0x4089d0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x60
ret