joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d21a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195733
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x101ed40c]
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, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x100d225b
cmp word [esi], di
je 0x100d225b
test eax, eax
je 0x100d220c
cmp word [eax], di
je 0x100d220c
push edi
push edi
push eax
push esi
push edi
call fcn.1014be10
push eax
call fcn.100d3130
add esp, 4
call eax
test eax, eax
js 0x100d225b
jmp 0x100d2256
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call fcn.1014bd70
push eax
call fcn.100d3130
add esp, 4
call eax
test eax, eax
js 0x100d225b
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x100d22d2
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x100d22bd
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x100d228b
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x100d22ac
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x100d22f2
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x100d22bd
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x100d22d2
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
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.10126919
mov esp, ebp
pop ebp
ret 0x30
call fcn.100a3419
int3
Function at 0x100d569d
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x100d56c0
or esi, 1
push 2
call edi
test ax, ax
jns 0x100d56cc
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x100d56d8
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x100d56e4
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x100d89ea
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x4b4]
call fcn.100dab1e
mov edi, dword [ebp + 8]
test eax, eax
jle 0x100d8a42
push ebx
lea ecx, [esi + 0x4b4]
mov byte [ebp + 0xb], 0
call fcn.100da6da
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
mov ecx, eax
jne 0x100d8aa6
lea ecx, [esi + 0x4b4]
inc ebx
call fcn.100dab1e
cmp ebx, eax
jl 0x100d8a09
sub edi, 0x100
je 0x100d8b1b
sub edi, 4
je 0x100d8ab2
dec edi
sub edi, 1
jne 0x100d8bd5
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call fcn.10158c99
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp + 8]
push 0x80000012
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x100da2ea
call dword [eax + 0x134]
mov esi, eax
test esi, esi
je 0x100d8bd5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x128]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
jmp 0x100d8aab
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov al, 1
jmp 0x100d8bd7
cmp dword [esi + 0x108], 0
je 0x100d8bd5
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x124]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.100d569d
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
jmp 0x100d8bd5
cmp dword [ebp + 0xc], 9
jne 0x100d8bd5
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x100d8b78
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x100d8b78
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x100d8b78
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.1014e03d
pop ecx
pop ecx
test eax, eax
je 0x100d8b78
mov ecx, dword [esi + 0x108]
call fcn.100fb774
test al, al
jne 0x100d8bd5
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x100d8bbc
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x100d8bbc
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x100d8bbc
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.1014e03d
pop ecx
pop ecx
test eax, eax
jne 0x100d8bd5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.100d9bfa
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100d986e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0xa8]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x100d989a
cmp esi, dword [edi + 0x108]
je 0x100d989a
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
cmp esi, eax
je 0x100d9980
test eax, eax
je 0x100d9901
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x17
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call fcn.100d94c2
and dword [edi + 0x108], 0
test esi, esi
je 0x100d9980
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x100d9980
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x100d9980
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x100d9980
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call fcn.100d94c2
pop edi
pop esi
leave
ret 4

Function at 0x100db801
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100db833
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x100ded9c
Capabilities:
Terminate process

Disassembly:
push 0x2e0
mov eax, 0x1019618f
call fcn.10126fa5
mov edi, ecx
push 0xfffffffffffffff0
call fcn.100dab1e
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.100dab1e
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi]
lea ebx, [edi + 0x30]
mov ecx, edi
call dword [eax + 0x30]
push eax
push dword [edi + 4]
mov ecx, ebx
call fcn.100d5380
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.100d4832
lea ecx, [ebp - 0x2e8]
call fcn.100fe7d6
mov eax, dword [edi]
lea ecx, [ebp - 0x118]
push ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call dword [eax + 0x28]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.100daccb
lea ecx, [ebp - 0x94]
test al, al
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x100dee8c
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100a4f0b
push eax
call fcn.10157000
pop ecx
lea ecx, [ebp - 0x94]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.100da5db
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push 0
sbb ecx, ecx
and ecx, eax
push ebx
push ecx
lea ecx, [ebp - 0x118]
call fcn.100a4f0b
push eax
push esi
lea ecx, [ebp - 0x2e8]
call fcn.100ff7f8
mov esi, eax
jmp 0x100deeca
call dword [eax + 0x2c]
mov edx, edi
mov byte [ebp - 4], 3
neg edx
lea ecx, [edi + 0x28]
push esi
sbb edx, edx
push ebx
and edx, ecx
mov ecx, eax
push edx
push esi
call fcn.100a4f0b
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x2e8]
call fcn.100ff7f8
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.100da5db
test esi, esi
jne 0x100def33
push 0xffffffffffffffff
push 0x101a96dc
lea ecx, [ebp - 0x94]
call fcn.100da4d9
mov eax, dword [edi]
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 4
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.100da721
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 4
call fcn.100da5db
push 0x10
push str.Duilib
lea ecx, [ebp - 0x94]
call fcn.100a4f0b
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.100d48dc
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.100d4778
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.100da5db
lea ecx, [ebp - 0x2e8]
call fcn.100fd920
xor eax, eax
call fcn.10126f60
ret 0x10
Function at 0x100ee42b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x100ee459
cmp eax, edi
jge 0x100ee44d
push esi
call fcn.100e9a7b
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x100ee47c
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x100ee462
mov dword [esi + 8], edx
jmp 0x100ee491
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x100ee487
xor dl, dl
jmp 0x100ee48c
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x100ee47c
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x100ee4c9
push str.zlib_corrupt
call fcn.100e99a0
pop ecx
jmp 0x100ee509
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x100ee4d9
push str.read_past_buffer
jmp 0x100ee4c1
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x100ee4f3
push edi
push ecx
push esi
call fcn.100f16fc
add esp, 0xc
test eax, eax
je 0x100ee509
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.1014d330
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x100f274c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x214], edi
test cx, cx
je 0x100f27b0
add edi, 0x28
cmp word [eax], 0x3c
mov ecx, edi
jne 0x100f27a2
push eax
call fcn.100fdb42
test al, al
jne 0x100f280d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10126919
leave
ret 8
push 0
push eax
call fcn.100fdb90
test al, al
je 0x100f278f
jmp 0x100f280d
push edx
push eax
call fcn.100d52bf
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100f278f
push esi
call fcn.100d52bf
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x100f27e0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100f278f
push 0
push esi
add edi, 0x28
call fcn.100d52bf
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call fcn.100fde83
test al, al
je 0x100f278f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.100fda9a
sub esp, 0x20c
mov esi, eax
mov edi, esp
mov ecx, 0x83
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x214]
call fcn.100f2460
jmp 0x100f2791
Function at 0x100f2946
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100f297a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100f297a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x100f2a30
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x100f2999
cmp dx, 0x5c
jne 0x100f299b
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x100f298d
cmp esi, ebx
je 0x100f29e3
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.1014d330
add esp, 0xc
cmp esi, 0x208
jae 0x100f2a3e
xor eax, eax
mov word [ebp + esi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.100f2946
pop ecx
pop ecx
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x100f2a00
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10167e84
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10167e53
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100f2a30
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10126919
leave
ret
call fcn.101278dc
int3

Function at 0x100f3069
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x100f3115
cmp dword [esi + 4], 0xffffffff
jne 0x100f3115
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.101559e7
pop ecx
movzx eax, word [esi + eax*2 + 0x242]
cmp eax, 0x5c
je 0x100f30bc
cmp eax, 0x2f
je 0x100f30bc
push 0x1019f360
push edi
call fcn.10167e53
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x100f30de
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100f30de
mov eax, 0x2000000
jmp 0x100f311a
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100f57f9
add esp, 0x10
test eax, eax
jne 0x100f30fc
mov eax, dword [ebp - 4]
jmp 0x100f311a
push eax
call fcn.100f5ed6
pop ecx
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x100f311a
mov eax, 0x1000000
pop esi
leave
ret 0xc
Function at 0x100f35c9
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x101ab940]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x100f58f6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x100f5929
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100f5924
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x100f5953
mov edx, dword [edi + 0x1c]
push esi
mov esi, dword [edi + 0x18]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ecx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.1014d330
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x100f5a83
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100f5a91
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x100f5b50
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
sub edi, 1
jne 0x100f5aa9
pop edi
test esi, esi
je 0x100f5b6c
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x101ab940]
inc edx
sub esi, 1
jne 0x100f5b54
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x100fd4d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x69c], edi
je 0x100fd541
cmp dword [ebp + 8], 0x100
jne 0x100fd530
cmp dword [ebp + 0xc], 0xd
jne 0x100fd530
cmp byte [esi + 0x6a2], 0
je 0x100fd517
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100fd530
cmp byte [esi + 0x6a3], 0
jne 0x100fd530
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100fd52c
push edi
push edi
push edi
push str.return
push esi
call fcn.100d94c2
xor eax, eax
jmp 0x100fd544
mov eax, dword [esi + 0x69c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x10106056
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x114]
mov edi, dword [ebp + 8]
test al, al
jne 0x10106097
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x10106097
mov ecx, dword [esi + 0x560]
push edi
test ecx, ecx
je 0x1010608b
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x10106222
mov ecx, esi
call fcn.10105d3a
jmp 0x10106222
mov ecx, dword [esi + 0x560]
push ebx
test ecx, ecx
je 0x101060f6
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x5e4], 0
je 0x101060f6
cmp dword [edi], 0xf
jne 0x101060f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x10106221
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ebx, 0x8000
test bx, ax
jne 0x101060e4
push 0x10
call edi
test bx, ax
je 0x1010614e
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x10106221
push 0
jmp 0x1010616f
cmp dword [edi], 0xd
jne 0x1010617f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x10106221
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
xor edi, edi
test al, al
je 0x1010612f
mov ecx, dword [esi + 0x44]
push edi
push edi
push edi
push str.buttondown
push esi
call fcn.100d94c2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
jne 0x10106160
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x10106160
lea ecx, [esi + 0x550]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x10106221
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x10106221
push edi
mov eax, dword [ecx]
push dword [esi + 0x554]
call dword [eax + 0x10]
jmp 0x10106221
cmp dword [edi], 0xe
jne 0x101061a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x10106221
xor edi, edi
push edi
push edi
push edi
push str.itemclick
jmp 0x1010620e
cmp dword [edi], 0xb
jne 0x101061da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x10106221
or dword [esi + 0x55c], 8
mov ecx, esi
call fcn.10107d15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x10106221
xor edi, edi
push edi
push edi
push edi
push str.mouseenter
jmp 0x1010620e
cmp dword [edi], 0xa
jne 0x10106219
mov eax, dword [esi + 0x55c]
test al, 8
je 0x10106221
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x55c], eax
call fcn.10107d15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x10106221
xor edi, edi
push edi
push edi
push edi
push str.mouseleave
mov ecx, dword [esi + 0x44]
push esi
call fcn.100d94c2
jmp 0x10106221
push edi
mov ecx, esi
call fcn.10105d3a
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x10106693
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp fcn.101063c7
Function at 0x101121d4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x1011225c
cmp dword [esi + 0x10], 0
je 0x1011225c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.10126b30
mov ebx, esp
test ebx, ebx
je 0x1011225c
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1cc
call fcn.100da67d
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.100d94c2
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.100d557f
test al, al
je 0x1011225c
mov ecx, dword [esi + 0x10]
call fcn.100dc843
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10126919
leave
ret 0x10