Function at 0x41a1f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a8f9
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x58ec74]
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.0042e550
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.004f9228
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 0x41a2dd
mov edi, dword [ebp - 0xa4]
nop dword [eax]
push edi
add esi, esi
call fcn.004f9231
push esi
call fcn.004f9228
add esp, 8
mov edi, eax
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, esi
je 0x41a2b0
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 0x41a2e8
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00404d70
push esi
call fcn.004f9231
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041a090
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x41a34c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a342
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a993
push edx
push ecx
call fcn.004f8f7d
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.0041a090
add esp, 8
push 0xc
push 0x54bc4c
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00408400
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 0x41a3e2
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 0x41a416
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41a416
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a40c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a998
push edx
push ecx
call fcn.004f8f7d
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x41a454
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a44a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a99d
push edx
push ecx
call fcn.004f8f7d
add esp, 8
mov esi, dword [ebp - 0xb8]
mov dword [esi + 0x20], 2
call fcn.00425e50
mov ecx, eax
call fcn.00426020
test al, al
je 0x41a478
mov dword [esi + 0x20], 3
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x41a482
mov eax, dword [edi]
push 1
push eax
mov ecx, esi
call fcn.0042ee50
lea ecx, [ebp - 0xa4]
call fcn.004043d0
push 0
push 0x5497b0
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 0x41a530
push 0
push 0x5497b0
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 0x41a5c4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a521
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a9a2
push edx
push ecx
call fcn.004f8f7d
add esp, 8
jmp 0x41a5c4
lea ecx, [ebp - 0xa4]
call fcn.004047a0
test al, al
jne 0x41a5a7
nop
lea ecx, [ebp - 0xa4]
call fcn.00404790
lea ecx, [ebp - 0xa4]
cmp eax, 2
je 0x41a56c
call fcn.004047c0
lea ecx, [ebp - 0xa4]
call fcn.004047a0
test al, al
je 0x41a540
jmp 0x41a5a7
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 0x41a590
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 0x5497b0
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 0x54bc5c
push str.CheckModelName
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.0042f160
mov ecx, eax
call fcn.0042e7b0
mov ecx, eax
call fcn.0042f180
push 0
lea ecx, [ebp - 0xb4]
call fcn.0042e790
test al, al
je 0x41a826
lea eax, [ebp - 0x58]
push eax
push str.modelName
lea ecx, [ebp - 0xb4]
call fcn.0042e7b0
mov ecx, eax
call fcn.0042ee30
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 0x41a684
test dl, dl
je 0x41a680
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41a684
add ecx, 2
add eax, 2
test dl, dl
jne 0x41a664
xor eax, eax
jmp 0x41a689
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41a6d3
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.0046dbc0
push eax
call fcn.00471a00
add esp, 0x18
jmp 0x41a8b7
cmp dword [ebp - 0x48], 0
je 0x41a738
cmp dword [ebp - 0x30], 0
je 0x41a738
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.0046dbc0
push eax
call fcn.00471a00
add esp, 0x20
mov edx, dword [edi + 0x14]
mov ecx, edi
cmp edx, 0x10
jb 0x41a744
mov ecx, dword [edi]
mov esi, dword [edi + 0x10]
add esi, ecx
mov dword [ebp - 0xa4], edi
mov ecx, edi
cmp edx, 0x10
jb 0x41a75e
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.004100e0
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x28]
push esi
push dword [ebp - 0xa4]
call fcn.00410470
mov esi, dword [ebp - 0xb8]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0042e6d0
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 0x41a7bf
mov edi, dword [edi]
push 1
push edi
mov ecx, esi
call fcn.0042ee50
push 0x54bc5c
push str.CheckModelName
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.0042f160
mov ecx, eax
call fcn.0042e7b0
mov ecx, eax
call fcn.0042e890
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.0042e7b0
mov ecx, eax
call fcn.0042f5a0
mov ecx, esi
call fcn.0042f170
lea ecx, [ebp - 0x28]
call fcn.00403b60
jmp 0x41a8b7
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.0046dbc0
push eax
call fcn.00471a00
add esp, 0x18
lea eax, [ebp - 0xa8]
mov ecx, esi
push 0x54bc5c
push str.CheckModelName
push eax
call fcn.0042f160
mov ecx, eax
call fcn.0042e7b0
mov ecx, eax
call fcn.0042e890
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.0042e7b0
mov ecx, eax
call fcn.0042f5a0
mov ecx, esi
call fcn.0042f170
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41a8eb
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a8e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a9a7
push edx
push ecx
call fcn.004f8f7d
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 0x41a931
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a927
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a9ac
push edx
push ecx
call fcn.004f8f7d
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 0x41a976
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a96c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a9b1
push edx
push ecx
call fcn.004f8f7d
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.004f8f3c
mov esp, ebp
pop ebp
ret
call fcn.00514793
call fcn.00514793
call fcn.00514793
call fcn.00514793
call fcn.00514793
call fcn.00514793
call fcn.00514793
int3