joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10048e20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 4
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push connect
mov bl, cl
mov dword [ebp - 0x10], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
movzx eax, bl
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.Resolution
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Resolution
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov dword [0xe8c240], eax
mov eax, dword [ebp - 8]
pop ebx
cmp eax, 7
ja case.0x10048ed8.5
jmp dword [eax*4 + 0x10049018]
mov dword [0xe61e58], 0x280
mov eax, 1
mov dword [0xe61e5c], 0x1e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x320
mov eax, 1
mov dword [0xe61e5c], 0x258
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x400
mov eax, 1
mov dword [0xe61e5c], 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x500
mov eax, 1
mov dword [0xe61e5c], 0x400
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x556
mov eax, 1
mov dword [0xe61e5c], 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x690
mov eax, 1
mov dword [0xe61e5c], 0x41a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x780
mov eax, 1
mov dword [0xe61e5c], 0x438
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
mov dword [0xe61e58], 0x5a0
xor ecx, ebp
mov dword [0xe61e5c], 0x384
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x10053910
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.._Settings.ini
push 0x64
push 0x102fbdd8
push str.Tahoma
push str.FontName
push str.FontConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10053b60
push 0x4060d0
push 0xe8
call fcn.100b1680
push fcn.10053ae0
push 0x4d2882
push 0xe8
call fcn.100b1680
push 0x10053b60
push 0x4d28eb
push 0xe8
call fcn.100b1680
push 0x10053b60
push 0x4d2957
push 0xe8
call fcn.100b1680
push fcn.10053ae0
push 0x4d29c1
push 0xe8
call fcn.100b1680
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
add esp, 0x3c
push eax
push 0x40
push 1
push 0x4060d5
call esi
lea eax, [ebp - 8]
mov byte [0x4060d5], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4060d5
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d2887
call esi
lea eax, [ebp - 8]
mov byte [0x4d2887], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d2887
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 8]
mov byte [0x4d28f0], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d295c
call esi
lea eax, [ebp - 8]
mov byte [0x4d295c], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d295c
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d29c6
call esi
lea eax, [ebp - 8]
mov byte [0x4d29c6], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d29c6
call esi
cmp dword [0x1054cc14], 1
pop esi
push 0x102fbdd8
push 0
push dword [0x1054cc20]
push 0
push 0
jne 0x10053a8c
push 1
jmp 0x10053a8e
push 0
push dword [0x1054cc24]
push dword [0x1054cc1c]
push dword [0x1054cc10]
push 0x2bc
push 0
push 0
push dword [0x1054cc18]
push dword [0x1054c964]
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, 0x1054cb18
mov dword [0x1054cc08], eax
call fcn.10053ae0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x1054cc0c], eax
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x10059740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, 3
mov word [ebp - 4], 0xcffc
sub eax, ecx
mov byte [ebp - 2], 0xab
push edi
mov dword [ebp - 8], eax
mov edi, 1
mov ebx, 2
mov eax, 4
xor esi, esi
sub edi, ecx
sub ebx, ecx
sub eax, ecx
mov dword [ebp - 0xc], eax
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 4]
lea edx, [edi + ecx]
xor byte [ecx], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 3]
lea edx, [ebx + ecx]
xor byte [ecx + 1], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 2]
xor byte [ecx + 2], al
mov eax, 0xaaaaaaab
mov edx, dword [ebp - 8]
lea edx, [edx + ecx]
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 1]
xor byte [ecx + 3], al
mov eax, 0xaaaaaaab
mov edx, dword [ebp - 0xc]
lea edx, [edx + ecx]
mul edx
lea ecx, [ecx + 5]
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
add esi, 5
movzx eax, byte [ebp + edx]
xor byte [ecx - 1], al
cmp esi, 0x6e
jl 0x10059777
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005f210
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
pop esi
cmp eax, 1
jne 0x1005f27c
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x10061d00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov esi, edx
push eax
push 0
push 0xf003f
mov ebx, dword [esi + 0x10]
mov edi, ecx
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10061d5d
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0x10
jb 0x10061d65
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x10061d6d
mov edi, dword [edi]
push ebx
push esi
push 1
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x10068050
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x101d548c]
add eax, 0xffffffff
mov dword [0x101d548c], eax
jns 0x10068199
push ebx
push esi
mov esi, 0x101d4acc
push edi
mov edi, 0x101d4ac4
cmp eax, 0xffffffff
jge 0x100680a1
mov eax, 0x1105
mov ecx, 0x101d4ac8
mov dword [0x101d4ac4], eax
mov edx, 0x26f
nop dword [eax]
imul eax, eax, 0x10dcd
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x10068090
mov eax, dword [0x101d4ac4]
mov ebx, 0xe3
mov edx, dword [0x101d4ac8]
mov dword [0x101d548c], 0x26f
mov dword [0x101d5488], 0x101d4ac8
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [esi + 0x62c]
mov dword [edi], ecx
add edi, 4
mov edx, dword [esi]
add esi, 4
sub ebx, 1
jne 0x100680c5
mov ebx, 0x101d4ac4
mov dword [ebp - 4], 0x18c
mov ecx, edx
lea ebx, [ebx + 4]
xor ecx, eax
lea edi, [edi + 4]
and ecx, 0x7ffffffe
lea esi, [esi + 4]
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx - 4]
sub dword [ebp - 4], 1
mov dword [edi - 4], ecx
mov edx, dword [esi - 4]
jne 0x10068108
mov edx, dword [0x101d4ac4]
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx]
shr eax, 0xb
xor edx, eax
mov dword [edi], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
pop edi
mov eax, edx
shr eax, 0x12
pop esi
xor eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101d5488]
mov ecx, dword [eax]
add eax, 4
mov dword [0x101d5488], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006d330
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
movd xmm1, dword [0x10304760]
push esi
mov esi, dword [ebp + 0xc]
shl esi, 6
cvtdq2ps xmm1, xmm1
push edi
mov edi, ecx
movss xmm0, dword [esi + 0x101d5570]
comiss xmm0, xmm1
ja 0x1006d3b9
comiss xmm1, dword [esi + 0x101d5578]
ja 0x1006d3b9
movd xmm1, dword [0x10304768]
movss xmm0, dword [esi + 0x101d5574]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1006d3b9
comiss xmm1, dword [esi + 0x101d557c]
ja 0x1006d3b9
cmp byte [ebp + 0x10], 1
jne 0x1006d38f
cmp byte [esi + edi + 0xf6], 0
je 0x1006d3b9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + edi + 0xf0]
mov ecx, dword [ebp + 8]
cmp ecx, 0x201
jne 0x1006d3c1
cmp byte [esi + edi + 0xf4], 0
jne 0x1006d3b9
mov byte [esi + edi + 0xf4], 1
pop edi
xor al, al
pop esi
pop ebp
ret 0xc
cmp ecx, 0x202
jne 0x1006d3b9
cmp eax, 0x1f4
jb 0x1006d3b9
mov byte [esi + edi + 0xf4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + edi + 0xf0], eax
mov al, 1
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10082d40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x10178bcf
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CLuaDecrypt.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10082d77
test cl, cl
je 0x10082d73
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10082d77
add eax, 2
add edx, 2
test cl, cl
jne 0x10082d57
xor eax, eax
jmp 0x10082d7c
sbb eax, eax
or eax, 1
test eax, eax
je 0x10082db1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10082db1
push dword [esi + 4]
call fcn.100d5685
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10123cc0
add esp, 0x10
test byte [ebp + 8], 1
je 0x10082dc5
push 0x10c
push esi
call fcn.100d5624
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10082dd0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push connect
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10082f8d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10082e2b
push eax
call fcn.100d5685
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100d591e
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x10082f86
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10082f86
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x10082f8d
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x1017952c]
jne 0x10082f8d
mov eax, dword [edx + 4]
cmp eax, dword [0x10179530]
jne 0x10082f8d
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x10082eed
nop
mov ecx, 0x101ee9ed
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10082ea8
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101ee9ed]
and eax, 0xf
movzx eax, byte [eax + 0x1017951c]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x1017951c]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x10082ea0
lea esi, [edi + 0xc]
call fcn.1012c24b
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItem_vorks_d.lua
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop ebx
cmp esi, 0xffffffff
je 0x10082f8d
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [edi + 8]
sub eax, 8
push eax
mov eax, dword [edi + 4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jne 0x10082f70
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret 4
call eax
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret 4
Function at 0x1008d180
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 0xc]
mov byte [edi], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x10098a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10098ab7
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 6
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, 0x1112
cmp word [ebp - 0x20], ax
jne 0x10098bc4
cmp dword [ebp - 0x1e], 0x36
jne 0x10098bc4
cmp byte [ebp + 0x10], 0
mov eax, 0x101ed8ec
push esi
push 0
mov esi, 0x101ed91c
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x101ed94c]
xor eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [0x101ed950]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [0x101ed954]
xor eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [0x101ed958]
xor eax, dword [ebp - 8]
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x101ed94c]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [0x101ed950]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [0x101ed954]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [0x101ed958]
xor eax, dword [ebp - 8]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x101ed94c]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [0x101ed950]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [0x101ed954]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [0x101ed958]
xor eax, dword [ebp - 8]
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
xor ecx, ebp
pop edi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009ee60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x10571c5c]
mov esi, 0x861110
push 7
call esi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1009ef3f
push 8
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1009ef3f
push 0xc
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1009ef3f
push 0xe
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1009ef3f
push 0xf
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1009ef3f
push 0x41
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1009ef3f
push 0x4e
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1009ef3f
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1009ef3f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x101ee224]
add ecx, 0xfa
cmp eax, ecx
jb 0x1009ef3f
cmp word [edi], 0
jl 0x1009ef3f
xor eax, eax
mov byte [ebp - 1], 0
mov dword [ebp - 7], eax
lea ecx, [ebp - 8]
mov word [ebp - 3], ax
mov edx, 8
mov word [ebp - 4], ax
mov al, byte [edi + 0x43]
mov dword [ebp - 8], 0x17908c1
mov byte [ebp - 2], al
call fcn.100acac0
call esi
mov dword [0x101ee224], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a49b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x100a49d5
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x100a49e1
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x100a49ed
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x100a49f9
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 8]
push 4
push 0x81c0380
call edi
cmp dword [0x101ee274], 0x10
mov ecx, 0x101ee260
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmovae ecx, dword [0x101ee260]
mov eax, 0x2bc
cmp dword [0x101ee254], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ee25c]
cmove edx, eax
mov eax, dword [0x101ee258]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c588], eax
mov ecx, 0x101ee284
cmp dword [0x101ee298], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101ee284]
cmp dword [0x101ee278], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ee280]
cmove edx, eax
mov eax, dword [0x101ee27c]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c58c], eax
mov ecx, 0x101ee2a8
cmp dword [0x101ee2bc], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101ee2a8]
cmp dword [0x101ee29c], 1
push ecx
cmove edx, eax
mov eax, dword [0x101ee2a0]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x101ee2a4]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x101ee2cc
cmp dword [0x101ee2e0], 0x10
mov eax, 0x2bc
cmovae ecx, dword [0x101ee2cc]
cmp dword [0x101ee2c0], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ee2c8]
cmove ebx, eax
mov eax, dword [0x101ee2c4]
push 0
push 0
push 0
push ebx
push 0
push 0
add eax, 0xc
push 0
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0xe8c594], eax
pop ebx
call fcn.100d52b0
mov esp, ebp
pop ebp
ret 8
Function at 0x100a5300
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160b40
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x78c015
call esi
mov eax, 0x78c015
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x78c015
call esi
push 0x100a51d0
push 0x78c015
push 0xe9
call fcn.100b1680
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x78a01b
call esi
mov eax, 0x78a01b
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 0xa
push 0x78a01b
call esi
push 0x100a5210
push 0x78a01b
push 0xe9
call fcn.100b1680
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push 0x6403f5
call esi
mov eax, 0x6403f5
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push 0x6403f5
call esi
push 0x100a4fb0
push 0x6403f5
push 0xe9
call fcn.100b1680
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 8
push 0x788c59
call esi
mov eax, 0x788c59
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 8
push 0x788c59
call esi
push 0x100a5160
push 0x788c59
push 0xe9
call fcn.100b1680
add esp, 0xc
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 2
push 0x1017c434
call fcn.1000bb40
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x101ee450]
lea ecx, [ebp - 0x48]
call fcn.10071bd0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100a56b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100a54cf
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a54c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a5558
push edx
push ecx
call fcn.100d5624
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x100a5518
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a550e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a555d
push edx
push ecx
call fcn.100d5624
add esp, 8
push str.Data__KGData__Lua__Configs__MessageColors.lua
mov ecx, 0x101ee44c
call fcn.100a4330
push 0x10178bcf
push str.StartLoadCustomMessageColors
push 0x101ee44c
call fcn.100a44f0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
call fcn.1012c43c
call fcn.1012c43c
int3