joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3015f427
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x3015f4c4
mov esi, dword [edi + 8]
test esi, esi
je 0x3015f4c4
cmp dword [edi + 4], 0x8000
jl 0x3015f4c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov dword [ebp + 8], eax
shr eax, 1
test al, 1
je 0x3015f4c4
push dword [0x3026b738]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x3015f473
mov ecx, dword [eax + 0x16c]
jmp 0x3015f475
xor ecx, ecx
cmp byte [ecx + 0x17], 0
mov eax, dword [esi + 8]
jne 0x3015f4c4
cmp byte [eax + 0x17], 0
jne 0x3015f4c4
cmp ecx, eax
jne 0x3015f4b1
test byte [ebp + 0xc], 1
lea ecx, [esi + 0xc]
je 0x3015f4a6
mov eax, dword [ebp + 8]
shr eax, 2
test al, 1
je 0x3015f4a6
push 0
push edi
push esi
call fcn.301b5dd9
jmp 0x3015f4c9
push 0
push edi
push esi
call fcn.301b5c8f
jmp 0x3015f4c9
push dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov ecx, dword [ecx + 0x20]
push esi
push edi
push eax
call fcn.3015ebd3
jmp 0x3015f4c9
mov eax, 0x80070057
pop edi
pop esi
pop ebp
ret 8

Function at 0x3015f67d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push dword [0x3026b738]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x3015f69f
mov esi, dword [eax + 0x16c]
jmp 0x3015f6a1
xor esi, esi
cmp esi, ebx
jne 0x3015f6b2
push 0x80040014
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015f70f
push esi
push ebx
push ebx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.301b2a98
test eax, eax
jne 0x3015f6d1
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015f707
push edi
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x3015f6eb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
shr eax, 2
test al, 1
je 0x3015f6eb
mov eax, edi
jmp 0x3015f6ed
xor eax, eax
test eax, eax
pop edi
je 0x3015f6c4
cmp esi, dword [eax + 8]
je 0x3015f6fe
push 0x8004001e
jmp 0x3015f6c9
mov ebx, dword [eax + 0x38]
and ebx, 0xfffff
lea ecx, [ebp - 0xc]
call fcn.301b2a51
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x3015f742
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push dword [0x3026b738]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x3015f767
mov edi, dword [eax + 0x16c]
jmp 0x3015f769
xor edi, edi
cmp edi, ebx
jne 0x3015f77a
push 0x80040014
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015f7e2
push edi
push ebx
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.301b2a98
test eax, eax
je 0x3015f7cf
push esi
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x3015f7a6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
shr eax, 2
test al, 1
je 0x3015f7a6
mov ecx, esi
jmp 0x3015f7a8
xor ecx, ecx
cmp ecx, ebx
pop esi
je 0x3015f7cf
cmp edi, dword [ecx + 8]
je 0x3015f7b9
push 0x8004001e
jmp 0x3015f7d4
cmp dword [ebp + 0xc], ebx
je 0x3015f7cf
push dword [ebp + 0xc]
call fcn.301b6f9c
mov dword [ebp - 4], 1
jmp 0x3015f7da
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
invalid
dec ebp
Function at 0x3015f7eb
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push dword [0x3026b738]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x3015f810
mov edi, dword [eax + 0x16c]
jmp 0x3015f812
xor edi, edi
cmp edi, ebx
jne 0x3015f826
push 0x80040014
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015f8a8
push edi
push ebx
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.301b2a98
test eax, eax
je 0x3015f895
mov eax, dword [ebp + 0x10]
and eax, 0x11c
cmp eax, dword [ebp + 0x10]
jne 0x3015f895
push esi
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x3015f85f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
shr eax, 2
test al, 1
je 0x3015f85f
mov ecx, esi
jmp 0x3015f861
xor ecx, ecx
cmp ecx, ebx
pop esi
je 0x3015f895
cmp edi, dword [ecx + 8]
je 0x3015f872
push 0x8004001e
jmp 0x3015f89a
cmp dword [ebp + 0xc], ebx
je 0x3015f895
mov eax, dword [ebp + 0x10]
shr eax, 8
test al, 1
jne 0x3015f8a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.301b722a
mov dword [ebp - 4], 1
jmp 0x3015f8a0
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x10]
call fcn.301b2a51
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 0xc

Function at 0x3015f8b1
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push dword [0x3026b738]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, edi
je 0x3015f8d6
mov esi, dword [eax + 0x16c]
jmp 0x3015f8d8
xor esi, esi
cmp esi, edi
jne 0x3015f8ec
push 0x80040014
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015f990
push esi
push edi
push 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
call fcn.301b2a98
test eax, eax
jne 0x3015f90c
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015f988
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, edi
je 0x3015f926
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
shr eax, 2
test al, 1
je 0x3015f926
mov ecx, ebx
jmp 0x3015f928
xor ecx, ecx
cmp ecx, edi
jne 0x3015f933
push 0x80070057
jmp 0x3015f93d
cmp esi, dword [ecx + 8]
je 0x3015f945
push 0x8004001e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015f987
cmp dword [esi + 0x10], edi
je 0x3015f97b
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0x800c
call fcn.3015f4cf
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 4], ecx
jmp 0x3015f987
call fcn.301b41d5
mov dword [ebp - 4], 1
pop ebx
lea ecx, [ebp - 0x10]
call fcn.301b2a51
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x3015f9c5
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [0x3026b738]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, edi
je 0x3015f9e7
mov esi, dword [eax + 0x16c]
jmp 0x3015f9e9
xor esi, esi
cmp esi, edi
jne 0x3015f9fa
push 0x80040014
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015fa42
push esi
push edi
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
call fcn.301b2a98
test eax, eax
jne 0x3015fa19
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015fa3a
push dword [ebp + 8]
call fcn.3015ebb0
cmp eax, edi
je 0x3015fa0c
cmp esi, dword [eax + 8]
je 0x3015fa31
push 0x8004001e
jmp 0x3015fa11
cmp dword [ebp + 0xc], edi
jne 0x3015fa0c
movzx edi, byte [eax + 0x14]
lea ecx, [ebp - 0xc]
call fcn.301b2a51
mov eax, edi
pop edi
pop esi
leave
ret 8

Function at 0x3015fa4a
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
push dword [0x3026b738]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x3015fa6c
mov edi, dword [eax + 0x16c]
jmp 0x3015fa6e
xor edi, edi
cmp edi, ebx
jne 0x3015fa7f
push 0x80040014
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015faf0
push edi
push ebx
push 1
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.301b2a98
test eax, eax
jne 0x3015fa9f
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015fae8
push esi
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x3015fab9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
shr eax, 2
test al, 1
je 0x3015fab9
mov eax, esi
jmp 0x3015fabb
xor eax, eax
test eax, eax
pop esi
je 0x3015fa92
cmp edi, dword [eax + 8]
je 0x3015facc
push 0x8004001e
jmp 0x3015fa97
mov ecx, dword [ebp + 0x14]
and ecx, 7
cmp ecx, dword [ebp + 0x14]
jne 0x3015fa92
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.301b579b
mov ebx, eax
lea ecx, [ebp - 0xc]
call fcn.301b2a51
pop edi
mov eax, ebx
pop ebx
leave
ret 0x10

