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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040516c
xor eax, eax
push ebp
push 0x4880de
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4880f0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4880b3
mov dl, 1
mov eax, dword [0x41397c]
call fcn.00403e74
mov edi, eax
xor esi, esi
mov dword [ebp - 0x1c], pe_nt_image_headers32
mov dword [ebp - 0x20], pe_nt_image_headers32
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
call fcn.00405308
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.00405308
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040517c
push eax
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040517c
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x488068
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004052c0
test eax, eax
jle 0x488065
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x488118
push dword [ebp - 0x18]
push 0x488128
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040503c
mov eax, dword [ebp - 0x2c]
call fcn.0040517c
push eax
call sub.KERNEL32.DLL_CreateFileA_1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x488065
mov edx, dword [ebp - 0x20]
dec edx
lea eax, [ebp - 0x18]
call fcn.00405308
mov edx, dword [ebp - 0x18]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov byte [ebp - 9], 1
inc esi
jmp 0x488087
cmp ebx, 0x103
je 0x488087
push ebx
mov ecx, 0x17
mov dl, 1
mov eax, dword [0x4651b0]
call fcn.004695c8
call fcn.0040462c
test ebx, ebx
je 0x487f9c
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x90]
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, edi
call fcn.00403ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4880e5
lea eax, [ebp - 0x2c]
call fcn.00404cbc
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404ce0
lea eax, [ebp - 8]
call fcn.00404cbc
ret
Function at 0x402000
Capabilities:
Encode data using xor

Disassembly:
call dword [sym.imp.kernel32.dll_GetACP]
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
call fcn.0040142a
push 0x7eff
push 0
jmp loc.00409000

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4f0d78ae
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x76bc6e16
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403140
Capabilities:
Read file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x28]
mov dword [esp + 4], eax
sar eax, 0x1f
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.0040ac00
test eax, eax
jne 0x4031b1
mov eax, dword [ebx + 4]
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x34]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, 0x3c
jne 0x4031d3
cmp word [ebx + 0x6e], 0xa60
jne 0x4031f5
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
add esp, 0x14
pop ebx
pop esi
jmp fcn.00403220
mov ebx, dword [ebx]
mov dword [esp], str._s:_failed_to_seek_to_next_file_name_n
call fcn.00403a80
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00402350
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
mov ebx, dword [ebx]
mov dword [esp], str._s:_failed_to_read_archive_header_n
call fcn.00403a80
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00402350
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
mov ebx, dword [ebx]
mov dword [esp], str._s:_did_not_find_a_valid_archive_header_n
call fcn.00403a80
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00402350
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
Function at 0x406030
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x14
mov eax, dword [eax + 4]
sub eax, 1
mov dword [ebx + 4], eax
js 0x406150
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0x22
jmp 0x406060
mov eax, dword [ebx]
lea ecx, [eax + 1]
mov dword [ebx], ecx
mov byte [eax], dl
add esi, 1
movzx ecx, byte [esi]
test cl, cl
je 0x406130
cmp cl, 0xa
je 0x4060c0
mov eax, dword [ebx + 4]
sub eax, 1
cmp cl, 0x22
je 0x4060a0
cmp cl, 0x5c
je 0x4060a0
movsx edx, byte [esi]
mov dword [ebx + 4], eax
test eax, eax
jns 0x406054
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.004125a8
jmp 0x40605d
mov dword [ebx + 4], eax
test eax, eax
js 0x406110
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0x5c
mov eax, dword [ebx + 4]
sub eax, 1
jmp 0x406080
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], 0x415900
call sub.msvcrt.dll_fwrite
cmp byte [esi + 1], 0
je 0x406140
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x415904
call sub.msvcrt.dll_fwrite
jmp 0x40605d
mov dword [esp + 4], ebx
mov dword [esp], 0x5c
call fcn.004125a8
mov eax, dword [ebx + 4]
sub eax, 1
jmp 0x406080
sub dword [ebx + 4], 1
js 0x406165
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0x22
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp + 4], ebx
mov dword [esp], 0x22
call fcn.004125a8
jmp 0x406060
mov dword [esp + 4], ebx
mov dword [esp], 0x22
call fcn.004125a8
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x40a480
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x41b180
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x41b178]
sub esp, 4
test ebx, ebx
je 0x40a4cb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x40a4c4
test esi, esi
je 0x40a4c4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40a4a0
mov dword [esp], 0x41b180
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40a6d0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x40a720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40a7f4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x40a75e
cmp eax, 4
jne 0x40a780
test esi, esi
je 0x40a772
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x40a764
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x40a7bf
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x40a7b1
cmp ecx, 0x40
je 0x40a772
cmp ecx, 4
je 0x40a772
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0040a6d0
lea esi, [esi]
Function at 0x40ac40
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x22c
mov eax, dword [esp + 0x24c]
call fcn.0040aae0
test eax, eax
je 0x40ad5f
mov ebx, eax
cmp eax, dword [0x413120]
je 0x40ada0
mov dword [esp], ebx
call fcn.0040c420
mov eax, dword [0x41311c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040c3f0
mov eax, dword [0x41311c]
test eax, eax
je 0x40adf0
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.0040caf0
mov dword [esp + 0xc], 2
mov edi, eax
mov eax, dword [esp + 0x24c]
mov dword [esp + 4], 0
mov ebp, edx
mov dword [esp + 8], 0
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll__lseeki64
mov dword [esp + 0x1c], ebp
cmp eax, edi
mov ebx, eax
mov eax, edx
sbb eax, dword [esp + 0x1c]
mov esi, edx
mov dword [esp + 0x18], edi
jge 0x40adc0
xor eax, eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x20]
mov edx, dword [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
sub edx, ebx
sbb ecx, esi
xor ebp, ebp
mov eax, 0x200
mov esi, edx
mov edi, ecx
cmp eax, edx
mov eax, ebp
sbb eax, ecx
jge 0x40ad18
mov esi, 0x200
xor edi, edi
mov eax, dword [esp + 0x24c]
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, esi
jne 0x40ae00
sub edx, esi
mov eax, ebp
sbb ecx, edi
cmp ebp, edx
sbb eax, ecx
jl 0x40ad00
mov eax, dword [esp + 0x24c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x248]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x244]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x240]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
add esp, 0x22c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, dword [eax]
jne 0x40ac6c
mov dword [0x413120], 0
jmp 0x40ac74
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24c]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.0040ca70
jmp 0x40ad5f
mov dword [0x41311c], ebx
jmp 0x40ac92
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24c]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.0040ca70
add esp, 0x22c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10019c4e
Capabilities:
Create directory

Disassembly:
mov eax, 0x1016fb0a
call fcn.10159f04
sub esp, 0x18c
mov eax, dword [0x101b7f10]
push esi
push 0
mov dword [ebp - 0x10], eax
push str.ScreenShot
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str..ScreenShotTantra
lea ecx, [ebp - 0x110]
call fcn.10152140
and dword [ebp - 4], 0
call fcn.1015c521
lea eax, [ebp - 0x198]
push eax
call fcn.1015beb2
lea eax, [ebp - 0x198]
push eax
call fcn.1015bca4
push eax
push str.__Y_m_d__H__M__S_
lea eax, [ebp - 0x190]
push 0x80
push eax
call fcn.1015bc89
add esp, 0x18
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.101522d0
push 0x101820b4
lea ecx, [ebp - 0x110]
call fcn.101522d0
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
lea edx, [ebp - 0x110]
push edx
call dword [eax + 0x38]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.10152110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
call fcn.1015901e
leave
ret
Function at 0x1003a151
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.10039f79
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, 0x100
push edi
add esi, 8
push 0
push esi
mov ebx, eax
call fcn.101590d0
add esp, 0xc
push edi
push esi
push ebx
call sub.IMM32.dll_ImmGetDescriptionA
push esi
mov ecx, 0x10a4e320
call fcn.10152010
cmp dword [0x10a069f4], 0
pop edi
sete al
pop esi
mov byte [0x10a06a08], al
xor eax, eax
pop ebx
ret

Function at 0x1003a3fe
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
call fcn.10039f0b
mov ecx, edi
call fcn.1003a2a7
mov eax, dword [0x10a069f4]
test eax, eax
je 0x1003a423
cmp eax, 4
jne 0x1003a4ab
push esi
mov esi, 0x800
test dword [ebp + 0x10], esi
je 0x1003a4aa
push ebx
push dword [edi]
call sub.IMM32.dll_ImmGetContext
push 0
push 0
push esi
push eax
mov dword [ebp - 4], eax
call sub.IMM32.dll_ImmGetCompositionStringA
mov ebx, eax
test ebx, ebx
je 0x1003a49f
lea eax, [ebx + 4]
push eax
call fcn.10158aa3
test eax, eax
pop ecx
mov dword [ebp + 0x10], eax
je 0x1003a46f
push ebx
push eax
push esi
push dword [ebp - 4]
call sub.IMM32.dll_ImmGetCompositionStringA
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov byte [eax + ebx], 0
lea esi, [edi + 0x108]
mov eax, dword [esi]
push ebx
push dword [ebp + 0x10]
lea eax, [eax + edi + 0x114]
push eax
call fcn.1015a1f0
add dword [esi], ebx
mov esi, dword [esi]
push dword [ebp + 0x10]
mov byte [esi + edi + 0x114], 0
call fcn.1015a9b1
add esp, 0x10
push dword [ebp - 4]
push dword [edi]
call sub.IMM32.dll_ImmReleaseContext
pop ebx
pop esi
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x1003a4f9
Capabilities:
Get keyboard layout

Disassembly:
push esi
push edi
push 4
xor edi, edi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call sub.IMM32.dll_ImmGetProperty
or dword [esi + 0x71c], 0xffffffff
or dword [esi + 0x720], 0xffffffff
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, 0x10a4e320
mov dword [esi], eax
mov dword [esi + 0x108], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x718], edi
mov dword [esi + 0x724], edi
mov dword [esi + 0x728], edi
call fcn.10151f70
mov ecx, esi
call fcn.10039f79
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x10060c7b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov byte [ecx + 0x108], 1
mov ecx, dword [0x10a0c350]
cmp byte [ecx + 0x13d], 1
je 0x10060c96
jmp fcn.10114404
ret

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

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x108], 1
jne 0x10061146
cmp byte [0x10a0c314], 3
jne 0x100611c2
mov eax, dword [0x10a0c350]
cmp byte [eax + 0x2434], 0
je 0x100611c2
mov ecx, dword [0x10a0c444]
push 0xee
call fcn.100951e2
test al, al
jne 0x100611c2
mov ecx, dword [0x10a0c444]
push 0xe1
call fcn.100951e2
test al, al
jne 0x100611c2
mov ecx, dword [0x10a0c444]
push 0xe8
call fcn.100951e2
test al, al
jne 0x100611c2
mov ecx, dword [0x10a0c444]
push 0xe9
call fcn.100951e2
test al, al
jne 0x100611c2
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esi + 0x10c]
add ecx, 0x2bf20
cmp eax, ecx
jbe 0x100611c2
mov ecx, esi
pop esi
jmp fcn.10060c7b
pop esi
ret
Function at 0x1008664a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x101b7f10]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
call fcn.1015d5b1
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
call fcn.1015901e
leave
ret

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

