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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x3f9f588
mov dword [ebp - 4], 0x10
call dword [0x3f952a4]
push 0x3f9f588
call dword [0x3f952a8]
or ecx, 0xffffffff
mov edx, 0x3f9f588
test eax, eax
je 0x1000d7ed
movzx esi, byte [edx]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x3f9f6c8]
inc edx
dec eax
jne 0x1000d7d4
mov edi, dword [0x3f954d4]
not ecx
mov esi, ecx
push esi
push 0x3f9e504
push 0x3f9f5a0
call edi
lea ebx, [esi + esi]
push ebx
push 0x3f9e504
push 0x3f9f54c
call edi
lea ecx, [esi + esi*2]
push ecx
push 0x3f9e504
push 0x3f9f5dc
call edi
push esi
push 0x3f9e580
push 0x3f9f670
call edi
push ebx
push 0x3f9e580
push 0x3f9f630
call edi
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000da30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x101
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [0x3f954e4]
mov edx, eax
or eax, 0xffffffff
lea ecx, [ebp - 0x104]
test edx, edx
je 0x1000da7a
push esi
lea esp, [esp]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3f9f6c8]
inc ecx
dec edx
jne 0x1000da60
pop esi
not eax
mov esp, ebp
pop ebp
ret

Function at 0x1000daf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x3fa9ed4]
sub esp, 0x104
push ebx
mov ebx, dword [0x3f953a8]
push esi
push edi
push 1
push 5
push eax
call ebx
push eax
call ebx
mov edi, dword [0x3f9540c]
mov esi, eax
lea esp, [esp]
push esi
call dword [0x3f953e4]
test eax, eax
je 0x1000dbb7
push 0xfffffffffffffff0
push esi
call dword [0x3f9541c]
test eax, 0x40000000
jne 0x1000db9c
push 0x101
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [0x3f954e4]
or ecx, 0xffffffff
lea edx, [ebp - 0x104]
test eax, eax
je 0x1000db7f
nop
movzx ebx, byte [edx]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x3f9f6c8]
inc edx
dec eax
jne 0x1000db60
mov ebx, dword [0x3f953a8]
not ecx
test ecx, ecx
je 0x1000db96
xor eax, eax
cmp ecx, dword [eax*8 + 0x3f9e528]
je 0x1000dbcd
inc eax
cmp eax, 0xb
jb 0x1000db87
xor eax, eax
test al, 0x20
je 0x1000dbb7
push 0
push 0x1b
push 0x100
push esi
call edi
push 0xc01b0000
push 0x1b
push 0x101
push esi
call edi
push 3
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x1000db20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax*8 + 0x3f9e52c]
jmp 0x1000db98
Function at 0x100282e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100282f0
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x100283bf
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3f97d50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3f97d50]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3f97d50]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3f97d50]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3f97d50]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3f97d50]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3f97d50]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3f97d50]
add ecx, 8
sub edx, 8
dec esi
jne 0x10028302
pop edi
test edx, edx
je 0x100283dc
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3f97d50]
inc ecx
dec edx
jne 0x100283c3
not eax
pop esi
pop ebp
ret 4
Function at 0x100283f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x3f9512c]
cmp eax, 1
je 0x10028411
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x3f95128]
test eax, eax
jne 0x1002842d
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x3f951f4]
lea edx, [ebp - 0x40]
push edx
call dword [0x3f95134]
mov esi, dword [0x3f95138]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x1002848f
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x10028497
or esi, 2
test cl, 4
je 0x1002849f
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x100284a9
or esi, 0x10
test cl, 0x20
je 0x100284b1
or esi, 0x20
test edx, edx
je 0x100284bd
or esi, 0x40000000
jmp 0x100284c3
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x100284d9
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x3f9513c]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x10028580
mov esi, dword [0x3f951fc]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x3f9521c]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x1002857d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x1002857d
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x10028576
cmp eax, 0x454e
je 0x10028576
cmp eax, 0x454c
je 0x10028576
cmp eax, 0x4550
jne 0x1002857d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x1002858b
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x10028597
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x100285a6
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x100285ce
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x3f95140]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002d330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
push esi
push edi
test eax, eax
jne 0x1002d350
mov eax, 0x3f9acd4
push 0x3f9acc0
push eax
lea ecx, [ebp - 0x214]
push 0x3f9acdc
push ecx
call dword [0x3f954d4]
lea eax, [ebp - 0x214]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d374
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea edx, [ecx + eax + 0xd]
cmp edx, 0x7530
jbe 0x1002d3be
push ecx
lea eax, [ebx + 0x94]
push eax
mov eax, ebx
call fcn.10030cd0
test eax, eax
jns 0x1002d3b4
mov esi, ebx
call fcn.10030a00
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x75c4], 0
mov al, byte [0x3f9e05d]
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x302fefc
xor edx, edx
add ecx, 0xfffe0003
test al, al
lea eax, [ebp - 0x214]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
lea edx, [eax + 1]
je 0x1002d411
jmp 0x1002d3f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d3f0
sub eax, edx
lea edx, [eax + 1]
shr edx, 8
inc eax
and edx, 0xff
shl eax, 8
xor edx, eax
mov word [ebp - 0xc], dx
jmp 0x1002d41f
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d411
sub eax, edx
inc eax
mov word [ebp - 0xc], ax
mov ecx, dword [ebx + 0x75c4]
xor eax, eax
lea edi, [ecx + ebx + 0x94]
mov word [ebp - 0xa], ax
lea esi, [ebp - 0x10]
mov ecx, 0xc
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x75c4], 0xc
mov edx, dword [ebx + 0x75c4]
lea eax, [ebp - 0x214]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d452
sub eax, esi
lea ecx, [eax + 1]
lea edi, [edx + ebx + 0x94]
lea esi, [ebp - 0x214]
lea eax, [ebp - 0x214]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d476
sub eax, edx
inc eax
add dword [ebx + 0x75c4], eax
mov eax, dword [ebx + 0x75c4]
push eax
lea edx, [ebx + 0x94]
push edx
mov eax, ebx
call fcn.10030cd0
test eax, eax
js 0x1002d3a2
pop edi
pop esi
mov dword [ebx + 0x75c4], 0
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10036380
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [edx + 4]
mov edx, eax
shr edx, 4
xor edx, esi
and edx, 0xf0f0f0f
xor esi, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, esi
and edx, 0xffff
xor esi, edx
shl edx, 0x10
xor eax, edx
mov edx, esi
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor esi, edx
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor esi, edx
rol esi, 1
mov edx, esi
xor edx, eax
and edx, 0xaaaaaaaa
xor esi, edx
xor edx, eax
rol edx, 1
push edi
mov ecx, 0x3fad708
mov dword [ebp - 4], edx
mov dword [ebp - 8], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 0x10
mov edx, eax
shr edx, 0x18
mov edi, eax
shr edi, 0x10
and edi, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x3f9d6a8]
or edx, dword [edi*4 + 0x3f9d8a8]
mov edi, eax
shr edi, 8
and edi, 0x3f
or edx, dword [edi*4 + 0x3f9daa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x3f9dca8]
mov eax, dword [ecx - 0xc]
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x3f9d7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3f9d9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3f9dba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x3f9dda8]
or edi, edx
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
xor edi, dword [ebp - 0xc]
mov eax, edi
ror eax, 4
xor eax, dword [ecx - 8]
mov dword [ebp - 4], edi
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x3f9d6a8]
or edx, dword [ebx*4 + 0x3f9d8a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x3f9daa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x3f9dca8]
mov eax, dword [ecx - 4]
xor eax, edi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x3f9d7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3f9d9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3f9dba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x3f9dda8]
or edi, edx
xor esi, edi
dec dword [ebp - 8]
jne 0x10036403
mov ecx, dword [ebp - 4]
ror esi, 1
mov eax, esi
xor eax, ecx
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, ecx
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [ebp + 8]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
xor ecx, eax
pop esi
mov dword [edx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10044900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x10044929
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + 0x3f9d100]
inc esi
xor eax, edx
dec ecx
jne 0x10044914
xor eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x10006910
Capabilities:
Check for software breakpoints

Disassembly:
daa
cdq
shl ch, 0x23
popal
xor dword [eax + 0x7f9a50cd], 0xffffffc7
jecxz 0x100068d2
dec ebx
invalid

Function at 0x10007470
Capabilities:
Encode data using xor

Disassembly:
jo 0x1000746e
xor esi, dword [edx - 0x21a84603]
nop
push ss
arpl word [bx + di + 0x537a], ax
push edi
or dword [eax], edi
push edx
xor esi, edi
xchg dword [ebp + 0x31], ebp
cmp al, 0x6b
mov bh, 0x51
fmulp st(7)
dec ecx
jb 0x1000745b
enter 0x3c69, 0xffffffffffffffe2
invalid
invalid

Function at 0x10007a80
Capabilities:
Encode data using xor

Disassembly:
jp 0x10007ad7
sbb al, 0xa9
or al, 6
xor edx, edi
pop ebp
jge 0x10007ac9
or byte [eax], 0xb9
invalid

Function at 0x10007b10
Capabilities:
Encode data using xor

Disassembly:
das
xor ebx, esi
and edx, dword [eax + eax*4 + 0x406be9ee]
jle sym.Engine.dll_QueryServiceLockStatusA
add esi, dword fs:[eax - 0x14]

Function at 0x10b5e3c4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10b5e3ce
pushal
call 0x10b5e3d4
pop ebp
sub ebp, 0x10
sub ebp, 0xb5e3c4
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10b5e3f8
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10b5e401
mov eax, 0xb5e3c4
add eax, ebp
add eax, 0x63
mov ecx, 0x5d1
mov edx, 0x9c324858
xor byte [eax], dl
inc eax
dec ecx
jne 0x10b5e418
test esi, esi
invalid
jmp 0x10b5e42b
rcl dword [ebp + 0x5864d1d3], cl
pop eax
pop eax
fstp dword [ecx + 0x585858a0]
pop ebx
xchg ebp, eax
loopne 0x10b5e49b
pop eax
pop eax
pop eax
loop 0x10b5e4b2
pop eax
pop eax
pop eax
scasd eax, dword es:[edi]
mov edx, 0xd9d3905b
push esp
pop eax
pop eax
pop eax
pop ebx
popfd
or ch, dl
cmp al, 0x7c
movsb byte es:[edi], byte [esi]
rcr dword [esp + edi*2 + 0x30], 1
add byte [ebx + 0x7b], ch
pop eax
xor byte [ebx], dh
call 0x850f3d2f
jl 0x10b5e497
adc byte [edi + 0x5db01660], ah
pop eax
pop eax
pop eax
mov cl, 0x6c
pop eax
pop eax
pop eax
aad 0x3c
jl 0x10b5e41d
sal dword [esp + edi*2 - 0x2d], 1
mov ah, 0xd3
fst qword [eax + 0x58]
pop eax
pop eax
ror ebp, cl
push esp
pop eax
pop eax
pop eax
rcl ebp, cl
dec eax
pop eax
pop eax
pop eax
cdq
mov cl, 0x5a
imul ebx, dword [edx - 0x25], 0x57115c9a
invalid
pop esp
adc dword [edi - 0x23], edx
lodsb al, byte [esi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
sal dword [esp + edi*2 - 0x2b], cl
cmp al, 0x7c
pop esp
lcall 0x5c7c, 0xd4d35854
pop eax
pop eax
pop eax
xor byte [eax], al
imul edi, dword [ebx + 0x58], 0x30
xor ebp, eax
retf 0x5958
Function at 0xcf9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00cf91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcf907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf906a
add dl, dl
jne 0xcf9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf90dc
xor eax, eax
add dl, dl
jne 0xcf9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf917d
add dl, dl
jne 0xcf90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcf90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcf9075
mov eax, 1
add dl, dl
jne 0xcf90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf90e1
sub eax, ebx
mov ebx, 1
jne 0xcf9128
mov ecx, 1
add dl, dl
jne 0xcf910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcf9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcf913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcf914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf9136
cmp eax, 0x7d00
jae 0xcf916d
cmp eax, 0x500
jb 0xcf9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf9075
cmp eax, 0x7f
ja 0xcf9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcf919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcf9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x15c30c6
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6e30052d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xc
push 0
mov dword [edi], 0x4237d4
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xc
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x401082
sub eax, esi
sub eax, 0xa
mov dword [esi + 6], eax
mov byte [esi], 0xb9
mov byte [esi + 5], 0xe9
mov dword [esi + 1], edi
mov dword [edi + 8], esi
mov eax, edi
pop esi
leave
ret

Function at 0x401639
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
pop ecx
lea ecx, [esp + 0xc]
call int.00413dfe
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00401613
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0x432b50
push 0x432f4c
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x4016b8
push 0x4237ec
mov ecx, 0x427140
call int.00416d9e
pop ecx
call fcn.004010c5
mov esi, eax
call fcn.004019e4
test eax, eax
je 0x40173b
lea eax, [esp + 0xc]
push eax
mov eax, esi
call fcn.0040175c
push dword [eax]
call fcn.00414700
mov eax, dword [esp + 0x10]
pop ecx
add eax, 0xfffffff0
call fcn.00401613
mov eax, dword [esi]
push dword [eax + 0x5d4]
call int.00412df3
mov eax, dword [esi]
pop ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x2c]
and ecx, 4
mov ebx, esi
mov dword [0x432f94], ecx
mov dword [0x4320ec], eax
call fcn.00403a74
call fcn.004097f8
mov esi, eax
neg esi
sbb esi, esi
inc esi
push dword [0x432f4c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 2
pop esi
jmp 0x40171f

Function at 0x402d1e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x402cd7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret 4
Function at 0x403c80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
stosd dword es:[edi], eax
push esi
push esi
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push esi
push dword [eax + 0x5e0]
push dword [eax + 0x5dc]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x403cf2
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
jmp 0x403d02
push str.CBugReportInfo::RestartCrashProcess_Fail_
mov ecx, str.BugReport
call int.00416d9e
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x404c17
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push 0x21c
mov eax, 0x42085f
call fcn.0041fc5d
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x220], edi
test byte [0x433040], 1
mov ebx, ecx
mov dword [ebp - 0x228], eax
mov esi, section..data
jne 0x404c6b
mov eax, dword [section..data]
or dword [0x433040], 1
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
push 0x42276c
mov dword [0x43303c], eax
call fcn.0041f2c2
pop ecx
mov eax, dword [0x43303c]
cmp dword [eax - 0xc], edi
jne 0x404e2d
mov eax, dword [ebx]
cmp dword [eax + 0x5e4], edi
je 0x404e2d
mov eax, dword [section..data]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push ecx
mov dword [ebp - 4], edi
mov eax, dword [ebx]
mov ecx, esp
mov dword [ebp - 0x220], esp
push ecx
mov ecx, dword [eax + 0x5e4]
call fcn.00405495
lea ecx, [ebp - 0x21c]
call fcn.004142ee
lea eax, [ebp - 0x21c]
mov dword [esp], str..tlg
push eax
call fcn.00405532
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x404d34
push 0x428324
lea eax, [ebp - 0x218]
push eax
call esi
push str.TencentLogs_
lea eax, [ebp - 0x218]
push eax
call esi
mov ebx, dword [ebp - 0x21c]
cmp dword [ebx - 4], 1
jle 0x404d63
push dword [ebx - 0xc]
lea eax, [ebp - 0x21c]
push eax
call fcn.00401506
mov ebx, dword [ebp - 0x21c]
push ebx
lea eax, [ebp - 0x218]
push eax
call esi
or eax, 0xffffffff
lea esi, [ebp - 0x21c]
call fcn.0040583a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404e21
lea eax, [ebp - 0x218]
push eax
mov esi, 0x43303c
push esi
call fcn.004013d5
lea eax, [ebp - 0x224]
push eax
call 0x412e80
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], edi
je 0x404e19
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.004056dc
pop ecx
pop ecx
mov edi, esi
mov byte [ebp - 4], 2
call fcn.004054f1
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.00401613
push dword [0x43303c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [0x43303c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.00401613
or dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
call fcn.00401613
mov eax, dword [0x43303c]
add eax, 0xfffffff0
call fcn.00405f8b
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0x228]
mov dword [eax], ecx
call fcn.0041fce0
ret 4