Function at 0x44c740
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x479870
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x3c], 2
call fcn.0044c380
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x44c797
or eax, 0xffffffff
jmp 0x44c7b3
push str.SCH_
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x44c7af
or eax, 0xffffffff
jmp 0x44c7b3
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
mov eax, dword [esp + 0x1c]
setg bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c7d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44c86d
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.UseMmc1Drive
call fcn.004062a0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Phone_Base_Info
mov byte [esp + 0x44], 3
call fcn.004062a0
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov byte [esp + 0x44], 2
call fcn.0044c270
mov eax, dword [eax]
push 0x487768
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
setne bl
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44c854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44c86d
mov esi, dword [esp + 0x40]
push 0x47dd68
mov ecx, esi
call fcn.004062a0
jmp 0x44cc9b
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
push eax
call fcn.00401510
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], ebx
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
mov byte [esp + 0x38], 5
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
mov byte [esp + 0x38], 6
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push str._c:phoneinfo.dat
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 7
call fcn.004062a0
push str._c:_samsung.dat
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.004062a0
mov ecx, dword [esp + 0x28]
movzx ebp, word [ecx + 0xc]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx - 0xc]
xor edi, edi
mov byte [esp + 0x38], 9
test eax, eax
je 0x44c90b
jge 0x44c908
push 0x80070057
call fcn.00401120
movzx edi, word [ecx]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
xor esi, esi
test ecx, ecx
jle 0x44c9d2
lea esp, [esp]
test esi, esi
jl 0x44c8fe
cmp esi, ecx
jg 0x44c8fe
movzx eax, word [eax + esi*2]
movzx edx, ax
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00402e10
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp esi, dword [eax - 0xc]
jg 0x44c8fe
movzx eax, word [eax + esi*2]
movzx edx, ax
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00402e10
add esp, 0xc
test bp, bp
jne 0x44c98f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push edx
call fcn.0044bf90
test al, al
je 0x44c98f
mov eax, dword [esp + 0x44]
cmp esi, dword [eax - 0xc]
jg 0x44c8fe
movzx ebp, word [eax + esi*2]
jmp 0x44c9c6
test di, di
jne 0x44c9c2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0044bf90
test al, al
je 0x44c9c2
mov eax, dword [esp + 0x44]
cmp esi, dword [eax - 0xc]
jg 0x44c8fe
mov ecx, dword [esp + 0x1c]
movzx edi, word [eax + esi*2]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
inc esi
cmp esi, ecx
jl 0x44c920
test bp, bp
je 0x44c9e9
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044c0d0
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
test di, di
jne 0x44cd37
mov eax, dword [eax - 0xc]
cmp eax, 2
jne 0x44cb75
test bp, bp
je 0x44cbd6
movzx edx, bp
push edx
lea eax, [esp + 0x18]
push str._c:_system
push eax
call fcn.00402e10
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44ca35
test al, 0x10
jne 0x44cbd6
lea esi, [ebx - 0x10]
push esi
call fcn.00401510
mov edi, dword [esp + 0x44]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x38], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44ca6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 7
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ca94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 6
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cab9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 5
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or edx, 0xffffffff
lea ecx, [esi + 0xc]
mov byte [esp + 0x38], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cafc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cb21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cb46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cb6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x44cd0b
cmp eax, 3
jne 0x44cbd6
mov eax, dword [ebx - 0xc]
xor esi, esi
test eax, eax
jle 0x44cbd6
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esp, [esp]
test esi, esi
jl 0x44c8fe
cmp esi, eax
jg 0x44c8fe
movzx eax, word [ebx + esi*2]
movzx ecx, ax
push ecx
lea edx, [esp + 0x18]
push str._c:my_files
push edx
call fcn.00402e10
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call edi
cmp eax, 0xffffffff
je 0x44cbce
test al, 0x10
jne 0x44cd21
mov eax, dword [ebx - 0xc]
inc esi
cmp esi, eax
jl 0x44cb90
mov esi, dword [esp + 0x40]
push 0x47dd68
mov ecx, esi
call fcn.004062a0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ccc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cce5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x38], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cd09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
cmp esi, dword [ebx - 0xc]
jg 0x44c8fe
movzx edi, word [ebx + esi*2]
test di, di
je 0x44cbd6
push edi
lea ecx, [esp + 0x1c]
call fcn.0044c0d0
movzx ecx, di
push ecx
lea edx, [esp + 0x1c]
push 0x482eac
push edx
call fcn.00402e10
mov esi, dword [esp + 0x24]
add esi, 0xfffffff0
push esi
call fcn.00401510
mov edi, dword [esp + 0x50]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x38], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x44ca63