joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4200a0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov ebx, eax
lea eax, [eax + 0x40]
and eax, 0xfffffff0
call fcn.0040dbe0
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
lea esi, [esp + 0xc]
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp], eax
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sub.msvcrt.dll_memcpy
lea eax, [ebx + 0x10]
lea edi, [esi + eax]
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x30]
mov dword [edi], 0x61616161
mov dword [edi + 4], 0x61616161
mov dword [edi + 8], 0x61616161
mov dword [edi + 0xc], 0x61616161
mov dword [edi + 0x10], 0x61616161
mov dword [edi + 0x14], 0x61616161
mov dword [edi + 0x18], 0x61616161
mov dword [edi + 0x1c], 0x61616161
mov dword [ebp - 0x1c], eax
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
sub esp, 0xc
mov byte [esi + ebx + 0xf], 0x2d
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x42018f
int3
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
jne 0x420233
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, edi
mov ebx, eax
mov eax, 0x20
nop
lea esi, [esi]
bt ebx, eax
jae 0x4201c8
mov byte [edx], 0x41
add edx, 1
sub eax, 1
jne 0x4201c0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
je 0x420230
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00420020
cmp eax, ebx
mov esi, eax
je 0x42024a
mov dword [esp], ebx
call fcn.00419888
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
int3
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00420020
mov esi, eax
jmp 0x420202
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x420202
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x420202
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x401c66
pop dword [ebp - 0x3c]
mov eax, 0x401c66
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x12d32330
add dword [ebp - 0x4c], 0x3b7f221b
mov dword [ebp - 0x48], 0x5b3ae16f
sub dword [ebp - 0x48], 0x2907952a
mov dword [ebp - 0x44], 0x145134e8
sub dword [ebp - 0x44], 0xc804f0ba
mov dword [ebp - 0x40], 0x975f27a7
add dword [ebp - 0x40], 0x68a0d859
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x493f9f9d
sub dword [ebp - 0x4c], 0xd4cd3647
mov dword [ebp - 0x48], 0x447a7be6
add dword [ebp - 0x48], 0xfcf1e58f
mov dword [ebp - 0x44], 0x7c9403ad
sub dword [ebp - 0x44], 0x19249741
mov dword [ebp - 0x40], 0xf7db7ca8
sub dword [ebp - 0x40], 0xf7db7ca8
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x5c24982a
sub eax, 0x5be467fe
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x38cc6
push 0
call eax
mov ecx, 0xc72e3818
add ecx, 0x38d2192d
xor esi, esi
add esi, eax
mov edi, 0x407000
add edi, dword [ebp - 0x3c]
mov ebx, 0xf1d8aa4f
sub ebx, 0xcb7a5f29
add dword [ebp - 4], ebx
mov edx, dword [edi]
add dword [ebp - 4], 0xa39a4037
sub edx, ebx
sub dword [ebp - 0x1c], 0x86cdeec3
mov dword [esi], edx
xor dword [ebp - 0x28], 0xdec31f87
add esi, 0xe4b6d80
sub esi, 0xe4b6d7c
add edi, 0xe182cd6f
add edi, 0x1e7d3295
loop 0x401d7a
add eax, 0x137e7
mov ebx, eax
add eax, 0x80a2e33b
add eax, 0x7f5d1cca
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x150fef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xc4e000]
mov dword [edi + 0x101acc0], 0x80712029
push edi
or ebp, 0xffffffff
jmp 0x150ff1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x150ff21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x150ff10
mov eax, 1
add ebx, ebx
jne 0x150ff33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x150ff44
jne 0x150ff63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x150ff63
dec eax
add ebx, ebx
jne 0x150ff50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x150ff28
add ebx, ebx
jne 0x150ff5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x150ffb5
xor ecx, ecx
sub eax, 3
jb 0x150ff7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x150ffea
sar eax, 1
mov ebp, eax
jmp 0x150ff86
add ebx, ebx
jne 0x150ff86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x150ff54
inc ecx
add ebx, ebx
jne 0x150ff94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x150ff54
add ebx, ebx
jne 0x150ffa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x150ff96
jne 0x150ffb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x150ff96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x150ffd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x150ffc6
jmp 0x150ff16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x150ffd4
add edi, ecx
jmp 0x150ff16
pop esi
lea edi, [esi + 0x1109000]
mov eax, dword [edi]
or eax, eax
je 0x1510033
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1112cbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1112f4c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x150fff1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1112f54]
or eax, eax
je 0x151002d
mov dword [ebx], eax
add ebx, 4
jmp 0x151000e
call dword [esi + 0x1112f50]
mov ebp, dword [esi + 0x1112f58]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1510067
sub esp, 0xffffff80
jmp 0xcd604d

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4010b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [0x448320]
test eax, eax
jne 0x4010c9
pop edi
pop ebx
ret
push esi
push eax
call dword [0x448328]
mov esi, eax
test esi, esi
je 0x401104
push edi
push ebx
call dword [0x448318]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401100
lea ebx, [ebx]
cmp esi, eax
jae 0x401104
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010f0
cmp esi, eax
jb 0x40110a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402eb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
mov eax, dword [0x456c74]
xor eax, esp
mov dword [esp + 0x668], eax
cmp dword [0x45ae9c], 7
push edi
mov edi, dword [ebp + 8]
je 0x4030c9
push 0x206
lea eax, [esp + 0x25e]
push 0
push eax
mov word [esp + 0x264], 0
call fcn.004331c0
push edi
push str._s.
lea ecx, [esp + 0x26c]
push 0x104
push ecx
call fcn.004322d9
add esp, 0x1c
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x25c]
push eax
call dword [0x448310]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
je 0x4030c9
test byte [esp + 8], 0x10
je 0x40306a
lea ecx, [esp + 0x34]
mov eax, 0x44c30c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402f6e
test dx, dx
je 0x402f6a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402f6e
add eax, 4
add ecx, 4
test dx, dx
jne 0x402f48
xor eax, eax
jmp 0x402f73
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4030a6
lea ecx, [esp + 0x34]
mov eax, 0x44c310
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402faa
test dx, dx
je 0x402fa6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402faa
add eax, 4
add ecx, 4
test dx, dx
jne 0x402f84
xor eax, eax
jmp 0x402faf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4030a6
lea ecx, [esp + 0x34]
push ecx
call dword [0x4482f4]
test byte [0x45ae9c], 1
jne 0x402fea
lea edx, [esp + 0x34]
push edx
push str.HKDLLs
call fcn.0043268d
add esp, 8
test eax, eax
jne 0x402fea
add dword [0x45ae9c], 1
jmp 0x403010
test byte [0x45ae9c], 2
jne 0x403010
lea eax, [esp + 0x34]
push eax
push str.HKPatch
call fcn.0043268d
add esp, 8
test eax, eax
jne 0x403010
add dword [0x45ae9c], 2
cmp dword [0x45ae9c], 7
je 0x4030be
push 0x206
lea ecx, [esp + 0x466]
push 0
push ecx
mov word [esp + 0x46c], 0
call fcn.004331c0
lea edx, [esp + 0x40]
push edx
push edi
push str._s_s
lea eax, [esp + 0x478]
push 0x104
push eax
call fcn.004322d9
lea ecx, [esp + 0x480]
push ecx
call fcn.00402eb0
add esp, 0x24
jmp 0x4030a6
lea edx, [esp + 0x34]
push edx
call dword [0x4482f4]
test byte [0x45ae9c], 4
jne 0x4030a6
lea eax, [esp + 0x34]
push eax
push str.HookQQ.dll
call fcn.0043268d
add esp, 8
test eax, eax
jne 0x4030a6
mov eax, dword [0x45ae9c]
add eax, 4
cmp eax, 7
mov dword [0x45ae9c], eax
je 0x4030be
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push edx
call dword [0x448300]
test eax, eax
jne 0x402f34
mov eax, dword [esp + 4]
push eax
call dword [0x4482fc]
mov ecx, dword [esp + 0x66c]
pop edi
xor ecx, esp
call fcn.00432218
mov esp, ebp
pop ebp
ret
Function at 0x403160
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x445f80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x456c74]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [0x4482f4]
push esi
call ebp
push esi
lea ecx, [esp + 0x14]
call fcn.00404470
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x4031c9
push edi
lea ecx, [esp + 0x14]
call fcn.00402c60
mov edx, dword [esp + 0x10]
lea eax, [edi + 1]
push eax
push edx
call fcn.0043256b
add esp, 8
test edi, edi
jl 0x4032f1
mov eax, dword [esp + 0x10]
cmp edi, dword [eax - 8]
jg 0x4032f1
mov dword [eax - 0xc], edi
mov ecx, dword [esp + 0x10]
mov word [ecx + edi*2], 0
call fcn.0042b1f8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403212
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, 0x45b14c
call fcn.0042c14c
test eax, eax
jne 0x403291
call fcn.004030e0
test eax, eax
je 0x40326c
mov eax, dword [esp + 0x10]
push eax
mov ecx, 0x45b14c
call fcn.0042c2a3
push 1
push 0x44c364
mov ecx, eax
call fcn.00402bc0
mov eax, 0x44c36c
jmp 0x40328e
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, 0x45b14c
call fcn.0042c2a3
push 1
push 0x44c368
mov ecx, eax
call fcn.00402bc0
mov eax, str.not_patched
push eax
call ebp
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4032b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push 0x80070057
call fcn.00401090
int3
Function at 0x404000
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov eax, 0x147c
call fcn.004359d0
mov eax, dword [0x456c74]
xor eax, esp
mov dword [esp + 0x1474], eax
mov eax, dword [str.QQ.exe]
mov ecx, dword [0x44c398]
mov edx, dword [0x44c39c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1250], ecx
xor ebx, ebx
mov dword [esp + 0x124c], eax
mov ax, word [0x44c3a0]
push ebx
mov ecx, 7
mov esi, str.QQProtect.exe
lea edi, [esp + 0x1260]
push 2
mov dword [esp + 0x125c], edx
mov word [esp + 0x1260], ax
rep movsd dword es:[edi], dword [esi]
call fcn.0044483e
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40419a
push 0x228
lea ecx, [esp + 0x1020]
push ebx
push ecx
call fcn.004331c0
add esp, 0xc
lea edx, [esp + 0x1018]
push edx
push ebp
mov dword [esp + 0x1020], 0x22c
call fcn.00444844
test eax, eax
je 0x40419a
nop
lea eax, [esp + 0x124c]
push eax
lea ecx, [esp + 0x1040]
push ecx
call fcn.0043268d
add esp, 8
test eax, eax
je 0x4040ec
lea edx, [esp + 0x125c]
push edx
lea eax, [esp + 0x1040]
push eax
call fcn.0043268d
add esp, 8
test eax, eax
jne 0x404184
mov ecx, dword [esp + 0x1020]
push ecx
push ebx
push 0x410
call dword [0x448308]
mov esi, eax
cmp esi, ebx
je 0x404184
push 0xff8
lea edx, [esp + 0x20]
push ebx
push edx
mov dword [esp + 0x24], ebx
call fcn.004331c0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0xffc
lea ecx, [esp + 0x20]
push ecx
push esi
mov dword [esp + 0x24], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x404184
push 0x206
lea edx, [esp + 0x127e]
push ebx
push edx
mov word [esp + 0x1284], bx
call fcn.004331c0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0x208
lea eax, [esp + 0x127c]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x404184
lea edi, [esp + 0x1278]
call fcn.00403300
lea edx, [esp + 0x1018]
push edx
push ebp
call fcn.0044484a
test eax, eax
jne 0x4040b0
cmp ebp, ebx
je 0x4041aa
cmp ebp, 0xffffffff
je 0x4041aa
push ebp
call dword [0x448304]
mov ecx, dword [esp + 0x1484]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00432218
add esp, 0x147c
ret
Function at 0x4045d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x21c
mov eax, dword [0x456c74]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebp
push esi
push edi
xor ebp, ebp
push 0x206
lea ecx, [esp + 0x22]
push ebp
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov word [esp + 0x28], bp
call fcn.004331c0
add esp, 0xc
push ebp
push ebx
mov dword [esp + 0x18], ebp
xor esi, esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebp
je 0x404704
push edi
call fcn.00423e09
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x404704
push edi
push ebp
push esi
call fcn.004331c0
add esp, 0xc
push esi
push edi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40470d
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40470d
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 2]
movzx edx, byte [eax + 3]
push str.CompanyName
push ecx
movzx ecx, byte [eax]
push edx
movzx edx, byte [eax + 1]
push ecx
push edx
push str.StringFileInfo_02x_02x_02x_02x_s
push 0x208
lea eax, [esp + 0x38]
push 0x104
push eax
call fcn.004322f5
add esp, 0x24
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40470d
cmp dword [esp + 0xc], 0x104
ja 0x40470d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push 0x104
push edx
call fcn.00432854
add esp, 0xc
pop edi
pop esi
lea eax, [ebp + 1]
pop ebp
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00432218
add esp, 0x21c
ret
push esi
call fcn.00423e04
add esp, 4
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00432218
add esp, 0x21c
ret
Function at 0x404730
Capabilities:
Enumerate process modules
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
mov eax, 0x1644
call fcn.004359d0
mov eax, dword [0x456c74]
xor eax, esp
mov dword [esp + 0x1640], eax
mov eax, dword [esp + 0x1648]
push ebp
push edi
xor edi, edi
push edi
push 2
mov dword [esp + 0x14], eax
call fcn.0044483e
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4048c1
push 0x228
lea ecx, [esp + 0x1014]
push edi
push ecx
call fcn.004331c0
add esp, 0xc
lea edx, [esp + 0x100c]
push edx
push ebp
mov dword [esp + 0x1014], 0x22c
call fcn.00444844
test eax, eax
je 0x4048c1
push ebx
push esi
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x103c]
push ecx
call fcn.0043268d
add esp, 8
test eax, eax
jne 0x4048a9
mov edx, dword [esp + 0x101c]
push edx
push edi
push 0x411
call dword [0x448308]
mov esi, eax
cmp esi, edi
je 0x4048a9
push 0xff8
lea eax, [esp + 0x20]
push edi
push eax
mov dword [esp + 0x24], edi
call fcn.004331c0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0xffc
lea edx, [esp + 0x20]
push edx
push esi
mov dword [esp + 0x20], edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4048a9
push 0x206
lea eax, [esp + 0x1246]
push edi
push eax
mov word [esp + 0x124c], di
call fcn.004331c0
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0x208
lea ecx, [esp + 0x1244]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4048a9
cmp dword [esp + 0x165c], edi
je 0x4048a1
push 0x206
lea eax, [esp + 0x144e]
push edi
push eax
mov word [esp + 0x1454], di
call fcn.004331c0
lea ecx, [esp + 0x1454]
push ecx
lea ebx, [esp + 0x1250]
call fcn.004045d0
lea edx, [esp + 0x1458]
push str.Tencent
push edx
call fcn.0043268d
add esp, 0x18
test eax, eax
jne 0x4048a9
push edi
push esi
call dword [0x4482f0]
lea eax, [esp + 0x1014]
push eax
push ebp
call fcn.0044484a
test eax, eax
jne 0x4047a3
pop esi
pop ebx
cmp ebp, edi
je 0x4048d1
cmp ebp, 0xffffffff
je 0x4048d1
push ebp
call dword [0x448304]
mov ecx, dword [esp + 0x1648]
pop edi
pop ebp
xor ecx, esp
call fcn.00432218
add esp, 0x1644
ret
Function at 0x404920
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446e26
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x456c74]
xor eax, esp
mov dword [esp + 0x5e4], eax
push esi
push edi
mov eax, dword [0x456c74]
xor eax, esp
push eax
lea eax, [esp + 0x5f8]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov esi, ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0xff
call dword [0x448040]
mov ecx, esi
call fcn.0042c990
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
call fcn.0042d83f
push str.33B358A1_3FBB_41bb_BB56_B7EE9E2BCBCC
push 1
xor edi, edi
push edi
call dword [0x4482e4]
cmp eax, edi
mov dword [esi + 0xa8], eax
je 0x404ac5
call dword [0x4482ec]
cmp eax, 0xb7
jne 0x404a59
mov dword [esi + 0xac], edi
call fcn.0042b1f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4049de
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
push 0xaf
mov dword [esp + 0x604], edi
call fcn.0042a494
cmp eax, edi
je 0x404a16
push 0xaf
push eax
lea ecx, [esp + 0x18]
call fcn.004028a0
mov esi, dword [esp + 0x10]
push esi
push edi
call dword [0x44853c]
mov edi, eax
push 5
push edi
call dword [0x448538]
push edi
call dword [0x448540]
lea eax, [esi - 0x10]
mov dword [esp + 0x600], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ac5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404ac5
mov ecx, dword [esi + 0x44]
push edi
push edi
push 1
push edi
mov dword [0x45aef0], ecx
call dword [0x4482e8]
mov edx, dword [esi + 0x44]
push edi
push 0x458100
push 0x45ae30
mov dword [0x45aef4], eax
mov dword [0x45ae34], edx
call fcn.00444bc8
call fcn.00421620
lea eax, [esp + 0x1c]
push eax
call fcn.00401240
lea ecx, [esp + 0x1c]
mov dword [esp + 0x600], 1
mov dword [esi + 0x20], ecx
call fcn.00429a8c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x600], 0xffffffff
call fcn.004014b0
xor eax, eax
mov ecx, dword [esp + 0x5f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5e4]
xor ecx, esp
call fcn.00432218
mov esp, ebp
pop ebp
ret
Function at 0x40fa10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4458de
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x456c74]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00402cb0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
call fcn.00402cb0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x1c], 1
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov eax, dword [edi + 0x40]
sub eax, 0x10
push eax
call fcn.00402cb0
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [esp + 0x20], 2
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 0x64]
mov dword [esi + 0x64], ecx
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 0x70]
mov dword [esi + 0x70], ecx
mov edi, dword [edi + 0x74]
sub edi, 0x10
push edi
call fcn.00402cb0
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x74], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4