Function at 0x3015faf8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push esi
push dword [0x3026b738]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x3015fb1b
mov esi, dword [eax + 0x16c]
jmp 0x3015fb1d
xor esi, esi
test esi, esi
jne 0x3015fb2e
push 0x80040014
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015fb91
and dword [ebp - 0x10], 0
push esi
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.301b2a98
test eax, eax
jne 0x3015fb50
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3015fb89
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x3015fb6a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
shr eax, 2
test al, 1
je 0x3015fb6a
mov eax, edi
jmp 0x3015fb6c
xor eax, eax
test eax, eax
pop edi
je 0x3015fb43
cmp esi, dword [eax + 8]
je 0x3015fb7d
push 0x8004001e
jmp 0x3015fb48
push dword [ebp + 0xc]
push eax
call fcn.301b7ea2
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
call fcn.301b2a51
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
Function at 0x102611f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x10286f4], esi
jne 0x1026177
lea eax, [ebp - 4]
push eax
push 1
push esi
push 0x101f5e0
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1026177
push esi
push esi
push esi
push esi
push 0x101f59c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov dword [0x10286f4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [0x10286f4], 1
pop esi
sete al
leave
ret

Function at 0x102618b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x10286f8], esi
jne 0x102620c
call fcn.0102611f
test eax, eax
je 0x1026202
lea eax, [ebp - 4]
push eax
push 1
push esi
push 0x101f5e0
push 0x80000002
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102620c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x101f5c0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10261f7
cmp dword [ebp - 8], esi
sete al
inc eax
mov dword [0x10286f8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102620c
mov dword [0x10286f8], 2
xor eax, eax
cmp dword [0x10286f8], 1
pop esi
sete al
leave
ret

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 0x904a30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x67100d
lea edi, [esi - 0x27000d]
push edi
or ebp, 0xffffffff
jmp 0x904a52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x904a59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x904a48
mov eax, 1
add ebx, ebx
jne 0x904a6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x904a60
jne 0x904a7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x904a60
xor ecx, ecx
sub eax, 3
jb 0x904a90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x904b02
mov ebp, eax
add ebx, ebx
jne 0x904a9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x904aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x904acc
inc ecx
add ebx, ebx
jne 0x904ab8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x904aad
jne 0x904ac9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x904aad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x904aec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x904add
jmp 0x904a4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x904aec
add edi, ecx
jmp 0x904a4e
pop esi
mov edi, esi
mov ecx, 0x1880
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x904b0a
cmp byte [edi], 0x11
jne 0x904b0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x904b0f
lea edi, [esi + 0x500000]
mov eax, dword [edi]
or eax, eax
je 0x904b7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x50c164]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x50c1bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x904b3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x50c1c4]
or eax, eax
je 0x904b78
mov dword [ebx], eax
add ebx, 4
jmp 0x904b59
call dword [esi + 0x50c1c0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x904baf
cmp al, 0xef
ja 0x904ba2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x904b84
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x904b91
mov ebp, dword [esi + 0x50c1c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x904be3
sub esp, 0xffffff80
jmp 0x40ec9c
Function at 0x10001135
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
call fcn.10007cd1
mov dword [ebp - 4], eax
push dword [ebp - 4]
call sub.USER32.dll_IsWindowVisible
or eax, eax
je 0x10001177
push 0x1000a240
push 0x3e8
push dword [ebp + 8]
call sub.USER32.dll_SetDlgItemTextA
push 0
push dword [ebp - 4]
call sub.USER32.dll_ShowWindow
push 6
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow
jmp 0x10001193
push 0x1000a249
push 0x3e8
push dword [ebp + 8]
call sub.USER32.dll_SetDlgItemTextA
push 5
push dword [ebp - 4]
call sub.USER32.dll_ShowWindow
leave
ret 4

Function at 0x100013b9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100013e8
push 0
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow
push 0x100013b0
push 0x4c8
push dword [0x1000c004]
push 1
push dword [ebp + 8]
call fcn.10005ef0
jmp 0x100013fa
push 1
push dword [ebp + 8]
call fcn.10005f5c
push dword [ebp + 8]
call sub.USER32.dll_SetForegroundWindow
mov eax, 0
leave
ret 8

Function at 0x100014ea
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push 0x3ea
push dword [ebp + 8]
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 4], eax
push 0x54028040
push 0xfffffffffffffff0
push dword [ebp - 4]
call sub.USER32.dll_SetWindowLongA
push 0x10000
push 0xffffffffffffffec
push dword [ebp - 4]
call sub.USER32.dll_SetWindowLongA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call sub.USER32.dll_GetWindowRect
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1328
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push 0
call sub.USER32.dll_MapWindowPoints
sub dword [ebp - 0x14], 2
inc dword [ebp - 8]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
push 0
push dword [section..data]
push 0
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x52000444
push 0
push 0x8002
push 0x10020
call sub.USER32.dll_CreateWindowExA
mov dword [0x1000c00c], eax
test eax, eax
je 0x1000162c
push 0
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.USER32.dll_CreateDialogParamA
mov dword [0x1000c010], eax
test eax, eax
je 0x1000162c
push 0x40000444
push 0xfffffffffffffff0
push dword [0x1000c010]
call sub.USER32.dll_SetWindowLongA
push 0x10000
push 0xffffffffffffffec
push dword [0x1000c010]
call sub.USER32.dll_SetWindowLongA
lea eax, [ebp - 0x24]
push eax
push dword [0x1000c010]
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, eax
sub eax, dword [ebp - 8]
sbb edx, edx
and eax, edx
sub ecx, eax
push 4
push ecx
push dword [ebp - 0xc]
push 0
push 0
push 0
push dword [0x1000c010]
call sub.USER32.dll_SetWindowPos
push dword [0x1000c010]
call fcn.100014b1
push 5
push dword [0x1000c010]
call sub.USER32.dll_ShowWindow
leave
ret 0x10
Function at 0x10001ad7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10001b19
mov eax, dword [ebp + 8]
mov dword [section..data], eax
push eax
call sub.KERNEL32.dll_DisableThreadLibraryCalls
push 0
push 0
push dword [section..data]
push 0x10001a23
push 0
push 0
call sub.KERNEL32.dll_CreateThread
or eax, eax
je 0x10001b2b
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, 1
jmp 0x10001b2b
or eax, eax
jne 0x10001b1f
jmp 0x10001b2b
cmp eax, 2
jne 0x10001b26
jmp 0x10001b2b
cmp eax, 3
jne 0x10001b2b
leave
ret 0xc

Function at 0x1000316c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xa
push 0
push 0
push str.Tencent:__Message__MenuYESUin505200452
push 0
push 0
call sub.SHELL32.dll_ShellExecuteA
leave
ret 4

Function at 0x10003602
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0x10
push 0x2002
call sub.KERNEL32.dll_GlobalAlloc
or eax, eax
je 0x10003667
mov dword [ebp - 8], eax
push 0x816
push dword [ebp + 8]
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 4], eax
push dword [ebp - 8]
call sub.KERNEL32.dll_GlobalLock
push 0x10
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.10005446
push dword [ebp - 8]
call sub.KERNEL32.dll_GlobalUnlock
push dword [ebp + 8]
call sub.USER32.dll_OpenClipboard
call sub.USER32.dll_EmptyClipboard
push dword [ebp - 8]
push 1
call sub.USER32.dll_SetClipboardData
call sub.USER32.dll_CloseClipboard
leave
ret 8
Function at 0x10003e7d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [0x1000c2fc], 0
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push dword [ebp + 8]
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x10003f0a
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 8
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_ReadFile
cmp dword [ebp - 0xc], 8
jne 0x10003f02
cmp dword [ebp - 0x14], 0x4643585a
jne 0x10003f02
cmp dword [ebp - 0x10], 5
jne 0x10003f02
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18c
push 0x1000c170
push dword [ebp - 8]
call sub.KERNEL32.dll_ReadFile
test eax, eax
je 0x10003f02
mov dword [ebp - 4], 1
push dword [ebp - 8]
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10003f11
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x10003fa2
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x4643585a
mov dword [ebp - 0x10], 5
push 0
lea eax, [ebp - 0xc]
push eax
push 8
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_WriteFile
cmp dword [ebp - 0xc], 8
jne 0x10003f9a
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18c
push 0x1000c170
push dword [ebp - 8]
call sub.KERNEL32.dll_WriteFile
cmp dword [ebp - 0xc], 0x18c
jne 0x10003f9a
mov dword [0x1000c2fc], 0
mov dword [ebp - 4], 1
push dword [ebp - 8]
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x1000482a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
call sub.USER32.dll_GetForegroundWindow
or eax, eax
je 0x10004883
cmp eax, dword [ebp + 8]
je 0x10004883
push 0
push eax
call sub.USER32.dll_GetWindowThreadProcessId
mov dword [ebp - 4], eax
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 8], eax
push 1
push dword [ebp - 4]
push dword [ebp - 8]
call sub.USER32.dll_AttachThreadInput
push dword [ebp + 8]
call sub.USER32.dll_SetForegroundWindow
push dword [ebp + 8]
call sub.USER32.dll_BringWindowToTop
push dword [ebp + 8]
call sub.USER32.dll_SetFocus
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call sub.USER32.dll_AttachThreadInput
leave
ret 4
Function at 0x10004887
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
call sub.KERNEL32.dll_GetCurrentProcess
lea edx, [ebp - 8]
push edx
push 0x20
push eax
call sub.ADVAPI32.dll_OpenProcessToken
or eax, eax
je 0x100048ff
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push str.SeDebugPrivilege
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
je 0x100048f4
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 8]
call sub.ADVAPI32.dll_AdjustTokenPrivileges
test eax, eax
je 0x100048f4
call sub.KERNEL32.dll_GetLastError
cmp eax, 0
jne 0x100048f4
mov dword [ebp - 4], 1
push dword [ebp - 8]
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 4]
leave
ret

Function at 0x10004e4b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
ret

Function at 0x10005a58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push 0x100
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call sub.USER32.dll_GetWindowTextA
push eax
lea eax, [ebp - 0x100]
push eax
push 0
push 0
push dword [ebp + 0xc]
call sub.GDI32.dll_TextOutA
leave
ret 8