joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e52b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014c75d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
mov dword [eax], 0x101815b8
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x7c], 1
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x98]
add eax, 0x64
push eax
lea ecx, [ebp - 0x14]
call 0x3c2560
lea ecx, [ebp - 0x14]
call 0x3c2580
mov ecx, dword [ebp - 0x98]
add ecx, 0x64
push ecx
call dword [0x101524b0]
mov ecx, dword [ebp - 0x98]
add ecx, 0x48
call fcn.004e4620
mov edx, dword [ebp - 0x98]
add edx, 0x30
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x78]
call fcn.00409d40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x98]
add eax, 0x24
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.0040aea0
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e34ac
add esp, 4
mov eax, dword [ebp - 0x94]
mov dword [eax + 4], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x98]
mov dword [ecx], 0x101815c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4e9090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test ecx, ecx
push edi
mov edi, eax
jne 0x4e90a6
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
movzx ebx, word [esi + 0x18]
xor edx, edx
mov eax, ecx
div ebx
movzx eax, dx
cmp ax, 1
jae 0x4e90bf
mov eax, 1
test ecx, ecx
jbe 0x4e9125
movzx eax, ax
mov dword [ebp - 4], eax
movzx eax, word [esi + 0xc]
movzx ebx, ax
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], ecx
jmp 0x4e90e0
mov ecx, dword [ebp - 4]
lea eax, [ebx + ecx]
movzx ecx, word [esi + 0x18]
cdq
idiv ecx
movzx ecx, byte [esi + 9]
push ecx
mov ecx, esi
movzx eax, dx
mov edx, dword [esi + 0x1c]
movzx ebx, ax
mov al, byte [edx + ebx]
xor al, byte [edi]
mov byte [ebp - 8], al
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x14]
push edx
call eax
xor al, byte [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov byte [ecx + edi], al
mov dl, byte [edi]
add edi, 1
sub dword [ebp + 8], 1
mov byte [ebp + 0xc], dl
jne 0x4e90e0
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4f45e0
Capabilities:
Encode data using xor

Disassembly:
sbb al, 0x13
pop esp
aad 0
add byte [0xc98b55c1], bl
mov esi, 0xb5ca3fd8
dec edx
aas
xor eax, 0xfd
add byte [edi], al
add byte [eax], al
add byte [ecx + ecx*4], dl
mov edx, 0x23
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, 0xb6
mov dl, 2
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x4b], al
add dword [esi], esi
fld dword [eax]
jge 0x4f45f1
mov ds, eax
dec esp
test dword [edx], ebx
sbb al, dh
inc esp
aas
jmp 0xdcf52ce1
inc eax
test al, 0x1b
outsd dx, dword [esi]
jg 0x4f465a
cmp al, 0x6a
mov edi, dword [edi]
add eax, 0x8e0f26fb
dec ebx
adc eax, 0x16378dfd
push cs
sub dword [eax], 0x72
pop ds
jmp 0x52ddb815
Function at 0x10001972
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x10001991
mov dl, byte [ecx + eax]
xor dl, 0xfc
add dl, 0x31
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esp + 8]
jl 0x1000197e
ret
Function at 0x1000278a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
push ebx
push esi
push edi
push 0x1002852c
call fcn.10002a2d
mov ebx, 0x10028510
push 0
push ebx
call fcn.10001c64
mov edi, str.360Tray.exe
push 0
push edi
call fcn.10001c64
mov esi, dword [0x1001e2b8]
add esp, 0x14
push 0x3e8
call esi
push edi
mov edi, dword [0x1001e268]
call edi
push ebx
call edi
push 0x3e8
call esi
lea eax, [ebp - 0x2a0]
push 0x104
push eax
push 0
call dword [0x1001e298]
and byte [ebp - 0x14], 0
and byte [ebp - 0x24], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 0x20], 0x4b
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x4e
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1b], 0x4c
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x30], 0x47
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x6d
mov byte [ebp - 0x2a], 0x70
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0x68
mov byte [ebp - 0x25], 0x41
call dword [0x1001e26c]
push eax
call dword [0x1001e2a8]
lea ecx, [ebp - 0x19c]
push ecx
push 0x104
call eax
cmp dword [ebp + 0x10], 0xffffffff
jne 0x100028d2
and byte [ebp - 4], 0
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 0xd], 0x67
mov byte [ebp - 0xc], 0x69
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
call dword [0x1001e270]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.1000a443
add esp, 0xc
jmp 0x1000290b
push dword [ebp + 8]
and byte [ebp - 6], 0
mov byte [ebp - 0xc], 0x52
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x25
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x25
mov byte [ebp - 7], 0x73
call dword [0x1001e270]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.1000a443
add esp, 0x10
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x19c]
push eax
call dword [0x1001e274]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push 0x100284dc
call dword [0x1001e278]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x100029bc
lea eax, [ebp - 0x34]
push 0
push eax
push dword [ebp + 8]
call fcn.1000a3c8
pop ecx
mov ecx, dword [ebp + 0xc]
sub ecx, eax
dec ecx
push ecx
push dword [ebp + 8]
call fcn.1000a3c8
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx + 1]
push eax
push dword [ebp - 8]
call dword [0x1001e27c]
push dword [ebp - 8]
call dword [0x1001e2d0]
push 0x1f4
call esi
push 1
push ebx
call fcn.10001c64
pop ecx
pop ecx
push 0x1002852c
call edi
cmp dword [ebp + 0x10], 0xffffffff
je 0x100029bc
lea eax, [ebp - 0x19c]
push 0x2e
push eax
call 0x1000a398
pop ecx
test eax, eax
pop ecx
je 0x100029bc
lea eax, [ebp - 0x19c]
push eax
call dword [0x1001e284]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x100050b7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
lea eax, [ebp - 0x34]
push edi
push eax
call dword [0x1001e250]
and byte [ebp - 0x138], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x137]
and byte [ebp - 0xd], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, word [ebp - 0x2a]
push eax
mov byte [ebp - 0x24], 0x25
movzx eax, word [ebp - 0x2c]
push eax
mov byte [ebp - 0x23], 0x34
movzx eax, word [ebp - 0x2e]
push eax
mov byte [ebp - 0x22], 0x64
movzx eax, word [ebp - 0x32]
push eax
mov byte [ebp - 0x21], 0x2d
movzx eax, word [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x2e
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x2d
mov byte [ebp - 0x1b], 0x25
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x20
mov byte [ebp - 0x16], 0x25
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x3a
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x64
call dword [0x1001e424]
and byte [ebp - 4], 0
add esp, 0x1c
lea eax, [ebp - 0x138]
mov byte [ebp - 0xc], 0x4d
push 0
push eax
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x54
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x65
call dword [0x1001e25c]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xc]
push 1
push eax
push 0x10028648
push 0x80000001
call fcn.10009517
add esp, 0x1c
pop edi
leave
ret
Function at 0x1000748e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push edi
push dword [ebp + 0x14]
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
mov byte [ebp - 0x428], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push dword [ebp + 0x10]
stosb byte es:[edi], al
call fcn.10009f68
push 0x400
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.10009f68
lea eax, [ebp - 0x28]
push 0x1002d380
push eax
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x59
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], bl
call dword [0x1001e424]
push ebx
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push 0x10028648
push 0x80000001
call fcn.100092a7
add esp, 0x44
pop edi
pop ebx
leave
ret
Function at 0x10007eb7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0x10007fc6
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x10007fc6
mov edi, 0x2000
mov ebx, dword [0x1001e2d8]
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x10007f0f
push 4
push edi
push dword [esi + 0x50]
push eax
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x10007fc6
push 0x14
push 0
call dword [0x1001e1e0]
push eax
call dword [0x1001e1e4]
mov edi, eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push 4
push 0x1000
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
push dword [esi + 0x50]
push eax
call ebx
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push ebx
push eax
call fcn.100096e8
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push edi
push esi
mov dword [edi], eax
push ebx
mov dword [eax + 0x34], ecx
call fcn.10007fd4
mov ebx, dword [ebp - 4]
add esp, 0x18
mov eax, ebx
sub eax, dword [esi + 0x34]
je 0x10007f91
push eax
push edi
call fcn.1000813e
pop ecx
pop ecx
push edi
call fcn.100081b8
test eax, eax
pop ecx
je 0x10007fbf
push edi
call fcn.10008081
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10007fcd
add eax, ebx
test eax, eax
je 0x10007fbf
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0x10007fca
push edi
call fcn.10008372
pop ecx
xor eax, eax
jmp 0x10007fcf
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007fd4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x1000807e
push ebx
push edi
mov edi, dword [0x1001e2d8]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x1000803f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x10008068
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.10009f68
add esp, 0xc
jmp 0x10008068
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push ebx
push dword [esi]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.100096e8
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x1000800d
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10008e16
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x1001e2d4]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x10008dce
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000b62d
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [0x1001e2cc]
push dword [ebp - 4]
call dword [0x1001e2d0]
loop 0x10008e6b
invalid

