Function at 0x40e6dd
Capabilities:
Delete file
Move file

Disassembly:
push 0x178
mov eax, 0x456ab3
call fcn.0043bb65
call fcn.00419691
push eax
lea ecx, [ebp - 0x14]
call fcn.00401445
and dword [ebp - 4], 0
call fcn.00419691
push eax
lea ecx, [ebp - 0x10]
call fcn.00401445
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0040bf5e
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004056ef
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401212
push str.RuijieSupplicantUninstall_
push dword [ebp - 0x14]
call fcn.0040bd40
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x10]
call fcn.0040135e
push esi
call fcn.00418f70
mov ebx, dword [ebp + 8]
pop ecx
lea eax, [ebp - 0x10]
add ebx, 0x770
push eax
mov ecx, ebx
call fcn.004056ef
lea eax, [ebp - 0x184]
push eax
call fcn.004093ca
mov byte [ebp - 4], 3
push dword [ebx]
mov esi, eax
push 0x45f4d0
push 2
pop ebx
call fcn.0040b3e1
push eax
call fcn.00409635
pop ecx
pop ecx
push eax
call fcn.00409635
pop ecx
pop ecx
lea eax, [ebp - 0x184]
push eax
mov byte [ebp - 4], 1
call fcn.00409420
mov dword [ebp - 0x48], 0x45ebc0
mov dword [ebp - 0x44], 0x45f4e4
mov dword [ebp - 0x40], str.SuInstallerInterface.dll
mov dword [ebp - 0x3c], str.rjixsu.xml
mov dword [ebp - 0x38], str.uiLang.xml
mov dword [ebp - 0x34], str.SuConfig.dat
mov dword [ebp - 0x30], str.snetcfg.exe
mov dword [ebp - 0x2c], str.DuiLib.dll
mov dword [ebp - 0x28], str.install.zip
mov dword [ebp - 0x24], 0x45e608
xor esi, esi
mov edi, dword [ebp + esi*4 - 0x48]
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004055a8
add esp, 0xc
mov ebx, eax
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.004055a8
add esp, 0xc
mov ecx, eax
mov eax, ebx
mov byte [ebp - 4], 5
call fcn.0040c1f8
mov ecx, dword [ebp + 8]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401212
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401212
test bl, bl
jne 0x40ea0f
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004055a8
mov eax, dword [eax]
add esp, 0xc
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401212
inc esi
cmp esi, 0xa
jb 0x40e7f4
push str.icon_
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004055a8
add esp, 0xc
mov edi, str.main.ico
push edi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.004055a8
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401212
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004055a8
add esp, 0xc
mov ecx, eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.0040c1f8
mov ebx, eax
neg ebx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401212
test bl, bl
je 0x40ea76
lea eax, [ebp - 0x184]
push eax
call fcn.004093ca
push edi
push 0x45f524
push 3
mov esi, eax
pop ebx
mov byte [ebp - 4], 0xb
call fcn.0040b3e1
push eax
call fcn.00409635
pop ecx
pop ecx
push eax
call fcn.00409635
pop ecx
pop ecx
lea eax, [ebp - 0x184]
push eax
mov byte [ebp - 4], 9
call fcn.00409420
push str.icon_
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004055a8
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xc
call fcn.004055a8
add esp, 0xc
mov ecx, eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.0040c1f8
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401212
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401212
test bl, bl
je 0x40ea69
lea eax, [ebp - 0x184]
push eax
call fcn.004093ca
push edi
push 0x45f524
push 4
mov esi, eax
pop ebx
mov byte [ebp - 4], 0xe
call fcn.0040b3e1
push eax
call fcn.00409635
pop ecx
pop ecx
push eax
call fcn.00409635
pop ecx
pop ecx
lea eax, [ebp - 0x184]
push eax
mov byte [ebp - 4], 9
call fcn.00409420
xor esi, esi
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401212
mov eax, esi
call fcn.0043bc3d
ret 4
lea eax, [ebp - 0x184]
push eax
call fcn.004093ca
push edi
push 0x45f524
push 4
mov esi, eax
pop ebx
mov byte [ebp - 4], 6
call fcn.0040b3e1
push eax
call fcn.00409635
pop ecx
pop ecx
push eax
call fcn.00409635
pop ecx
pop ecx
lea eax, [ebp - 0x184]
push eax
mov byte [ebp - 4], 1
call fcn.00409420
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401212
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401212
xor eax, eax
jmp 0x40ea07
push 4
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
xor esi, esi
inc esi
jmp 0x40e9e4