Function at 0x431b60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4683f6
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.00440de0
push 0x104
lea ecx, [ebp - 0x44f]
push esi
push ecx
mov byte [ebp - 0x450], 0
call fcn.00440de0
add esp, 0x18
call fcn.004306f0
mov edi, eax
mov dword [ebp - 0x598], edi
cmp edi, esi
jne 0x431cfe
mov edx, dword [ebp - 0x590]
mov edi, 0x10
cmp dword [ebp - 0x57c], edi
jae 0x431c61
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431c66
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 0x431ca2
lea eax, [ebp - 0x574]
push 0
push eax
push ebx
call fcn.0042a600
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jb 0x431cc5
mov edx, dword [ebp - 0x590]
push edx
call fcn.00440187
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], edi
jb 0x431cf7
mov eax, dword [ebp - 0x574]
push eax
call fcn.00440187
add esp, 4
xor eax, eax
jmp 0x43257a
push str.iNodeSecure_Client_reginfo
push edi
lea ecx, [ebp - 0x348]
push 0x46c9e8
push ecx
call fcn.00440e5a
lea edx, [ebp - 0x348]
push edx
call fcn.004365f0
add esp, 0x14
test eax, eax
jne 0x431e6d
push 0x104
mov byte [ebp - 0x240], al
lea eax, [ebp - 0x23f]
push esi
push eax
call fcn.00440de0
lea ecx, [ebp - 0x348]
push ecx
lea edx, [ebp - 0x240]
push 0x46e758
push edx
call fcn.00440e5a
add esp, 0x18
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
test eax, eax
jne 0x431e6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
push 0x46cd0c
push ecx
call fcn.00440e5a
mov edx, dword [ebp - 0x590]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jae 0x431da5
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431db0
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 0x431de0
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 0x431e0d
lea eax, [ebp - 0x574]
push 0
push eax
push ebx
call fcn.0042a600
add esp, 0xc
cmp dword [ebp - 0x57c], edi
jb 0x431e30
mov eax, dword [ebp - 0x590]
push eax
call fcn.00440187
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], edi
jb 0x431cf7
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.00440187
add esp, 4
xor eax, eax
jmp 0x43257a
lea edx, [ebp - 0x348]
push 0
push edx
call fcn.0042e760
add esp, 8
mov ebx, 0x10
test eax, eax
jne 0x43252c
mov edx, dword [ebp - 0x590]
cmp dword [ebp - 0x57c], ebx
jae 0x431e9f
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431ea4
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 0x431ee0
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.0042a600
push str.Huawei_3ComSecure_Client_reginfo
push edi
lea ecx, [ebp - 0x450]
push 0x46c9e8
push ecx
call fcn.00440e5a
lea edx, [ebp - 0x450]
push 0
push edx
call fcn.0042e760
mov edx, dword [ebp - 0x590]
add esp, 0x24
test eax, eax
jne 0x431fda
cmp dword [ebp - 0x57c], ebx
jae 0x431f33
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431f38
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 0x431f74
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.0042a600
add esp, 0xc
cmp dword [ebp - 0x57c], ebx
jb 0x431f9d
mov ecx, dword [ebp - 0x590]
push ecx
call fcn.00440187
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], ebx
jb 0x431cf7
mov edx, dword [ebp - 0x574]
push edx
call fcn.00440187
add esp, 4
xor eax, eax
jmp 0x43257a
cmp dword [ebp - 0x57c], ebx
jae 0x431fe8
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431ff0
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 0x43202c
lea eax, [ebp - 0x574]
push 0
push eax
mov eax, dword [ebp - 0x594]
push eax
call fcn.0042a600
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x432040
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432060
mov cx, word [0x46cb80]
lea eax, [ebp - 0x240]
mov word [edi], cx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x432080
mov edx, dword [str.iNodeCustom.ini]
mov esi, dword [0x46e4cc]
mov ebx, dword [0x46e4d0]
mov ecx, dword [0x46e4d4]
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 0x4320b0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4320d0
mov ax, word [0x46cb80]
mov word [edi], ax
lea eax, [ebp - 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4320e8
mov ecx, dword [0x46e4d4]
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 0x4321ab
mov edx, dword [ebp - 0x590]
mov edi, 0x10
cmp dword [ebp - 0x57c], edi
jae 0x432138
lea edx, [ebp - 0x590]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432140
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 0x43217c
lea eax, [ebp - 0x574]
mov ecx, dword [ebp - 0x594]
push 0
push eax
push ecx
call fcn.0042a600
add esp, 0xc
lea ecx, [ebp - 0x590]
call fcn.00407890
lea ecx, [ebp - 0x574]
call fcn.00407890
xor eax, eax
jmp 0x43257a
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x4321b0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4321d0
mov dx, word [0x46cb80]
lea eax, [ebp - 0x240]
mov word [edi], dx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4321f0
mov edx, dword [str.iNodeCustom.vrf]
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 0x432220
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432240
mov ax, word [0x46cb80]
mov word [edi], ax
lea eax, [ebp - 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x432258
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 0x4322cd
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x4322a4
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 0x43216e
xor eax, eax
nop
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x4322d0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4322f0
mov dx, word [0x46cb80]
mov word [edi], dx
lea edi, [ebp - 0x240]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432310
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 0x432330
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432350
mov word [edi], dx
lea edi, [ebp - 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432362
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 0x4323d7
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x4323ae
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 0x43216e
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x450]
mov byte [ebp + eax - 0x240], cl
inc eax
test cl, cl
jne 0x4323e0
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432400
mov dx, word [0x46cb80]
mov word [edi], dx
lea edi, [ebp - 0x240]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432420
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 0x432440
lea edi, [ebp - 0x138]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432460
mov word [edi], dx
lea edi, [ebp - 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x432472
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 0x4324e1
mov eax, dword [ebp - 0x590]
mov esi, 0x10
cmp dword [ebp - 0x57c], esi
jae 0x4324b8
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 0x43216e
push 0x104
lea edx, [ebp - 0x557]
push 0
push edx
mov byte [ebp - 0x558], 0
call fcn.00440de0
mov eax, dword [ebp - 0x598]
push str.Huawei_3Com
push eax
lea ecx, [ebp - 0x558]
push 0x46c9e8
push ecx
call fcn.00440e5a
lea edx, [ebp - 0x558]
push edx
call fcn.00436e50
add esp, 0x20
mov ebx, 0x10
cmp dword [ebp - 0x57c], ebx
jb 0x432543
mov eax, dword [ebp - 0x590]
push eax
call fcn.00440187
add esp, 4
mov dword [ebp - 0x57c], 0xf
mov dword [ebp - 0x580], 0
mov byte [ebp - 0x590], 0
cmp dword [ebp - 0x560], ebx
jb 0x432575
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.00440187
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.0043fe0a
mov esp, ebp
pop ebp
ret