Function at 0x41a410
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bb19
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], 0
call fcn.0042e770
add edi, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0xa8], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov esi, 0x80
mov byte [ebp - 4], 2
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xbc], 2
call fcn.004fa445
add esp, 4
mov dword [ebp - 0xa4], eax
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, esi
jne 0x41a4fd
mov edi, dword [ebp - 0xa4]
nop dword [eax]
push edi
add esi, esi
call fcn.004fa44e
push esi
call fcn.004fa445
add esp, 8
mov edi, eax
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, esi
je 0x41a4d0
mov dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa4]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a508
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00404d70
push esi
call fcn.004fa44e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041a2b0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x41a56c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a562
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41abb3
push edx
push ecx
call fcn.004fa19d
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041a2b0
add esp, 8
push 0xc
push 0x54cc4c
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00408620
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x70]
movq qword [ebp - 0xac], xmm0
movq qword [ebp - 0x60], xmm0
cmp edi, eax
je 0x41a602
mov ecx, edi
call fcn.00404a80
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0xac]
movq qword [edi + 0x10], xmm0
jmp 0x41a636
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41a636
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a62c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41abb8
push edx
push ecx
call fcn.004fa19d
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x41a674
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a66a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41abbd
push edx
push ecx
call fcn.004fa19d
add esp, 8
mov esi, dword [ebp - 0xb8]
mov dword [esi + 0x20], 2
call fcn.00426060
mov ecx, eax
call fcn.00426230
test al, al
je 0x41a698
mov dword [esi + 0x20], 3
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x41a6a2
mov eax, dword [edi]
push 1
push eax
mov ecx, esi
call fcn.0042f070
lea ecx, [ebp - 0xa4]
call fcn.004043d0
push 0
push 0x54a7b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00404d70
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.00404800
test al, al
jne 0x41a750
push 0
push 0x54a7b0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00404d70
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x41a7e4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a741
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41abc2
push edx
push ecx
call fcn.004fa19d
add esp, 8
jmp 0x41a7e4
lea ecx, [ebp - 0xa4]
call fcn.004047a0
test al, al
jne 0x41a7c7
nop
lea ecx, [ebp - 0xa4]
call fcn.00404790
lea ecx, [ebp - 0xa4]
cmp eax, 2
je 0x41a78c
call fcn.004047c0
lea ecx, [ebp - 0xa4]
call fcn.004047a0
test al, al
je 0x41a760
jmp 0x41a7c7
call fcn.00404610
lea ecx, [ebp - 0xa4]
movzx eax, byte [eax + 5]
push eax
call fcn.00404750
mov edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xa8], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a7b0
sub ecx, dword [ebp - 0xa8]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404d70
lea ecx, [ebp - 0xa4]
call fcn.004045f0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x30], xmm0
lea ecx, [ebp - 0xa4]
call fcn.00404470
push 0
push 0x54a7b0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00404d70
push 0x54cc5c
push str.CheckModelName
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.0042f380
mov ecx, eax
call fcn.0042e9d0
mov ecx, eax
call fcn.0042f3a0
push 0
lea ecx, [ebp - 0xb4]
call fcn.0042e9b0
test al, al
je 0x41aa46
lea eax, [ebp - 0x58]
push eax
push str.modelName
lea ecx, [ebp - 0xb4]
call fcn.0042e9d0
mov ecx, eax
call fcn.0042f050
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0x10
cmovae ecx, dword [ebp - 0x58]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41a8a4
test dl, dl
je 0x41a8a0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41a8a4
add ecx, 2
add eax, 2
test dl, dl
jne 0x41a884
xor eax, eax
jmp 0x41a8a9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41a8f3
push str._fan_service_:_fanstore.xml_pass
sub esp, 0xc
mov dword [ebp - 0xb0], str.d:jenkinsworkspace_asusfancontrolservice_src_asus_fanstore.cpp
mov eax, esp
mov dword [ebp - 0xac], 0x1da
movq xmm0, qword [ebp - 0xb0]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.FanStoreHelper::FanStoreHelper
call fcn.0046e790
push eax
call fcn.00472660
add esp, 0x18
jmp 0x41aad7
cmp dword [ebp - 0x48], 0
je 0x41a958
cmp dword [ebp - 0x30], 0
je 0x41a958
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x58]
mov dword [ebp - 0xb0], str.d:jenkinsworkspace_asusfancontrolservice_src_asus_fanstore.cpp
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0x10
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
push str._fan_service_:_del_fanstore.xml__s:_s
sub esp, 0xc
mov dword [ebp - 0xac], 0x1df
movq xmm0, qword [ebp - 0xb0]
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.FanStoreHelper::FanStoreHelper
call fcn.0046e790
push eax
call fcn.00472660
add esp, 0x20
mov edx, dword [edi + 0x14]
mov ecx, edi
cmp edx, 0x10
jb 0x41a964
mov ecx, dword [edi]
mov esi, dword [edi + 0x10]
add esi, ecx
mov dword [ebp - 0xa4], edi
mov ecx, edi
cmp edx, 0x10
jb 0x41a97e
mov ecx, dword [edi]
mov dword [ebp - 0xa4], ecx
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x14], 7
push eax
lea ecx, [ebp - 0x28]
call fcn.00410300
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x28]
push esi
push dword [ebp - 0xa4]
call fcn.00410690
mov esi, dword [ebp - 0xb8]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0042e8f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 0x10
jb 0x41a9df
mov edi, dword [edi]
push 1
push edi
mov ecx, esi
call fcn.0042f070
push 0x54cc5c
push str.CheckModelName
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.0042f380
mov ecx, eax
call fcn.0042e9d0
mov ecx, eax
call fcn.0042eab0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa8]
cmovae eax, dword [ebp - 0x40]
push eax
push str.modelName
call fcn.0042e9d0
mov ecx, eax
call fcn.0042f7c0
mov ecx, esi
call fcn.0042f390
lea ecx, [ebp - 0x28]
call fcn.00403b60
jmp 0x41aad7
push str._fan_service_:_fanstore.xml_is_old_version__just_write_down_modelName
sub esp, 0xc
mov dword [ebp - 0xb0], str.d:jenkinsworkspace_asusfancontrolservice_src_asus_fanstore.cpp
mov eax, esp
mov dword [ebp - 0xac], 0x1eb
movq xmm0, qword [ebp - 0xb0]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.FanStoreHelper::FanStoreHelper
call fcn.0046e790
push eax
call fcn.00472660
add esp, 0x18
lea eax, [ebp - 0xa8]
mov ecx, esi
push 0x54cc5c
push str.CheckModelName
push eax
call fcn.0042f380
mov ecx, eax
call fcn.0042e9d0
mov ecx, eax
call fcn.0042eab0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa8]
cmovae eax, dword [ebp - 0x40]
push eax
push str.modelName
call fcn.0042e9d0
mov ecx, eax
call fcn.0042f7c0
mov ecx, esi
call fcn.0042f390
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41ab0b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41abc7
push edx
push ecx
call fcn.004fa19d
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x41ab51
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41abcc
push edx
push ecx
call fcn.004fa19d
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x41ab96
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41abd1
push edx
push ecx
call fcn.004fa19d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
int3