joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4169d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49de88
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x74], eax
xorps xmm0, xmm0
mov eax, dword [esi]
add eax, 0xc0
mov dword [ebp - 0x78], 0
push eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
call fcn.00405bb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
mov edx, dword [esi]
mov edx, dword [edx + 0x7c]
call fcn.004154f0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00405bb0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
inc eax
push eax
call fcn.004064a0
mov edi, dword [ebp - 0x24]
push 0x4b5884
push eax
push edi
call fcn.00480d25
mov edx, dword [ebp - 0x20]
add esp, 0xc
inc edx
cmp dword [ebp - 0x3c], 8
mov dword [ebp - 0x20], edx
jb 0x416a8d
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x416ace
jmp 0x416a93
lea eax, [ebp - 0x50]
mov dword [ebp - 0x70], eax
cmp word [eax], 0
je 0x416ace
mov esi, eax
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x416aa0
sub esi, ecx
lea ecx, [ebp - 0x24]
sar esi, 1
lea eax, [edx + esi]
push eax
call fcn.004064a0
push dword [ebp - 0x70]
mov edi, dword [ebp - 0x24]
push eax
push edi
call fcn.00480d25
add esp, 0xc
add dword [ebp - 0x20], esi
test edi, edi
je 0x416ada
cmp word [edi], 0
mov eax, edi
jne 0x416adf
mov eax, 0x4aebf4
cmp word [eax], 0
je 0x416afb
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416afb
shr eax, 4
and al, 1
lea eax, [ebp - 0x24]
jne 0x416afe
lea eax, [ebp - 0x38]
mov esi, dword [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00405bb0
test edi, edi
je 0x416b16
push edi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x416b26
push eax
call fcn.00480a27
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.00415750
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x416b3e
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x416b4e
push eax
call fcn.00480a27
add esp, 4
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.00464f19
mov esp, ebp
pop ebp
ret 4
Function at 0x418590
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e0b8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallWeChat
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x41860f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.setDisplayVersionReg._open_reg_faild._ret_d__lastErr_d
push str.UpdateMgr
push 0x26c
push str.managerUpdateMgr.cpp
push 4
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x20
jmp 0x418675
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x41861c
cmp word [ecx], 0
jne 0x418621
mov ecx, 0x4aebf4
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push ecx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x41866c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.setDisplayVersionReg._write_reg_faild.ret_d__lastErr_d
push str.UpdateMgr
push 0x275
push str.managerUpdateMgr.cpp
push 4
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x20
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
test eax, eax
je 0x41868c
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x4186aa
push eax
call fcn.00480a27
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret 0x14
Function at 0x418af0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e0e8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov edi, dword [eax + 0xc0]
test edi, edi
je 0x418b60
cmp word [edi], 0
jne 0x418b6b
mov edi, 0x4aebf4
cmp word [edi], 0
je 0x418b9f
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x418b70
sub esi, ecx
lea ecx, [ebp - 0x28]
sar esi, 1
push esi
call fcn.004064a0
push edi
push eax
push dword [ebp - 0x28]
call fcn.00480d25
mov eax, dword [ebp - 0x24]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x24], eax
jmp 0x418ba2
mov eax, dword [ebp - 0x24]
add eax, 0xb
lea ecx, [ebp - 0x28]
push eax
call fcn.004064a0
mov esi, dword [ebp - 0x28]
push str.WeChat.exe
push eax
push esi
call fcn.00480d25
add dword [ebp - 0x24], 0xb
add esp, 0xc
test esi, esi
je 0x418bd0
cmp word [esi], 0
mov eax, esi
jne 0x418bd5
mov eax, 0x4aebf4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x418c5c
sub esp, 0x14
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x4aebf4
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
call fcn.00405e40
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00405bb0
call fcn.0042c560
add esp, 0x28
push str.launchWechatExe_success.
push str.UpdateMgr
push 0x2d1
push str.managerUpdateMgr.cpp
push 2
call fcn.0040e400
push eax
call fcn.00402c30
mov edi, dword [ebp - 0x1c]
add esp, 0x18
mov byte [ebp - 0x29], 1
jmp 0x418cbf
test esi, esi
je 0x418c8e
cmp word [esi], 0
je 0x418c8e
sub esp, 8
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.004237d0
mov edi, dword [ebp - 0x1c]
add esp, 8
test edi, edi
je 0x418c89
cmp byte [edi], 0
je 0x418c89
mov esi, dword [ebp - 0x28]
mov eax, edi
jmp 0x418c96
mov esi, dword [ebp - 0x28]
jmp 0x418c91
mov edi, dword [ebp - 0x1c]
mov eax, 0x4afda8
push eax
push str.launchWechatExe_faild._exepath_s
push str.UpdateMgr
push 0x2d4
push str.managerUpdateMgr.cpp
push 2
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x1c
mov byte [ebp - 0x29], 0
test esi, esi
je 0x418ccc
push esi
call fcn.00480a27
add esp, 4
test edi, edi
je 0x418cd9
push edi
call fcn.00480a27
add esp, 4
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x419cb0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e2c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x419d03
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.00429180
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add eax, 9
push eax
call fcn.004064a0
push str.All_Users
push eax
push dword [ebp - 0x28]
call fcn.00480d25
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
add eax, 9
add esp, 0xc
mov dword [ebp - 0x24], eax
add eax, 8
push eax
call fcn.004064a0
push str.config_
push eax
push dword [ebp - 0x28]
call fcn.00480d25
add dword [ebp - 0x24], 8
lea ecx, [ebp - 0x28]
add esp, 0xc
call fcn.0042d890
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
add eax, 0xb
push eax
call fcn.004064a0
mov esi, dword [ebp - 0x28]
push str.update.data
push eax
push esi
call fcn.00480d25
add esp, 0xc
test esi, esi
je 0x419d9f
cmp word [esi], 0
mov eax, esi
jne 0x419da4
mov eax, 0x4aebf4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x419db8
push esi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x419dc8
push eax
call fcn.00480a27
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x420070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
push edi
push 0x4b7348
mov esi, edx
mov dword [ebp - 0xc], ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x42012b
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42012a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42012a
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x420123
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42011c
push ebx
push edi
push eax
call fcn.0047dbe0
add esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x420115
mov eax, dword [ebp - 8]
test eax, eax
je 0x420115
mov ecx, dword [ebp - 0xc]
push eax
call fcn.0041fa50
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00464f19
mov esp, ebp
pop ebp
ret
Function at 0x4217e0
Capabilities:
Identify system language via api

