joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1114b220
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
sub esp, 8
call edx
test eax, eax
je 0x1114b355
push 0
push 0
push 6
call fcn.111bb9f0
add esp, 0xc
test eax, eax
jne 0x1114b355
call fcn.1116f3a0
mov dword [ebp - 8], eax
test eax, eax
je 0x1114b355
call fcn.1116f190
test eax, eax
je 0x1114b34b
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [ebp + 8]
push esi
push 0x1114b030
mov ebx, eax
mov dword [esi], 0
call dword [sym.imp.USER32.dll_EnumWindows]
call edi
sub eax, ebx
cmp eax, 0x9c4
jae 0x1114b2cc
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 8], 1
jl 0x1114b2af
call edi
sub eax, ebx
cmp eax, 0x64
jae 0x1114b2cc
push esi
push 0x1114b030
mov dword [esi], 0
call dword [sym.imp.USER32.dll_EnumWindows]
call edi
sub eax, ebx
cmp eax, 0x9c4
jb 0x1114b298
call edi
mov ecx, dword [esi + 8]
sub eax, ebx
push eax
mov eax, dword [esi + 4]
push 0
push eax
push ecx
push str.zap_d__before_d__after_d__elapsed_d_n
call fcn.111bd7b0
add esp, 0x14
cmp dword [esi + 8], 0
mov dword [ebp - 4], 0
jle 0x1114b348
lea edx, [esi + 0x38]
mov dword [ebp + 8], edx
jmp 0x1114b300
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
push ebx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push edi
push ebx
push str.zap_hWH___d__x_n
call fcn.111bd7b0
add esp, 0xc
test edi, edi
je 0x1114b338
push edi
call fcn.110e6810
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
add dword [ebp + 8], 4
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [esi + 8]
jl 0x1114b300
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, ebp
pop ebp
ret 4
Function at 0x1114b450
Capabilities:
Check for time delay via gettickcount
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1114b4f7
cmp dword [eax + 0x70], 0
je 0x1114b4f7
cmp dword [eax + 0x6c], 0
je 0x1114b4f7
lea edi, [eax + 0x5c]
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
test al, al
jne 0x1114b4a8
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
push ebx
mov ebx, dword [edi + 0xc]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 0x4c]
mov edx, dword [eax]
lea ecx, [edi + 0x4c]
call edx
test al, al
jne 0x1114b4d4
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov edi, dword [edi + 0x58]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [eax + 0x6c]
push ebx
push edi
push edx
mov edx, dword [eax + 0x70]
push ecx
push edx
call fcn.11117690
add esp, 0x18
pop ebx
jmp 0x1114b514
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x64
jb 0x1114b543
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x1114b530
mov ecx, str.null
push edi
push eax
mov eax, dword [esi]
push ecx
push eax
push str.LogonUser__s___s__took__d_ms__ret__d_n
call fcn.111bd7b0
add esp, 0x14
test edi, edi
jne 0x1114b557
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1114bdf0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
xor edi, edi
push str.wsock32.dll
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x30], eax
cmp eax, edi
jne 0x1114be55
push 0x2d99
push str.e:_nsmsrc_nsm14101410fclient32platnt.cpp
push str.hMod___NULL
call fcn.11067750
add esp, 0xc
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x1114bf1a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSAStartup
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x30]
push str.WSACleanup
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.socket
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x30]
push str.closesocket
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x30]
push str.bind
push eax
call edi
mov ecx, dword [esi + 0x30]
push 0x1122bb38
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 0x30]
push str.accept
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x30]
push str.recv
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.select
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 0x30]
push str.ntohs
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
push str.getsockname
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.__WSAFDIsSet
push ecx
mov dword [esi + 0x28], eax
call edi
lea edx, [ebp - 0x194]
push edx
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
push 0x101
call eax
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x1114c4c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, ebx
mov dword [ebp - 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1114c4d3
sub eax, edx
sar eax, 1
jne 0x1114c4ee
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
push edi
push 0
push 0xffffffffffffffff
mov ecx, esi
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [ebp + 8], eax
call sub.WINSPOOL.DRV_Ordinal_204
mov edi, eax
test edi, edi
jne 0x1114c55e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
push str.SetDefaultPrinter___s___FAILED___d_
call fcn.111bd7b0
add esp, 0xc
cmp esi, 0x709
jne 0x1114c55b
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1114c55b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 8]
cmp eax, esi
jae 0x1114c55b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call sub.WINSPOOL.DRV_Ordinal_204
mov edi, eax
test edi, edi
je 0x1114c514
mov esi, dword [ebp - 4]
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
push 0
push 0
mov ecx, esi
call edx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1114e690
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, ecx
call ebx
lea esi, [eax - 1]
or esi, 1
cmp dword [0x1127acfc], 0
je 0x1114e6ee
push str.VistaUI_handling_allowstop_n
call fcn.111bd7b0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
push 0x496
call fcn.111c4630
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
cmp dword [0x1127ad10], 0
je 0x1114e7e9
mov edx, dword [edi]
mov eax, dword [edx + 0xc0]
mov ecx, edi
call eax
test eax, eax
je 0x1114e7e9
mov eax, dword [0x1127ad24]
test eax, eax
je 0x1114e744
mov ecx, esi
sub ecx, eax
cmp ecx, 0x2710
jae 0x1114e744
push str.tsmode_ignoring_allowstop_n
call fcn.111bd7b0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
push str.tsmode_handling_allowstop_n
call fcn.111bd7b0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push 0x496
mov dword [0x1127ad24], esi
call fcn.1114e550
add esp, 0x10
call ebx
mov dword [ebp - 0x24], eax
xor bl, bl
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x1114e7cf
push 4
push 0x1127ae98
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x1114e7c4
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1114e7bd
test byte [ebp - 0x18], 1
je 0x1114e7bd
push str.stoppable_n
call fcn.111bd7b0
add esp, 4
mov bl, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
jne 0x1114e80b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x24]
cmp eax, 0x1f4
jae 0x1114e80b
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1114e770
push str.service_handling_allowstop_n
call fcn.111bd7b0
add esp, 4
push 0
mov dword [0x1127ad24], esi
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push 0
push 0
mov ecx, edi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
Function at 0x11150240
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e79eb
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x11279148]
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
xor edi, edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
push esi
push str.DismissWin10LockApp__hFore_x_..._n
call fcn.111bd7b0
add esp, 8
cmp esi, edi
je 0x11150417
push 0x104
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.111501c0
add esp, 0xc
cmp eax, edi
je 0x11150417
push str.LockApp.exe
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x11150417
push str.Found_lockapp_n
call fcn.111bd7b0
add esp, 4
lea ecx, [ebp - 0x25c]
call fcn.11143200
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push edi
push edi
push edi
push 0x1b
mov dword [ebp - 4], edi
call eax
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push edi
push 2
push edi
push 0x1b
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
sub eax, ebx
cmp eax, 0xbb8
ja 0x111503c1
push 0xf
call esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x104
lea ecx, [ebp - 0x258]
push ecx
push eax
call fcn.111501c0
add esp, 0xc
test eax, eax
je 0x11150357
push str.LockApp.exe
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x111503ad
mov ecx, dword [0x1127b220]
xor edx, edx
mov word [ebp - 0x50], dx
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [ebp - 0x260]
push edx
lea edx, [ebp - 0x50]
push edx
call eax
test eax, eax
je 0x11150386
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.USER32.dll_CloseDesktop]
lea edx, [ebp - 0x50]
push str.winlogon
push edx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x111503b4
call edi
sub eax, ebx
cmp eax, 0xbb8
jbe 0x11150321
jmp 0x111503c1
push str.lockapp_gone_n
jmp 0x111503b9
push str.winlogon_gone_n
call fcn.111bd7b0
add esp, 4
mov ecx, dword [0x1127aa68]
push 0
push 0x64
push str.UnlockTimeout
push str.Client
call fcn.110bbc00
push eax
call esi
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push 0x64
push 0
call edx
lea ecx, [ebp - 0x25c]
mov esi, 1
mov dword [ebp - 4], 0xffffffff
call fcn.11143c00
push esi
push str....dismissed_d_n
call fcn.111bd7b0
add esp, 8
mov eax, esi
jmp 0x11150419
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11150560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
je 0x111505ac
mov ecx, dword [0x1127aa68]
test ecx, ecx
je 0x111505ac
push 0
push 0
push 0x1121d894
push str.Client
call fcn.110bbc00
test eax, eax
je 0x111505ac
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
push 0x4a61
push 0
push 0xa
call fcn.111bb9f0
add esp, 0xc
test eax, eax
je 0x1115059a
mov eax, dword [0x112764ac]
test eax, eax
jle 0x111505dc
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
je 0x1115059a
cmp byte [0x1127ad15], 0
push edi
mov edi, str.winsthooks64.dll
jne 0x111505f2
mov edi, str.winsthooks.dll
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
mov esi, edi
call dword [sym.imp.MSVCR100.dll_wcsrchr]
mov edx, 2
add esp, 8
sub edx, edi
lea ecx, [eax + edx]
movzx eax, word [esi]
mov word [ecx + esi], ax
add esi, 2
test ax, ax
jne 0x11150625
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.111be4e0
add esp, 8
test eax, eax
je 0x11150655
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x1115073e
xor edx, edx
lea eax, [ebp - 0x20c]
push eax
push edx
push edx
push 0x2b
push edx
mov word [ebp - 0x20c], dx
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
test eax, eax
jne 0x11150691
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11150680
sub eax, edx
sar eax, 1
jne 0x111506b7
xor eax, eax
jmp 0x111506a0
movzx ecx, word [eax + str.C:Program_Files__x86_Common_Files]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x111506a0
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x111506c0
mov ecx, dword [str.NSL_]
mov edx, dword [0x1122cbe8]
mov dword [eax], ecx
mov ecx, dword [0x1122cbec]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, edi
mov edx, edi
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x111506f0
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x11150706
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x20c]
and ecx, 3
push 0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.111be4e0
add esp, 8
test eax, eax
je 0x11150767
lea eax, [ebp - 0x20c]
push eax
push str.CanBlank_with__s_n
call fcn.111bd7b0
add esp, 8
mov eax, 1
pop esi
mov dword [0x112764ac], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov dword [0x112764ac], 0
xor al, al
pop edi
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
Function at 0x11150f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharNextW]
push ebx
call edi
push ebx
mov esi, eax
call edi
cmp word [esi], 0x22
mov ebx, eax
je 0x11150fa2
nop
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
je 0x11150fde
cmp eax, 0x22
jne 0x11150f90
push esi
call edi
push eax
call edi
push 5
xor ecx, ecx
push ecx
push eax
push ebx
mov word [esi], cx
mov edx, dword [0x1127ab38]
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
mov esi, eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, 0x20
jbe 0x11150fea
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
pop edi
pop esi
mov eax, 0xd
pop ebx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x11151aa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ebx
test ebx, ebx
jne 0x11151ab5
lea edi, [ebp - 0x10]
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0x24]
add esp, 0xc
test eax, eax
jne 0x11151acf
lea eax, [ebp - 0x54]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
push edi
push eax
push ecx
mov ecx, dword [ebp + 8]
push 0
push edx
mov dword [eax], 0x44
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x11151b21
cmp dword [ebp + 0x1c], 0
je 0x11151b0c
mov edx, dword [edi]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test ebx, ebx
jne 0x11151b21
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov ecx, dword [edi]
push ecx
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x11152410
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebx - 0x1d]
push edi
mov edi, ecx
cmp eax, 0xc4
ja case.0x1115242e.30
movzx eax, byte [eax + 0x1115261c]
jmp dword [eax*4 + 0x11152600]
xor ecx, ecx
cmp dword [0x1127f210], ecx
pop edi
sete cl
pop ebx
mov dword [0x1127f210], ecx
mov esp, ebp
pop ebp
ret 0xc
mov dword [0x1127f20c], 1
jmp case.0x1115242e.30
mov dword [0x1127f20c], 0
jmp case.0x1115242e.30
mov dword [0x1127f208], 1
jmp case.0x1115242e.30
mov dword [0x1127f208], 0
xor ecx, ecx
cmp dword [0x1127f210], ecx
mov dword [0x1127f210], 0
setne cl
mov dword [ebp + 8], ecx
test bl, bl
jns 0x1115249e
or ecx, 2
mov dword [ebp + 8], ecx
and ebx, 0x7f
lea eax, [ebx - 0x5b]
push esi
cmp eax, 0x17
ja case.0x111524b1.94
movzx edx, byte [eax + 0x111526f0]
jmp dword [edx*4 + 0x111526e4]
mov esi, ebx
jmp 0x111524f5
cmp dword [ebp + 0x10], 0
je case.0x111524b1.94
xor eax, eax
cmp ebx, 0x71
sete al
or ebx, 0x80
and ecx, 0xfffffffd
mov dword [ebp + 8], ecx
lea esi, [eax*4 + 0x15]
jmp 0x111524f5
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
setne cl
lea ecx, [ecx + ecx + 1]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov esi, eax
cmp ebx, 0x46
jne 0x11152514
cmp esi, 0x91
jne 0x1115258b
cmp dword [0x1127f20c], 0
je 0x1115258b
lea esi, [ebx - 0x43]
jmp 0x1115258b
cmp ebx, 0x37
jne 0x1115252e
cmp esi, 0x6a
jne 0x1115258b
test byte [ebp + 8], 1
je 0x1115258b
lea esi, [ebx - 0xb]
xor ebx, ebx
mov dword [ebp + 8], ebx
jmp 0x1115258b
cmp ebx, 0x54
jne 0x11152544
cmp esi, 0x2c
jne 0x1115258b
lea ebx, [esi - 0x2b]
mov dword [ebp + 8], 0
jmp 0x1115258b
cmp ebx, 0x45
jne 0x1115258b
cmp dword [0x1127f20c], 0
jne 0x1115255b
cmp dword [0x1127f204], 0
je 0x11152570
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push 0x9d
mov ecx, edi
call eax
mov esi, 0x13
jmp 0x11152575
cmp esi, 0x13
jne 0x11152587
mov ecx, dword [ebp + 8]
shr ecx, 1
not ecx
and ecx, 1
mov dword [0x1127f204], ecx
jmp 0x1115258b
or dword [ebp + 8], 1
push 2
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x111525db
test byte [ebp + 8], 1
jne 0x111525db
push esi
push str._____f__.
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x111525db
sub eax, str._____f__.
mov esi, eax
cmp esi, 9
ja 0x111525d6
add esi, 0x60
jmp 0x111525db
mov esi, 0x6e
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
push 0
push ecx
push ebx
push esi
mov ecx, edi
call edx
push ebx
mov ecx, edi
call fcn.11150ca0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1115244e
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebx - 0x1d]
push edi
mov edi, ecx
cmp eax, 0xc4
ja case.0x1115242e.30
movzx eax, byte [eax + 0x1115261c]
jmp dword [eax*4 + 0x11152600]
xor ecx, ecx
cmp dword [0x1127f210], ecx
pop edi
sete cl
pop ebx
mov dword [0x1127f210], ecx
mov esp, ebp
pop ebp
ret 0xc
mov dword [0x1127f20c], 1
jmp case.0x1115242e.30
mov dword [0x1127f20c], 0
jmp case.0x1115242e.30
mov dword [0x1127f208], 1
jmp case.0x1115242e.30
mov dword [0x1127f208], 0
xor ecx, ecx
cmp dword [0x1127f210], ecx
mov dword [0x1127f210], 0
setne cl
mov dword [ebp + 8], ecx
test bl, bl
jns 0x1115249e
or ecx, 2
mov dword [ebp + 8], ecx
and ebx, 0x7f
lea eax, [ebx - 0x5b]
push esi
cmp eax, 0x17
ja case.0x111524b1.94
movzx edx, byte [eax + 0x111526f0]
jmp dword [edx*4 + 0x111526e4]
mov esi, ebx
jmp 0x111524f5
cmp dword [ebp + 0x10], 0
je case.0x111524b1.94
xor eax, eax
cmp ebx, 0x71
sete al
or ebx, 0x80
and ecx, 0xfffffffd
mov dword [ebp + 8], ecx
lea esi, [eax*4 + 0x15]
jmp 0x111524f5
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
setne cl
lea ecx, [ecx + ecx + 1]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov esi, eax
cmp ebx, 0x46
jne 0x11152514
cmp esi, 0x91
jne 0x1115258b
cmp dword [0x1127f20c], 0
je 0x1115258b
lea esi, [ebx - 0x43]
jmp 0x1115258b
cmp ebx, 0x37
jne 0x1115252e
cmp esi, 0x6a
jne 0x1115258b
test byte [ebp + 8], 1
je 0x1115258b
lea esi, [ebx - 0xb]
xor ebx, ebx
mov dword [ebp + 8], ebx
jmp 0x1115258b
cmp ebx, 0x54
jne 0x11152544
cmp esi, 0x2c
jne 0x1115258b
lea ebx, [esi - 0x2b]
mov dword [ebp + 8], 0
jmp 0x1115258b
cmp ebx, 0x45
jne 0x1115258b
cmp dword [0x1127f20c], 0
jne 0x1115255b
cmp dword [0x1127f204], 0
je 0x11152570
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push 0x9d
mov ecx, edi
call eax
mov esi, 0x13
jmp 0x11152575
cmp esi, 0x13
jne 0x11152587
mov ecx, dword [ebp + 8]
shr ecx, 1
not ecx
and ecx, 1
mov dword [0x1127f204], ecx
jmp 0x1115258b
or dword [ebp + 8], 1
push 2
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x111525db
test byte [ebp + 8], 1
jne 0x111525db
push esi
push str._____f__.
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x111525db
sub eax, str._____f__.
mov esi, eax
cmp esi, 9
ja 0x111525d6
add esi, 0x60
jmp 0x111525db
mov esi, 0x6e
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
push 0
push ecx
push ebx
push esi
mov ecx, edi
call edx
push ebx
mov ecx, edi
call fcn.11150ca0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc