Function at 0x431bb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468466
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x47c5a8]
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.00407d70
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.00440e30
push 0x104
lea ecx, [ebp - 0x44f]
push esi
push ecx
mov byte [ebp - 0x450], 0
call fcn.00440e30
add esp, 0x18
call fcn.00430740
mov edi, eax
mov dword [ebp - 0x598], edi
cmp edi, esi
jne 0x431d4e
mov edx, dword [ebp - 0x590]
mov edi, 0x10
cmp dword [ebp - 0x57c], edi
jae 0x431cb1
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431cb6
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407d70
push 0x22
push str._utl_GetCommonProgramFiles_failed_
lea ecx, [ebp - 0x574]
call fcn.00413820
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], edi
jae 0x431cf2
lea eax, [ebp - 0x574]
push 0
push eax
push ebx
call fcn.0042a650
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jb 0x431d15
mov edx, dword [ebp - 0x590]
push edx
call fcn.004401d7
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], edi
jb 0x431d47
mov eax, dword [ebp - 0x574]
push eax
call fcn.004401d7
add esp, 4
xor eax, eax
jmp 0x4325ca
push str.iNodeSecure_Client_reginfo
push edi
lea ecx, [ebp - 0x348]
push 0x46c9fc
push ecx
call fcn.00440eaa
lea edx, [ebp - 0x348]
push edx
call fcn.00436640
add esp, 0x14
test eax, eax
jne 0x431ebd
push 0x104
mov byte [ebp - 0x240], al
lea eax, [ebp - 0x23f]
push esi
push eax
call fcn.00440e30
lea ecx, [ebp - 0x348]
push ecx
lea edx, [ebp - 0x240]
push 0x46e768
push edx
call fcn.00440eaa
add esp, 0x18
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
test eax, eax
jne 0x431ebd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
push 0x46cd20
push ecx
call fcn.00440eaa
mov edx, dword [ebp - 0x590]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jae 0x431df5
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431e00
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407d70
push 0x2e
push str.Create_directory__reginfo__failed_with_ErrNo:
lea ecx, [ebp - 0x574]
call fcn.00413820
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431e30
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x574]
call fcn.00413820
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], edi
jae 0x431e5d
lea eax, [ebp - 0x574]
push 0
push eax
push ebx
call fcn.0042a650
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jb 0x431e80
mov eax, dword [ebp - 0x590]
push eax
call fcn.004401d7
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], edi
jb 0x431d47
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.004401d7
add esp, 4
xor eax, eax
jmp 0x4325ca
lea edx, [ebp - 0x348]
push 0
push edx
call fcn.0042e7b0
add esp, 8
mov ebx, 0x10
test eax, eax
jne 0x43257c
mov edx, dword [ebp - 0x590]
cmp dword [ebp - 0x57c], ebx
jae 0x431eef
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431ef4
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407d70
push 0x24
push str.CusIniVerify_new_failed_try_for_old.
lea ecx, [ebp - 0x574]
call fcn.00413820
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x431f30
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.0042a650
push str.Huawei_3ComSecure_Client_reginfo
push edi
lea ecx, [ebp - 0x450]
push 0x46c9fc
push ecx
call fcn.00440eaa
lea edx, [ebp - 0x450]
push 0
push edx
call fcn.0042e7b0
mov edx, dword [ebp - 0x590]
add esp, 0x24
test eax, eax
jne 0x43202a
cmp dword [ebp - 0x57c], ebx
jae 0x431f83
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431f88
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407d70
push 0x25
push str.CusIniVerify_old_failed_return_false.
lea ecx, [ebp - 0x574]
call fcn.00413820
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x431fc4
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.0042a650
add esp, 0xc
cmp dword [ebp - 0x57c], ebx
jb 0x431fed
mov ecx, dword [ebp - 0x590]
push ecx
call fcn.004401d7
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], ebx
jb 0x431d47
mov edx, dword [ebp - 0x574]
push edx
call fcn.004401d7
add esp, 4
xor eax, eax
jmp 0x4325ca
cmp dword [ebp - 0x57c], ebx
jae 0x432038
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432040
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407d70
push 0x24
push str.CusIniVerify_old_true_so_copy_files.
lea ecx, [ebp - 0x574]
call fcn.00413820
mov eax, dword [ebp - 0x574]
cmp dword [ebp - 0x560], ebx
jae 0x43207c
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.0042a650
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x432090
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4320b0
mov cx, word [0x46cb94]
lea eax, [ebp - 0x240]
mov word [edi], cx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4320d0
mov edx, dword [str.iNodeCustom.ini]
mov esi, dword [0x46e4dc]
mov ebx, dword [0x46e4e0]
mov ecx, dword [0x46e4e4]
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 0x432100
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432120
mov ax, word [0x46cb94]
mov word [edi], ax
lea eax, [ebp - 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x432138
mov ecx, dword [0x46e4e4]
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 0x4321fb
mov edx, dword [ebp - 0x590]
mov edi, 0x10
cmp dword [ebp - 0x57c], edi
jae 0x432188
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432190
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x574]
call fcn.00407d70
push 0x26
push str.CopyFile_iNodeCustom.ini_return_false_
lea ecx, [ebp - 0x574]
call fcn.00413820
cmp dword [ebp - 0x560], edi
mov eax, dword [ebp - 0x574]
jae 0x4321cc
lea eax, [ebp - 0x574]
mov ecx, dword [ebp - 0x594]
push 0
push eax
push ecx
call fcn.0042a650
add esp, 0xc
lea ecx, [ebp - 0x590]
call fcn.00407890
lea ecx, [ebp - 0x574]
call fcn.00407890
xor eax, eax
jmp 0x4325ca
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x432200
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432220
mov dx, word [0x46cb94]
lea eax, [ebp - 0x240]
mov word [edi], dx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x432240
mov edx, dword [str.iNodeCustom.vrf]
mov esi, dword [0x46e4ec]
mov ebx, dword [0x46e4f0]
mov ecx, dword [0x46e4f4]
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 0x432270
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432290
mov ax, word [0x46cb94]
mov word [edi], ax
lea eax, [ebp - 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4322a8
mov ecx, dword [0x46e4f4]
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 0x43231d
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x4322f4
lea eax, [ebp - 0x590]
push eax
lea ecx, [ebp - 0x574]
call fcn.004078c0
push 0x26
push str.CopyFile_iNodeCustom.vrf_return_false_
lea ecx, [ebp - 0x574]
call fcn.00413820
cmp dword [ebp - 0x560], esi
jmp 0x4321be
xor eax, eax
nop
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x432320
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432340
mov dx, word [0x46cb94]
mov word [edi], dx
lea edi, [ebp - 0x240]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432360
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 0x432380
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4323a0
mov word [edi], dx
lea edi, [ebp - 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4323b2
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 0x432427
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x4323fe
lea eax, [ebp - 0x590]
push eax
lea ecx, [ebp - 0x574]
call fcn.004078c0
push 0x2d
push str.CopyFile_iNodeUninstallInfo.ini_return_false_
lea ecx, [ebp - 0x574]
call fcn.00413820
cmp dword [ebp - 0x560], esi
jmp 0x4321be
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x432430
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432450
mov dx, word [0x46cb94]
mov word [edi], dx
lea edi, [ebp - 0x240]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432470
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 0x432490
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4324b0
mov word [edi], dx
lea edi, [ebp - 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4324c2
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 0x432531
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x432508
lea eax, [ebp - 0x590]
push eax
lea ecx, [ebp - 0x574]
call fcn.004078c0
push 0x2d
push str.CopyFile_iNodeUninstallInfo.vrf_return_false_
lea ecx, [ebp - 0x574]
call fcn.00413820
cmp dword [ebp - 0x560], esi
jmp 0x4321be
push 0x104
lea edx, [ebp - 0x557]
push 0
push edx
mov byte [ebp - 0x558], 0
call fcn.00440e30
mov eax, dword [ebp - 0x598]
push str.Huawei_3Com
push eax
lea ecx, [ebp - 0x558]
push 0x46c9fc
push ecx
call fcn.00440eaa
lea edx, [ebp - 0x558]
push edx
call fcn.00436ea0
add esp, 0x20
mov ebx, 0x10
cmp dword [ebp - 0x57c], ebx
jb 0x432593
mov eax, dword [ebp - 0x590]
push eax
call fcn.004401d7
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], ebx
jb 0x4325c5
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.004401d7
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.0043fe5a
mov esp, ebp
pop ebp
ret