joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4190a0
Capabilities:
Check if file exists
Create directory
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0041ec10
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 2
imul ecx, eax, 3
mov dword [ebp - 0x418], ecx
cmp dword [ebp - 0x418], 0x208
jae 0x4190f6
jmp 0x4190fb
call fcn.0041d90c
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [ebp + eax - 0x20c], dx
push str.IimeFile
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41914c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x208
push 0
lea edx, [ebp - 0x414]
push edx
call fcn.0041ec10
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHELL32.dll_PathYetAnotherMakeUniqueName]
mov dword [ebp - 0x41c], 0
push 3
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4191d2
push 2
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 4
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4191d2
mov dword [ebp - 0x41c], 1
push 4
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d2df
mov esp, ebp
pop ebp
ret

Function at 0x419200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41921f
mov ecx, dword [ebp + 8]
push ecx
call fcn.004190a0
add esp, 4
jmp 0x419224
mov eax, 1
pop ebp
ret
Function at 0x419230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x419267
jmp 0x4192c1
push str.SHGetKnownFolderPath
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4192af
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
push 0
push 0
lea eax, [ebp + 0xc]
push eax
call dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4192c1
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d2df
mov esp, ebp
pop ebp
ret

Function at 0x419a60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00418060
movzx eax, al
test eax, eax
je 0x419b25
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x419b23
push 0x3c
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.0041ec10
add esp, 0xc
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x440
mov dword [ebp - 0x38], 0x432cdc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x419ae5
jmp 0x419b25
cmp dword [ebp - 0xc], 0
je 0x419b23
mov dword [ebp - 8], 0x103
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 8], 0x103
je 0x419b19
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x419b00
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419b43
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d2df
mov esp, ebp
pop ebp
ret
Function at 0x41a120
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xffffffff
jne 0x41a142
xor eax, eax
jmp 0x41a1e9
mov dword [ebp - 8], 2
push 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x41a168
xor eax, eax
jmp 0x41a1e9
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41a191
xor eax, eax
jmp 0x41a1e9
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp + 0xc]
push eax
push 0x800
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41a1cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x41a1cb
jmp 0x41a1d1
cmp dword [ebp - 0x14], 0
je 0x41a198
cmp dword [ebp - 0x14], 0
je 0x41a1df
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x41a1e6
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d2df
mov esp, ebp
pop ebp
ret 8

Function at 0x41ddab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41ddea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ddea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ddea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41ddea
cmp dword [ecx + 0x74], 0xe
jbe 0x41ddea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x422ae1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42db40
push 0x42db38
push str.FlsAlloc
push 0x1f
call fcn.004229fd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422b15
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c1f0]
call esi
jmp 0x422b1b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x422b5f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42db50
push 0x42db48
push str.FlsGetValue
push 0x21
call fcn.004229fd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422b96
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c1f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x422b9e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42db58
push 0x42db50
push str.FlsSetValue
push 0x22
call fcn.004229fd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422bd8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42c1f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4243d5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x424472
push ebx
push esi
call fcn.0042439e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00424332
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42441f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424471
push edi
push eax
call fcn.00422e3f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42443f
call fcn.00421ea2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424470
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00424332
add esp, 0x20
test eax, eax
jne 0x42445e
push edi
call fcn.00421ea2
jmp 0x424466
push ebx
call fcn.00421ea2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x429920
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42994d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42994d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x407650
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40b55c
mov eax, esi
mov edx, 8
test al, 1
je 0x40766c
shr eax, 1
xor eax, 0xedb88320
jmp 0x40766e
shr eax, 1
dec edx
jne 0x40765f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407658
pop esi
ret

Function at 0x407684
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40b558], 0
jne 0x4076a7
call fcn.00407650
push 1
push 0x40b558
call fcn.004043fc
mov eax, edi
test esi, esi
je 0x4076d2
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40b55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4076ad
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4046a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4046aa
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
ret 0xc

Function at 0x4046d0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4046da
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
ret 0xc

Function at 0x405792
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41280c]
jne 0x40579c
repz ret
jmp fcn.00405cc9
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402db0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jge 0x402dc8
mov esi, 8
push 1
call edi
test ax, ax
jge 0x402dd4
or esi, 1
push 2
call edi
test ax, ax
jge 0x402de0
or esi, 2
push 0x10
call edi
test ax, ax
jge 0x402dec
or esi, 4
push 0x12
call edi
test ax, ax
jge 0x402df8
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x404900
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x41c], edi
jle 0x404954
jmp 0x404920
mov eax, dword [esi + 0x418]
mov byte [esp + 0x38], 0
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push eax
push ebp
push ebx
call edx
cmp byte [esp + 0x38], 0
jne 0x404b26
inc edi
cmp edi, dword [esi + 0x41c]
jl 0x404920
sub ebx, 0x100
je 0x404a51
sub ebx, 4
je 0x4049d4
sub ebx, 2
jne 0x404a45
xor eax, eax
xor ecx, ecx
push ebp
mov word [esp + 0x3c], ax
mov word [esp + 0x3e], cx
call fcn.00479b31
mov ecx, dword [esi + 0x110]
add esp, 4
mov word [esp + 0x38], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x128]
push reloc.WS2_32.dll_select
lea eax, [esp + 0x3c]
push eax
push 0x40a5c0
call edx
mov esi, eax
test esi, esi
je 0x404a45
mov eax, dword [esi]
mov edx, dword [eax + 0x11c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
cmp dword [esi + 0x114], 0
je 0x404a45
mov ecx, dword [esi + 0x12c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x128]
mov dword [esp + 0x10], 6
mov word [esp + 0x24], bp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00402db0
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x114]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x134]
lea eax, [esp + 0x10]
push eax
call edx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
cmp ebp, 9
jne 0x404a45
cmp dword [esi + 0x114], 0
je 0x404b0d
mov ecx, dword [esi + 0x114]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x404ab9
mov ecx, dword [esi + 0x114]
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x404ab9
mov ecx, dword [esi + 0x114]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push str.RichEditUI
call edx
push eax
call fcn.004777bc
add esp, 8
test eax, eax
je 0x404ab9
mov eax, dword [esi + 0x114]
cmp byte [eax + 0x6a1], 0
jne 0x404a45
cmp dword [esi + 0x114], 0
je 0x404b0d
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x404b0d
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x404b0d
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push str.WkeWebkitUI
call eax
push eax
call fcn.004777bc
add esp, 8
test eax, eax
jne 0x404a45
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge cl
movzx edx, cl
push edx
mov eax, esi
call fcn.00408480
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0xc
Function at 0x407ed0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0xb4]
cmp eax, ecx
je 0x407ef9
cmp edi, dword [esi + 0x114]
je 0x407ef9
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x114]
cmp edi, eax
je 0x408016
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x407f79
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x17
mov dword [esp + 0xc], edi
call ebx
mov ecx, dword [esi + 0x114]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x134]
lea edx, [esp + 8]
push edx
call eax
mov ecx, dword [esi + 0x114]
push 0
push 0
push 0
push str.killfocus
push ecx
mov ecx, esi
call fcn.004089a0
mov dword [esi + 0x114], 0
test edi, edi
je 0x408016
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
cmp eax, esi
jne 0x408016
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x408016
mov edx, dword [edi]
mov eax, dword [edx + 0x100]
mov ecx, edi
call eax
test al, al
je 0x408016
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esi + 0x114], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], edi
call ebx
mov ecx, dword [esi + 0x114]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x134]
lea eax, [esp + 8]
push eax
call edx
mov eax, dword [esi + 0x114]
push 0
push 0
push 0
push str.setfocus
push eax
mov ecx, esi
call fcn.004089a0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4136d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
push edi
call edx
mov edi, dword [ebp + 8]
test al, al
jne 0x413715
mov eax, dword [edi]
cmp eax, 8
jle 0x413715
cmp eax, 0x16
jge 0x413715
mov ecx, dword [esi + 0x560]
push edi
test ecx, ecx
je 0x413832
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x4137a4
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp byte [eax + 0x458], 0
je 0x4137a4
cmp dword [edi], 0xf
jne 0x4137a4
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x413839
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x413789
mov edi, dword [esi + 0x550]
mov edx, dword [edi + 0x10]
add esi, 0x550
mov ecx, esi
call edx
mov edx, dword [edi + 0x18]
test al, al
sete al
movzx ecx, al
push ecx
mov ecx, esi
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x550]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x550]
push 1
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0xd
je 0x413738
cmp eax, 0xe
jne 0x4137dc
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x413839
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.itemclick
push esi
call fcn.004089a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 9
je 0x413839
cmp eax, 0xb
jne 0x41380b
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x413839
or dword [esi + 0x55c], 8
push esi
call fcn.00456650
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xa
jne 0x413831
mov eax, dword [esi + 0x55c]
test al, 8
je 0x413839
and eax, 0xfffffff7
push esi
mov dword [esi + 0x55c], eax
call fcn.00456650
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
mov ecx, esi
call fcn.00413170
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x414800
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
push edi
call edx
mov edi, dword [ebp + 8]
test al, al
jne 0x414845
mov eax, dword [edi]
cmp eax, 8
jle 0x414845
cmp eax, 0x16
jge 0x414845
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
jne 0x414a24
mov ecx, esi
call fcn.0043ea50
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0x13
jne 0x414877
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x414a3a
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push esi
call fcn.00456650
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x414893
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x414893
cmp word [edi + 0x14], 0xd
je 0x414860
cmp dword [edi], 0xd
jne 0x414904
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x414a3a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4148e9
mov edi, dword [esi + 0x6c0]
mov edx, dword [edi + 0x10]
add esi, 0x6c0
mov ecx, esi
call edx
mov edx, dword [edi + 0x18]
test al, al
sete al
movzx ecx, al
push ecx
mov ecx, esi
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x6c0]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x6c0]
push 1
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x414927
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp byte [eax + 0x458], 0
je 0x414927
cmp dword [edi], 0xf
je 0x414898
mov eax, dword [edi]
cmp eax, 0xe
jne 0x41495e
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x414a3a
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.itemclick
push esi
call fcn.004089a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 9
je 0x414a3a
cmp eax, 0xb
jne 0x414995
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
call edx
test al, al
je 0x414a3a
or dword [esi + 0x6cc], 8
push esi
call fcn.00456650
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xa
jne 0x4149bf
mov eax, dword [esi + 0x6cc]
test al, 8
je 0x414a3a
and eax, 0xfffffff7
push esi
mov dword [esi + 0x6cc], eax
call fcn.00456650
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x1b
jne 0x4149e4
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x44]
push str.timer
push esi
call fcn.004089a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x14
jne 0x414a19
mov edx, dword [esi]
mov eax, dword [edx + 0xdc]
mov ecx, esi
call eax
test al, al
je 0x414a19
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
push 0
push ecx
mov ecx, dword [esi + 0x44]
push edx
push str.menu
push esi
call fcn.004089a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x414a33
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.00420c70
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4