joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68dd56
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x6721fb
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x672215
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x672204
pop esi
jmp 0x672220
ret 4
jmp 0x6721ee

Function at 0x6a5640
Capabilities:
Encrypt data using aes

Disassembly:
mov edi, edx
jmp 0x6a56a8
xor ecx, edi
dec edi
jmp 0x6a562a
mov ebp, edi
jmp 0x6a5680
shr edi, 0x18
stc
push ebp
jmp 0x6a5663
lea ebp, [ebp*4]
lea ebp, reloc.WINMM.dll_waveOutUnprepareHeader
movzx edi, byte [ebp]
pop ebp
jmp 0x6a56ce
and edx, esi
pushfd
push dword [esp + 3]
mov edx, dword [edx*4 + reloc.WINMM.dll_waveOutUnprepareHeader]
jmp 0x6a5679
xor ecx, edx
mov edi, dword [esp]
lea edi, reloc.WINMM.dll_waveOutUnprepareHeader
sub esp, 8
jmp 0x6a56f0
xor ecx, edi
and edx, ebp
mov di, word [esp]
and edi, eax
jmp 0x6a56b8
bsf edx, edi
jmp 0x6a572a
lea esp, [esp + 0x14]
xor ecx, dword [ebx]
neg edx
lea edi, [eax + 0x10]
jmp 0x6a56da
stosd dword es:[edi], eax
cmp ebx, dword [esi - 0x53]
sbb eax, 0x1b38d94e
jb 0x6a575e
xor ecx, dword [eax]
call 0x6a5714
jbe 0x6a5720
or al, ch
jecxz 0x6a572e
invalid
invalid
jge 0x6a5739
test dword [edx + 0x60], reloc.WINMM.dll_waveOutUnprepareHeader
insb byte es:[edi], dx
or eax, dword [esi]
les edx, [edx - 0x2d]
inc ebx
aad 0x17
salc
inc ecx
sub byte [ecx + 0x41661450], cl
mov cx, 0x982c
jmp 0x6a57db
neg dx
mov dword [eax + 0x18], ecx
lea edx, [edx + ebx]
neg edx
pushfd
jmp 0x6a57c5
btr dx, ax
jmp 0x6a57ff
mov ecx, dword [eax + 8]
sub esp, 2
lea esp, [esp + 2]
xor ecx, edx
jmp 0x6a57b3
mov edx, dword [ebp]
pop ebp
jmp 0x6a5807
push ebp
mov ebp, eax
add ebp, 0xc
jmp 0x6a57e9
xor edx, ecx
mov dword [eax + 0x1c], edx
lea esp, [esp + 8]
jmp 0x6a5816
cmp ebx, 0x67ca7c
jmp 0x6a6373
mov bh, 0x70
mov ah, byte [esp]
pop eax
mov bh, 0x68
push bx
jmp 0x6a5c79
jne 0x670009
push 0xa
mov bp, di
mov bp, 0xd18f
jmp 0x6a5e2f

Function at 0x6a570f
Capabilities:
Encrypt data using aes

Disassembly:
add edi, 0x2def7a45
and edi, 0xe1633c98
mov edi, edx
jmp 0x6a5659
shr cx, cl
mov ecx, edx
shr ecx, 8
bsf edi, edx
jmp 0x6a5557
shr edi, 0x10
sub esp, 4
clc
call fcn.006a5586
push edx
jmp 0x6a5617
lea ebp, [ebp*4]
lea ebp, reloc.WINMM.dll_waveOutUnprepareHeader
mov ecx, dword [ebp]
pop ebp
jmp 0x6a559c
and edi, 0xff000000
call fcn.006a5640
rcr dword [edi - 0x31], 1
stosb byte es:[edi], al
pop ecx
sal byte [edx], 1
sub eax, 0x5a960f3c
pop edx
lea esp, [esp + 0x10]
and ecx, 0xff0000
jmp 0x6a55e8
mov edx, edi
lea edx, [edx*4]
lea edx, reloc.WINMM.dll_waveOutUnprepareHeader
mov edi, dword [edx]
jmp 0x6a55fe
and ecx, esi
push ebp
mov ebp, ecx
jmp 0x6a55d5
jmp 0x6a5579

Function at 0x760eca
Capabilities:
Parse pe header

Disassembly:
call fcn.0075fd05
mov eax, dword fs:[0x30]
jmp 0x760edd
pop word [esp + 1]
lea esp, [esp + 2]
mov dword [esp + 4], edi
lea esp, [esp + 4]
jmp 0x760eb4
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x760f24
mov eax, dword [eax + 8]
push eax
jmp 0x75fd00
Function at 0x10019120
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 1
cmp dword [0x1019aa88], esi
jne 0x1001914b
call fcn.10018560
cmp eax, dword [0x1019aa84]
jle 0x1001916f
cmp dword [0x1019aa90], esi
jne 0x100191b9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1019aa8c]
sub eax, dword [0x101a34bc]
imul ecx, ecx, 0xea60
cmp eax, ecx
jbe 0x100191b9
cmp dword [0xe7c5c4], esi
jne 0x1001918d
call fcn.1003a760
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.10016830
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret 0x10
push ebx
push edi
mov edi, dword [0x2f99460]
xor ebx, ebx
xor esi, esi
call fcn.10006a60
test eax, eax
je 0x100191f1
add edi, 0x53c
mov eax, dword [edi]
test eax, eax
je 0x100191e4
cmp dword [eax + 0x334], 1
jne 0x100191e4
inc ebx
inc esi
add edi, 4
call fcn.10006a60
cmp esi, eax
jb 0x100191d4
cmp ebx, dword [0x1019a9e8]
pop edi
pop ebx
mov esi, 1
jge 0x10019208
cmp dword [0x1019a9ec], esi
je 0x1001922c
cmp dword [0x1019a9f0], esi
jne 0x10019255
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1019a9f4]
sub eax, dword [0x101a34b4]
imul ecx, ecx, 0xea60
cmp eax, ecx
jb 0x10019255
cmp dword [0xe7c5c4], esi
je 0x10019177
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x100977b8
jmp 0x100192bc
push 0x32
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x1019a9f8
call sub.mfc100.dll_Ordinal_6969
mov edx, 0x100977b0
lea ecx, [ebp - 0x38]
lea ecx, [ecx]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10019290
test al, al
je 0x1001928c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10019290
add ecx, 2
add edx, 2
test al, al
jne 0x10019270
xor eax, eax
jmp 0x10019295
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100192ce
cmp dword [0xe7c5c4], eax
jne 0x100192ce
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x100977a4
call fcn.10008130
push 0x1009779c
call fcn.10018fc0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100192e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1012d3e4]
push edi
mov edi, ecx
cmp eax, 1
je 0x10019458
cmp eax, 3
je 0x10019458
push ebx
push 1
call sub.mfc100.dll_Ordinal_13219
push 0xa
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x300]
call sub.mfc100.dll_Ordinal_6969
mov ecx, 0x100977dc
lea eax, [ebp - 0x2c]
jmp 0x10019330
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10019350
test dl, dl
je 0x1001934c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10019350
add eax, 2
add ecx, 2
test dl, dl
jne 0x10019330
xor eax, eax
jmp 0x10019355
sbb eax, eax
sbb eax, 0xffffffff
push esi
test eax, eax
jne 0x100193e7
mov ecx, 0x101917c0
mov dword [0x1012d3e4], 2
call fcn.1000b1a0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 0x100977b0
lea ecx, [edi + 0x300]
mov dword [0x101a34b4], eax
call sub.mfc100.dll_Ordinal_12868
push 0
lea ecx, [edi + 0x264]
call sub.mfc100.dll_Ordinal_3970
call fcn.1003a760
call esi
push 0
push 0
push 0
push 0
mov dword [0x101a34bc], eax
call fcn.10019120
mov ecx, dword [0x101a46e8]
mov edx, dword [0x100eaf2c]
push fcn.10019120
push 0x1388
add ecx, 0x52
push ecx
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
push 0x100977dc
lea ecx, [edi + 0x300]
mov dword [0x1012d3e4], 0
call sub.mfc100.dll_Ordinal_12868
mov eax, dword [0x101a46e8]
mov ecx, dword [0x100eaf2c]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
add eax, 0x52
push eax
push ecx
call esi
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
add edx, 0x44
push edx
push eax
call esi
push 1
lea ecx, [edi + 0x264]
call sub.mfc100.dll_Ordinal_3970
call fcn.1003a760
pop esi
pop ebx
mov dword [0x1011d17c], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
push 8
push 0x100977c4
call fcn.1003af20
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x1001bad0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d6dc
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x100ae8c8]
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
push 0x1f4
mov esi, ecx
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov edi, eax
push str._sCollect__
push edi
mov dword [ebp - 0x15c], edi
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [esi + 0x3e8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
push 0
push 0
push 0x14b
push eax
call ebx
push edi
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x10097d40
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x158]
push edx
mov dword [ebp - 4], 0
call fcn.1001a6e0
add esp, 0xc
lea ecx, [ebp - 0x150]
push ecx
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x158]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x124]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001bba0
sub eax, ecx
mov byte [ebp + eax - 0x128], dl
mov eax, dword [esi + 0x3e8]
lea edx, [ebp - 0x124]
push edx
push 0
push 0x143
push eax
call ebx
lea ecx, [ebp - 0x150]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1001bc29
lea esp, [esp]
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001bbf0
sub eax, edx
lea edx, [ebp - 0x124]
push edx
push 0
mov byte [ebp + eax - 0x128], cl
mov eax, dword [esi + 0x3e8]
push 0x143
push eax
call ebx
lea ecx, [ebp - 0x150]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001bbe0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x15c]
push edx
call sub.mfc100.dll_Ordinal_1296
add esp, 4
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_901]
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.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x1001c560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1012d3e4]
push esi
mov esi, ecx
cmp eax, 1
je 0x1001c6e8
cmp eax, 2
je 0x1001c6e8
push 1
call sub.mfc100.dll_Ordinal_13219
add esi, 0x268
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov dword [ebp - 0x3c], esi
call sub.mfc100.dll_Ordinal_6969
mov ecx, 0x10097df8
lea eax, [ebp - 0x38]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001c5d0
test dl, dl
je 0x1001c5cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001c5d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001c5b0
xor eax, eax
jmp 0x1001c5d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001c66a
mov ecx, 0x101a34d0
mov dword [0x1012d3e4], 3
mov dword [0x101a34c4], 0xff922300
call section..text
mov ecx, 0x101a34dc
call section..text
push 0
call fcn.1003b800
add esp, 4
mov ecx, 0x101917c0
call fcn.1000b1a0
push 0x100977b0
mov ecx, esi
call sub.mfc100.dll_Ordinal_12868
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101a46e8]
mov edx, dword [0x100eaf2c]
push 0x1001c150
push 0x3e8
add ecx, 0x53
push ecx
push edx
mov dword [0x1012d248], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x1011cd68], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
push 0
push 0x1001bd30
push 0
push 0
mov dword [0x1012d3e4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
xor esi, esi
lea esp, [esp]
mov eax, dword [0x101a46e8]
mov edx, dword [0x100eaf2c]
lea ecx, [eax + esi + 0x44]
push ecx
push edx
call edi
inc esi
cmp esi, 0xa
jl 0x1001c6a0
mov eax, dword [0x101a46e8]
mov ecx, dword [0x100eaf2c]
add eax, 0x53
push eax
push ecx
call edi
mov ecx, dword [ebp - 0x3c]
push 0x10097df8
call sub.mfc100.dll_Ordinal_12868
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
push 8
push 0x10097de0
call fcn.1003af20
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x10029670
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1019dda8]
push esi
mov esi, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100297a3
mov ecx, dword [0x1019de3c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1042
push ecx
call edi
cmp eax, 5
jle 0x100296d4
mov edx, dword [0x1019de3c]
push 0
push 0
push 0x1042
push edx
call edi
cmp eax, 0x15
jl 0x100297a2
mov eax, dword [ebp + 0xc]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x32
lea ecx, [ebp - 0x6c]
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea edx, [ebp - 0x6c]
push edx
push esi
lea eax, [ebp - 0x38]
push 0x1009b398
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0x1019de3c]
add esp, 0x10
xor esi, esi
push esi
push esi
push 0x1004
push ecx
call edi
test eax, eax
jle 0x1002977f
lea ecx, [ecx]
push 0x32
lea edx, [ebp - 0xa0]
push edx
push 1
push esi
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_5176
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xa0]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10029760
test dl, dl
je 0x1002975c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10029760
add eax, 2
add ecx, 2
test dl, dl
jne 0x10029740
xor eax, eax
jmp 0x10029765
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100297b2
mov eax, dword [0x1019de3c]
push 0
push 0
push 0x1004
push eax
inc esi
call edi
cmp esi, eax
jl 0x10029720
mov edx, dword [0x1019de3c]
lea ecx, [ebp - 0x38]
push ecx
push 1
push 0
push 0
push 0x1042
push edx
call edi
push eax
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
push 8
push 0x1009b38c
call fcn.1003af20
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x100297e0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x32
lea ecx, [ebp - 0x6c]
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea edx, [ebp - 0x6c]
push edx
push esi
lea eax, [ebp - 0x38]
push 0x1009b398
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0x1019de3c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
xor esi, esi
push esi
push esi
push 0x1004
push ecx
call edi
test eax, eax
jle 0x10029925
jmp 0x10029850
push 0x32
lea edx, [ebp - 0xa0]
push edx
push 1
push esi
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_5176
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xa0]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10029890
test dl, dl
je 0x1002988c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10029890
add eax, 2
add ecx, 2
test dl, dl
jne 0x10029870
xor eax, eax
jmp 0x10029895
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100298bf
mov eax, dword [0x1019de3c]
push 0
push 0
push 0x1004
push eax
inc esi
call edi
cmp esi, eax
jl 0x10029850
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1019de3c]
push 3
push 0
push 0
push 0
push 0x1042
push ecx
call edi
push eax
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12438
mov edx, dword [0x1019de3c]
push esi
push 0
push 0x1043
push edx
call edi
push 3
push 3
push esi
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12438
mov ecx, 0x1019dd88
call fcn.10028e10
mov eax, dword [0x1019deb0]
push 0
push 0
push 0x14e
push eax
call edi
mov ecx, 0x1019dd88
call fcn.100283e0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x10034be0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
test esi, esi
je 0x10034c69
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
push esi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x10034c5a
push 0x32
lea ecx, [ebp - 0x38]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [ebp - 0x3c], edi
jne 0x10034c5a
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x38]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10034c51
test dl, dl
je 0x10034c4d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10034c51
add eax, 2
add ecx, 2
test dl, dl
jne 0x10034c31
xor eax, eax
jmp 0x10034c56
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10034c7b
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x10034c03
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x10036130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f432
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ae8c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
cmp edi, 0x101
jne 0x100361a7
cmp ebx, 0x7a
jne 0x10036186
mov ecx, dword [0x1011d1bc]
test ecx, ecx
je 0x10036308
call fcn.1006f0e0
jmp 0x100362bf
cmp ebx, 0x7b
jne 0x100361a7
cmp dword [0x1019e5d8], 0
jbe 0x100362bf
mov ecx, 0x1019e5b8
call fcn.1007c040
jmp 0x100362bf
cmp ebx, 0x23
jne 0x100362a6
cmp edi, 0x101
jne 0x100362bf
mov eax, dword [0x1011d1bc]
test eax, eax
je 0x100361ea
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [0x1011d1bc]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
push eax
call sub.mfc100.dll_Ordinal_12962
jmp 0x100362bf
mov eax, dword [0x1011d1c0]
test eax, eax
je 0x10036218
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [0x1011d1c0]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
push eax
call sub.mfc100.dll_Ordinal_12962
jmp 0x100362bf
cmp dword [0x2fb7ac4], 0
jle 0x100362bf
call fcn.10086583
push eax
lea ecx, [ebp - 0x20]
call sub.mfc100.dll_Ordinal_322
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call sub.mfc100.dll_Ordinal_4345
push 0x248
mov esi, eax
call sub.mfc100.dll_Ordinal_1294
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x1003626b
push 0
mov ecx, eax
call fcn.10003ab0
jmp 0x1003626d
xor eax, eax
mov dword [0x1011d1c0], eax
mov edx, dword [eax]
push esi
mov ecx, eax
mov eax, dword [edx + 0x168]
push 0x1b57
mov byte [ebp - 4], 0
call eax
mov ecx, dword [0x1011d1c0]
push 5
call sub.mfc100.dll_Ordinal_12962
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call sub.mfc100.dll_Ordinal_13518
jmp 0x100362bf
lea ecx, [ebx - 0x70]
cmp ecx, 8
ja 0x100362bf
cmp edi, 0x101
jne 0x100362bf
push ebx
call fcn.10083b90
add esp, 4
cmp dword [0x1011d1bc], 0
jbe 0x10036308
cmp edi, 0x101
jne 0x10036308
cmp ebx, 0x10
je 0x10036308
cmp ebx, 0x11
je 0x10036308
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
jns 0x100362f1
push ebx
push str.Ctrl
jmp 0x10036300
push 0x10
call esi
test ax, ax
jns 0x10036308
push ebx
push str.Shift
call fcn.100297e0
add esp, 8
call fcn.10035ae0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [0x101a43c8]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_CallNextHookEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10038180
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.10037e70
cmp dword [ebp + 8], 0
jl 0x100381b2
pushal
mov ecx, dword ds:[0xe7c850]
mov ecx, dword ds:[ecx + 0x39c]
push 0
push dword [ebp + 8]
mov eax, 0x901dc0
call eax
popal
pop edi
pop esi
pop ebx
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1011cd94]
cmp eax, 0x2bc
jae 0x100381d0
cmp dword [0x10191860], 0
je 0x10038213
call esi
cmp dword [0x10191860], 1
mov dword [0x1011cd94], eax
jne 0x100381f8
cmp dword [0x1011cd90], 0
ja 0x10038213
mov eax, dword [0x2fb7ac4]
mov dword [eax + 0x1d44], 0xff
pushal
mov ecx, dword ds:[0x2fb7ac4]
mov eax, 0x6d0310
call eax
popal
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1011cd90], eax
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8ccc]
cmp eax, 0x7d0
jbe 0x10039f1a
call esi
mov esi, dword [sym.imp.MSVCR100.dll_memmove]
mov dword [0x101b8ccc], eax
mov eax, dword [0xe7c850]
mov ecx, dword [eax + 0x4cc]
movzx edx, word [ecx + 0x37c]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 2
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x22]
push ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], 0x60030
mov byte [ebp - 0x24], 1
call esi
push 2
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call esi
lea ecx, [ebp - 0x2c]
push 0x28
push ecx
call fcn.10037d40
add esp, 0x20
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x10039f30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1012d26c]
cmp eax, 0x2710
jbe 0x10039fe4
call esi
mov esi, dword [sym.imp.MSVCR100.dll_memmove]
mov dword [0x1012d26c], eax
mov eax, dword [0x2fb7ac4]
mov ecx, dword [eax + 0x1f60]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0x1f64]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 0x1f68]
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp dword [ebp + 8], 1
mov dword [ebp - 0x1c], eax
push 4
lea edx, [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
sete cl
push edx
lea eax, [ebp - 0x18]
add cl, 0x63
push eax
mov dword [ebp - 0x20], 0x40048
mov byte [ebp - 0x1c], cl
call esi
push 4
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x14]
push edx
call esi
push 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
push ecx
call esi
lea edx, [ebp - 0x24]
push 0x20
push edx
call fcn.10037d40
add esp, 0x2c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret