Function at 0x44c990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x479770
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x38], 2
call fcn.00401530
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], edi
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
mov byte [esp + 0x34], 3
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
mov byte [esp + 0x34], 4
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
push str._c:phoneinfo.dat
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 5
call fcn.00406330
push str._c:_samsung.dat
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 6
call fcn.00406330
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx - 0xc]
movzx ebp, word [esi + 0xc]
mov byte [esp + 0x34], 7
cmp eax, ebx
je 0x44ca61
jge 0x44ca5e
push 0x80070057
call fcn.00401120
movzx ebx, word [ecx]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 0xc]
xor esi, esi
test ecx, ecx
jle 0x44cb11
test esi, esi
jl 0x44ca54
cmp esi, ecx
jg 0x44ca54
movzx eax, word [eax + esi*2]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00402eb0
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp esi, dword [eax - 0xc]
jg 0x44ca54
movzx eax, word [eax + esi*2]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00402eb0
add esp, 0xc
test bp, bp
jne 0x44cad7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0044bc00
test al, al
je 0x44cad7
mov eax, dword [esp + 0x40]
cmp esi, dword [eax - 0xc]
jg 0x44ca54
movzx ebp, word [eax + esi*2]
jmp 0x44cb05
test bx, bx
jne 0x44cb01
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0044bc00
test al, al
je 0x44cb01
mov eax, dword [esp + 0x40]
cmp esi, dword [eax - 0xc]
jg 0x44ca54
movzx ebx, word [eax + esi*2]
jmp 0x44cb05
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 0xc]
inc esi
cmp esi, ecx
jl 0x44ca72
test bp, bp
je 0x44cb28
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044bcd0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
test bx, bx
je 0x44cb33
push ebx
jmp 0x44cd1f
mov eax, dword [eax - 0xc]
cmp eax, 2
jne 0x44ccb4
test bp, bp
je 0x44cd2c
movzx edx, bp
push edx
lea eax, [esp + 0x18]
push str._c:_system
push eax
call fcn.00402eb0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44cb76
test al, 0x10
jne 0x44cd2c
mov esi, dword [esp + 0x3c]
push 0x47dd5c
mov ecx, esi
call fcn.00406330
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x34], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44cbab
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 + 0x34], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cbd0
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 + 0x34], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cbf5
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 + 0x34], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x34], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc60
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
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc85
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
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ccad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x44cf91
cmp eax, 3
jne 0x44cd2c
mov eax, dword [edi - 0xc]
xor esi, esi
test eax, eax
jle 0x44cd2c
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test esi, esi
jl 0x44ca54
cmp esi, eax
jg 0x44ca54
movzx eax, word [edi + esi*2]
movzx ecx, ax
push ecx
lea edx, [esp + 0x18]
push str._c:my_files
push edx
call fcn.00402eb0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call ebp
cmp eax, 0xffffffff
je 0x44cd02
test al, 0x10
jne 0x44cd0c
mov eax, dword [edi - 0xc]
inc esi
cmp esi, eax
jl 0x44ccc8
jmp 0x44cd2c
cmp esi, dword [edi - 0xc]
jg 0x44ca54
movzx eax, word [edi + esi*2]
test ax, ax
je 0x44cd2c
push eax
lea ecx, [esp + 0x1c]
call fcn.0044bcd0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
xor ebp, ebp
cmp dword [edi - 0xc], 1
jle 0x44cdfe
push edi
push str.Found_Error_External_Memory___s
call fcn.004031a0
mov eax, dword [edi - 0xc]
add esp, 8
xor esi, esi
test eax, eax
jle 0x44cde9
test esi, esi
jl 0x44ca54
cmp esi, eax
jg 0x44ca54
movzx eax, word [edi + esi*2]
mov edx, dword [esp + 0x24]
movzx ecx, ax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00402eb0
add esp, 0xc
cmp esi, dword [edi - 0xc]
jg 0x44ca54
movzx eax, word [edi + esi*2]
mov edx, dword [esp + 0x20]
movzx ecx, ax
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402eb0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
mov ecx, ebx
call fcn.0044bc00
test al, al
jne 0x44cdce
mov edx, dword [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.0044bc00
test al, al
jne 0x44cdce
mov eax, dword [edi - 0xc]
inc esi
cmp esi, eax
jl 0x44cd57
jmp 0x44cde9
cmp esi, dword [edi - 0xc]
jg 0x44ca54
movzx eax, word [edi + esi*2]
push eax
lea ecx, [esp + 0x1c]
call fcn.0044bcd0
mov edi, dword [esp + 0x18]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
cmp ebp, 0xa
jl 0x44cd32
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea esi, [edi - 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x44ce25
cmp eax, dword [esi]
jne 0x44ce25
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x44ce62
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x44ce3e
call fcn.00401460
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
mov eax, dword [esp + 0x20]
lea edx, [edi + 0x10]
mov edi, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [edi], edx
mov byte [esp + 0x34], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ce90
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 + 0x34], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ceb5
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 + 0x34], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ceda
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 + 0x34], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ceff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cf1d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cf42
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
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cf67
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
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cf8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10