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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
call fcn.00401490
movzx eax, word [ebx + 0x158]
push eax
movzx eax, word [ebx + 0x15a]
push eax
movzx eax, word [ebx + 0x15c]
push eax
movzx eax, word [ebx + 0x15e]
push eax
push str.debug_console
push str.CleverFiles__s_starting__version_is__d._d._d._d.
push 2
push dword [ebx + 0xc]
call fcn.00401210
mov ecx, dword [ebx + 0xc]
push 0x1b
push str.Verbose_logging_is_enabled.
push 1
mov edx, dword [ecx]
mov eax, dword [edx]
add eax, ecx
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x30
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x1f0], eax
test eax, eax
je 0x40206f
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 1
push 0x4017b0
mov dword [esp + 0x48], eax
call eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea edi, [ebx + 0x168]
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
push 0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x78], 0x30
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x402c60
mov dword [esp + 0x20], eax
call eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0xa0], str.message__cfbackd_window
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov word [edi], ax
test ax, ax
je 0x40202c
push edi
push 0
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0x80000000
push str.message__cfbackd_window
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 4], eax
test eax, eax
je 0x401fce
lea eax, [ebx + 0x94]
mov edx, esi
mov dword [ebx + 0x170], eax
mov ecx, ebx
mov eax, dword [ebx + 0x16c]
mov dword [ebx + 0x8c], eax
call fcn.00401580
mov dword [esp + 0x18], eax
test eax, eax
je 0x401f89
push 0x1cff
push 0x64
push 0
lea eax, [ebx + 0x1f0]
push eax
mov eax, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 1
mov dword [esp + 0x50], eax
call eax
test eax, eax
je 0x401f82
mov ecx, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [esp + 0x20], ecx
mov ecx, dword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [esp + 0x24], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], ecx
cmp eax, 1
jne 0x401a11
push eax
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
call edi
test eax, eax
je case.0x401a41.100
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
nop dword [eax + eax]
lea eax, [esp + 0x74]
push eax
call esi
lea eax, [esp + 0x74]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
call edi
test eax, eax
jne 0x4019e0
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
jmp case.0x401a41.100
cmp eax, 0x102
jne 0x401f3a
call fcn.00427949
test eax, eax
je case.0x401a41.100
call fcn.00427720
add eax, 0xffffff9d
cmp eax, 0xf
ja case.0x401a41.100
movzx eax, byte [eax + 0x4020ec]
jmp dword [eax*4 + 0x4020d8]
lea ecx, [ebx + 0x78]
mov edx, str.__storagevolume08e6e669_ce52_11e0_ba16_806e6f6e6963000000000650000053f5630d_b6bf_11d0_94f2_00a0c91efb8b
call fcn.00418340
test eax, eax
je case.0x401a41.100
mov edx, 2
lea ecx, [eax + 0x288]
lock xadd dword [ecx], edx
cmp edx, 1
jne case.0x401a41.100
push dword [eax + 0x280]
mov eax, dword [eax + 0x27c]
push 0
push 0
push dword [eax + 0x20]
call dword [esp + 0x40]
jmp case.0x401a41.100
lea ecx, [ebx + 0x78]
mov edx, str.__storagevolume08e6e669_ce52_11e0_ba16_806e6f6e6963000000000650000053f5630d_b6bf_11d0_94f2_00a0c91efb8b
call fcn.00418340
test eax, eax
je case.0x401a41.100
lea ecx, [eax + 0x20]
call fcn.0041f490
jmp case.0x401a41.100
lea ecx, [ebx + 0x78]
mov edx, str.__storagevolume08e6e669_ce52_11e0_ba16_806e6f6e6963000000000650000053f5630d_b6bf_11d0_94f2_00a0c91efb8b
call fcn.00418340
mov dword [esp + 0x34], eax
test eax, eax
je case.0x401a41.100
xor ecx, ecx
call fcn.0041b6b0
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
add edx, ecx
lea ecx, [esp + 0x44]
push ecx
push 0x28
push edx
call eax
xor edi, edi
add esp, 0xc
test eax, eax
cmovne edi, dword [esp + 0x44]
test edi, edi
je 0x401b3c
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x14], 0x10
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 4], 0x32
mov dword [edi + 0x20], ecx
mov eax, dword [ecx]
mov dword [edi], eax
inc dword [ecx + 4]
mov dword [ecx], edi
jmp 0x401b3e
xor edi, edi
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [edx]
add ecx, eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [edx + 4]
push 0x28
push ecx
call eax
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovne ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x401bd8
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x14], 0x10
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 4], 0x32
mov dword [ecx + 0x20], edx
mov eax, dword [edx]
mov dword [ecx], eax
inc dword [edx + 4]
mov dword [edx], ecx
mov edx, str.folders
mov ecx, dword [edi + 0x20]
push 7
call fcn.00421e80
add esp, 8
test eax, eax
je 0x401bd8
push 0
push dword [esp + 0x18]
mov edx, eax
mov ecx, edi
call fcn.0041a420
add esp, 8
jmp 0x401bda
xor eax, eax
push ecx
push 0x1a
push str._Users_lazyden_cleverfiles
xor edx, edx
mov dword [esp + 0x1c], eax
mov ecx, eax
call fcn.0041c450
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, 1
push 0x1d
push str._Users_lazyden_discus_mobicon
call fcn.0041c450
mov eax, dword [edi + 0x20]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [edx]
add ecx, eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [edx + 4]
push 0x28
push ecx
call eax
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovne ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x401ca4
mov edx, dword [esp + 0x14]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x14], 0x10
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 4], 0x32
mov dword [ecx + 0x20], edx
mov eax, dword [edx]
mov dword [ecx], eax
inc dword [edx + 4]
mov dword [edx], ecx
mov edx, str.patterns
mov ecx, dword [edi + 0x20]
push 8
call fcn.00421e80
add esp, 8
test eax, eax
je 0x401ca4
push 0
push dword [esp + 0x14]
mov edx, eax
mov ecx, edi
call fcn.0041a420
add esp, 8
jmp 0x401ca6
xor eax, eax
push ecx
push 2
push 0x44316c
xor edx, edx
mov dword [esp + 0x1c], eax
mov ecx, eax
call fcn.0041c450
mov ecx, dword [esp + 0x1c]
add esp, 8
xor edx, edx
push 5
push str..bak
call fcn.0041c450
mov ecx, dword [esp + 0x1c]
add esp, 8
xor edx, edx
push 2
push 0x443178
call fcn.0041c450
mov eax, dword [edi + 0x20]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [edx]
add ecx, eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [edx + 4]
push 0x28
push ecx
call eax
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovne ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x401d82
mov edx, dword [esp + 0x14]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x14], 0x10
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 4], 0x32
mov dword [ecx + 0x20], edx
mov eax, dword [edx]
mov dword [ecx], eax
inc dword [edx + 4]
mov dword [edx], ecx
mov edx, str.patternsFlag
mov ecx, dword [edi + 0x20]
push 0xc
call fcn.00421e80
add esp, 8
test eax, eax
je 0x401d82
push 0
push dword [esp + 0x14]
mov edx, eax
mov ecx, edi
call fcn.0041a420
add esp, 8
jmp 0x401d84
xor eax, eax
push ecx
push 3
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.0041be20
mov ecx, dword [esp + 0x18]
add esp, 4
push 1
call fcn.0041be20
mov ecx, dword [esp + 0x18]
add esp, 4
push 1
call fcn.0041be20
mov ecx, dword [edi + 0x20]
mov edx, str.isUpdated
push 0
push 9
call fcn.00421e80
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
je 0x401e57
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
add edx, ecx
lea ecx, [esp + 0x64]
push ecx
push 0x1c
push edx
call eax
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovne ecx, dword [esp + 0x64]
test ecx, ecx
je 0x401e57
mov edx, dword [esp + 0x14]
lea eax, [ecx + 0x18]
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 4
mov dword [ecx + 4], 0xe
mov dword [ecx + 8], eax
mov dword [eax], 1
mov eax, dword [edx]
mov dword [ecx], eax
inc dword [edx + 4]
mov dword [edx], ecx
mov edx, dword [esp + 0x10]
push 0
push ecx
mov ecx, edi
call fcn.0041a420
add esp, 8
mov ecx, dword [edi + 0x20]
mov edx, str.isActive
push 0
push 8
call fcn.00421e80
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x401f00
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
add edx, ecx
lea ecx, [esp + 0x6c]
push ecx
push 0x1c
push edx
call eax
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovne ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x401f00
mov edx, dword [esp + 0x14]
lea eax, [ecx + 0x18]
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 4
mov dword [ecx + 4], 0xe
mov dword [ecx + 8], eax
mov dword [eax], 1
mov eax, dword [edx]
mov dword [ecx], eax
inc dword [edx + 4]
mov dword [edx], ecx
mov edx, dword [esp + 0x10]
push 0
push ecx
mov ecx, edi
call fcn.0041a420
add esp, 8
mov ecx, dword [esp + 0x34]
mov edx, edi
push 0
mov ecx, dword [ecx + 0x80]
call fcn.00403f10
mov edi, dword [esp + 0x3c]
add esp, 4
push 0x1cff
push 0x64
push 0
lea eax, [ebx + 0x1f0]
push eax
push 1
call dword [esp + 0x50]
test eax, eax
jne 0x4019b5
jmp case.0x401a41.113
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, 0xa0
test edi, edi
cmove edi, eax
test esi, esi
je 0x401f76
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x401f66
mov edx, dword [ecx]
mov eax, dword [edx]
add eax, ecx
push eax
mov eax, dword [edx + 4]
call eax
add esp, 4
mov ecx, edi
mov dword [esi], 0x19
call fcn.0041b480
mov dword [esi + 4], eax
xor eax, eax
mov dword [esp + 0x18], eax
lea edi, [ebx + 0x168]
mov ecx, ebx
call fcn.00401740
cmp word [edi], 0
je 0x401fae
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [esp + 0x20]
push eax
movzx eax, word [edi]
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov word [edi], ax
mov esi, dword [esp + 0x18]
push 0
push 0x4017b0
call dword [esp + 0x48]
push dword [ebx + 0x1f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4020ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, 0xa0
test edi, edi
cmove edi, eax
test esi, esi
je 0x40200a
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x401ffa
mov edx, dword [ecx]
mov eax, dword [edx]
add eax, ecx
push eax
mov eax, dword [edx + 4]
call eax
add esp, 4
mov ecx, edi
mov dword [esi], 0x19
call fcn.0041b480
mov dword [esi + 4], eax
push 0
call dword [esp + 0x20]
push eax
movzx eax, word [ebx + 0x168]
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
xor esi, esi
mov word [ebx + 0x168], ax
jmp 0x401fb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, 0xa0
test edi, edi
cmove edi, eax
test esi, esi
je 0x402068
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x402058
mov edx, dword [ecx]
mov eax, dword [edx]
add eax, ecx
push eax
mov eax, dword [edx + 4]
call eax
add esp, 4
mov ecx, edi
mov dword [esi], 0x19
call fcn.0041b480
mov dword [esi + 4], eax
xor esi, esi
jmp 0x401fb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, 0xa0
test edi, edi
cmove edi, eax
test esi, esi
je 0x4020ab
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40209b
mov edx, dword [ecx]
mov eax, dword [edx]
add eax, ecx
push eax
mov eax, dword [edx + 4]
call eax
add esp, 4
mov ecx, edi
mov dword [esi], 0x19
call fcn.0041b480
mov dword [esi + 4], eax
xor esi, esi
push 0x22
push str.CleverFiles_debug_console_stopped.
push 2
push dword [ebx + 0xc]
call fcn.00401210
mov ecx, dword [esp + 0xb4]
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00425576
mov esp, ebp
pop ebp
ret