Function at 0x49f370
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28f8
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x28e8], 0xffffffff
push 0x802
lea eax, [ebp - 0x10d4]
mov dword [ebp - 0x28e4], 0
push esi
push eax
mov ebx, ecx
mov dword [ebp - 0x28ec], esi
mov dword [ebp - 0x28f8], esi
mov dword [ebp - 0x28f4], esi
mov dword [ebp - 0x28f0], esi
call fcn.004e46b0
push 0x802
lea eax, [ebp - 0x20dc]
push esi
push eax
call fcn.004e46b0
push 0x802
lea eax, [ebp - 0x8d0]
push esi
push eax
call fcn.004e46b0
push 0x802
lea eax, [ebp - 0x28e0]
push esi
push eax
call fcn.004e46b0
push 0x802
lea eax, [ebp - 0x18d8]
push esi
push eax
call fcn.004e46b0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10d4]
add esp, 0x3c
push 0x401
push ecx
push 0x3f9
mov ecx, ebx
call dword [eax + 0x84]
mov eax, dword [ebx]
mov ecx, ebx
push 0x3fd
call dword [eax + 0x8c]
test eax, eax
je 0x49f4e6
mov eax, dword [ebx]
mov ecx, ebx
push 0x3fd
call dword [eax + 0x8c]
push eax
call fcn.00406330
add esp, 4
mov ecx, ebx
neg eax
sbb edi, edi
mov eax, dword [ebx]
inc edi
push 0x400
mov dword [ebp - 0x28e4], edi
call dword [eax + 0x8c]
push eax
call fcn.00406330
add esp, 4
mov dword [ebp - 0x28ec], eax
mov esi, eax
mov ecx, ebx
mov eax, dword [ebx]
push 0x427
call dword [eax + 0x8c]
push eax
call fcn.00406330
add esp, 4
mov dword [ebp - 0x28f8], eax
mov eax, dword [ebx]
mov ecx, ebx
push 0x428
call dword [eax + 0x8c]
push eax
call fcn.00406330
add esp, 4
mov dword [ebp - 0x28f4], eax
mov eax, dword [ebx]
mov ecx, ebx
push 0x546
call dword [eax + 0x8c]
push eax
call fcn.00406330
add esp, 4
mov dword [ebp - 0x28f0], eax
cmp word [ebp - 0x10d4], 0
jne 0x49f51b
mov eax, dword [ebx]
mov ecx, ebx
push 0x3f9
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebx + 0x10]
push str.NO_PATH_SELECTED
call fcn.00419b10
add esp, 8
jmp 0x49f939
lea eax, [ebp - 0x10d4]
push eax
call fcn.0041eee0
add esp, 4
test esi, esi
je 0x49f5d3
mov eax, dword [ebx]
lea ecx, [ebp - 0x18d6]
push 0x401
push ecx
push 0x401
mov ecx, ebx
call dword [eax + 0x84]
cmp word [ebp - 0x18d6], 0
jne 0x49f582
mov eax, dword [ebx]
mov ecx, ebx
push 0x401
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebx + 0x10]
push str.NO_FILE_SELECTED
call fcn.00419b10
add esp, 8
jmp 0x49f939
mov eax, 0x22
lea edi, [ebp - 0x18d8]
mov word [ebp - 0x18d8], ax
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x49f5a0
mov eax, dword [0x518bd8]
mov ecx, ebx
mov dword [edi], eax
mov eax, dword [ebx]
push 0x3ef
call dword [eax + 0x8c]
push eax
call fcn.00405b90
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28e8], ecx
call fcn.00421850
lea eax, [ebp - 0x28e0]
push 0x401
push eax
call fcn.0041ed70
lea eax, [ebp - 0x10d4]
push eax
lea eax, [ebp - 0x8d0]
push str._sCnCrypt_
push eax
call fcn.004054c0
add esp, 0x14
lea eax, [ebp - 0x8d0]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push 0x401
lea eax, [ebp - 0x20dc]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x10d4]
push eax
lea eax, [ebp - 0x8d0]
push str._sCnCryptCnCrypt.exe
push eax
call fcn.004054c0
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x20dc]
push eax
call fcn.00414dc0
add esp, 0x14
test eax, eax
jne 0x49f66e
call fcn.00421690
push dword [ebx + 0x10]
call fcn.00417c00
add esp, 4
jmp 0x49f934
mov esi, 0x521978
call fcn.004bb6d0
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x49f698
test cl, cl
je 0x49f694
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x49f698
add eax, 2
add esi, 2
test cl, cl
jne 0x49f678
xor eax, eax
jmp 0x49f69d
sbb eax, eax
or eax, 1
test eax, eax
je 0x49f76b
call fcn.004bb6d0
mov esi, eax
test esi, esi
je 0x49f6e1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49f6b5
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x49f6cd
xor eax, eax
jmp 0x49f6e1
lea eax, [edi + edi]
call fcn.004e1f90
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00405530
push eax
lea eax, [ebp - 0x28e0]
push eax
lea eax, [ebp - 0x20dc]
push str._sLanguage._s.xml
push eax
call fcn.004054c0
add esp, 0x10
call fcn.004bb6d0
mov edi, eax
test edi, edi
je 0x49f73c
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49f710
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x49f728
xor eax, eax
jmp 0x49f73c
lea eax, [esi + esi]
call fcn.004e1f90
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00405530
push eax
lea eax, [ebp - 0x10d4]
push eax
lea eax, [ebp - 0x8d0]
push str._sCnCryptLanguage._s.xml
push eax
call fcn.004054c0
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x20dc]
push eax
call fcn.00414dc0
add esp, 0x18
cmp dword [ebp - 0x28e4], 0
je 0x49f91f
xor eax, eax
mov word [ebp - 0x28e4], ax
mov eax, dword [ebp - 0x28e8]
cmp eax, 0xffffffff
jne 0x49f7a2
lea eax, [ebp - 0x28e4]
push str.__l_auto
push eax
call fcn.004054c0
add esp, 8
jmp 0x49f7bd
add eax, 0x41
movzx eax, ax
push eax
lea eax, [ebp - 0x28e4]
push str.__l__c
push eax
call fcn.004054c0
add esp, 0xc
lea eax, [ebp - 0x10d4]
push eax
lea eax, [ebp - 0x8d0]
push str._sautorun.inf
push eax
call fcn.004054c0
add esp, 0xc
lea eax, [ebp - 0x8d0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [ebp - 0x8d0]
push str.w_ccsUNICODE
push eax
call fcn.004ed562
mov esi, eax
add esp, 8
test esi, esi
jne 0x49f816
call fcn.00421690
push dword [ebx + 0x10]
push str.CANT_CREATE_AUTORUN
call fcn.00419a00
jmp 0x49f931
mov edi, dword [ebp - 0x28ec]
test edi, edi
je 0x49f881
cmp dword [ebp - 0x28f0], 0
lea eax, [ebp - 0x18d8]
push eax
mov edx, 0x516968
mov eax, str.__m_ro
cmove eax, edx
cmp dword [ebp - 0x28f4], 0
push eax
mov eax, str.__c_y
cmove eax, edx
cmp dword [ebp - 0x28f8], 0
push eax
mov eax, 0x529c74
cmove eax, edx
cmp dword [ebp - 0x28e8], 0xffffffff
push eax
lea eax, [ebp - 0x28e4]
cmove eax, edx
push eax
lea eax, [ebp - 0xcc]
push str.CnCryptCnCrypt.exe__q_background_s_s_s_s__m_rm__v__s
push eax
call fcn.004054c0
add esp, 0x1c
push str.CC_TRAVELER_DISK
call fcn.004bb8b0
push eax
push str._autorun__nlabel_s_niconCnCryptCnCrypt.exe_n
push esi
call fcn.00405ab0
add esp, 0x10
test edi, edi
je 0x49f8a5
push str.MOUNT_CC_VOLUME
jmp 0x49f8aa
push str.IDC_PREF_LOGON_START
call fcn.004bb8b0
add esp, 4
push eax
push str.action_s_n
push esi
call fcn.00405ab0
mov ecx, str.CnCryptCnCrypt.exe
lea eax, [ebp - 0xcc]
test edi, edi
cmove eax, ecx
push eax
push str.open_s_n
push esi
call fcn.00405ab0
push str.IDC_PREF_LOGON_START
call fcn.004bb8b0
push eax
push str.shell_start_s_nshell_startcommandCnCryptCnCrypt.exe_n
push esi
call fcn.00405ab0
push str.DISMOUNT_ALL_CC_VOLUMES
call fcn.004bb8b0
push eax
push str.shelldismount_s_nshelldismountcommandCnCryptCnCrypt.exe__q__d_n
push esi
call fcn.00405ab0
lea eax, [ebp - 0x8d0]
push eax
push esi
call fcn.00415a00
add esp, 0x40
push esi
call fcn.004ed5ef
add esp, 4
call fcn.00421690
push dword [ebx + 0x10]
push str.TRAVELER_DISK_CREATED
call fcn.00419b10
add esp, 8
call fcn.00421690
lea esp, [ebp - 0x2904]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret