joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40da30
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4da720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x250]
push 3
push eax
mov dword [ebp - 0x234], 1
call fcn.0040f0e0
add esp, 8
push 0xe
push str.debug_url.set
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004080f0
mov dword [ebp - 0x220], 0
xor ecx, ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], 3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x23c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x40db41
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40db37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc4a
push edx
push ecx
call fcn.0045ef4f
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
cmp dword [ebp - 0x21c], 8
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 0x23c], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40dbf0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046a630
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x4b176c
push str.test_url
push str.DebugUrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dbd2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408380
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40dc2c
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc4f
push edx
push ecx
call fcn.0045ef4f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f213
mov esp, ebp
pop ebp
ret 4
call fcn.0046daa9
call fcn.0046daa9
int3
Function at 0x41d890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8888
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4da720]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x10], esi
call fcn.0041f730
add esp, 4
push 0xd
push str.multi_wechat
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004080f0
push eax
mov ecx, esi
call fcn.0040bda0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41d91b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d911
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d942
push edx
push ecx
call fcn.0045ef4f
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41d925
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0046daa9
int3
Function at 0x41d950
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x4da720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x4bc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x3e8
push 0
push eax
mov dword [ebp - 0x4c4], esi
mov dword [ebp - 0x4c0], ebx
call fcn.0046a630
push 0xc8
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.0046a630
add esp, 0x18
test esi, esi
je 0x41da50
test ebx, ebx
je 0x41da50
lea eax, [ebp - 0x4bc]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41da50
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x41da50
xor ecx, ecx
movzx edx, ax
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41da3b
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x4c4]
call fcn.00470b82
add esp, 0xc
test eax, eax
je 0x41da63
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x41d9e1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f213
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x41dab9
cmp edi, 0x7fffffff
ja 0x41dab0
mov ecx, ebx
mov esi, 0x7ffffffe
lea ebx, [ebp - 0xc]
sub esi, edi
mov edx, edi
sub ebx, ecx
nop
lea eax, [esi + edx]
test eax, eax
je 0x41da9b
movzx eax, word [ebx + ecx]
test ax, ax
je 0x41da9b
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41da80
mov ebx, dword [ebp - 0x4c0]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x41dab9
test edi, edi
je 0x41dab9
xor eax, eax
mov word [ebx], ax
xor ecx, ecx
test edi, edi
je 0x41dac7
cmp edi, 0x7fffffff
jbe 0x41dacc
mov ecx, 0x80070057
test ecx, ecx
js 0x41dafe
mov esi, edi
mov eax, ebx
test edi, edi
je 0x41dae6
cmp word [eax], 0
je 0x41dae6
add eax, 2
sub esi, 1
jne 0x41dad8
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x41db00
xor esi, esi
test ecx, ecx
js 0x41db56
mov edx, edi
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x41db49
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
mov eax, dword [ebp - 0x4c8]
add eax, eax
sub eax, ecx
add edi, eax
nop word [eax + eax]
test esi, esi
je 0x41db49
movzx eax, word [edi + ecx]
test ax, ax
je 0x41db49
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x41db30
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f213
mov esp, ebp
pop ebp
ret
Function at 0x41db70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a88c9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4da720]
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, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x4b47c8
mov dword [ebp - 0x18], 1
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x41dc1f
mov edx, dword [ebp - 0x14]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41dbf0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00408380
push 0xe
push str.WeChat_Files_
mov ecx, esi
call fcn.004080f0
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
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.0045f213
mov esp, ebp
pop ebp
ret
Function at 0x41ec70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8b5d
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4da720]
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, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], dx
xorps xmm0, xmm0
mov dword [ebp - 0x21c], edx
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x21c], edx
push dword [ebp + 0x18]
lea edx, [ebp - 0x224]
mov dword [ebp - 4], 1
push edx
push eax
push ecx
call fcn.0041f4a0
add esp, 0x10
test eax, eax
je 0x41ed2c
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x41ede9
push eax
jmp 0x41ede3
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0046a630
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41ed4a
mov edi, dword [edi]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push edi
mov edi, dword [ebp - 0x224]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41edde
mov eax, dword [ebp - 0x214]
cmp eax, 1
je 0x41ed8d
cmp eax, 2
jne 0x41edde
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x41edaa
test al, 1
jne 0x41edde
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x41edb3
jmp 0x41edde
xor eax, eax
mov word [ebp - 0x210], ax
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41edc0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408380
test edi, edi
je 0x41ede9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.0045f213
mov esp, ebp
pop ebp
ret
Function at 0x41ee10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x4da720]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x28], esi
call fcn.0041f730
add esp, 4
push 0xd
push str.multi_wechat
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004080f0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040bda0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x41eea7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ee9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ef4c
push edx
push ecx
call fcn.0045ef4f
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x10], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push 0
push eax
push 0
mov dword [ebp - 0x2c], 7
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 5
push str.icon
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.004080f0
push eax
mov ecx, esi
call fcn.0040bda0
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x41ef25
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ef1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ef51
push edx
push ecx
call fcn.0045ef4f
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41ef2f
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0046daa9
call fcn.0046daa9
int3
Function at 0x41f2d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8888
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4da720]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x10], esi
call fcn.0041f730
add esp, 4
push 4
push str.log
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004080f0
push eax
mov ecx, esi
call fcn.0040bda0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41f35b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f351
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f382
push edx
push ecx
call fcn.0045ef4f
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f365
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0046daa9
int3

Function at 0x41f730
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4da720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
mov dword [ebp - 0x238], esi
call fcn.0046a630
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f7b4
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00408380
push 8
push str.ludashi
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.004080f0
push eax
mov ecx, esi
call fcn.0040bda0
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x41f833
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f829
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f864
push edx
push ecx
call fcn.0045ef4f
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f83d
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f213
mov esp, ebp
pop ebp
ret
call fcn.0046daa9
int3
Function at 0x421660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a90a9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4da720]
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], vtable.WechatHelper.0
xor eax, eax
mov dword [esi + 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 7
mov dword [ebp - 4], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 7
mov word [esi + 0x38], ax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 7
mov word [esi + 0x5c], ax
lea ebx, [esi + 0x74]
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.004426c0
lea edi, [esi + 0x78]
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push 8
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0045ef1f
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x34], 0
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xb4]
mov dword [edi + 0xb0], 0
call fcn.0041ace0
lea ecx, [edi + 0xd0]
mov byte [ebp - 4], 8
call fcn.004426c0
mov dword [edi + 0xd4], 0
xor eax, eax
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 7
mov word [edi + 0xd8], ax
lea ecx, [edi + 0xf0]
mov byte [ebp - 4], 0xa
mov dword [ecx + 0x10], eax
push 0x12
mov dword [ecx + 0x14], 7
push str.WeChatMainWndForPC
mov word [ecx], ax
call fcn.00408380
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x108]
push 0x13
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.WeChatLoginWndForPC
mov word [ecx], ax
call fcn.00408380
lea ecx, [edi + 0x120]
xor eax, eax
mov dword [ecx + 0x10], 0
push 0x16
mov dword [ecx + 0x14], 7
push str.CWebviewControlHostWnd
mov byte [ebp - 4], 0xc
mov word [ecx], ax
call fcn.00408380
push 0
push str.main_ml
mov ecx, ebx
mov byte [ebp - 4], 0xd
mov dword [0x4dedf4], edi
call fcn.004435b0
push 1
push str.close_wx_ml
lea ecx, [edi + 0xd0]
call fcn.004435b0
push 0
push 0
push 0
push 0x424230
push 0
push 0x8002
push 0x8002
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [edi + 0xd4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4245f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x1c]
push esi
push edi
lea eax, [ebx + 0x5c]
push eax
call fcn.0040bda0
mov edi, dword [ebx + 0x54]
mov esi, dword [ebx + 0x50]
cmp esi, edi
je 0x42462c
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0041a820
add esp, 8
test al, al
jne 0x42462c
add esi, 0xa0
cmp esi, edi
jne 0x424611
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x424662
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424658
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424690
push edx
push ecx
call fcn.0045ef4f
add esp, 8
cmp esi, dword [ebx + 0x54]
je 0x424689
test esi, esi
je 0x424689
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x42467d
push 0
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x424689
push 0
push eax
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0046daa9
int3
Function at 0x428610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov eax, dword [edx + 0x54]
mov esi, dword [edx + 0x50]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
push edi
mov edi, dword [ebp + 8]
cmp esi, eax
je 0x42866c
push edi
push esi
call fcn.0041a820
add esp, 8
test al, al
jne 0x42865e
test esi, esi
je 0x42865e
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x428652
push 0
push eax
call ebx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42865e
push 0
push eax
call ebx
add esi, 0xa0
cmp esi, dword [ebp - 8]
jne 0x428634
mov edx, dword [ebp - 4]
lea ecx, [edx + 0x5c]
mov dword [ebp - 8], ecx
cmp ecx, edi
je 0x42868c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x428680
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.00408380
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x54]
mov esi, dword [edx + 0x50]
cmp esi, edi
je 0x428715
mov ebx, dword [ebp - 8]
nop dword [eax]
push ebx
push esi
call fcn.0041a820
add esp, 8
test al, al
jne 0x4286b8
add esi, 0xa0
cmp esi, edi
jne 0x4286a0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, edi
je 0x428715
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4286ce
push 5
push eax
call ebx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x428715
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, dword [esi + 0x18]
test eax, eax
je 0x4286fa
push 9
push ecx
call ebx
mov ecx, dword [ebp - 4]
push esi
call fcn.00428350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42870c
push 5
push dword [esi + 0x18]
call ebx
mov ecx, dword [ebp - 4]
push esi
call fcn.00428350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x428ee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9ae3
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x4da720]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0xa0], 8
lea eax, [ebp + 0x8c]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4290ae
cmp dword [ebp + 0xa0], 8
lea eax, [ebp + 0x8c]
lea ecx, [ebp - 0x10]
cmovae eax, dword [ebp + 0x8c]
push eax
call fcn.004214b0
cmp dword [ebp + 0x88], 8
lea eax, [ebp + 0x74]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp + 0x74]
push eax
call fcn.004214b0
push dword [edi + 0xb0]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push 0x2710
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044de00
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
add esp, 0x10
mov byte [ebp - 4], 1
mov ebx, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x428fb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x428fcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x4290ae
call fcn.00437e50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4290cc
push 0x78
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwechat_helper.cc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.00408280
push 3
push 0x4b1c38
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
call fcn.00408280
mov byte [ebp - 4], 4
call fcn.00437e50
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xdf
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403c10
mov esi, eax
push str.download_logo_fail__path:
push esi
mov byte [ebp - 4], 5
call fcn.00404ba0
cmp dword [ebp + 0xa0], 8
lea ecx, [ebp + 0x8c]
mov eax, 0x4b1f68
cmovae ecx, dword [ebp + 0x8c]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.0040abb0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00404e00
lea ecx, [ebp - 0x2c]
call fcn.00404580
lea ecx, [ebp - 0x44]
call fcn.00404580
jmp 0x4290cc
cmp dword [edi + 4], 0
je 0x4290cc
sub esp, 0xa0
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004219e0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp + 8]
call fcn.0040c500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa0