Function at 0x40b780
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ce18
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x43a00c]
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
lea ecx, [ebp - 0x88]
call fcn.00409890
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.00409a10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00409b90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00409d10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmovae eax, dword [ebp - 0x88]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40b88b
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call edi
cmp dword [0x43ba80], 0
mov esi, eax
je 0x40b88b
lea ecx, [ebp - 0x70]
call fcn.004011a0
cmp dword [eax + 0x14], 0x10
jb 0x40b838
mov eax, dword [eax]
push esi
push 0x242
push str.D:qianliu_agentworkspace0mq_gitlab7538NetProxyInstCaByodProxyInstCa.cpp
push eax
push str._ERROR___s__s:_d_tdelete_strTmCertPath_finish_bRet_d_n
push dword [0x43ba80]
call fcn.00402120
mov edx, dword [ebp - 0x5c]
add esp, 0x18
cmp edx, 0x10
jb 0x40b88b
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b881
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb52
push edx
push ecx
call fcn.0040f6ee
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call ebx
test eax, eax
je 0x40b919
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call edi
cmp dword [0x43ba80], 0
mov esi, eax
je 0x40b919
lea ecx, [ebp - 0x70]
call fcn.004011a0
cmp dword [eax + 0x14], 0x10
jb 0x40b8c6
mov eax, dword [eax]
push esi
push 0x246
push str.D:qianliu_agentworkspace0mq_gitlab7538NetProxyInstCaByodProxyInstCa.cpp
push eax
push str._ERROR___s__s:_d_tdelete_strTmKeyPath_finish_bRet_d_n
push dword [0x43ba80]
call fcn.00402120
mov edx, dword [ebp - 0x5c]
add esp, 0x18
cmp edx, 0x10
jb 0x40b919
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b90f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb57
push edx
push ecx
call fcn.0040f6ee
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
je 0x40b9a7
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
cmp dword [0x43ba80], 0
mov esi, eax
je 0x40b9a7
lea ecx, [ebp - 0x70]
call fcn.004011a0
cmp dword [eax + 0x14], 0x10
jb 0x40b954
mov eax, dword [eax]
push esi
push 0x24a
push str.D:qianliu_agentworkspace0mq_gitlab7538NetProxyInstCaByodProxyInstCa.cpp
push eax
push str._ERROR___s__s:_d_tdelete_strTmIllegCertPath_finish_bRet_d_n
push dword [0x43ba80]
call fcn.00402120
mov edx, dword [ebp - 0x5c]
add esp, 0x18
cmp edx, 0x10
jb 0x40b9a7
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b99d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb5c
push edx
push ecx
call fcn.0040f6ee
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x40ba35
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
cmp dword [0x43ba80], 0
mov esi, eax
je 0x40ba35
lea ecx, [ebp - 0x70]
call fcn.004011a0
cmp dword [eax + 0x14], 0x10
jb 0x40b9e2
mov eax, dword [eax]
push esi
push 0x24e
push str.D:qianliu_agentworkspace0mq_gitlab7538NetProxyInstCaByodProxyInstCa.cpp
push eax
push str._ERROR___s__s:_d_tdelete_strTmIllegKeyPath_finish_bRet_d_n
push dword [0x43ba80]
call fcn.00402120
mov edx, dword [ebp - 0x5c]
add esp, 0x18
cmp edx, 0x10
jb 0x40ba35
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb61
push edx
push ecx
call fcn.0040f6ee
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40ba69
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb66
push edx
push ecx
call fcn.0040f6ee
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40baaf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40baa5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb66
push edx
push ecx
call fcn.0040f6ee
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40baf1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bae7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb66
push edx
push ecx
call fcn.0040f6ee
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x40bb36
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bb2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb66
push edx
push ecx
call fcn.0040f6ee
add esp, 8
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.0040f469
mov esp, ebp
pop ebp
ret
call fcn.00415003
call fcn.00415003
call fcn.00415003
call fcn.00415003
call fcn.00415003
int3