Function at 0x42bd40
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x4e83f4]
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 dword [ebp - 0x29c], ecx
call fcn.0043cc60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42bed6
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], al
call fcn.00408180
push 3
push 0x4be84c
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.00408180
mov byte [ebp - 4], 1
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x334]
push 0x402
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004046f0
mov esi, eax
push str.WechatHelper::InitWxPathFromShortcut
push esi
mov byte [ebp - 4], 2
call fcn.00405680
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x334]
call fcn.004057a0
mov edx, dword [ebp - 0x23c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42be7a
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42be70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c592
push edx
push ecx
call fcn.004395b0
add esp, 8
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x42bed6
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42becc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c597
push edx
push ecx
call fcn.004395b0
add esp, 8
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x235], 0
push 0
push eax
call fcn.0046c7a0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
add esp, 0xc
push 0
push 0x10
push eax
push 0
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push 0x4c1840
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x21c]
push eax
call ebx
test eax, eax
jne 0x42bf4b
push eax
push 0x19
lea eax, [ebp - 0x21c]
push eax
push 0
call esi
push 0x4c1840
lea eax, [ebp - 0x21c]
push eax
call edi
lea eax, [ebp - 0x21c]
push eax
call ebx
test eax, eax
jne 0x42c03f
call fcn.0043cc60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42c570
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], al
call fcn.00408180
push 3
push 0x4be84c
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.00408180
mov byte [ebp - 4], 4
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x334]
push 0x40d
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004046f0
mov esi, eax
push str.wx_shortcut_is_not_exist
push esi
mov byte [ebp - 4], 5
call fcn.00405680
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x334]
call fcn.004057a0
lea ecx, [ebp - 0x268]
call fcn.004050d0
lea ecx, [ebp - 0x250]
call fcn.004050d0
jmp 0x42c570
xor eax, eax
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c065
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00403770
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00423100
add esp, 8
mov edx, dword [ebp - 0x23c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x42c0e8
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c0de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c59c
push edx
push ecx
call fcn.004395b0
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.0043cc60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42c286
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], al
call fcn.00408180
push 3
push 0x4be84c
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 9
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
call fcn.00408180
mov byte [ebp - 4], 0xa
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x334]
push 0x411
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004046f0
mov esi, eax
push str.wx_path_from_shorcut:
push esi
mov byte [ebp - 4], 0xb
call fcn.00405680
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov eax, 0x4be8f8
cmovae ecx, dword [ebp - 0x234]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00403a80
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x334]
call fcn.004057a0
mov edx, dword [ebp - 0x26c]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x42c22d
mov ecx, dword [ebp - 0x280]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c5a1
push edx
push ecx
call fcn.004395b0
add esp, 8
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x42c286
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c27c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c5a6
push edx
push ecx
call fcn.004395b0
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call ebx
test eax, eax
jne 0x42c390
call fcn.0043cc60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42c380
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], al
call fcn.00408180
push 3
push 0x4be84c
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0xf
mov byte [ebp - 0x298], 0
call fcn.00408180
mov byte [ebp - 4], 0xd
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x334]
push 0x413
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.004046f0
mov esi, eax
push str.wx_shortcut_exe_is_not_exist
push esi
mov byte [ebp - 4], 0xe
call fcn.00405680
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x334]
call fcn.004057a0
lea ecx, [ebp - 0x298]
call fcn.004050d0
lea ecx, [ebp - 0x268]
call fcn.004050d0
lea ecx, [ebp - 0x234]
call fcn.00403110
jmp 0x42c570
mov edi, dword [ebp - 0x29c]
lea eax, [ebp - 0x234]
lea esi, [edi + 8]
cmp esi, eax
je 0x42c3bf
cmp dword [ebp - 0x220], 8
mov ecx, esi
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.00403770
lea ecx, [edi + 0x20]
cmp ecx, esi
je 0x42c3d9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42c3d0
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00403770
mov byte [ebp - 0x235], 1
call fcn.0043cc60
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42c534
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], 0xf
mov byte [ebp - 0x298], al
call fcn.00408180
push 3
push 0x4be84c
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
call fcn.00408180
mov byte [ebp - 4], 0x10
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x3cc]
push 0x419
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004046f0
mov esi, eax
push str.WechatHelper::InitWxPathFromShortcut_succ
push esi
mov byte [ebp - 4], 0x11
call fcn.00405680
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3cc]
call fcn.004057a0
mov edx, dword [ebp - 0x26c]
cmp edx, 0x10
jb 0x42c4df
mov ecx, dword [ebp - 0x280]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c4d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c5ab
push edx
push ecx
call fcn.004395b0
add esp, 8
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
cmp edx, 0x10
jb 0x42c534
mov ecx, dword [ebp - 0x298]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c52a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c5b0
push edx
push ecx
call fcn.004395b0
add esp, 8
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x42c570
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c566
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c5b5
push edx
push ecx
call fcn.004395b0
add esp, 8
mov al, byte [ebp - 0x235]
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.004395be
mov esp, ebp
pop ebp
ret
call fcn.0046fe99
call fcn.0046fe99
call fcn.0046fe99
call fcn.0046fe99
call fcn.0046fe99
call fcn.0046fe99
call fcn.0046fe99
call fcn.0046fe99
int3