Function at 0x41c770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b279
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5a4ca4]
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.004332b0
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.005099f5
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 0x41c85d
mov edi, dword [ebp - 0xa4]
nop dword [eax]
push edi
add esi, esi
call fcn.005099fe
push esi
call fcn.005099f5
add esp, 8
mov edi, eax
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, esi
je 0x41c830
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 0x41c868
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405980
push esi
call fcn.005099fe
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041c610
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x41c8cc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c8c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cf33
push edx
push ecx
call fcn.0050974d
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.0041c610
add esp, 8
push 0xc
push 0x55d2cc
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00409260
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 0x41c962
mov ecx, edi
call fcn.00405690
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0xac]
movq qword [edi + 0x10], xmm0
jmp 0x41c996
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41c996
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c98c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cf38
push edx
push ecx
call fcn.0050974d
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x41c9d4
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c9ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cf3d
push edx
push ecx
call fcn.0050974d
add esp, 8
mov esi, dword [ebp - 0xb8]
mov dword [esi + 0x20], 2
call fcn.00428710
mov ecx, eax
call fcn.004288e0
test al, al
je 0x41c9f8
mov dword [esi + 0x20], 3
call fcn.00428710
mov ecx, eax
call fcn.00428990
test al, al
je 0x41ca0f
mov dword [esi + 0x20], 4
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x41ca19
mov eax, dword [edi]
push 1
push eax
mov ecx, esi
call fcn.00433be0
lea ecx, [ebp - 0xa4]
call fcn.00404fe0
push 0
push 0x55a8b0
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.00405980
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.00405410
test al, al
jne 0x41cac7
push 0
push 0x55a8b0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00405980
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x41cb64
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cab8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cf42
push edx
push ecx
call fcn.0050974d
add esp, 8
jmp 0x41cb64
lea ecx, [ebp - 0xa4]
call fcn.004053b0
test al, al
jne 0x41cb47
nop word [eax + eax]
lea ecx, [ebp - 0xa4]
call fcn.004053a0
lea ecx, [ebp - 0xa4]
cmp eax, 2
je 0x41cb0c
call fcn.004053d0
lea ecx, [ebp - 0xa4]
call fcn.004053b0
test al, al
je 0x41cae0
jmp 0x41cb47
call fcn.00405220
lea ecx, [ebp - 0xa4]
movzx eax, byte [eax + 5]
push eax
call fcn.00405360
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 0x41cb30
sub ecx, dword [ebp - 0xa8]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00405980
lea ecx, [ebp - 0xa4]
call fcn.00405200
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.00405080
push 0
push 0x55a8b0
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.00405980
push 0x55d2dc
push str.CheckModelName
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.00433ef0
mov ecx, eax
call fcn.00433540
mov ecx, eax
call fcn.00433f10
push 0
lea ecx, [ebp - 0xb4]
call fcn.00433520
test al, al
je 0x41cdc6
lea eax, [ebp - 0x58]
push eax
push str.modelName
lea ecx, [ebp - 0xb4]
call fcn.00433540
mov ecx, eax
call fcn.00433bc0
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 0x41cc24
test dl, dl
je 0x41cc20
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41cc24
add ecx, 2
add eax, 2
test dl, dl
jne 0x41cc04
xor eax, eax
jmp 0x41cc29
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41cc73
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], 0x1df
movq xmm0, qword [ebp - 0xb0]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.FanStoreHelper::FanStoreHelper
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x18
jmp 0x41ce57
cmp dword [ebp - 0x48], 0
je 0x41ccd8
cmp dword [ebp - 0x30], 0
je 0x41ccd8
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], 0x1e4
movq xmm0, qword [ebp - 0xb0]
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.FanStoreHelper::FanStoreHelper
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x20
mov edx, dword [edi + 0x14]
mov ecx, edi
cmp edx, 0x10
jb 0x41cce4
mov ecx, dword [edi]
mov esi, dword [edi + 0x10]
add esi, ecx
mov dword [ebp - 0xa4], edi
mov ecx, edi
cmp edx, 0x10
jb 0x41ccfe
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.004110b0
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x28]
push esi
push dword [ebp - 0xa4]
call fcn.00411440
mov esi, dword [ebp - 0xb8]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00433430
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 0x41cd5f
mov edi, dword [edi]
push 1
push edi
mov ecx, esi
call fcn.00433be0
push 0x55d2dc
push str.CheckModelName
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.00433ef0
mov ecx, eax
call fcn.00433540
mov ecx, eax
call fcn.00433620
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.00433540
mov ecx, eax
call fcn.00434330
mov ecx, esi
call fcn.00433f00
lea ecx, [ebp - 0x28]
call fcn.00404720
jmp 0x41ce57
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], 0x1f0
movq xmm0, qword [ebp - 0xb0]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.FanStoreHelper::FanStoreHelper
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x18
lea eax, [ebp - 0xa8]
mov ecx, esi
push 0x55d2dc
push str.CheckModelName
push eax
call fcn.00433ef0
mov ecx, eax
call fcn.00433540
mov ecx, eax
call fcn.00433620
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.00433540
mov ecx, eax
call fcn.00434330
mov ecx, esi
call fcn.00433f00
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41ce8b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ce81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cf47
push edx
push ecx
call fcn.0050974d
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 0x41ced1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cec7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cf4c
push edx
push ecx
call fcn.0050974d
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 0x41cf16
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cf0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cf51
push edx
push ecx
call fcn.0050974d
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.0050970c
mov esp, ebp
pop ebp
ret
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
int3