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

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0xd91118]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add eax, dword [edi + 0x90]
add ebp, dword [edi + 0x8c]
mov dword [esp + 0x18], eax
test esi, esi
jns 0x482b96
add ebp, esi
neg esi
mov ebx, dword [esp + 0x20]
test ebx, ebx
jns 0x482ba6
add eax, ebx
neg ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add eax, eax
cmp eax, esi
jle 0x482bbb
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
add ecx, ecx
cmp ecx, ebx
jle 0x482bd0
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0xac]
je 0x482be7
push eax
push edi
mov dword [edi + 0xac], eax
call dword [edi + 0x40]
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebx
push esi
push dword [esp + 0x28]
push ebp
push edi
call dword [edi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret 0x1c

Function at 0x482c01
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0xd91118]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, dword [esi + 0x90]
add ebp, dword [esi + 0x8c]
mov dword [esp + 0x18], eax
test edi, edi
jns 0x482c37
add ebp, edi
neg edi
mov ebx, dword [esp + 0x20]
test ebx, ebx
jns 0x482c47
add eax, ebx
neg ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add eax, eax
cmp eax, edi
jle 0x482c5c
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
add ecx, ecx
cmp ecx, ebx
jle 0x482c71
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xa4]
cmp eax, dword [esi + 0xac]
je 0x482c8a
push eax
push esi
mov dword [esi + 0xac], eax
call dword [esi + 0x40]
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebx
push edi
push dword [esp + 0x28]
push ebp
push esi
call dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret 0x18

Function at 0x482ca4
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, ebx
test esi, esi
je 0x482d01
push esi
call dword [esi + 0x58]
mov ecx, dword [esi + 0x80]
mov edi, eax
mov dword [esi + 0x94], ecx
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x98], ecx
test edi, edi
jne 0x482d01
mov eax, dword [esi + 0x70]
test eax, eax
je 0x482ce0
push ebx
push esi
call eax
push esi
push ebx
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push dword [0xd91118]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0xd9111c], ebx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x48657c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push dword [0xd91208]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x4865dd
push esi
push dword [0xd91204]
push 8
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push edi
push dword [0xd91208]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [0xd91200]
jmp 0x4865cd
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4865cb
mov eax, dword [esi + 8]
add eax, edi
push eax
call ecx
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x4865bb
push edi
push 0x48669f
call fcn.004f6b78
pop esi
mov eax, dword [esp + 8]
add eax, edi
pop edi
ret 4

Function at 0x4865e7
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
and ecx, 3
je 0x4865fd
push 4
pop eax
sub eax, ecx
add edi, eax
mov esi, dword [0xd91204]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
jne 0x486636
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push edi
push 8
push dword [0xd8fb84]
mov dword [0xd91208], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push dword [0xd91208]
call ebx
mov esi, dword [0xd91204]
lea eax, [edi + esi]
push eax
push dword [0xd91208]
mov dword [0xd91204], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push 8
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebp, eax
push ebp
push dword [0xd91208]
call ebx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test edi, edi
jne 0x486675
test ebx, ebx
je 0x486696
push 0x14
push 0xd91200
call fcn.00492038
pop ecx
pop ecx
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
test edi, edi
je 0x486696
lea ecx, [esi + ebp]
push ecx
call edi
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x486790
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x18]
mov edi, eax
mov ebp, dword [esp + 0x14]
mov esi, dword [edi + 8]
mov ecx, dword [ebp]
sub esi, ebx
lea eax, [esi + 0xa]
push eax
test ecx, ecx
jne 0x4867c9
push ecx
push dword [0xd9120c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x4867d8
push ecx
push 0
push dword [0xd9120c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, eax
shr esi, 1
mov dword [ebp], ecx
mov eax, dword [edi]
push esi
add eax, ebx
push eax
push ecx
call fcn.004f6930
mov dword [edi + 8], ebx
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4869d0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add dword [eax + 8], 2
ret

Function at 0x486a20
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax + 0x19c]
mov ecx, dword [eax + 8]
mov dword [eax + edx*4 + 0xc], ecx
inc dword [eax + 0x19c]
ret
Function at 0x486a40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0xd8e6c8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
dec dword [eax + 0x19c]
mov ecx, dword [eax + 0x19c]
mov esi, dword [eax + ecx*4 + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
ret

Function at 0x486a80
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
dec dword [edx + 0x19c]
mov ecx, dword [edx + 0x19c]
mov eax, dword [edx + ecx*4 + 0xc]
mov dword [edx + 8], eax
ret

Function at 0x486ab0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
dec dword [eax + 0x19c]
mov ecx, dword [eax + 0x19c]
mov ecx, dword [eax + ecx*4 + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [eax]
add eax, ecx
ret

Function at 0x486ae0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
dec dword [edx + 0x19c]
mov ecx, dword [edx + 0x19c]
mov eax, dword [edx + ecx*4 + 0xc]
add eax, dword [edx]
ret
Function at 0x489970
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
cmp dword [esp + 0x1c], 0
jle 0x489a63
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov ecx, dword [eax + 8]
mov ebx, ecx
add ebx, dword [eax]
mov edx, dword [eax + 0xc]
mov esi, edx
mov edi, dword [eax + 4]
adc edi, edx
mov dword [esp + 0x18], ebx
shld edx, ecx, 0xd
shr esi, 0x13
xor ebp, ebp
shl ecx, 0xd
or ebp, edx
mov edx, dword [eax + 0x1c]
or esi, ecx
mov ecx, dword [eax + 0x18]
xor esi, ebx
xor ebp, edi
mov dword [esp + 0x14], esi
mov esi, ecx
mov dword [esp + 0x20], ebp
add esi, dword [eax + 0x10]
mov ebp, edx
mov ebx, edx
mov dword [esp + 0x10], edi
adc ebp, dword [eax + 0x14]
xor edi, edi
shld edx, ecx, 0x10
shr ebx, 0x10
shl ecx, 0x10
or edi, edx
or ebx, ecx
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x10]
xor ebx, esi
xor edi, ebp
xor esi, esi
or esi, dword [esp + 0x18]
mov edx, edi
add ecx, ebx
mov dword [esp + 0x10], ecx
adc esi, edi
mov dword [eax], ecx
shld edi, ebx, 0x15
xor ecx, ecx
shr edx, 0xb
or ecx, edi
shl ebx, 0x15
mov edi, dword [esp + 0x14]
or edx, ebx
xor edx, dword [esp + 0x10]
xor ecx, esi
add edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [eax + 4], esi
mov esi, ebx
adc esi, ebp
mov dword [eax + 0x18], edx
mov ebp, dword [esp + 0x14]
mov edx, ebx
mov dword [eax + 0x1c], ecx
xor ecx, ecx
shld ebx, ebp, 0x11
shr edx, 0xf
or ecx, ebx
shl ebp, 0x11
xor ecx, esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], ecx
or edx, ebp
xor ecx, ecx
xor edx, edi
or ecx, edi
mov dword [eax + 8], edx
sub dword [esp + 0x2c], 1
mov dword [eax + 0x14], ecx
jne 0x489986
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x490960
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x1ec], 0
jne 0x4909fc
push esi
xor esi, esi
nop dword [eax + eax]
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x4909c6
mov edx, dword [esp + 0x14]
xor ecx, ecx
nop
cmp esi, 4
jae 0x4909bb
mov eax, edx
shr eax, cl
add ecx, 8
mov byte [esp + esi + 8], al
inc esi
cmp ecx, 0x20
jb 0x4909a0
cmp esi, 4
jb 0x490980
push dword [esp + 8]
push str.rand_s
jmp 0x4909ed
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [esp + 8]
xor esi, dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, esi
imul eax, eax, 0x7fffffff
push eax
push str.fallback_4_
call fcn.00491050
add esp, 8
mov dword [edi + 0x1ec], eax
pop esi
cmp byte [edi + 0xe8], 0
je 0x490a18
push str.xmlhttp:__www.w3.org_XML_1998_namespace
push edi
call fcn.0048f670
add esp, 8
pop edi
add esp, 8
ret
mov al, 1
pop edi
add esp, 8
ret

Function at 0x4917d0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x18]
mov esi, eax
cmp ebx, 0xffffffff
jne 0x4917ee
mov ebx, dword [esi + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
lea ebp, [eax + eax]
add ecx, ebp
lea eax, [edx - 4]
cmp ecx, eax
jl 0x491812
lea eax, [ecx + 0x4000]
mov dword [esi + 4], eax
add eax, 0xa
jmp 0x49182d
cmp edx, 0x100000
jle 0x491840
cmp ecx, 0x100000
jge 0x491827
mov ecx, 0x100000
mov dword [esi + 4], ecx
lea eax, [ecx + 0xa]
push eax
push dword [esi]
push 0
push dword [0xd9120c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [esi], eax
lea eax, [ebx + ebp]
mov dword [esi + 8], eax
mov eax, dword [esi]
pop edi
pop esi
pop ebp
add eax, ebx
pop ebx
ret 8
Function at 0x49223e
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x492293
push dword [esp + 0x10]
push 0x4922f2
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [0xd91274]
test edi, edi
je 0x4922ec
xor esi, esi
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x49228b
cmp byte [edi + 0x10], 0
je 0x49228b
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, ebx
test ebx, ebx
jne 0x492267
jmp 0x4922ec
mov edi, dword [0xd91274]
test edi, edi
je 0x4922ec
xor esi, esi
push ebp
mov ebp, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x4922e5
cmp byte [edi + 0x11], 0
je 0x4922be
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [edi + 0x10], 0
je 0x4922d5
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [edi + 8]
push eax
push 0xd91274
call fcn.00492067
pop ecx
pop ecx
mov edi, ebp
test ebp, ebp
jne 0x4922a0
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x4923c0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 4]
neg ecx
add ecx, ecx
add dword [eax + 8], ecx
ret 4
Function at 0x4ac144
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x4ac203
cmp dword [esp + 0x24], 2
je 0x4ac203
push 0x2000
push ebp
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x4ac1d2
cmp dword [esp + 0x18], 2
jne 0x4ac1ee
cmp dword [esp + 0x28], 0xffffffff
je 0x4ac196
cmp ebp, dword [esp + 0x28]
jae 0x4ac1ee
add ebp, 2
test ebx, ebx
jne 0x4ac1bb
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x4ac1ee
cmp ax, 0xd
je 0x4ac1d2
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ac182
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.004adee0
jmp 0x4ac295
push eax
push 0
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x4ac221
cmp ebp, dword [esp + 0x28]
jae 0x4ac279
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ac279
cmp dword [esp + 0x18], 1
jne 0x4ac279
inc ebp
test ebx, ebx
jne 0x4ac266
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x4ac279
cmp al, 0xd
je 0x4ac214
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x4ac214
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x4ac290
call fcn.004addf0
jmp 0x4ac295
call fcn.00492480
push esi
push 0
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4b58d0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov eax, dword [esp + 4]
mov edx, dword [ecx]
cmp eax, edx
jb 0x4b58f7
mov ecx, dword [ecx + 8]
add ecx, edx
cmp eax, ecx
ja 0x4b58f7
sub eax, edx
inc eax
ret 4
xor eax, eax
ret 4

Function at 0x4b5900
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd8e6c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
mov eax, dword [esp + 4]
dec eax
add eax, ecx
ret 4
Function at 0x4ca8c0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x4caa6f
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4caa6f
push esi
mov esi, dword [esp + 0x24]
push edi
test esi, esi
je 0x4ca8f6
mov eax, dword [esi + 4]
test eax, eax
je 0x4ca906
push dword [esi]
push 0x18
call eax
add esp, 8
jmp 0x4ca900
push 0x18
call fcn.004fb3bb
add esp, 4
mov edi, eax
test edi, edi
jne 0x4ca910
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
ret
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
lea eax, [edi + 8]
mov dword [edi], ebx
test eax, eax
je 0x4ca970
test esi, esi
je 0x4ca955
cmp dword [esi], 0
jne 0x4ca93b
cmp dword [esi + 0xc], 0
jne 0x4ca941
cmp dword [esi + 4], 0
jne 0x4ca93b
cmp dword [esi + 8], 0
je 0x4ca955
cmp dword [esi + 0xc], 0
je 0x4ca970
cmp dword [esi + 4], 0
jne 0x4ca94d
cmp dword [esi + 8], 0
je 0x4ca970
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
jmp 0x4ca970
mov dword [eax], 0
mov dword [eax + 4], 0x4ca660
mov dword [eax + 8], 0x4ca670
mov dword [eax + 0xc], 0x4ca690
lea eax, [esp + 0x14]
push eax
push 0
push edi
push 0x4ca880
push dword [esp + 0x2c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [ebp], ecx
test ecx, ecx
jne 0x4ca9d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004ca770
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4caa68
test esi, esi
je 0x4ca9c5
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4ca9ce
push dword [esi]
push edi
call ecx
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call fcn.004ec91b
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
mov eax, dword [esp + 0x18]
add eax, 5
cmp eax, 6
ja case.0x4ca9e1.2
jmp dword [eax*4 + 0x4caa78]
mov eax, 0xfffffff1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
or eax, 0xffffffff
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 0xf
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
xor eax, eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop ebp
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x4e0920
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
call fcn.004c3cf0
mov ebx, dword [esp + 0xc]
lea eax, [esp + 4]
push ebx
push eax
mov dword [esp + 0xc], 0xd8f19c
call fcn.004c3d00
add esp, 8
test eax, eax
jne 0x4e09ea
push esi
push edi
push 0x20000
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x48], eax
call fcn.004fb3bb
push 0x20000
mov dword [ebx + 0x38], eax
call fcn.004fb3bb
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x20]
push esi
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x28]
push 0x20000
push dword [ebx + 0x38]
mov dword [ebx + 0x58], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x50], 1
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x68], esi
call edi
push esi
push 0x20000
push dword [ebx + 0x3c]
mov dword [ebx + 0x40], eax
call edi
add esp, 0x20
mov dword [ebx + 0x44], eax
lea eax, [esp + 0x14]
push eax
push 0
push ebx
push 0x4e0a30
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
test eax, eax
je 0x4e09ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x60], 1
mov eax, 1
pop ebx
pop ecx
ret
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x4e4c40
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4e4c60
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4e4c60
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4e4c60
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4eae3e
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x188
push 8
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0xd91118]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0xd9111c], esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
push esi
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 0x3f
call fcn.0051c059
mov dword [esi + 0x58], 0x4ec06c
mov eax, esi
mov dword [esi + 0x5c], 0x4ec0b8
mov dword [esi + 0x10], fcn.004eafa5
mov dword [esi + 0x30], 0x4eb131
mov dword [esi + 0x64], 0x4eb348
mov dword [esi + 0x60], 0x4eb3a0
mov dword [esi + 0x34], 0x4eb9da
mov dword [esi + 0x24], 0x4eb88c
mov dword [esi + 0x28], 0x4eb8b5
mov dword [esi + 0x2c], 0x4eb8e0
mov dword [esi + 0x44], 0x4ebe61
mov dword [esi + 0x68], 0x4eaf30
mov dword [esi + 0x6c], 0x4eaf8f
pop esi
ret 4
Function at 0x4ed544
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x4ed5da
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4ed5d7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x4ed5d7
lea eax, [esi - 1]
push eax
push dword [0xd90fc4]
call fcn.00488bc1
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x4ed5d9
mov ecx, dword [edi + 4]
add ecx, 4
pop esi
cmp word [ecx - 2], si
jne 0x4ed5c7
mov edx, 0xfa01
cmp word [ecx], dx
je 0x4ed5d2
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x4ed5b7
jmp 0x4ed5d7
and dword [esp + 0x10], 0
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x4ed680
push eax
call esi
test al, al
jns 0x4ed680
push 0x11
call esi
test al, al
js 0x4ed680
push 0x10
call esi
test al, al
js 0x4ed680
push 0x12
call esi
test al, al
js 0x4ed680
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x4ed680
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call fcn.004f6968
add esp, 0xc
test eax, eax
je 0x4ed654
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call fcn.004f6968
add esp, 0xc
test eax, eax
jne 0x4ed66b
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x4ed6c1
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call fcn.004ac104
pop ecx
pop ecx
test eax, eax
je 0x4ed6c1
test ebp, ebp
je 0x4ed6a4
push 0x11
call esi
test al, al
js 0x4ed69c
push 0x10
call esi
test al, al
js 0x4ed69c
push 0x12
call esi
test al, al
jns 0x4ed6a4
push 1
push ebp
call fcn.004ed7e5
test ebx, ebx
je 0x4ed6b8
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x4ed6c1
test edi, edi
je 0x4ed6c1
mov eax, dword [edi + 8]
jmp 0x4ed6c3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4