Function at 0x10008fed
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e518
push 0x1000b060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
push str.GetUserObjectInformationA
call dword [0x1001e26c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x44], 0x4f
mov byte [ebp - 0x43], 0x70
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x6e
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x6e
mov byte [ebp - 0x3e], 0x70
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x44
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x73
mov byte [ebp - 0x38], 0x6b
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x70
xor ebx, ebx
mov byte [ebp - 0x34], bl
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
mov esi, dword [0x1001e2a8]
call esi
mov dword [ebp - 0x1c], eax
push 0x1002f11c
push dword [ebp - 0x24]
call esi
mov edi, eax
push 0x1002f0bc
push dword [ebp - 0x24]
call esi
mov esi, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
push 0x1ff
push ebx
push ebx
je 0x100090aa
push dword [ebp + 8]
call edi
jmp 0x100090ad
call dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x100090c4
push eax
call fcn.10008eef
pop ecx
test eax, eax
jne 0x100090c7
push dword [ebp - 0x2c]
call esi
mov dword [ebp - 0x20], ebx
or dword [ebp - 4], 0xffffffff
call fcn.100090e4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x55d758bf
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6f661de6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4011d6
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4025d4
call fcn.00402340
sub esp, 0xc
push str.Tenio_Initialize_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp + 8], 0
je 0x401224
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x401224
lea ecx, [ebp - 0x18]
call fcn.00401614
mov ecx, dword [ebp - 0x14]
push dword [ebp + 8]
and dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x38]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401657
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x401232
Capabilities:
Enumerate process modules
Print debug messages

