joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44eb35
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44ec4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ec4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00471a7f
mov esi, eax
test esi, esi
je 0x44ec4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44ec4d
mov ecx, esi
call fcn.0044eaa0
cmp edi, eax
jge 0x44ec4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44ebd3
mov dword [esp + 0x34], 1
jmp 0x44ec2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44ec4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044e000
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x453d80
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x453de6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x453de6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x453dc7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x454170
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4541a8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x454dd0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x454e19
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x455290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480d60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00454e40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00454ec0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00454ec0
lea ecx, [esi + 0xc]
call fcn.0046ffbd
lea ecx, [esi + 0x10]
call fcn.0046ffbd
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00456460
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00456460
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00456460
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00470032
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00470032
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x472422
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47245a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004704d9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004704b1
jmp 0x472466
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x473b17
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x473b59
call fcn.00479aba
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473b59
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473b50
xor eax, eax
jmp 0x473b61
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473b67
pop edi
pop esi
pop ebx
ret 4

Function at 0x479fea
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47a018
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47a036
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479f50
jmp 0x47a036
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47a036
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479f50
test edi, edi
mov eax, edi
jne 0x47a020
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x4069d1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4069ab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x4069a6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x4069e4
pop edi
not eax
pop esi
ret 0xc
Function at 0x4017c0
Capabilities:
Get file version info
Impersonate file version information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20ec
call fcn.00409480
mov eax, dword [0x40d004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x100c]
push ecx
push 0x1000
push 0
push eax
mov dword [ebp - 0x20ec], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x401812
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402b02
mov esp, ebp
pop ebp
ret
push 0x1000
lea edx, [ebp - 0x200c]
push 0
push edx
mov dword [ebp - 0x2090], 0
call fcn.004064c0
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x20b0], eax
mov dword [ebp - 0x20ac], eax
mov dword [ebp - 0x20a8], eax
mov dword [ebp - 0x20a4], eax
mov dword [ebp - 0x20a0], eax
mov dword [ebp - 0x209c], eax
mov dword [ebp - 0x2098], eax
mov dword [ebp - 0x2094], eax
lea eax, [ebp - 0x208c]
push eax
call fcn.004064c0
push 0x40
lea ecx, [ebp - 0x204c]
push 0
push ecx
call fcn.004064c0
push 0x34
lea edx, [ebp - 0x20e4]
push 0
push edx
call fcn.004064c0
add esp, 0x30
lea eax, [ebp - 0x100c]
lea ebx, [ebp - 0x20e4]
call fcn.004026a0
test eax, eax
jne 0x4018ba
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402b02
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20e8]
push eax
lea ecx, [ebp - 0x100c]
push ecx
lea edx, [ebp - 0x20e4]
xor ebx, ebx
push edx
mov dword [ebp - 0x20e8], ebx
call fcn.00402900
test eax, eax
je 0x4018a8
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [ebp - 0x20e8], ebx
movzx ebx, word [ebp - 0x100c]
push esi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov esi, eax
test esi, esi
je 0x401938
push ebx
lea ecx, [ebp - 0x100c]
push ecx
push 0x804
push 1
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
test eax, eax
jne 0x401925
push 1
jmp 0x401931
mov dword [ebp - 0x20e8], 1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov edx, dword [ebp - 0x20ec]
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x40196b
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x20e8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b02
mov esp, ebp
pop ebp
ret
Function at 0x100ad8e
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x103b4b8], ebx
jne 0x100ada2
xor eax, eax
jmp 0x100adff
push esi
mov esi, dword [0x10013e8]
push edi
push 0x10
call esi
mov edi, 0x8000
test di, ax
je 0x100adbb
xor ebx, ebx
inc ebx
push 0x11
call esi
test di, ax
je 0x100adc7
or ebx, 2
push 0x12
call esi
test di, ax
je 0x100add3
or ebx, 4
mov edx, dword [0x103b4b0]
xor eax, eax
test edx, edx
jle 0x100adfb
mov ecx, dword [0x103b4b8]
mov esi, ecx
cmp dword [esi + 4], ebx
jne 0x100adf3
mov edi, dword [esi]
cmp edi, dword [ebp + 8]
je 0x100ae04
inc eax
add esi, 0xc
cmp eax, edx
jl 0x100ade7
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 8]
mov ecx, dword [0x103b4c8]
push dword [ecx + eax*4 + 4]
call fcn.01004fe0
xor eax, eax
inc eax
jmp 0x100adfd
Function at 0x100b179
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test esi, esi
je 0x100b18b
mov ax, word [esi]
cmp ax, word [esi + 2]
jl 0x100b192
xor eax, eax
jmp 0x100b2dc
mov ecx, dword [ebp + 8]
movsx eax, ax
imul eax, eax, 0x16
mov dword [eax + esi + 0x10], ecx
movsx eax, word [esi]
mov ecx, dword [ebp + 0xc]
inc eax
imul eax, eax, 0x16
mov dword [eax + esi], ecx
movsx eax, word [esi]
mov ecx, dword [ebp + 0x10]
imul eax, eax, 0x16
push edi
push 0x26
push dword [ebp + 0x14]
mov dword [eax + esi + 0x1a], ecx
call fcn.010079f0
mov edi, eax
test edi, edi
je 0x100b2a0
cmp dword [0x103d50c], 0
je 0x100b287
push ebx
push dword [ebp + 0x14]
call fcn.0102c5db
push dword [0x103d508]
mov ebx, dword [sym.imp.msvcrt.dll_strstr]
push dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x100b216
inc eax
lea edi, [eax + 1]
mov byte [eax], 0x26
add eax, 3
push eax
push edi
call dword [fcn.01001288]
xor eax, eax
mov al, byte [edi]
jmp 0x100b21b
xor eax, eax
mov al, byte [edi + 1]
push eax
call dword [0x1001408]
movsx ecx, word [esi]
mov edi, dword [ebp + 0x14]
imul ecx, ecx, 0x16
mov word [ecx + esi + 0x14], ax
push dword [0x103d50c]
push edi
call ebx
test eax, eax
pop ecx
pop ecx
pop ebx
je 0x100b24b
lea ecx, [eax + 4]
push ecx
push eax
call dword [fcn.01001288]
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x100b270
test cl, cl
je 0x100b26c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x100b270
inc eax
inc eax
inc edi
inc edi
test cl, cl
jne 0x100b24e
xor eax, eax
jmp 0x100b275
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100b2ac
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [fcn.01001404]
jmp 0x100b2ac
xor eax, eax
mov al, byte [edi + 1]
push eax
call dword [0x1001408]
movsx ecx, word [esi]
imul ecx, ecx, 0x16
mov word [ecx + esi + 0x14], ax
jmp 0x100b2ac
movsx eax, word [esi]
imul eax, eax, 0x16
and word [eax + esi + 0x14], 0
push dword [ebp + 0x14]
lea edi, [esi + 4]
push edi
call fcn.0100a9fb
movsx ecx, word [esi]
push dword [ebp + 0x18]
imul ecx, ecx, 0x16
push edi
mov dword [ecx + esi + 8], eax
call fcn.0100a9fb
movsx ecx, word [esi]
imul ecx, ecx, 0x16
mov dword [ecx + esi + 0xc], eax
inc word [esi]
xor eax, eax
inc eax
pop edi
pop ebp
ret 0x14
Function at 0x100b7f6
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, eax
push 0x26
push edi
call fcn.010079f0
cmp dword [ebp + 8], 0
mov esi, eax
je 0x100b8d4
test esi, esi
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_memmove]
jne 0x100b839
push edi
call dword [fcn.0100128c]
inc eax
push eax
lea eax, [edi + 1]
push edi
push eax
call ebx
add esp, 0xc
mov byte [edi], 0x26
mov esi, edi
mov edi, dword [0x1001408]
lea eax, [esi + 1]
mov dword [ebp - 0x10], eax
movsx eax, byte [eax]
push eax
mov dword [ebp - 0x14], esi
call edi
mov ecx, dword [ebp + 8]
and dword [ebp - 8], 0
cmp word [ecx], 0
mov dword [ebp - 0xc], eax
jle 0x100b8d3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
imul eax, eax, 0x16
mov al, byte [eax + ecx + 0x14]
xor al, byte [ebp - 0xc]
jne 0x100b8ae
push dword [ebp - 4]
push esi
call dword [fcn.01001288]
inc esi
inc dword [ebp - 4]
cmp byte [esi], 0
je 0x100b8bb
push esi
call dword [fcn.0100128c]
inc eax
push eax
push esi
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
add esp, 0xc
push eax
mov byte [esi], 0x26
call edi
or dword [ebp - 8], 0xffffffff
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
movsx eax, word [ecx]
inc dword [ebp - 8]
cmp dword [ebp - 8], eax
jl 0x100b864
jmp 0x100b8d3
mov esi, dword [ebp - 0x14]
push esi
call dword [fcn.0100128c]
inc eax
push eax
push esi
push dword [ebp - 0x10]
call ebx
add esp, 0xc
mov byte [esi], 0x26
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x100bf05
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x103b3bc]
push esi
mov esi, dword [ebp + 8]
push 0x64
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
call dword [0x100142c]
and dword [ebp - 0x6c], 0
cmp word [esi], 0
jle 0x100bf81
push edi
lea edi, [esi + 0xc]
push ebx
mov eax, dword [edi - 4]
mov ecx, dword [esi + 4]
push dword [ecx + eax*4 + 4]
lea ebx, [ebp - 0x68]
call fcn.0100b4d1
test eax, eax
jne 0x100bf62
mov eax, dword [edi]
mov ecx, dword [esi + 4]
push dword [ecx + eax*4 + 4]
call fcn.0102c5db
mov ebx, eax
test ebx, ebx
jne 0x100bf72
movsx eax, word [esi]
inc dword [ebp - 0x6c]
add edi, 0x16
cmp dword [ebp - 0x6c], eax
jl 0x100bf38
jmp 0x100bf7f
push ebx
call fcn.01004fe0
push ebx
call dword [fcn.01001298]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01037c59
leave
ret 8
Function at 0x100e9da
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1001938
mov esi, 0x104
push 0x80000002
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100ea2e
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push str.SharedDir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
jne 0x100ea4b
cmp byte [ebp + 0xc], 1
push esi
push dword [ebp + 8]
jne 0x100ea45
call dword [0x1001240]
jmp 0x100ea4b
call dword [0x1001244]
pop esi
leave
ret 8

Function at 0x100ea55
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebx
movzx eax, ax
dec eax
push esi
push edi
mov edi, ecx
je 0x100eb70
dec eax
je 0x100eb1c
dec eax
dec eax
je 0x100ea82
mov dword [0x103b974], 6
xor edi, edi
jmp 0x100eb8f
push 1
push 0x1a
push edi
call dword [0x1001454]
push eax
call dword [0x10012a4]
test eax, eax
jl 0x100eaa4
mov esi, 0x104
push esi
push edi
jmp 0x100eb39
push 0
push edi
call fcn.0100e9da
mov esi, 0x104
push esi
push edi
call fcn.0100e984
mov ebx, dword [fcn.0100128c]
push edi
call ebx
add eax, edi
push 0x1001d90
push eax
call dword [fcn.01001288]
push edi
call dword [0x100124c]
cmp eax, 0xffffffff
push esi
jne 0x100eb0a
push edi
call dword [0x1001244]
push esi
push edi
call fcn.0100e984
push edi
call ebx
mov ebx, eax
push 0x1001d90
add ebx, edi
push ebx
call dword [fcn.01001288]
push edi
call dword [0x100124c]
cmp eax, 0xffffffff
je 0x100eb17
push esi
push 0x10019b0
push edi
call fcn.0100e69c
jmp 0x100eb7d
mov byte [ebx], 0
jmp 0x100eb7d
push 1
push 0x1a
push edi
call dword [0x1001454]
push eax
call dword [0x10012a4]
test eax, eax
mov esi, 0x104
push esi
push edi
jl 0x100eb68
call fcn.0100e984
push esi
push 0x1001d90
push edi
call fcn.0100e69c
push edi
call dword [0x100124c]
cmp eax, 0xffffffff
jne 0x100eb5f
push 0
push edi
call dword [0x1001238]
push esi
push edi
call fcn.0100e984
jmp 0x100eb7d
call dword [0x1001244]
jmp 0x100eb5f
push edi
mov esi, 0x104
push esi
call dword [0x100123c]
test edi, edi
je 0x100eb8f
push esi
push edi
call fcn.0100e984
push edi
call dword [fcn.0100128c]
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x100efa1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 1
push 0x1c
push edi
call dword [0x1001454]
push eax
call dword [0x10012a4]
test eax, eax
mov ebx, dword [0x100124c]
mov esi, 0x104
jl 0x100f001
push esi
push edi
call fcn.0100e984
push edi
call dword [fcn.0100128c]
push esi
push 0x1001d90
push edi
call fcn.0100e69c
push edi
call ebx
cmp eax, 0xffffffff
jne 0x100effa
push 0
push edi
call dword [0x1001238]
jmp 0x100effd
xor eax, eax
inc eax
test eax, eax
jne 0x100f04e
push esi
push edi
call dword [0x1001240]
push esi
push edi
call fcn.0100e984
push edi
call dword [fcn.0100128c]
push esi
push 0x1001d90
add eax, edi
push edi
mov dword [ebp + 0xc], eax
call fcn.0100e69c
push edi
call ebx
cmp eax, 0xffffffff
jne 0x100f04e
push 0x10019b4
push dword [ebp + 0xc]
call dword [fcn.01001288]
push edi
call ebx
cmp eax, 0xffffffff
jne 0x100f04e
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x100f055
push esi
push edi
call fcn.0100e984
mov esi, dword [fcn.0100128c]
push 0xc
push edi
call esi
mov ecx, 0x103
sub ecx, eax
push ecx
push edi
call esi
add eax, edi
push eax
push dword [ebp + 8]
call fcn.0100ed4a
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1021e7d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
mov eax, 0x103bda0
cmp dword [eax], 0
je 0x1021e9a
add eax, 0x12
inc esi
cmp eax, 0x103c124
jl 0x1021e8a
cmp esi, 0x32
jne 0x1021ebf
cmp dword [0x103d56c], 0
je 0x1021eb8
push 0x424
call fcn.01023837
push eax
call fcn.01026638
xor eax, eax
jmp 0x1021f3f
push edi
push 0x26
push dword [ebp + 0x10]
call fcn.010079f0
test eax, eax
je 0x1021ef0
movsx eax, byte [eax + 1]
push eax
call dword [0x1001408]
push dword [ebp + 0x10]
lea esi, [esi + esi*8]
shl esi, 1
mov edi, eax
call fcn.0102c5db
mov dword [esi + 0x103bda8], eax
jmp 0x1021efd
lea esi, [esi + esi*8]
xor edi, edi
shl esi, 1
and dword [esi + 0x103bda8], edi
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [esi + 0x103bda0], eax
call fcn.0102c5db
cmp dword [0x103d580], 0
mov word [esi + 0x103bdb0], di
mov dword [esi + 0x103bda4], eax
pop edi
je 0x1021f2a
or ecx, 0xffffffff
jmp 0x1021f30
mov ecx, dword [0x103d498]
mov dword [esi + 0x103bdac], ecx
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
pop esi
pop ebp
ret 0xc

Function at 0x102268d
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push edi
push esi
call fcn.01021d41
test edi, edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
je 0x1022789
cmp edi, 0xffffffff
je 0x10227b2
cmp dword [esi], 3
jne 0x102276d
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov esi, dword [esi + 4]
add eax, edi
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x14]
push eax
push 2
push 0x706a
push dword [ebp + 0xc]
add edx, ebx
mov word [ebp - 0x14], di
mov word [ebp - 0x12], bx
mov word [ebp - 0xe], dx
mov dword [ebp - 0xc], esi
call dword [fcn.010013cc]
test eax, eax
mov dword [ebp + 0x18], eax
je 0x10227b2
push esi
call dword [0x10010cc]
test eax, eax
mov dword [ebp + 8], eax
je 0x1022762
lea eax, [ebp - 0x30]
push eax
push 0x18
push dword [ebp + 0x18]
call dword [fcn.010010c0]
test eax, eax
je 0x1022759
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [0x10010d0]
test eax, eax
je 0x1022759
push 0xcc0020
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
push edi
push esi
call dword [0x1001100]
push dword [ebp + 8]
call dword [0x10010ec]
push dword [ebp + 0x18]
call dword [fcn.010010c4]
jmp 0x10227b2
push 0
push edx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
call dword [fcn.0100141c]
push 1
push edi
call dword [0x10013bc]
jmp 0x10227b2
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
push 0xaa
mov dword [ebp - 0x18], ecx
add ecx, eax
push 0
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
mov dword [ebp - 0x14], edi
add edi, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edi
call fcn.0102a1ad
pop edi
pop esi
pop ebx
leave
ret 0x14