joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bd20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 8
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
push edi
jb 0x40bd43
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x40bd61
nop
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x40bd50
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x40bd9a
cmp ecx, eax
jne 0x40bd92
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x40bda2
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x40bda2
cmp ecx, eax
jne 0x40bda2
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
lea ecx, [ebx + 4]
mov edi, dword [eax]
push eax
mov dword [edx], edi
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
dec dword [ecx + 4]
call fcn.0041a410
mov eax, dword [ebp - 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40da80
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af688
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4e5728]
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.0040f1d0
add esp, 8
push 0xe
push str.debug_url.set
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00408120
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 0x40db91
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40db87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc9a
push edx
push ecx
call fcn.00467a3f
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 0x40dc40
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00473050
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 0x4ba76c
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 0x40dc22
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004083b0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40dc7c
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc9f
push edx
push ecx
call fcn.00467a3f
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.00467d03
mov esp, ebp
pop ebp
ret 4
call fcn.004764c9
call fcn.004764c9
int3
Function at 0x41de70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b12c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4e5728]
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.00420a20
add esp, 4
push 0xd
push str.multi_wechat
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408120
push eax
mov ecx, esi
call fcn.0040bdd0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41defb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41def1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41df22
push edx
push ecx
call fcn.00467a3f
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41df05
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.004764c9
int3
Function at 0x41e5b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x4e5728]
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.00473050
push 0xc8
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.00473050
add esp, 0x18
test esi, esi
je 0x41e6b0
test ebx, ebx
je 0x41e6b0
lea eax, [ebp - 0x4bc]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41e6b0
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x41e6b0
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 0x41e69b
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.0047967e
add esp, 0xc
test eax, eax
je 0x41e6c3
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x41e641
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d03
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x41e719
cmp edi, 0x7fffffff
ja 0x41e710
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 0x41e6fb
movzx eax, word [ebx + ecx]
test ax, ax
je 0x41e6fb
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e6e0
mov ebx, dword [ebp - 0x4c0]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x41e719
test edi, edi
je 0x41e719
xor eax, eax
mov word [ebx], ax
xor ecx, ecx
test edi, edi
je 0x41e727
cmp edi, 0x7fffffff
jbe 0x41e72c
mov ecx, 0x80070057
test ecx, ecx
js 0x41e75e
mov esi, edi
mov eax, ebx
test edi, edi
je 0x41e746
cmp word [eax], 0
je 0x41e746
add eax, 2
sub esi, 1
jne 0x41e738
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 0x41e760
xor esi, esi
test ecx, ecx
js 0x41e7b6
mov edx, edi
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x41e7a9
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 0x41e7a9
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e7a9
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x41e790
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.00467d03
mov esp, ebp
pop ebp
ret
Function at 0x41e7d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1389
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4e5728]
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 0x4bdc54
mov dword [ebp - 0x18], 1
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x41e87f
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 0x41e850
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004083b0
push 0xe
push str.WeChat_Files_
mov ecx, esi
call fcn.00408120
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.00467d03
mov esp, ebp
pop ebp
ret
Function at 0x41f900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b161d
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4e5728]
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.00420130
add esp, 0x10
test eax, eax
je 0x41f9bc
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x41fa79
push eax
jmp 0x41fa73
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00473050
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41f9da
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 0x41fa6e
mov eax, dword [ebp - 0x214]
cmp eax, 1
je 0x41fa1d
cmp eax, 2
jne 0x41fa6e
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x41fa3a
test al, 1
jne 0x41fa6e
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x41fa43
jmp 0x41fa6e
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 0x41fa50
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004083b0
test edi, edi
je 0x41fa79
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.00467d03
mov esp, ebp
pop ebp
ret
Function at 0x41faa0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1660
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x4e5728]
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.00420a20
add esp, 4
push 0xd
push str.multi_wechat
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408120
push eax
lea ecx, [ebp - 0x24]
call fcn.0040bdd0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x41fb37
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fb2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fbdc
push edx
push ecx
call fcn.00467a3f
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.00408120
push eax
mov ecx, esi
call fcn.0040bdd0
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x41fbb5
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fbab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fbe1
push edx
push ecx
call fcn.00467a3f
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41fbbf
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.004764c9
call fcn.004764c9
int3
Function at 0x41ff60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b12c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4e5728]
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.00420a20
add esp, 4
push 4
push str.log
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408120
push eax
mov ecx, esi
call fcn.0040bdd0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41ffeb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ffe1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420012
push edx
push ecx
call fcn.00467a3f
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41fff5
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.004764c9
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b184b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4e5728]
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.00473050
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 0x420aa4
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.004083b0
push 8
push str.ludashi
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.00408120
push eax
mov ecx, esi
call fcn.0040bdd0
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x420b23
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420b19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420b54
push edx
push ecx
call fcn.00467a3f
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x420b2d
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.00467d03
mov esp, ebp
pop ebp
ret
call fcn.004764c9
int3
Function at 0x422af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1c7d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e5728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
xor eax, eax
mov dword [ebx], vtable.WechatHelper.0
mov dword [ebx + 4], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], 7
mov dword [ebp - 4], eax
mov word [ebx + 0x20], ax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], 7
mov word [ebx + 0x38], ax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], 7
mov word [ebx + 0x5c], ax
lea ecx, [ebx + 0x74]
mov byte [ebp - 4], 4
call fcn.00447a00
lea edi, [ebx + 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
mov dword [ebp - 0x18], esi
push 8
mov byte [ebp - 4], 6
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.00467a0f
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
lea ecx, [ebx + 0xb4]
mov byte [ebp - 4], 7
mov dword [ebx + 0xb0], 0
call fcn.0041b150
lea ecx, [ebx + 0xd0]
mov byte [ebp - 4], 8
call fcn.00447a00
mov esi, ebx
xor eax, eax
mov dword [esi + 0xd4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 7
mov word [esi + 0xd8], ax
lea ecx, [esi + 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.004083b0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 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.004083b0
lea ecx, [esi + 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.004083b0
lea edi, [esi + 0x138]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x18], edi
lea esi, [edi + 4]
push 0
mov dword [edi], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c470
mov dword [esi], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 8
mov ecx, edi
mov byte [ebp - 4], 0xf
mov dword [edi], 0x3f800000
call fcn.0041a490
mov esi, ebx
mov byte [ebp - 4], 0x10
push 0
push str.main_ml
mov dword [0x4ea17c], esi
lea ecx, [esi + 0x74]
call fcn.004488f0
push 1
push str.close_wx_ml
lea ecx, [ebx + 0xd0]
call fcn.004488f0
push 0
push 0
push 0
push 0x426110
push 0
push 0x8002
push 0x8002
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [esi + 0xd4], eax
mov eax, esi
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 0x4264d0
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.0040bdd0
mov edi, dword [ebx + 0x54]
mov esi, dword [ebx + 0x50]
cmp esi, edi
je 0x42650c
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0041ac90
add esp, 8
test al, al
jne 0x42650c
add esi, 0xa0
cmp esi, edi
jne 0x4264f1
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x426542
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426538
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426570
push edx
push ecx
call fcn.00467a3f
add esp, 8
cmp esi, dword [ebx + 0x54]
je 0x426569
test esi, esi
je 0x426569
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x42655d
push 0
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x426569
push 0
push eax
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004764c9
int3
Function at 0x42b920
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 0x42b97c
push edi
push esi
call fcn.0041ac90
add esp, 8
test al, al
jne 0x42b96e
test esi, esi
je 0x42b96e
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x42b962
push 0
push eax
call ebx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42b96e
push 0
push eax
call ebx
add esi, 0xa0
cmp esi, dword [ebp - 8]
jne 0x42b944
mov edx, dword [ebp - 4]
lea ecx, [edx + 0x5c]
mov dword [ebp - 8], ecx
cmp ecx, edi
je 0x42b99c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42b990
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.004083b0
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x54]
mov esi, dword [edx + 0x50]
cmp esi, edi
je 0x42ba25
mov ebx, dword [ebp - 8]
nop dword [eax]
push ebx
push esi
call fcn.0041ac90
add esp, 8
test al, al
jne 0x42b9c8
add esi, 0xa0
cmp esi, edi
jne 0x42b9b0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, edi
je 0x42ba25
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x42b9de
push 5
push eax
call ebx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42ba25
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, dword [esi + 0x18]
test eax, eax
je 0x42ba0a
push 9
push ecx
call ebx
mov ecx, dword [ebp - 4]
push esi
call fcn.0042b660
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 0x42ba1c
push 5
push dword [esi + 0x18]
call ebx
mov ecx, dword [ebp - 4]
push esi
call fcn.0042b660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4