joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5aee18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45c77a
sub esp, 0x68
movzx eax, byte [esp + 0x88]
test al, al
je 0x45c72a
mov ecx, dword [esp + 0x8c]
test ecx, ecx
sete dl
mov ebx, dword [esp + 0x90]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45c63a
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x34], ebx
movzx eax, al
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x19
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.00458e30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x45c6bc
mov edx, dword [esp + 0x78]
mov dword [esp + 0x48], edx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x80]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x54], esi
movzx eax, al
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x30
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 4
call fcn.00458e30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x89]
test bl, bl
je 0x45c711
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x44], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00458e30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x68
ret
call fcn.004367d0
lea eax, [0x4db102]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00437030
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436d20
call fcn.004369d0
call fcn.00436830
lea eax, [0x4e3783]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.00466e40
nop
call fcn.0046bb00
jmp fcn.0045c570
Function at 0x4629e0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
test eax, eax
je 0x462ae0
mov eax, dword [0x5aee18]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x9c]
lea ebx, [eax + 0x1d0]
mov dword [esp + 0x30], ebx
lea ebp, [eax + 0x318]
mov dword [esp + 0x2c], ebp
add ecx, 1
mov dword [eax + 0x98], ecx
adc edx, 0
mov dword [eax + 0x9c], edx
mov ecx, dword [eax + 0xa8]
mov dword [ecx], 0
call fcn.00467160
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004338c0
mov eax, dword [esp + 0x28]
mov byte [eax + 0x8c], 1
inc dword [eax + 0xa0]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call fcn.0046cb90
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
mov byte [ecx + 0x8c], 0
dec dword [ecx + 0xa0]
nop
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.004717c0
lea edi, [esp + 0xc]
mov esi, dword [esp + 0x30]
call fcn.0046d5b4
call fcn.00467310
mov eax, dword [0x5aee18]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x1d0]
lea esi, [esp + 0xc]
call fcn.0046d5b4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
add esp, 0x34
ret
lea eax, [0x4da2c7]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00466e40
nop
int3
Function at 0x469590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5aee18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46970a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x469700
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4695ea
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4695ea
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x4695fd
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x4696d7
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x4696cb
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x4696c2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x469650
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x469693
mov eax, 1
cmp eax, ecx
ja 0x469687
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0046cff0
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x4696bd
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x46968c
mov ecx, dword [esp + 0xc]
jmp 0x469655
call fcn.0046cf90
xor eax, eax
mov ecx, eax
call fcn.0046cf80
call fcn.0046cff0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x4696fb
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x4696d0
mov ecx, dword [esp + 0x18]
jmp 0x469602
call fcn.0046cf90
xor eax, eax
mov ecx, eax
call fcn.0046cf80
nop
call fcn.0046bb00
jmp fcn.00469590
Function at 0x46adb0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5aee18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46ae4b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x5aee18]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0046d0d7
lea ecx, [0x4568d0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0046ba10
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046bb00
jmp fcn.0046adb0
Function at 0x46cdb0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x5af080]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46b53b
je 0x46b58e
cmp ebx, 0x20
jbe 0x46b594
cmp ebx, 0x40
jbe 0x46b5da
jmp 0x46b67b
test ebx, ebx
je 0x46b584
add eax, 0x10
test ax, 0xff0
je 0x46b570
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x502d40]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x502e40]
jmp 0x46b558
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46b558
pxor xmm1, xmmword [0x5af090]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5af090]
pxor xmm2, xmmword [0x5af0a0]
pxor xmm3, xmmword [0x5af0b0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5af090]
pxor xmm2, xmmword [0x5af0a0]
pxor xmm3, xmmword [0x5af0b0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x46b6da
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x5aece5], 0
je 0x46cdca
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46b500
jmp fcn.00408b40
Function at 0x46cdd0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x5aee18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4037ec
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408b40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0046bb00
jmp 0x4037b0
cmp byte [0x5aece5], 0
je 0x46cdeb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x46b500
jmp 0x4037b0

Function at 0x46dc30
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46dc4a
mov ecx, 0x14
jmp 0x46dc53
shl ecx, 2
add ecx, 0xe10
mov dword [0x5aee18], ecx
ret
Function at 0x488440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5aee18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48853a
sub esp, 0x20
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov edx, dword [esp + 0x28]
mov ebx, edx
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
jmp 0x488480
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x4884b9
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.00471380
mov eax, dword [esp + 0x28]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x488473
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x4884c3
inc eax
cmp eax, 4
jge 0x4884d9
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x488533
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.004713d0
mov byte [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
and esi, 0xff
xor edx, esi
mov esi, dword [esp + 0xc]
shr esi, 8
shl ebp, 0x18
mov eax, edx
mov ebx, 0x1b3
mul ebx
inc edi
or esi, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 8
mov ebx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x18]
cmp edi, 8
jl 0x4884fc
jmp 0x4884c2
call fcn.0046bb00
jmp fcn.00488440
Function at 0x4927a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5aee18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49298a
sub esp, 0x48
mov eax, dword [0x58982c]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.0048f520
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0046d5be
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0046d5be
call fcn.0048f280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.0045f820
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x492877
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x492891
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x492908
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x4928de
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x4928da
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x4928d3
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x4928e0
mov ebx, 0x1d
jmp 0x4928fe
mov ebp, eax
jmp 0x4928e0
mov ebp, eax
cmp ebp, 0xd
jae 0x49297d
lea eax, [ebp - 1]
lea edx, [0x584800]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x492973
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x492908
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x49293a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x492942
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call fcn.0046cf80
mov eax, ebp
mov ecx, 0xd
call fcn.0046cf80
nop
call fcn.0046bb00
jmp fcn.004927a0
Function at 0x6fc57c54
Capabilities:
Encode data using xor

Disassembly:
push 0xe2da8f8b
add dword [ecx], eax
xor eax, 0x978b68d4
invalid
xchg edi, eax
fsubr st(2), st(0)
add dword [ecx], eax
xor eax, 0x878b68c2
fsubrp st(2)
add dword [ecx], eax
xor eax, 0x8f8b68cb
loopne 0x6fc57c56
add dword [ecx], eax
xor eax, 0x978b68d4
loop 0x6fc57c5f
add dword [ecx], eax
xor eax, 0x878b68c2
in al, 0xe2
add dword [ecx], eax
xor eax, 0x8f8b68cb
out 0xe2, al
add dword [ecx], eax
xor eax, 0x978b68d4
call 0xa4c67e7d
ret 0x8b68

Function at 0x6fcb4be4
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor eax, esi
cmp esi, 3
jbe 0x6fcb4c97
lea edx, [esi - 4]
shr edx, 2
lea ebx, [ecx + edx*4 + 4]
lea esi, [esi]
mov edx, dword [ecx]
lea edi, [edx + edx*8]
lea edi, [edx + edi*4]
shl edi, 6
add edi, edx
lea edi, [edi + edi*4]
lea ebp, [edx + edi*2]
mov edi, ebp
shl edi, 7
sub edi, ebp
shl edi, 2
sub edi, edx
lea edi, [edx + edi*8]
lea edi, [edx + edi*4]
lea edi, [edx + edi*4]
mov edx, edi
shr edx, 0x18
xor edx, edi
lea edi, [eax + eax*8]
lea edi, [eax + edi*4]
shl edi, 6
add edi, eax
lea edi, [edi + edi*4]
lea ebp, [eax + edi*2]
mov edi, ebp
shl edi, 7
sub edi, ebp
shl edi, 2
sub edi, eax
lea edi, [eax + edi*8]
lea edi, [eax + edi*4]
lea edi, [eax + edi*4]
lea eax, [edx + edx*8]
lea eax, [edx + eax*4]
shl eax, 6
add eax, edx
lea eax, [eax + eax*4]
lea ebp, [edx + eax*2]
mov eax, ebp
shl eax, 7
sub eax, ebp
shl eax, 2
sub eax, edx
lea eax, [edx + eax*8]
lea eax, [edx + eax*4]
lea eax, [edx + eax*4]
xor eax, edi
add ecx, 4
cmp ecx, ebx
jne 0x6fcb4c0c
and esi, 3
cmp esi, 2
je 0x6fcb4ce9
cmp esi, 3
je 0x6fcb4ce0
dec esi
je 0x6fcb4cf2
mov edx, eax
shr edx, 0xd
xor edx, eax
lea eax, [edx + edx*8]
lea eax, [edx + eax*4]
shl eax, 6
add eax, edx
lea eax, [eax + eax*4]
lea ecx, [edx + eax*2]
mov eax, ecx
shl eax, 7
sub eax, ecx
shl eax, 2
sub eax, edx
lea eax, [edx + eax*8]
lea eax, [edx + eax*4]
lea edx, [edx + eax*4]
mov eax, edx
shr eax, 0xf
xor eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx edx, byte [ecx]
xor edx, eax
lea eax, [edx + edx*8]
lea eax, [edx + eax*4]
shl eax, 6
add eax, edx
lea eax, [eax + eax*4]
lea ecx, [edx + eax*2]
mov eax, ecx
shl eax, 7
sub eax, ecx
shl eax, 2
sub eax, edx
lea eax, [edx + eax*8]
lea eax, [edx + eax*4]
lea eax, [edx + eax*4]
jmp 0x6fcb4ca4

Function at 0x6fcb5b78
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x6fcb5bad
add ebx, dword [esp + 8]
mov ecx, dword [esp + 8]
lea esi, [esi]
movsx edx, byte [ecx]
inc ecx
xor edx, eax
mov eax, edx
shl eax, 0x10
add eax, edx
lea eax, [edx + eax*2]
lea eax, [edx + eax*8]
lea eax, [edx + eax*8]
lea eax, [edx + eax*2]
cmp ecx, ebx
jne 0x6fcb5b90
pop ebx
ret
Function at 0x401260
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x43d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x3c]
push esi
push eax
call fcn.00401710
push 0xe
push 0
push str._launch_appid
lea ecx, [ebp - 0x3c]
call fcn.00401bb0
push 1
mov esi, eax
lea ecx, [ebp - 0x3c]
push esi
push 0x43a5a8
call fcn.00401bb0
test eax, eax
lea ecx, [ebp - 0x3c]
cmovs eax, dword [ebp - 0x28]
sub eax, esi
push eax
lea eax, [esi + 0xe]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004015a0
cmp dword [ebp - 0x44], 0
je 0x401357
push 0
push 0x43a5ac
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x401346
push eax
push str.WeChatLoginWndForPC
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x401346
push str.__wechat_app_desktop_launch
lea ecx, [ebp - 0x20]
call fcn.00401710
push str._launch_appid
push 0x43a5a8
lea ecx, [ebp - 0x20]
call fcn.004015d0
mov ecx, eax
call fcn.004015d0
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00401fa0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push 1
cmovae eax, dword [ebp - 0x1c]
push esi
push eax
push str.WeChat.exe
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x20]
call fcn.00401630
jmp 0x401357
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.00401490
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0x58]
call fcn.00401630
lea ecx, [ebp - 0x3c]
call fcn.00401630
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00402c90
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41b0f0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.0041eed0
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41b12e
cmp dword [ebp + 8], 0
je 0x41b11c
lea eax, [ebp + 8]
push eax
call fcn.0041b2f0
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x41b12e
mov eax, 4
jmp 0x41b25e
call fcn.0041ed00
movzx edx, al
test edx, edx
jne 0x41b15c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41b14d
mov dword [ebp - 0xc], 4
jmp 0x41b154
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x41b25e
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41b205
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x41b2a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.00417590
lea ecx, [ebp - 8]
call fcn.0041b330
movzx edx, al
test edx, edx
jne 0x41b1c7
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.0041b310
mov eax, dword [ebp - 0x10]
jmp 0x41b25e
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.0041f050
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x41b1f2
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.0041b310
mov eax, dword [ebp - 0x14]
jmp 0x41b25e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.0041b310
mov eax, dword [ebp - 0x18]
jmp 0x41b25e
call fcn.0041ee20
movzx ecx, al
test ecx, ecx
jne 0x41b23e
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0041b270
add esp, 0x10
jmp 0x41b25e
call fcn.0041ed30
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0041b270
add esp, 0x10
mov esp, ebp
pop ebp
ret