Function at 0x42c180
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461826
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x4745a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, 0xf
xor esi, esi
mov dword [ebp - 0x594], ebx
mov dword [ebp - 0x560], eax
mov dword [ebp - 0x564], esi
mov byte [ebp - 0x574], 0
push 0x13
push str.utl_LoadCusIniFile:
lea ecx, [ebp - 0x590]
mov dword [ebp - 4], esi
mov dword [ebp - 0x57c], eax
mov dword [ebp - 0x580], esi
mov byte [ebp - 0x590], 0
call fcn.00407c70
xor eax, eax
push 0x104
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov byte [ebp - 0x348], al
lea eax, [ebp - 0x347]
push esi
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x30], 0
call fcn.0043abc0
push 0x104
lea ecx, [ebp - 0x44f]
push esi
push ecx
mov byte [ebp - 0x450], 0
call fcn.0043abc0
add esp, 0x18
call fcn.0042af70
mov edi, eax
mov dword [ebp - 0x598], edi
cmp edi, esi
jne 0x42c31e
mov edx, dword [ebp - 0x590]
mov edi, 0x10
cmp dword [ebp - 0x57c], edi
jae 0x42c281
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c286
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407c70
push 0x22
push str._utl_GetCommonProgramFiles_failed_
lea ecx, [ebp - 0x574]
call fcn.00412810
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], edi
jae 0x42c2c2
lea eax, [ebp - 0x574]
push 0
push eax
push ebx
call fcn.00424e80
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jb 0x42c2e5
mov edx, dword [ebp - 0x590]
push edx
call fcn.00439f71
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], edi
jb 0x42c317
mov eax, dword [ebp - 0x574]
push eax
call fcn.00439f71
add esp, 4
xor eax, eax
jmp 0x42cb9a
push str.iNodeSecure_Client_reginfo
push edi
lea ecx, [ebp - 0x348]
push 0x466504
push ecx
call fcn.0043ac3a
lea edx, [ebp - 0x348]
push edx
call fcn.004306f0
add esp, 0x14
test eax, eax
jne 0x42c48d
push 0x104
mov byte [ebp - 0x240], al
lea eax, [ebp - 0x23f]
push esi
push eax
call fcn.0043abc0
lea ecx, [ebp - 0x348]
push ecx
lea edx, [ebp - 0x240]
push 0x467ea0
push edx
call fcn.0043ac3a
add esp, 0x18
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
test eax, eax
jne 0x42c48d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
push 0x466708
push ecx
call fcn.0043ac3a
mov edx, dword [ebp - 0x590]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jae 0x42c3c5
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c3d0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407c70
push 0x2e
push str.Create_directory__reginfo__failed_with_ErrNo:
lea ecx, [ebp - 0x574]
call fcn.00412810
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c400
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x574]
call fcn.00412810
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], edi
jae 0x42c42d
lea eax, [ebp - 0x574]
push 0
push eax
push ebx
call fcn.00424e80
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jb 0x42c450
mov eax, dword [ebp - 0x590]
push eax
call fcn.00439f71
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], edi
jb 0x42c317
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.00439f71
add esp, 4
xor eax, eax
jmp 0x42cb9a
lea edx, [ebp - 0x348]
push 0
push edx
call fcn.00428fe0
add esp, 8
mov ebx, 0x10
test eax, eax
jne 0x42cb4c
mov edx, dword [ebp - 0x590]
cmp dword [ebp - 0x57c], ebx
jae 0x42c4bf
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c4c4
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407c70
push 0x24
push str.CusIniVerify_new_failed_try_for_old.
lea ecx, [ebp - 0x574]
call fcn.00412810
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x42c500
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.00424e80
push str.Huawei_3ComSecure_Client_reginfo
push edi
lea ecx, [ebp - 0x450]
push 0x466504
push ecx
call fcn.0043ac3a
lea edx, [ebp - 0x450]
push 0
push edx
call fcn.00428fe0
mov edx, dword [ebp - 0x590]
add esp, 0x24
test eax, eax
jne 0x42c5fa
cmp dword [ebp - 0x57c], ebx
jae 0x42c553
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c558
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407c70
push 0x25
push str.CusIniVerify_old_failed_return_false.
lea ecx, [ebp - 0x574]
call fcn.00412810
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x42c594
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.00424e80
add esp, 0xc
cmp dword [ebp - 0x57c], ebx
jb 0x42c5bd
mov ecx, dword [ebp - 0x590]
push ecx
call fcn.00439f71
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], ebx
jb 0x42c317
mov edx, dword [ebp - 0x574]
push edx
call fcn.00439f71
add esp, 4
xor eax, eax
jmp 0x42cb9a
cmp dword [ebp - 0x57c], ebx
jae 0x42c608
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c610
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407c70
push 0x24
push str.CusIniVerify_old_true_so_copy_files.
lea ecx, [ebp - 0x574]
call fcn.00412810
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x42c64c
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.00424e80
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x42c660
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c680
mov cx, word [0x466664]
lea eax, [ebp - 0x240]
mov word [edi], cx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42c6a0
mov edx, dword [str.iNodeCustom.ini]
mov esi, dword [0x467c2c]
mov ebx, dword [0x467c30]
mov ecx, dword [0x467c34]
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x348]
mov byte [ebp + eax - 0x138], cl
inc eax
test cl, cl
jne 0x42c6d0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c6f0
mov ax, word [0x466664]
mov word [edi], ax
lea eax, [ebp - 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42c708
mov ecx, dword [0x467c34]
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
push 0
lea edx, [ebp - 0x138]
mov dword [eax + 0xc], ecx
push edx
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42c7cb
mov edx, dword [ebp - 0x590]
mov edi, 0x10
cmp dword [ebp - 0x57c], edi
jae 0x42c758
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c760
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407c70
push 0x26
push str.CopyFile_iNodeCustom.ini_return_false_
lea ecx, [ebp - 0x574]
call fcn.00412810
cmp dword [ebp - 0x560], edi
mov eax, dword [ebp - 0x574]
jae 0x42c79c
lea eax, [ebp - 0x574]
mov ecx, dword [ebp - 0x594]
push 0
push eax
push ecx
call fcn.00424e80
add esp, 0xc
lea ecx, [ebp - 0x590]
call fcn.00407790
lea ecx, [ebp - 0x574]
call fcn.00407790
xor eax, eax
jmp 0x42cb9a
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x42c7d0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c7f0
mov dx, word [0x466664]
lea eax, [ebp - 0x240]
mov word [edi], dx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42c810
mov edx, dword [str.iNodeCustom.vrf]
mov esi, dword [0x467c3c]
mov ebx, dword [0x467c40]
mov ecx, dword [0x467c44]
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x348]
mov byte [ebp + eax - 0x138], cl
inc eax
test cl, cl
jne 0x42c840
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c860
mov ax, word [0x466664]
mov word [edi], ax
lea eax, [ebp - 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42c878
mov ecx, dword [0x467c44]
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
push 0
lea edx, [ebp - 0x138]
mov dword [eax + 0xc], ecx
push edx
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42c8ed
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x42c8c4
lea eax, [ebp - 0x590]
push eax
lea ecx, [ebp - 0x574]
call fcn.004077c0
push 0x26
push str.CopyFile_iNodeCustom.vrf_return_false_
lea ecx, [ebp - 0x574]
call fcn.00412810
cmp dword [ebp - 0x560], esi
jmp 0x42c78e
xor eax, eax
nop
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x42c8f0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c910
mov dx, word [0x466664]
mov word [edi], dx
lea edi, [ebp - 0x240]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c930
mov ecx, 5
mov esi, str.iNodeUninstallInfo.ini
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x348]
mov byte [ebp + eax - 0x138], cl
inc eax
test cl, cl
jne 0x42c950
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c970
mov word [edi], dx
lea edi, [ebp - 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c982
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, 5
mov esi, str.iNodeUninstallInfo.ini
rep movsd dword es:[edi], dword [esi]
push 0
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x240]
push eax
movsb byte es:[edi], byte [esi]
call ebx
test eax, eax
jne 0x42c9f7
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x42c9ce
lea eax, [ebp - 0x590]
push eax
lea ecx, [ebp - 0x574]
call fcn.004077c0
push 0x2d
push str.CopyFile_iNodeUninstallInfo.ini_return_false_
lea ecx, [ebp - 0x574]
call fcn.00412810
cmp dword [ebp - 0x560], esi
jmp 0x42c78e
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x42ca00
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42ca20
mov dx, word [0x466664]
mov word [edi], dx
lea edi, [ebp - 0x240]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42ca40
mov ecx, 5
mov esi, str.iNodeUninstallInfo.vrf
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x348]
mov byte [ebp + eax - 0x138], cl
inc eax
test cl, cl
jne 0x42ca60
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42ca80
mov word [edi], dx
lea edi, [ebp - 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42ca92
mov ecx, 5
mov esi, str.iNodeUninstallInfo.vrf
rep movsd dword es:[edi], dword [esi]
push 0
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x240]
push eax
movsb byte es:[edi], byte [esi]
call ebx
test eax, eax
jne 0x42cb01
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x42cad8
lea eax, [ebp - 0x590]
push eax
lea ecx, [ebp - 0x574]
call fcn.004077c0
push 0x2d
push str.CopyFile_iNodeUninstallInfo.vrf_return_false_
lea ecx, [ebp - 0x574]
call fcn.00412810
cmp dword [ebp - 0x560], esi
jmp 0x42c78e
push 0x104
lea edx, [ebp - 0x557]
push 0
push edx
mov byte [ebp - 0x558], 0
call fcn.0043abc0
mov eax, dword [ebp - 0x598]
push str.Huawei_3Com
push eax
lea ecx, [ebp - 0x558]
push 0x466504
push ecx
call fcn.0043ac3a
lea edx, [ebp - 0x558]
push edx
call fcn.00430c40
add esp, 0x20
mov ebx, 0x10
cmp dword [ebp - 0x57c], ebx
jb 0x42cb63
mov eax, dword [ebp - 0x590]
push eax
call fcn.00439f71
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], ebx
jb 0x42cb95
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.00439f71
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439bf4
mov esp, ebp
pop ebp
ret