Function at 0x42bc60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461196
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x4735a8]
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.0043a6a0
push 0x104
lea ecx, [ebp - 0x44f]
push esi
push ecx
mov byte [ebp - 0x450], 0
call fcn.0043a6a0
add esp, 0x18
call fcn.0042aa80
mov edi, eax
mov dword [ebp - 0x598], edi
cmp edi, esi
jne 0x42bdfe
mov edx, dword [ebp - 0x590]
mov edi, 0x10
cmp dword [ebp - 0x57c], edi
jae 0x42bd61
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bd66
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.00412850
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], edi
jae 0x42bda2
lea eax, [ebp - 0x574]
push 0
push eax
push ebx
call fcn.00424ac0
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jb 0x42bdc5
mov edx, dword [ebp - 0x590]
push edx
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], edi
jb 0x42bdf7
mov eax, dword [ebp - 0x574]
push eax
call fcn.00439a51
add esp, 4
xor eax, eax
jmp 0x42c67a
push str.iNodeSecure_Client_reginfo
push edi
lea ecx, [ebp - 0x348]
push 0x465478
push ecx
call fcn.0043a71a
lea edx, [ebp - 0x348]
push edx
call fcn.004301d0
add esp, 0x14
test eax, eax
jne 0x42bf6d
push 0x104
mov byte [ebp - 0x240], al
lea eax, [ebp - 0x23f]
push esi
push eax
call fcn.0043a6a0
lea ecx, [ebp - 0x348]
push ecx
lea edx, [ebp - 0x240]
push 0x466df8
push edx
call fcn.0043a71a
add esp, 0x18
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
test eax, eax
jne 0x42bf6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
push 0x465674
push ecx
call fcn.0043a71a
mov edx, dword [ebp - 0x590]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jae 0x42bea5
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42beb0
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.00412850
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bee0
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x574]
call fcn.00412850
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], edi
jae 0x42bf0d
lea eax, [ebp - 0x574]
push 0
push eax
push ebx
call fcn.00424ac0
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jb 0x42bf30
mov eax, dword [ebp - 0x590]
push eax
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], edi
jb 0x42bdf7
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.00439a51
add esp, 4
xor eax, eax
jmp 0x42c67a
lea edx, [ebp - 0x348]
push 0
push edx
call fcn.00428af0
add esp, 8
mov ebx, 0x10
test eax, eax
jne 0x42c62c
mov edx, dword [ebp - 0x590]
cmp dword [ebp - 0x57c], ebx
jae 0x42bf9f
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bfa4
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.00412850
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x42bfe0
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.00424ac0
push str.Huawei_3ComSecure_Client_reginfo
push edi
lea ecx, [ebp - 0x450]
push 0x465478
push ecx
call fcn.0043a71a
lea edx, [ebp - 0x450]
push 0
push edx
call fcn.00428af0
mov edx, dword [ebp - 0x590]
add esp, 0x24
test eax, eax
jne 0x42c0da
cmp dword [ebp - 0x57c], ebx
jae 0x42c033
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c038
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.00412850
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x42c074
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.00424ac0
add esp, 0xc
cmp dword [ebp - 0x57c], ebx
jb 0x42c09d
mov ecx, dword [ebp - 0x590]
push ecx
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], ebx
jb 0x42bdf7
mov edx, dword [ebp - 0x574]
push edx
call fcn.00439a51
add esp, 4
xor eax, eax
jmp 0x42c67a
cmp dword [ebp - 0x57c], ebx
jae 0x42c0e8
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c0f0
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.00412850
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x42c12c
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.00424ac0
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x42c140
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c160
mov cx, word [0x4655d0]
lea eax, [ebp - 0x240]
mov word [edi], cx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42c180
mov edx, dword [str.iNodeCustom.ini]
mov esi, dword [0x466b84]
mov ebx, dword [0x466b88]
mov ecx, dword [0x466b8c]
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 0x42c1b0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c1d0
mov ax, word [0x4655d0]
mov word [edi], ax
lea eax, [ebp - 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42c1e8
mov ecx, dword [0x466b8c]
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 0x42c2ab
mov edx, dword [ebp - 0x590]
mov edi, 0x10
cmp dword [ebp - 0x57c], edi
jae 0x42c238
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c240
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.00412850
cmp dword [ebp - 0x560], edi
mov eax, dword [ebp - 0x574]
jae 0x42c27c
lea eax, [ebp - 0x574]
mov ecx, dword [ebp - 0x594]
push 0
push eax
push ecx
call fcn.00424ac0
add esp, 0xc
lea ecx, [ebp - 0x590]
call fcn.00407790
lea ecx, [ebp - 0x574]
call fcn.00407790
xor eax, eax
jmp 0x42c67a
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x42c2b0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c2d0
mov dx, word [0x4655d0]
lea eax, [ebp - 0x240]
mov word [edi], dx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42c2f0
mov edx, dword [str.iNodeCustom.vrf]
mov esi, dword [0x466b94]
mov ebx, dword [0x466b98]
mov ecx, dword [0x466b9c]
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 0x42c320
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c340
mov ax, word [0x4655d0]
mov word [edi], ax
lea eax, [ebp - 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42c358
mov ecx, dword [0x466b9c]
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 0x42c3cd
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x42c3a4
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.00412850
cmp dword [ebp - 0x560], esi
jmp 0x42c26e
xor eax, eax
nop
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x42c3d0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c3f0
mov dx, word [0x4655d0]
mov word [edi], dx
lea edi, [ebp - 0x240]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c410
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 0x42c430
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c450
mov word [edi], dx
lea edi, [ebp - 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c462
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 0x42c4d7
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x42c4ae
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.00412850
cmp dword [ebp - 0x560], esi
jmp 0x42c26e
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x42c4e0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c500
mov dx, word [0x4655d0]
mov word [edi], dx
lea edi, [ebp - 0x240]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c520
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 0x42c540
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c560
mov word [edi], dx
lea edi, [ebp - 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42c572
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 0x42c5e1
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x42c5b8
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.00412850
cmp dword [ebp - 0x560], esi
jmp 0x42c26e
push 0x104
lea edx, [ebp - 0x557]
push 0
push edx
mov byte [ebp - 0x558], 0
call fcn.0043a6a0
mov eax, dword [ebp - 0x598]
push str.Huawei_3Com
push eax
lea ecx, [ebp - 0x558]
push 0x465478
push ecx
call fcn.0043a71a
lea edx, [ebp - 0x558]
push edx
call fcn.00430720
add esp, 0x20
mov ebx, 0x10
cmp dword [ebp - 0x57c], ebx
jb 0x42c643
mov eax, dword [ebp - 0x590]
push eax
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], ebx
jb 0x42c675
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.00439a51
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.004396d4
mov esp, ebp
pop ebp
ret