Function at 0x4129c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b7c2
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x4ca3f4]
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
mov ebx, ecx
cmp dword [ebx + 0x4c], 0
lea edi, [ebx + 0x4c]
mov al, 1
mov dword [ebp - 0x220], edi
jne 0x412cab
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 0x219], 0
push 0
push eax
call fcn.0046d470
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.sweeperCleanEngine.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412b94
lea eax, [ebp - 0x218]
push eax
call fcn.0045df40
add esp, 4
test eax, eax
jne 0x412b6e
call fcn.004230f0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412b67
push 0x55
push str.d:jenkins.jenkinsworkspacemaster_luwx_cleanwechat_clean_srcwechat_clean_wnd.cc
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], al
call fcn.00407ba0
push 3
push 0x4a4898
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.00407ba0
mov byte [ebp - 4], 1
call fcn.004230f0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x28
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00403750
mov esi, eax
push str.has_no_sign
push esi
mov byte [ebp - 4], 2
call fcn.00402890
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.004048c0
lea ecx, [ebp - 0x238]
call fcn.00404040
lea ecx, [ebp - 0x250]
call fcn.00404040
xor al, al
jmp 0x412cab
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x412b94
push dword [0x4ca078]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412b94
call eax
mov dword [edi], eax
cmp dword [edi], 0
je 0x412ca5
call fcn.004230f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412c85
push 0x55
push str.d:jenkins.jenkinsworkspacemaster_luwx_cleanwechat_clean_srcwechat_clean_wnd.cc
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], al
call fcn.00407ba0
push 3
push 0x4a4a40
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 3
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
call fcn.00407ba0
mov byte [ebp - 4], 4
call fcn.004230f0
mov edi, eax
lea ecx, [ebp - 0x3b0]
push 0x37
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00403750
mov esi, eax
push str.Init_CleanEngine
push esi
mov byte [ebp - 4], 5
call fcn.00404660
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3b0]
call fcn.004048c0
lea ecx, [ebp - 0x268]
call fcn.00404040
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], 0xffffffff
call fcn.00404040
mov edi, dword [ebp - 0x220]
mov ecx, dword [edi]
lea eax, [ebx + 0x2c]
neg ebx
push 4
sbb ebx, ebx
mov edx, dword [ecx]
and ebx, eax
push ebx
push ecx
call dword [edx + 4]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov al, 1
jmp 0x412cab
mov al, byte [ebp - 0x219]
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.00461490
mov esp, ebp
pop ebp
ret