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

Disassembly:
push 0xffffffffffffffff
push 0x47cca0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
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.0044ce30
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x44d247
or eax, 0xffffffff
jmp 0x44d263
push str.SCH_
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x44d25f
or eax, 0xffffffff
jmp 0x44d263
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 0x44d289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44d31d
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.UseMmc1Drive
call fcn.00406310
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Phone_Base_Info
mov byte [esp + 0x44], 3
call fcn.00406310
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov byte [esp + 0x44], 2
call fcn.0044cd20
mov eax, dword [eax]
push 0x48bfbc
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 0x44d304
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44d31d
mov esi, dword [esp + 0x40]
push 0x481de0
mov ecx, esi
call fcn.00406310
jmp 0x44d74b
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
push eax
call fcn.00401520
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], ebx
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a743c
mov byte [esp + 0x38], 5
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a743c
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.00406310
push str._c:_samsung.dat
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.00406310
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 0x44d3bb
jge 0x44d3b8
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 0x44d482
lea esp, [esp]
test esi, esi
jl 0x44d3ae
cmp esi, ecx
jg 0x44d3ae
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.00402e80
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp esi, dword [eax - 0xc]
jg 0x44d3ae
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.00402e80
add esp, 0xc
test bp, bp
jne 0x44d43f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push edx
call fcn.0044ca40
test al, al
je 0x44d43f
mov eax, dword [esp + 0x44]
cmp esi, dword [eax - 0xc]
jg 0x44d3ae
movzx ebp, word [eax + esi*2]
jmp 0x44d476
test di, di
jne 0x44d472
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0044ca40
test al, al
je 0x44d472
mov eax, dword [esp + 0x44]
cmp esi, dword [eax - 0xc]
jg 0x44d3ae
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 0x44d3d0
test bp, bp
je 0x44d499
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044cb80
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
test di, di
jne 0x44d7e7
mov eax, dword [eax - 0xc]
cmp eax, 2
jne 0x44d625
test bp, bp
je 0x44d686
movzx edx, bp
push edx
lea eax, [esp + 0x18]
push str._c:_system
push eax
call fcn.00402e80
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44d4e5
test al, 0x10
jne 0x44d686
lea esi, [ebx - 0x10]
push esi
call fcn.00401520
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 0x44d51f
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 0x44d544
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 0x44d569
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 0x44d58e
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 0x44d5ac
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 0x44d5d1
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 0x44d5f6
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 0x44d61e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x44d7bb
cmp eax, 3
jne 0x44d686
mov eax, dword [ebx - 0xc]
xor esi, esi
test eax, eax
jle 0x44d686
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esp, [esp]
test esi, esi
jl 0x44d3ae
cmp esi, eax
jg 0x44d3ae
movzx eax, word [ebx + esi*2]
movzx ecx, ax
push ecx
lea edx, [esp + 0x18]
push str._c:my_files
push edx
call fcn.00402e80
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call edi
cmp eax, 0xffffffff
je 0x44d67e
test al, 0x10
jne 0x44d7d1
mov eax, dword [ebx - 0xc]
inc esi
cmp esi, eax
jl 0x44d640
mov esi, dword [esp + 0x40]
push 0x481de0
mov ecx, esi
call fcn.00406310
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 0x44d6bb
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 0x44d6e0
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 0x44d705
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 0x44d72a
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 0x44d74b
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 0x44d770
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 0x44d795
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 0x44d7b9
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 0x44d3ae
movzx edi, word [ebx + esi*2]
test di, di
je 0x44d686
push edi
lea ecx, [esp + 0x1c]
call fcn.0044cb80
movzx ecx, di
push ecx
lea edx, [esp + 0x1c]
push 0x48771c
push edx
call fcn.00402e80
mov esi, dword [esp + 0x24]
add esi, 0xfffffff0
push esi
call fcn.00401520
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 0x44d513