Function at 0x405bf0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b20b6
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4e83f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00420ad0
add esp, 4
push 0x11
push str.multi_wechat.set
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004035e0
mov edi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x44], eax
jb 0x405c5c
mov edi, dword [edi]
cmp eax, 8
jae 0x405c6f
movups xmm0, xmmword [edi]
mov esi, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x405ca5
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, 0x7ffffffe
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00403570
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0046bca0
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x405cec
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ee5
push edx
push ecx
call fcn.004395b0
mov esi, dword [ebp - 0x14]
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp esi, 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 7
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x405de6
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 0x405dd9
push 0x76
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcindependent.cc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], al
call fcn.00408180
push 3
push 0x4be84c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00408180
mov byte [ebp - 4], 4
call fcn.0043cc60
mov edi, eax
lea ecx, [ebp - 0x124]
push 0x2f
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004046f0
mov esi, eax
push str.src_profile_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 - 0x124]
call fcn.004057a0
lea ecx, [ebp - 0x74]
call fcn.004050d0
lea ecx, [ebp - 0x8c]
call fcn.004050d0
lea ecx, [ebp - 0x28]
call fcn.00403110
jmp 0x405eca
lea eax, [ebp - 0x40]
push eax
call fcn.00423d60
add esp, 4
push 0x1c
push str.LdsMultiWeChatmulti_wechat
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004035e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x11
push str.multi_wechat.set
lea ecx, [ebp - 0x40]
call fcn.004035e0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x405e80
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405e76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405eea
push edx
push ecx
call fcn.004395b0
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x405eca
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ec0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405eef
push edx
push ecx
call fcn.004395b0
add esp, 8
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.004395be
mov esp, ebp
pop ebp
ret
call fcn.0046fe99
call fcn.0046fe99
call fcn.0046fe99
int3