joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ccf0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ccac6
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x1010e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [0x10115ad4]
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov ebx, eax
mov dword [ebp - 0x494], ebx
test ebx, ebx
je 0x1001cf3a
mov eax, dword [ebp + 8]
test eax, 0x800
je 0x1001ce72
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.100a2620
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x80
push eax
push 0x800
push ebx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jle 0x1001cde9
test al, 1
lea ebx, [eax + 1]
mov esi, 0
cmove ebx, eax
shr ebx, 1
je 0x1001cde3
nop dword [eax]
mov ecx, dword [0x10115b8c]
push 0x20
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 0x498], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1001cdca
movzx ecx, word [ebp + esi*2 - 0x90]
push ecx
push str.unichar
push str.KeyTyped
mov ecx, eax
call fcn.100239d0
jmp 0x1001cdcc
xor eax, eax
mov dword [ebp - 4], 0xffffffff
xor edx, edx
push eax
mov ecx, edi
call dword [0x10115bb0]
inc esi
cmp esi, ebx
jl 0x1001cd90
mov ebx, dword [ebp - 0x494]
push 0x80
lea eax, [ebp - 0x90]
push eax
push 8
push ebx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jne 0x1001ce6f
mov ecx, dword [0x10115b8c]
push 0x20
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 0x498], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x1001ce38
push 0x100dfcdc
push str.string
push str.DoCompositionString
mov ecx, eax
call fcn.100238e0
jmp 0x1001ce3a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
xor edx, edx
push eax
mov ecx, edi
call dword [0x10115bb0]
mov ecx, edi
call fcn.1001d0a0
mov eax, dword [0x10115ad8]
test eax, eax
je 0x1001ce6f
push eax
call fcn.1009f1a9
add esp, 4
mov dword [0x10115ad8], 0
mov eax, dword [ebp + 8]
test al, 8
je 0x1001cf2d
push 0x400
lea eax, [ebp - 0x490]
push eax
push 8
push ebx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jle 0x1001cf2d
test al, 1
lea ecx, [eax + 1]
cmove ecx, eax
shr ecx, 1
add ecx, ecx
cmp ecx, 0x400
jae 0x1001cf58
xor eax, eax
mov word [ebp + ecx - 0x490], ax
mov ecx, dword [0x10115b8c]
push 0x20
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 0x498], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1001cef1
lea ecx, [ebp - 0x490]
push ecx
push str.string
push str.DoCompositionString
mov ecx, eax
call fcn.100238e0
jmp 0x1001cef3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
xor edx, edx
push eax
mov ecx, edi
call dword [0x10115bb0]
mov eax, dword [0x10115ad8]
test eax, eax
je 0x1001cf21
push eax
call fcn.1009f1a9
add esp, 4
mov dword [0x10115ad8], 0
call fcn.1001cf60
mov ecx, edi
call fcn.1001cfe0
push ebx
push dword [0x10115ad4]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ee50
mov esp, ebp
pop ebp
ret 4
call fcn.1009f3b0
int3
Function at 0x1001def0
Capabilities:
Print debug messages
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13bc
call fcn.100c7900
mov eax, dword [0x1010e040]
xor eax, esp
mov dword [esp + 0x13b8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [ebp + 0x14]
mov ebx, edx
push edi
xor edi, edi
mov dword [esp + 0x10], ecx
cmp esi, 2
jne 0x1001df5c
push dword [0x1011a470]
lea eax, [esp + 0x24]
push dword [0x1011a46c]
push str._s___d__:
push 0x139b
push eax
call fcn.1001dea0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x1001df79
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov edx, 0x139b
lea ecx, [esp + 0x28]
push eax
sub edx, edi
add ecx, edi
call fcn.10017930
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1001df93
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13b8]
xor ecx, esp
call fcn.1009ee50
mov esp, ebp
pop ebp
ret
cmp esi, 2
jne 0x1001dfae
add eax, edi
lea ecx, [esp + 0x20]
add eax, ecx
push 0x100dfd94
push eax
call fcn.10017970
add esp, 8
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x1c], eax
mov eax, dword [0x10119fb4]
mov dword [esp + 0x14], 0x101101bc
mov dword [esp + 0x18], ebx
cmp eax, 0xffffffff
je 0x1001dfd9
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
lea eax, [esp + 0x20]
push eax
push 0x100dfbe8
call fcn.1001de70
add esp, 8
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebx, ebx
cmp esi, 2
je 0x1001e004
cmp esi, 3
sete bl
inc ebx
mov eax, dword [0x10119fb4]
cmp eax, 0xffffffff
je 0x1001e013
push 0
push eax
call edi
mov eax, ebx
sub eax, 0
je 0x1001e021
sub eax, 2
je 0x1001e03e
jmp 0x1001e027
cmp esi, 2
je 0x1001e027
int3
mov ecx, dword [esp + 0x13c4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009ee50
mov esp, ebp
pop ebp
ret
push str.Exiting_on_SPEW_ABORT_n
call fcn.1001e1d0
add esp, 4
push 0
call fcn.100b1065
int3

Function at 0x1001e0e0
Capabilities:
Print debug messages
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13b4
call fcn.100c7900
mov eax, dword [0x1010e040]
xor eax, esp
mov dword [esp + 0x13b0], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x10115adc], esi
jl 0x1001e180
lea eax, [ebp + 0x10]
mov edx, 0x139b
push eax
push ecx
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
call fcn.10017930
add esp, 0xc
cmp eax, 0xffffffff
je 0x1001e180
mov eax, dword [0x10119fb4]
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 4], 0x101101bc
mov dword [esp + 8], str.developer
cmp eax, 0xffffffff
je 0x1001e154
lea ecx, [esp + 4]
push ecx
push eax
call esi
lea eax, [esp + 0x10]
push eax
push 0x100dfbe8
call fcn.1001de70
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x10119fb4]
cmp eax, 0xffffffff
je 0x1001e180
push 0
push eax
call esi
mov ecx, dword [esp + 0x13b4]
pop esi
xor ecx, esp
call fcn.1009ee50
mov esp, ebp
pop ebp
ret
Function at 0x1001f880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ccd91
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x1010e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
test esi, esi
je 0x1001fa0e
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1011477c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1011c82c]
cmp eax, dword [ecx + 4]
jle 0x1001f916
push 0x1011c82c
call fcn.1009f22a
add esp, 4
cmp dword [0x1011c82c], 0xffffffff
jne 0x1001f916
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne byte [0x1011c828]
mov dword [ebp - 4], 0xffffffff
push 0x1011c82c
call fcn.1009f1d9
add esp, 4
cmp byte [0x1011ae41], 0
jne 0x1001f990
mov byte [0x1011ae41], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x1001f990
push 0x1ff
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b0110
lea eax, [ebp - 0x210]
mov byte [ebp - 0x11], 0
push eax
call fcn.100b15a9
lea eax, [ebp - 0x210]
push str._RANDOMIZEMEMORY
push eax
call fcn.100a1e80
add esp, 0x18
test eax, eax
je 0x1001f971
mov byte [0x1011ae40], 1
lea eax, [ebp - 0x210]
push str._NOINITMEMORY
push eax
call fcn.100a1e80
add esp, 8
test eax, eax
je 0x1001f990
mov byte [0x1010f860], 0
cmp byte [0x1011ae40], 0
je 0x1001f9ca
test ebx, ebx
jle 0x1001fa0e
mov ecx, dword [0x10115ae4]
sub esi, ecx
nop word [eax + eax]
movzx eax, cl
mov al, byte [eax + 0x100df758]
mov byte [esi + ecx], al
inc ecx
sub ebx, 1
jne 0x1001f9b0
mov dword [0x10115ae4], ecx
jmp 0x1001fa0e
cmp byte [0x1011c828], 0
je 0x1001fa0e
mov edx, ebx
sar edx, 2
test edx, edx
je 0x1001f9ef
shl edx, 2
mov edi, esi
mov ecx, edx
mov eax, 0xffeeffee
shr ecx, 2
add esi, edx
rep stosd dword es:[edi], eax
and ebx, 3
je 0x1001fa0e
mov ecx, 0x1010f864
sub ecx, esi
nop dword [eax + eax]
mov al, byte [ecx + esi]
lea esi, [esi + 1]
mov byte [esi - 1], al
sub ebx, 1
jne 0x1001fa00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ee50
mov esp, ebp
pop ebp
ret

Function at 0x1001ffe0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x10115b3c]
push esi
mov esi, edx
test eax, eax
jne 0x1001fff9
push esi
push eax
push ecx
call fcn.100a2620
add esp, 0xc
pop esi
ret
push eax
push esi
push 1
push ecx
call fcn.100b2f96
mov eax, dword [0x10115b20]
add esp, 0x10
mov ecx, dword [0x10115b18]
add eax, esi
mov dword [0x10115b20], eax
cmp eax, ecx
jle 0x1002003b
push str.g_CurFilePos___g_FileLen
push str._VCR_ASSERT_FAILED:__s__n
call fcn.1001ff80
mov eax, dword [0x10115b20]
add esp, 8
mov ecx, dword [0x10115b18]
cmp eax, ecx
jl 0x1001fff7
pop esi
jmp dword [0x1010f874]
Function at 0x1003d150
Capabilities:
Log keystrokes via input method manager

Disassembly:
push esi
mov esi, ecx
mov cl, byte [esi + 0x180]
test cl, 1
je 0x1003d18e
mov edx, dword [esi + 0xd8]
xor eax, eax
test edx, edx
mov dword [esi + 0x12c], edx
setg al
dec eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x108], edx
test cl, 2
jne 0x1003d1c8
and cl, 0xfe
mov byte [esi + 0x180], cl
jmp 0x1003d1c8
mov ecx, dword [0x10115ba8]
push 0x43
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
test al, al
jne 0x1003d1b4
mov ecx, dword [0x10115ba8]
push 0x43
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
test al, al
je 0x1003d1c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x33c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x354]
cmp byte [esi + 0x183], 0
je 0x1003d22c
push ebx
push edi
push dword [0x10115ad4]
xor eax, eax
lea ebx, [esi + 0x186]
mov word [ebx], ax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov edi, eax
test edi, edi
je 0x1003d220
push 0x200
push ebx
push 8
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jle 0x1003d213
test al, 1
lea ecx, [eax + 1]
cmove ecx, eax
shr ecx, 1
xor eax, eax
mov word [ebx + ecx*2], ax
push edi
push dword [0x10115ad4]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x378]
pop edi
pop ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x33c]
mov ecx, dword [esi + 0xd8]
mov eax, ecx
neg eax
sbb eax, eax
neg eax
dec eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], ecx
pop esi
ret

Function at 0x1003d260
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, edx
sub eax, 0x58
je 0x1003d288
sub eax, 2
je 0x1003d27b
mov dword [ebp + 8], edx
pop ebp
jmp fcn.10079360
mov dword [ebp + 8], 1
pop ebp
jmp fcn.1003d4a0
mov dword [ebp + 8], 0xffffffff
pop ebp
jmp fcn.1003d4a0
Function at 0x10041260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
movzx edi, word [esi + 0x10]
push edi
call fcn.100414f0
mov ebx, 0xffff
cmp word [eax], bx
je 0x10041298
nop dword [eax]
push edi
mov ecx, esi
call fcn.100414f0
mov ecx, esi
movzx edi, word [eax]
push edi
call fcn.100414f0
cmp word [eax], bx
jne 0x10041280
mov eax, 0xffff
movzx ebx, di
cmp di, ax
je 0x10041387
nop dword [eax]
movzx eax, bx
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 4]
push dword [eax + ecx*4 + 8]
mov eax, dword [0x101101c8]
mov ecx, 0x101101c8
call dword [eax + 0x14]
push ebx
mov ecx, esi
call fcn.100414f0
mov ecx, 0xffff
push ebx
cmp word [eax + 2], cx
mov ecx, esi
je 0x1004131b
call fcn.100414f0
mov ecx, esi
movzx edi, word [eax + 2]
push edi
call fcn.100414f0
mov ebx, 0xffff
cmp word [eax], bx
je 0x10041373
push edi
mov ecx, esi
call fcn.100414f0
mov ecx, esi
movzx edi, word [eax]
push edi
call fcn.100414f0
cmp word [eax], bx
jne 0x10041301
jmp 0x10041373
call fcn.100414f0
push ebx
mov ecx, esi
movzx edi, word [eax + 4]
call fcn.100414f0
mov ecx, esi
movzx eax, word [eax + 4]
push eax
call fcn.100414f0
cmp word [eax + 2], bx
jne 0x10041373
nop
mov eax, 0xffff
movzx ebx, di
cmp di, ax
je 0x10041373
push edi
mov ecx, esi
call fcn.100414f0
push ebx
mov ecx, esi
movzx edi, word [eax + 4]
call fcn.100414f0
mov ecx, esi
movzx eax, word [eax + 4]
push eax
call fcn.100414f0
cmp word [eax + 2], bx
je 0x10041340
movzx eax, di
mov ecx, 0xffff
movzx ebx, ax
cmp ax, cx
jne 0x100412b0
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.100413a0
Function at 0x1005cf60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1010e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [edx]
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [edx + 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov eax, dword [ecx]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 3
lea ecx, [edx + 0x30]
mov dword [ebp - 0x1c], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 4
mov eax, dword [ecx]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 5
mov dword [edx + 0x18], 0
mov dword [edx + 0x44], 0
mov byte [edx + 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1005f1b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d10da
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [0x10115ba0]
mov dword [ebx + 0x48], 0
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x10115b80]
mov dword [ebx + 0x44], eax
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, dword [0x10115b80]
mov ecx, ebx
mov eax, dword [ebx]
push 0
push 0
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x10115b80]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0x40
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, 0x7dc
mov dword [ebx + 0x7c], 2
or word [ebx + 0x50], ax
xor eax, eax
push 0x5c
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x70], 0xffffffff
mov dword [ebx + 0x84], eax
mov byte [ebx + 0x88], al
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x8c], 0x437f0000
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x9c], 0xffffffff
mov dword [ebx + 0xa4], 0xffffffff
mov dword [ebx + 0xac], 0xffffffff
mov dword [ebx + 0xb4], 0xffffffff
call fcn.1009f48b
mov edx, eax
add esp, 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
lea ecx, [edx + 0x18]
mov word [edx], 0
mov byte [edx + 2], 0
mov dword [edx + 4], 8
mov dword [ebp - 0x14], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov eax, dword [ecx]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [edx + 0x2c]
mov dword [ebp - 0x18], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 3
mov eax, dword [ecx]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 4
mov byte [edx + 0x40], 0
mov dword [edx + 0x48], 0xffffffff
mov dword [edx + 0x4c], 0
mov byte [edx + 0x50], 0
mov dword [edx + 0x54], 0xffffffff
mov byte [edx + 0x58], 0
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x40], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1007c430
Capabilities:
Log keystrokes via input method manager