Disassembly:
test ecx, ecx
jne 0x4217ed
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
je 0x421823
cmp ax, 4
jne 0x421823
shr cx, 0xa
test cx, cx
je 0x421819
cmp cx, 2
je 0x421819
mov ecx, 0x404
jmp 0x43842f
mov ecx, 4
jmp 0x43842f
mov ecx, 9
jmp 0x43842f
mov dword [0x4d1c6c], ecx
ret
Function at 0x422d70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x428], ecx
push 0
push eax
call fcn.0047e1d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x422dc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetLogicalDriveStrings_error:__d
jmp 0x422e9c
mov dword [ebp - 0xe], 0
lea edi, [ebp - 0x21c]
xor esi, esi
nop dword [eax + eax]
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x424]
push 0x104
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x422e90
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
cmp ebx, 0x104
jae 0x422e3b
push ebx
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x428]
call fcn.00486087
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
jne 0x422e59
add edi, 8
test esi, esi
jne 0x422ea4
test edi, edi
jne 0x422de0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x428]
lea eax, [eax + ebx*2]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b5df0
push 0x4d19d8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryDosDrive_error:__d
call fcn.00422d40
add esp, 8
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464f19
mov esp, ebp
pop ebp
ret

Function at 0x424a70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ebd3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4cd070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4d1c30
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x4d1c30
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x4afda8
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00423980
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428a60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x20a
lea eax, [ebp - 0x210]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x228], ebx
call fcn.0047e1d0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jle 0x428c16
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x214], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0
movups xmmword [ebp - 0x224], xmm0
push eax
lea ecx, [ebp - 0x224]
movups xmmword [ebp - 0x224], xmm0
call fcn.00405e40
mov esi, dword [ebp - 0x220]
cmp esi, 1
jl 0x428b16
mov ebx, dword [ebp - 0x224]
lea eax, [esi - 1]
push 1
push 0x4b5884
lea eax, [ebx + eax*2]
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
sete al
test al, al
jne 0x428b40
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x224]
call fcn.004064a0
mov ebx, dword [ebp - 0x224]
push 0x4b5884
push eax
push ebx
call fcn.00480d25
add esp, 0xc
inc dword [ebp - 0x220]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x428b4e
cmp word [edi], 0
jne 0x428b59
mov edi, 0x4aebf4
cmp word [edi], 0
je 0x428b9a
mov esi, edi
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x428b60
mov eax, dword [ebp - 0x220]
sub esi, ecx
sar esi, 1
lea ecx, [ebp - 0x224]
add eax, esi
push eax
call fcn.004064a0
mov ebx, dword [ebp - 0x224]
push edi
push eax
push ebx
call fcn.00480d25
add esp, 0xc
add dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x228]
lea eax, [ebp - 0x224]
push eax
mov ecx, esi
call fcn.00405bb0
pop edi
test ebx, ebx
je 0x428bbc
push ebx
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x428bcf
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x428be6
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x428c04
push eax
call fcn.00480a27
add esp, 4
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.00405bb0
mov eax, dword [ebp + 8]
test eax, eax
je 0x428c38
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x428c56
push eax
call fcn.00480a27
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00464f19
mov esp, ebp
pop ebp
ret
Function at 0x428c70
Capabilities:
Check if file exists
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f013
mov eax, dword fs:[0]
push eax
sub esp, 0x53c
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x540], esi
mov dword [ebp - 0x544], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x428cc3
cmp word [eax], 0
jne 0x428cc8
mov eax, 0x4aebf4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
jne 0x428cfc
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x4afda8
mov byte [esi], al
call fcn.00403cf0
jmp 0x428e8d
push 0xb8
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.0047e1d0
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x428d1f
cmp word [eax], 0
jne 0x428d24
mov eax, 0x4aebf4
sub esp, 0xc
lea ecx, [ebp - 0x53c]
push eax
call fcn.00431d00
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x53c]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x530], 6
lea eax, [ebp + eax - 0x530]
je 0x428d62
push 0x4afda8
mov ecx, esi
call fcn.00403b60
jmp 0x428e82
test byte [eax], 1
mov byte [ebp - 0x41c], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x484], 0x67452301
mov dword [ebp - 0x480], 0xefcdab89
mov dword [ebp - 0x47c], 0x98badcfe
mov dword [ebp - 0x478], 0x10325476
jne 0x428e00
nop word [eax + eax]
sub esp, 8
lea eax, [ebp - 0x414]
lea ecx, [ebp - 0x53c]
push eax
call fcn.00405220
cmp dword [ebp - 0x530], 0
jl 0x428ded
mov eax, dword [ebp - 0x534]
jg 0x428dda
test eax, eax
je 0x428ded
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x484]
call fcn.00404770
mov eax, dword [ebp - 0x53c]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x530], 1
je 0x428db0
cmp dword [ebp - 0x4e0], 0
lea edi, [ebp - 0x52c]
jne 0x428e13
xor edi, edi
jmp 0x428e3a
lea ecx, [ebp - 0x52c]
call fcn.004053f0
push dword [ebp - 0x4e0]
xor ecx, ecx
test al, al
cmove edi, ecx
call fcn.004854b0
xor ecx, ecx
add esp, 4
test eax, eax
cmovne edi, ecx
push 2
push 0
lea ecx, [ebp - 0x52c]
call fcn.00405540
test edi, edi
jne 0x428e76
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x53c]
push edi
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], edi
cmovne eax, edx
push eax
call fcn.00403870
push esi
lea ecx, [ebp - 0x484]
call fcn.004051e0
lea ecx, [ebp - 0x53c]
call fcn.00428ee0
mov eax, dword [ebp + 8]
test eax, eax
je 0x428ea4
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x428ec2
push eax
call fcn.00480a27
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret
Function at 0x429040
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x228], esi
push edi
movups xmmword [ebp - 0x224], xmm0
mov dword [ebp - 0x214], 0
call fcn.00415450
mov ecx, eax
call fcn.00416780
add eax, 0xc0
lea ecx, [ebp - 0x224]
push eax
call fcn.00405bb0
mov edi, dword [ebp - 0x224]
test edi, edi
je 0x4290aa
cmp word [edi], 0
mov eax, edi
jne 0x4290af
mov eax, 0x4aebf4
cmp word [eax], 0
je 0x4290d8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4290d8
shr eax, 4
and al, 1
je 0x4290d8
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.00405bb0
jmp 0x429141
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0047e1d0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, esi
mov dword [esi + 8], 0
push eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00405e40
test edi, edi
je 0x42914e
push edi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x429161
push eax
call fcn.00480a27
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00464f19
mov esp, ebp
pop ebp
ret

Function at 0x429180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x20c]
xorps xmm0, xmm0
push 0x208
push 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0047e1d0
push 0x104
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0047e1d0
add esp, 0x18
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x42923e
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42923e
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.00406050
mov eax, dword [esi + 4]
mov ecx, esi
add eax, 8
push eax
call fcn.004064a0
push str.Tencent
push eax
push dword [esi]
call fcn.00480d25
add dword [esi + 4], 8
add esp, 0xc
mov eax, dword [esi + 4]
mov ecx, esi
add eax, 8
push eax
call fcn.004064a0
push str.WeChat_
push eax
push dword [esi]
call fcn.00480d25
add dword [esi + 4], 8
add esp, 0xc
mov ecx, esi
call fcn.00429970
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00464f19
mov esp, ebp
pop ebp
ret