Disassembly:
mov eax, 0x101734d8
call fcn.10159f04
sub esp, 0x310
mov eax, dword [0x101b7f10]
push esi
mov esi, ecx
cmp byte [esi + 4], 2
mov dword [ebp - 0x10], eax
push edi
jne 0x10086858
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [esi + 0x42c]
add ecx, 0x2bf20
cmp eax, ecx
jbe 0x10086858
lea ecx, [ebp - 0x310]
call fcn.10152120
and dword [ebp - 4], 0
lea ecx, [ebp - 0x210]
call fcn.10152120
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.10152120
mov ecx, dword [0x10a0c364]
lea eax, [ebp - 0x210]
push eax
push 0x890
mov byte [ebp - 4], 2
call fcn.100431ba
cmp al, 1
jne 0x1008682b
mov ecx, dword [0x10a0c350]
lea eax, [ebp - 0x318]
push eax
call fcn.1010fdf7
push dword [ebp - 0x314]
lea eax, [ebp - 0x110]
push dword [ebp - 0x318]
push 0x1018c638
push eax
call fcn.10151f80
add esp, 0x10
lea ecx, [ebp - 0x110]
call fcn.10151f50
push eax
lea ecx, [esi + 0x264]
call fcn.10151f50
push eax
lea ecx, [ebp - 0x210]
call fcn.10151f50
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.10151f80
add esp, 0x10
call edi
sub esp, 0x100
mov dword [esi + 0x42c], eax
lea eax, [ebp - 0x310]
mov ecx, esp
mov dword [ebp - 0x31c], esp
push eax
call fcn.10152140
mov ecx, dword [0x10a0c380]
call fcn.1012bc7d
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.10152110
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 0
call fcn.10152110
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x310]
call fcn.10152110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1015901e
pop edi
pop esi
leave
ret
Function at 0x100b7df1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x53c]
push edi
mov dword [ebp - 8], esi
jmp 0x100b7eb3
mov eax, dword [ebx + 0x424]
cmp eax, dword [ebp + 8]
je 0x100b7ecc
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x100b7ead
mov ecx, dword [0x10a0066c]
lea esi, [ebx + 0x42c]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebp - 0x18]
fadd dword [0x10183424]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
fstp dword [ebp - 0x18]
push eax
call fcn.100189c9
mov ecx, dword [ebp + 0xc]
lea eax, [ecx - 0x32]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fcomp dword [ebp - 0x10]
fnstsw ax
test ah, 5
jp 0x100b7eaa
add ecx, 0x32
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fcomp dword [ebp - 0x10]
fnstsw ax
test ah, 0x41
jne 0x100b7eaa
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0xf]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fcomp dword [ebp - 0xc]
fnstsw ax
test ah, 5
jp 0x100b7eaa
add ecx, 0xf
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fcomp dword [ebp - 0xc]
fnstsw ax
test ah, 0x41
je 0x100b7ec5
mov esi, dword [ebp - 8]
mov ebx, dword [ebx + 0x53c]
cmp ebx, dword [esi + 8]
jne 0x100b7e0d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov byte [ebx + 0x439], 1
sub esp, 0x100
lea eax, [ebx + 0x43a]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebx + 0x53a], 1
call fcn.10152140
mov ecx, dword [0x10a0c440]
call fcn.100c38c1
mov eax, dword [ebx + 0x424]
jmp 0x100b7ebe
Function at 0x10114404
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0x2404], 0
je 0x10114557
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebx
lea edi, [esi + 0x21a8]
mov ecx, dword [edi]
add ecx, 0x44c
cmp eax, ecx
jb 0x10114555
call ebx
mov ecx, dword [esi + 0x2420]
mov dword [edi], eax
call fcn.101173a1
mov ecx, dword [0x10a0c444]
push 0xd6
call fcn.1009c3ae
xor ebx, ebx
inc ebx
cmp byte [esi + 0x13d], bl
jne 0x101144b7
xor eax, eax
fld1
push eax
push eax
push ecx
fstp dword [esp]
push ebx
push eax
mov ecx, esi
mov byte [esi + 0x13d], 0
mov dword [esi + 0x23cc], 7
call fcn.10111225
mov ecx, dword [esi + 0x2420]
lea eax, [ebp - 8]
push eax
call fcn.10117408
push dword [ebp - 4]
mov ecx, esi
push dword [ebp - 8]
push ebx
call fcn.10112ba5
push 0x10
call fcn.101589ff
mov esi, eax
mov byte [esi + 0xc], 2
jmp 0x10114541
mov ecx, esi
call fcn.1011247b
mov ecx, dword [esi + 0x2420]
lea eax, [ebp - 8]
push eax
call fcn.10117408
fld1
mov ax, word [ebp - 8]
xor edi, edi
push edi
push edi
push ecx
fstp dword [esp]
mov word [esi + 0x21ae], ax
mov ax, word [ebp - 4]
push ebx
push edi
mov ecx, esi
mov word [esi + 0x21b0], ax
mov byte [esi + 0x13d], bl
mov dword [esi + 0x23cc], 4
call fcn.10111225
mov ecx, dword [0x10a0066c]
push edi
push ebx
push 0x792d
call fcn.100139dd
mov ecx, dword [esi + 0x2420]
lea eax, [ebp - 0x10]
push eax
call fcn.10117408
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 0x10]
push edi
call fcn.10112ba5
push 0x10
call fcn.101589ff
mov esi, eax
mov byte [esi + 0xc], bl
pop ecx
mov ecx, dword [0x10a0c230]
push esi
call fcn.1014281a
push esi
call fcn.1015a314
pop ecx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1011b3ca
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
mov esi, ecx
inc ebx
cmp dword [esi + 0x90], ebx
jne 0x1011b4ec
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
test edi, edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x11c], eax
mov ecx, dword [0x10a0066c]
push dword [ebp + 0x10]
jne 0x1011b406
push dword [ebp + 0xc]
jmp 0x1011b407
push edi
call fcn.1001fb14
fld1
fstp dword [ebp - 0x10]
push ecx
mov ecx, dword [0x10a0066c]
fldz
fstp dword [ebp - 8]
lea eax, [ebp - 0x10]
fld1
mov dword [ebp - 0xc], 0x3dcccccd
fstp dword [ebp - 4]
fld dword [0x10182188]
fstp dword [esp]
push eax
push dword [esi + 4]
call fcn.10013b2d
mov ecx, dword [0x10a0066c]
push 0
push dword [esi + 4]
lea eax, [ebp + 0x14]
push 0x10cccf
push eax
call fcn.1001f53b
test edi, edi
mov byte [ebp + 0x13], 0
je 0x1011b476
mov ecx, dword [0x10a0c360]
lea eax, [ebp + 0x13]
push eax
push ebx
push edi
call fcn.10004c57
cmp byte [ebp + 0x13], 0
jne 0x1011b4df
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1011b4a1
cmp eax, 3
je 0x1011b4a1
cmp eax, 9
je 0x1011b4a1
mov eax, dword [esi]
movsx eax, word [eax + 0x8a]
push dword [esi + 4]
mov ecx, dword [0x10a0066c]
push eax
call fcn.10019d86
jmp 0x1011b4df
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
jl 0x1011b4ba
cmp eax, 0x3e7
jg 0x1011b4ba
mov dword [esi + 0x18], 5
jmp 0x1011b4c1
mov dword [esi + 0x18], 0xa
push 0
fldz
push ecx
fstp dword [esp]
push ebx
mov ecx, esi
call fcn.1011a815
mov ecx, dword [esi + 0x10]
mov byte [esi + 0x228], bl
call fcn.1011e450
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x98], eax
pop edi
pop esi
pop ebx
leave
ret 0x10