Disassembly:
push esi
mov esi, ecx
mov cl, byte [esi + 0x180]
test cl, 1
je 0x1007c46e
mov edx, dword [esi + 0xd8]
xor eax, eax
test edx, edx
mov dword [esi + 0x12c], edx
mov dword [esi + 0x108], edx
setg al
dec eax
mov dword [esi + 0x128], eax
test cl, 2
jne 0x1007c4a8
and cl, 0xfe
mov byte [esi + 0x180], cl
jmp 0x1007c4a8
mov ecx, dword [0x10115ba8]
push 0x43
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
test al, al
jne 0x1007c494
mov ecx, dword [0x10115ba8]
push 0x43
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
test al, al
je 0x1007c4a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x33c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x354]
cmp byte [esi + 0x183], 0
je 0x1007c50c
push ebx
push edi
push dword [0x10115ad4]
xor eax, eax
lea ebx, [esi + 0x186]
mov word [ebx], ax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov edi, eax
test edi, edi
je 0x1007c500
push 0x200
push ebx
push 8
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jle 0x1007c4f3
test al, 1
lea ecx, [eax + 1]
cmove ecx, eax
shr ecx, 1
xor eax, eax
mov word [ebx + ecx*2], ax
push edi
push dword [0x10115ad4]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x378]
pop edi
pop ebx
mov eax, dword [esi]
mov ecx, esi
pop esi
jmp dword [eax + 0x10]
Function at 0x1007c520
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2655
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1010e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ecx + 0x183], 0
je 0x1007c667
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0
push 0
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1007c667
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1009f4bb
add esp, 4
mov ebx, eax
push ebx
push edi
call esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
xor esi, esi
mov edx, dword [ebp - 0x20]
mov edi, ebx
xor eax, eax
test esi, esi
jle 0x1007c5eb
movzx ecx, word [edi]
nop
cmp word [ebx + eax*4], cx
je 0x1007c607
inc eax
cmp eax, esi
jl 0x1007c5e0
push edi
push edx
lea ecx, [ebp - 0x2c]
call fcn.1001d160
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp dword [edi], eax
jne 0x1007c607
lea ecx, [edx - 1]
mov dword [ebp - 0x10], ecx
jmp 0x1007c60a
mov ecx, dword [ebp - 0x10]
inc esi
add edi, 4
cmp esi, dword [ebp - 0x18]
jb 0x1007c5d6
movzx eax, byte [ebp + 8]
lea esi, [eax*2 - 1]
add esi, ecx
jns 0x1007c62e
lea eax, [edx - 1]
xor esi, esi
test eax, eax
cmovns esi, eax
jmp 0x1007c635
xor eax, eax
cmp esi, edx
cmovge esi, eax
mov eax, dword [ebp - 0x2c]
push 0
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + esi*4]
call fcn.1001c380
push ebx
call fcn.1009f1a9
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10006380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007d240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2739
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x1010e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x814], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x818], edi
mov dword [edi], vtable.vgui::Image.0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, dword [edi]
push 0xffffffffffffffff
mov dword [edi + 0x14], 0xffffffff
call dword [eax + 0x48]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x38]
mov dword [edi], vtable.vgui::TextImage.0
mov dword [ebp - 0x81c], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov eax, dword [ecx]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 2
xor eax, eax
mov dword [edi + 0x20], eax
mov ebx, 0x100dfc10
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x1c], eax
mov al, byte [edi + 0x34]
and al, 0xfd
mov dword [edi + 0x18], 0
and al, 0xfb
mov dword [edi + 0x2c], 0xffffffff
and al, 0xf7
mov dword [edi + 0x44], 0
test esi, esi
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], al
cmovne ebx, esi
cmp byte [ebx], 0x23
jne 0x1007d368
mov ecx, dword [0x10115b9c]
lea eax, [ebx + 1]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov dword [edi + 0x2c], eax
cmp eax, 0xffffffff
je 0x1007d368
mov ecx, dword [0x10115b9c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov edx, dword [edi]
mov ecx, edi
push 0
push eax
call dword [edx + 0x68]
jmp 0x1007d390
mov ecx, dword [0x10115b9c]
lea edx, [ebp - 0x810]
push 0x800
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
lea ecx, [ebp - 0x810]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x68]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ee50
mov esp, ebp
pop ebp
ret 4
Function at 0x1008d2f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1008d321
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1008d310
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x1008d490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1008d4c1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1008d4b0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8