Function at 0x4174b0
Capabilities:
Create thread
Get common file path
Get disk information
Set current directory

Disassembly:
mov eax, dword [str._KDC210_]
sub esp, 0x698
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x6a8]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4174ed
mov ecx, ebp
call fcn.004075e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x698
ret 0x10
mov edx, dword [ebp + 8]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp + 0x208]
xor esi, esi
push esi
push esi
call fcn.0045fcf0
push esi
mov ecx, ebp
call fcn.0041a080
mov eax, dword [ebp + 0xc4]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, esi
je 0x41757d
mov eax, dword [ebp + 0xcc]
mov dword [ebp + 0xd0], 1
push eax
call ebx
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
mov ecx, dword [ebp + 0xc4]
push 0x2710
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41756b
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [ebp + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
xor esi, esi
mov eax, dword [ebp + 0xbc]
mov dword [ebp + 0xc4], esi
cmp eax, esi
mov dword [ebp + 0xd4], esi
je 0x4175d0
mov eax, dword [ebp + 0xb4]
push eax
call ebx
mov ecx, dword [ebp + 0xbc]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4175bd
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [ebp + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0xbc], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x40c]
cmp eax, esi
je 0x4175fe
mov ecx, ebp
call fcn.00417060
mov edx, dword [esp + 0x6ac]
cmp edx, esi
je 0x41760e
cmp byte [edx], 0
jne 0x41762f
lea ecx, [esp + 0x474]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x474]
mov dword [esp + 0x6ac], edx
mov al, byte [0x4eb858]
mov ecx, 0x41
mov byte [esp + 0x160], al
xor eax, eax
lea edi, [esp + 0x161]
mov dword [esp + 0x10], esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x58]
push ecx
push eax
push 0x105
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x417683
lea ecx, [esp + 0x160]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x10]
mov byte [edx], 0
lea eax, [esp + 0x160]
push 0x2a
push eax
call fcn.004bea70
add esp, 8
test eax, eax
jne 0x4176ec
lea ecx, [esp + 0x160]
push 0x3f
push ecx
call fcn.004bea70
add esp, 8
test eax, eax
jne 0x4176ec
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x57]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x4176d5
lea eax, [esp + 0x58]
push 0x4e076c
push eax
call esi
lea ecx, [esp + 0x160]
lea edx, [esp + 0x58]
push ecx
push edx
call esi
mov byte [esp + 0x160], 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x41777f
mov edi, dword [sym.imp.USER32.dll_OemToCharA]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
push 0x105
call fcn.004be967
add esp, 4
mov esi, eax
lea edx, [esp + 0x58]
push esi
push edx
call edi
mov eax, dword [ebp + 0x200]
push esi
push 0x20b
lea ecx, [esp + 0x584]
push eax
push ecx
call fcn.0044c380
push esi
call fcn.004be975
mov edx, dword [str.ACDSee_32]
mov ecx, dword [ebp + 8]
add esp, 0x14
lea eax, [esp + 0x57c]
push 5
push edx
push eax
push ecx
call ebx
cmp eax, 2
je 0x417832
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x41770b
mov ecx, ebp
call fcn.00422100
mov ecx, ebp
call fcn.00407dc0
lea ecx, [esp + 0x160]
lea eax, [ebp + 0x30c]
push ecx
push eax
mov dword [ebp + 0x994], 0
mov dword [ebp + 0x424], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
movsx edx, byte [esp + 0x58]
push edx
call fcn.004bedf3
add esp, 4
lea ebx, [ebp + 0x20c]
push ebx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 0x6b0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x41784d
mov eax, dword [0x4eb434]
test eax, eax
je 0x41784d
mov eax, dword [ebp + 0x10]
push 0
push 0
push 0xb
push eax
call esi
push ebx
mov ecx, ebp
call fcn.0041cd60
mov edi, eax
test edi, edi
je 0x417841
mov ecx, dword [ebp + 0x10]
push edi
push 0
push 0x1114
push ecx
call esi
mov edx, dword [ebp + 0x10]
push edi
push 9
push 0x110b
push edx
call esi
mov eax, dword [ebp + 0x10]
push 0
push 1
push 0xb
push eax
jmp 0x41784b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x698
ret 0x10
mov ecx, dword [ebp + 0x10]
push 0
push 1
push 0xb
push ecx
call esi
mov eax, dword [0x4eb348]
cmp eax, 1
jne 0x41785f
mov dword [ebp + 0x41c], eax
jmp 0x4178cd
test eax, eax
jne 0x41786b
mov dword [ebp + 0x41c], eax
jmp 0x4178cd
movsx edx, byte [ebx]
push edx
call fcn.004bedf3
mov esi, eax
lea ecx, [esp + 0x28]
sub esi, 0x41
lea eax, [esi + 0x41]
push eax
push str._c:_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [0x4eb348], 2
jne 0x4178b4
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [ebp + 0x41c], ecx
jmp 0x4178cd
cmp eax, 5
je 0x4178c5
cmp esi, 1
jle 0x4178c5
mov eax, 1
jmp 0x4178c7
xor eax, eax
mov dword [ebp + 0x41c], eax
mov edx, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push edx
call esi
mov eax, dword [ebp + 0xc]
push 0
push 0
push 0x1009
push eax
call esi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp + 0x30c]
push 1
push eax
lea ebx, [ebp + 0x490]
lea eax, [ebp + 0x20c]
mov ecx, ebx
push eax
call fcn.00424f70
mov ecx, ebp
call fcn.00416f00
mov ecx, ebp
call fcn.004172f0
mov ecx, ebp
call fcn.00421fe0
mov eax, dword [0x4eb34c]
test eax, eax
jne 0x417997
mov eax, dword [ebp + 0x498]
xor edx, edx
test eax, eax
jle 0x417997
mov edi, 3
mov esi, 2
cmp edx, dword [ebx + 8]
jge 0x417964
test edx, edx
jl 0x417964
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + edx*4]
jmp 0x417966
xor eax, eax
mov ecx, dword [eax + 8]
dec ecx
je 0x417989
dec ecx
je 0x417980
dec ecx
je 0x41797b
mov dword [eax + 0x58], 0xffffffff
jmp 0x41798c
mov dword [eax + 0x58], edi
jmp 0x41798c
mov dword [eax + 0x58], 1
jmp 0x41798c
mov dword [eax + 0x58], esi
mov eax, dword [ebp + 0x498]
inc edx
cmp edx, eax
jl 0x417953
mov eax, dword [ebp + 0x498]
xor edi, edi
test eax, eax
jle 0x4179e6
cmp edi, dword [ebx + 8]
jge 0x4179b4
test edi, edi
jl 0x4179b4
mov edx, dword [ebx + 4]
mov esi, dword [edx + edi*4]
jmp 0x4179b6
xor esi, esi
mov eax, dword [esi + 8]
test eax, eax
jne 0x4179db
mov eax, dword [esi + 0x3c]
test eax, eax
jge 0x4179db
mov eax, dword [esi + 0x68]
push eax
call fcn.0045d0d0
add esp, 4
test eax, eax
je 0x4179db
mov dword [esi + 0x3c], 0xff
mov eax, dword [ebp + 0x498]
inc edi
cmp edi, eax
jl 0x4179a3
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [edi + 0x41]
lea ecx, [esp + 0x24]
push eax
push str._c:_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
call esi
lea eax, [esp + 0x24]
push eax
call esi
cmp eax, 1
je 0x417ac7
push 0x70
call fcn.004be967
add esp, 4
test eax, eax
je 0x417a3e
lea ecx, [esp + 0x24]
push 3
push ecx
mov ecx, eax
call fcn.00423d40
jmp 0x417a40
xor eax, eax
test eax, eax
mov dword [esp + 0x20], eax
mov dword [eax + 0x58], 3
je 0x417ac7
mov ecx, dword [ebx + 0xc]
lea edx, [ecx + 1]
cmp dword [ebx + 8], edx
jne 0x417ab7
add ecx, dword [ebx + 0x14]
lea eax, [ecx*4 + 4]
push eax
call fcn.004be967
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, eax
mov dword [esp + 0x20], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
push eax
call fcn.004be975
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add esp, 8
add eax, edx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
inc edi
cmp edi, 0x1a
mov dword [esp + 0x14], edi
jl 0x4179f2
lea eax, [ebp + 0x20c]
push eax
lea eax, [esp + 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x370]
push ecx
call fcn.0044b0b0
lea edx, [esp + 0x374]
mov esi, 1
push 2
push edx
mov dword [ebp + 0x98c], esi
call fcn.004becfa
add esp, 0xc
mov ecx, ebp
neg eax
sbb eax, eax
push esi
neg eax
mov dword [ebp + 0x990], eax
call fcn.0041ca90
push 4
mov ecx, ebp
call fcn.0041b210
mov eax, dword [ebp + 0xc4]
test eax, eax
je 0x417b99
mov eax, dword [ebp + 0xcc]
mov dword [ebp + 0xd0], esi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp + 0xc4]
push 0x2710
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x417b85
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [ebp + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x6b8]
xor edi, edi
cmp eax, edi
mov dword [ebp + 0xc4], edi
mov dword [ebp + 0xd4], edi
je 0x417c28
mov eax, dword [ebp + 0x498]
xor esi, esi
test eax, eax
jle 0x417c28
cmp esi, dword [ebx + 8]
jge 0x417bcf
test esi, esi
jl 0x417bcf
mov eax, dword [ebx + 4]
mov eax, dword [eax + esi*4]
jmp 0x417bd1
xor eax, eax
mov eax, dword [eax + 0x68]
mov ecx, dword [esp + 0x6b8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x417bf4
mov eax, dword [ebp + 0x498]
inc esi
cmp esi, eax
jl 0x417bbe
jmp 0x417c28
cmp esi, dword [ebx + 8]
jge 0x417c05
test esi, esi
jl 0x417c05
mov edx, dword [ebx + 4]
mov eax, dword [edx + esi*4]
jmp 0x417c07
xor eax, eax
mov ecx, dword [eax + 0x5c]
test ecx, ecx
jl 0x417c28
cmp esi, dword [ebx + 8]
jge 0x417c1f
test esi, esi
jl 0x417c1f
mov eax, dword [ebx + 4]
mov esi, dword [eax + esi*4]
jmp 0x417c21
xor esi, esi
mov edi, dword [esi + 0x5c]
test edi, edi
jl 0x417c83
mov ecx, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edi
push 0x1013
push ecx
call esi
mov edx, dword [ebp + 0xc]
push 2
push edi
push 0x102c
push edx
call esi
test eax, eax
jne 0x417c5b
push edi
push eax
mov eax, dword [ebp + 0xc]
push 0x1043
push eax
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x30]
push ecx
push edi
push 0x102b
push edx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 3
call esi
mov ecx, ebp
call fcn.00418f50
mov eax, dword [ebp + 0xc]
push eax
call fcn.00404c80
mov ecx, dword [ebp + 0xc]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ebx, [ebp + 0x20c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
cmp eax, 3
mov eax, dword [ebp + 0x14]
push 0
push 0x4e95
setg dl
push 0x409
push eax
mov esi, edx
call edi
cmp esi, eax
je 0x417ce3
mov ecx, dword [ebp + 0x14]
and esi, 0xffff
push esi
push 0x4e95
push 0x401
push ecx
call edi
lea eax, [ebp + 0x30c]
lea edx, [esp + 0x268]
push eax
push ebx
push edx
call fcn.0044a2d0
mov ecx, dword [ebp + 0x20]
add esp, 0xc
lea eax, [esp + 0x268]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x417d23
mov edx, dword [ebp + 0x20]
push 0
push eax
push 0x144
push edx
call edi
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x268]
xor esi, esi
push eax
push esi
push 0x14a
push ecx
call edi
mov edx, dword [ebp + 0x20]
push esi
push eax
push 0x14e
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
mov dword [ebp + 0x428], esi
mov eax, dword [0x4eb46c]
cmp eax, esi
je 0x417dde
cmp dword [ebp + 0xbc], esi
je 0x417db7
mov eax, dword [ebp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp + 0xbc]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x417d9e
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [ebp + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov dword [ebp + 0xbc], esi
cmp eax, esi
jne 0x417dde
mov eax, dword [ebp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 0x1c]
push ecx
push esi
push ebp
push 0x411fb0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0xbc], eax
mov ecx, ebp
call fcn.004204e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x698
ret 0x10