Disassembly:
mov eax, 0x4025e8
call fcn.00402340
sub esp, 0x230
push ebx
push esi
lea ecx, [ebp - 0x18]
call fcn.00401614
xor esi, esi
push esi
push 8
mov dword [ebp - 4], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401312
cmp dword [ebp - 0x14], esi
je 0x401312
push edi
mov ecx, 0x88
xor eax, eax
lea edi, [ebp - 0x238]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x224
push eax
push ebx
call sub.KERNEL32.dll_Module32First
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edi
test eax, eax
je 0x4012c3
push str.TenioDllFreeMap
push dword [ebp - 0x220]
call esi
test eax, eax
je 0x4012b2
call eax
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x40129f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x14]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x40130b
push str.TenioSetDllSafe
push dword [ebp - 0x220]
call esi
test eax, eax
je 0x4012fc
push 0
call eax
pop ecx
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Module32Next
jmp 0x4012e2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Tenio_Uninitialize_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401657
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x401337
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
and dword [ebp - 0x12c], 0
push esi
push edi
push 0x49
pop ecx
xor eax, eax
lea edi, [ebp - 0x128]
push eax
rep stosd dword es:[edi], eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x12c]
push eax
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4013ec
lea eax, [ebp - 0x108]
push str.QQGameDl.exe
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
je 0x4013bc
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401391
jmp 0x4013ec
push dword [ebp - 0x124]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4013ec
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4013e9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
push dword [ebp - 4]
call edi
pop edi
pop esi
leave
ret 4

Function at 0x401428
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4025fc
call fcn.00402340
sub esp, 0x14
push esi
push edi
mov esi, ecx
call fcn.0040254e
push eax
push 1
push str.CatchException
push str.QQGame
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
neg eax
mov dword [esi + 4], eax
je 0x4014be
call fcn.004021f4
mov edi, eax
mov ecx, edi
call fcn.004020b2
test al, al
je 0x4014be
lea eax, [ebp - 0x20]
push str.HelpDll.dll
push eax
mov ecx, edi
call fcn.004020e8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004020db
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xc], eax
je 0x4014b2
push str.QQExceptionFilter
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4014b2
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [esi + 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004020a9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40178f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
and byte [ebp - 0x400], 0
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x400]
push dword [ebp + 0xc]
push 0x3ff
push 0x400
push eax
call dword [0x404010]
add esp, 0x14
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
leave
ret
Function at 0x4017e3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
push ebx
push esi
push edi
mov esi, ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x503]
mov byte [ebp - 0x504], bl
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x504]
push 0x400
push eax
push ebx
push 0x40423c
push 0x404238
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
push 0x104
push eax
lea eax, [ebp - 0x504]
push eax
mov ecx, esi
call fcn.00401cf7
lea eax, [ebp - 0x104]
test eax, eax
je 0x4018b7
lea eax, [ebp - 0x104]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll__mbschr]
pop ecx
test eax, eax
pop ecx
jne 0x401883
cmp byte [ebp - 0x104], 0x5c
jne 0x4018b7
cmp dword [ebp + 0xc], ebx
je 0x4018ce
cmp dword [ebp + 0x10], ebx
jle 0x4018ce
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
cmp eax, dword [ebp + 0x10]
pop ecx
jae 0x4018ce
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [0x40401c]
add esp, 0xc
jmp 0x4018ce
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
mov ecx, esi
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0040198c
pop edi
pop esi
pop ebx
leave
ret 0xc