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

Disassembly:
sub esp, 0x224
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
mov esi, dword [esp + 0x234]
push edi
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
push esi
mov dword [esp + 0x30], 0xff
call ebp
cmp eax, 0x103
je 0x4423cd
mov edi, dword [esp + 0x23c]
mov eax, edi
or eax, 0x20019
mov dword [esp + 0x18], eax
jmp 0x44231d
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
lea edx, [esp + 0x3c]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4423e4
mov eax, dword [esp + 0x14]
push edi
push eax
call fcn.004422b9
mov ecx, dword [esp + 0x1c]
add esp, 8
push ecx
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4423e4
lea edx, [esp + 0x1c]
xor ebx, ebx
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.00434153
test al, al
je 0x44238a
push ebx
push edi
lea eax, [esp + 0x38]
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
call fcn.0044229a
call eax
jmp 0x442396
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x4423da
lea eax, [esp + 0x1c]
push eax
call fcn.004344a0
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push esi
mov dword [esp + 0x30], 0xff
call ebp
cmp eax, 0x103
jne 0x442319
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret
lea ecx, [esp + 0x1c]
push ecx
call fcn.004344a0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x224
ret
Function at 0x442a81
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp dword [esp + 0x14], 0
jne 0x4428d7
mov dword [esp + 0x14], 0x400
cmp dword [esp + 0x10], 0
je 0x442930
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00434b0b
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x44295e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x442927
push eax
push edi
lea ecx, [esi + 0x44]
push ecx
call fcn.00434a9d
mov eax, dword [esp + 0x10]
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x4428de
jmp 0x442930
push edi
call fcn.004112ef
add esp, 4
mov edx, dword [esi + 8]
or edx, dword [esi + 0xc]
jne 0x44294c
push edx
push 0xdeadbeef
push 0x21
push esi
call fcn.0044286a
pop edi
pop esi
pop ebx
ret 8
push 1
push 0
push 0
push esi
call fcn.0044286a
pop edi
pop esi
pop ebx
ret 8
push edi
call fcn.004112ef
add esp, 4
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044286a
pop edi
pop esi
pop ebx
ret 8
sub esp, 0x40c
push ebx
push esi
mov esi, dword [esp + 0x418]
mov eax, dword [esi + 0x34]
push edi
push 0x4876fc
push eax
mov dword [esp + 0x1c], fcn.00414e94
call fcn.00414e06
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x4429d7
push eax
push 0xdeadbeef
push 0x1f
push esi
call fcn.0044286a
mov bl, al
lea eax, [esp + 0x10]
push eax
call fcn.004349b3
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x420]
lea ecx, [esp + 0xc]
push ecx
push 0x400
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x442a58
mov eax, dword [esp + 0xc]
test eax, eax
je 0x442a28
push edi
push 1
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004146ce
mov eax, dword [esp + 0x1c]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x4429df
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x442a6e
push eax
push 0xdeadbeef
push 0x21
push esi
call fcn.0044286a
lea ecx, [esp + 0x10]
push ecx
mov bl, al
call fcn.004349b3
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044286a
lea edx, [esp + 0x10]
push edx
jmp 0x442a43
push 1
push 0
push 0
push esi
call fcn.0044286a
lea edx, [esp + 0x10]
push edx
jmp 0x442a43
mov eax, dword [esp + 4]
cmp byte [eax + 0x30], 0
mov ecx, dword [esp + 8]
je 0x442a9c
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x44289d
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x44297c
Function at 0x442afe
Capabilities:
Create http request

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp ecx, 1
jne 0x442b18
movzx eax, word [esi + 0x8c]
jmp 0x442b1c
movzx eax, word [esi + 0x58]
cmp ecx, 1
movsx edx, ax
lea ecx, [esi + 0xb0]
je 0x442b2d
lea ecx, [esi + 0x7c]
mov eax, dword [esi + 0xc0]
push 0
cmp edx, 1
jne 0x442b41
push 0
push 0
push edx
jmp 0x442b8b
cmp edx, 2
jne 0x442b85
mov ecx, dword [ecx]
push str._local_
push ecx
push 3
jmp 0x442b8b
cmp byte [esi + 0xdc], 0
je 0x442b7c
push 8
lea eax, [esp + 8]
push eax
push 0x32
push 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov al, 1
pop esi
add esp, 8
ret 8
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
test eax, eax
jne 0x442b52
xor al, al
pop esi
add esp, 8
ret 8

Function at 0x442e1f
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
mov ebp, ecx
mov ecx, dword [esp + 0x268]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x442eae
lea ebx, [ebx]
lea edx, [esp + 0x3c]
push 0x48724c
push edx
call fcn.004133e4
add esp, 8
test eax, eax
je 0x442e9e
lea eax, [esp + 0x3c]
push 0x48a090
push eax
call fcn.004133e4
add esp, 8
test eax, eax
je 0x442e9e
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x26c]
push ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00436d2d
add esp, 0xc
test al, al
je 0x442ed0
mov bl, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x442e4f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
cmp byte [esp + 0x274], 0
jne 0x442ee6
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
lea edx, [esp + 0x10]
push edx
push 0x48a088
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x442f7f
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x442f6f
lea eax, [esp + 0x3c]
push 0x48724c
push eax
call fcn.004133e4
add esp, 8
test eax, eax
je 0x442f6f
lea ecx, [esp + 0x3c]
push 0x48a090
push ecx
call fcn.004133e4
add esp, 8
test eax, eax
je 0x442f6f
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x26c]
push eax
mov eax, dword [esp + 0x26c]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00442e1f
test al, al
je 0x442f91
push 0x48a090
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x442f03
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x254
ret 0x10
Function at 0x443887
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push esi
mov esi, dword [esp + 0x18]
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test al, 0x10
je 0x44396c
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4438d9
push 1
push esi
push eax
call fcn.0043569d
mov eax, dword [esi]
add esp, 0xc
pop esi
add esp, 0xc
ret 0xc
mov dword [esi], 0
mov eax, dword [esi]
pop esi
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 8]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x443947
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0xc
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x44391c
cmp eax, 0xffffffff
jne 0x4438c4
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 1
push accept
push 0x487658
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4438d9
test eax, eax
je 0x4438d9
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0043569d
push esi
call fcn.004356cd
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esi], eax
pop esi
add esp, 0xc
ret 0xc
test al, 1
je 0x443909
mov eax, dword [esi]
test eax, eax
je 0x4438e8
pop esi
add esp, 0xc
ret 0xc

Function at 0x443981
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test al, 0x10
je 0x443a68
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4439d6
push 1
push esi
push eax
call fcn.0043569d
mov eax, dword [esi]
add esp, 0xc
pop esi
add esp, 0xc
ret 0x14
mov dword [esi], 0
mov eax, dword [esi]
pop esi
add esp, 0xc
ret 0x14
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 8]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x443a43
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x443a18
cmp eax, 0xffffffff
jne 0x4439c1
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 2
push 0x40000000
push 0x487658
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4439d6
test eax, eax
je 0x4439d6
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0043569d
push esi
call fcn.004356cd
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esi], eax
pop esi
add esp, 0xc
ret 0x14
test dword [esp + 0x18], eax
je 0x443a06
mov eax, dword [esi]
test eax, eax
je 0x4439e5
pop esi
add esp, 0xc
ret 0x14
Function at 0x443aa6
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
push ecx
mov dword [esp + 0x18], edx
call fcn.004356e7
test al, al
je 0x443af8
test ebx, ebx
je 0x443af8
test edi, edi
je 0x443af8
push esi
push edx
lea eax, [esp + 0x1c]
push eax
lea esi, [ecx + 0x18]
mov ecx, dword [esi]
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x443aee
push esi
call fcn.004356cd
add esp, 4
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
pop edi
mov eax, edx
pop ebx
ret 0xc

Function at 0x443eef
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
push esi
mov esi, dword [esp + 8]
jne 0x443f0c
push esi
call fcn.00436486
add esp, 4
test al, al
jne 0x443f25
push 1
jmp 0x443f0e
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
ret

Function at 0x44419b
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x24]
xor esi, esi
mov byte [0x497296], 0
test edi, edi
je 0x4441e2
mov byte [0x497297], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
push eax
push esi
lea ecx, [esp + 0x10]
push ecx
push 0x444078
push esi
push esi
mov dword [esp + 0x24], edi
call fcn.0041415e
add esp, 0x18
mov esi, eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x444219
push 0xffffffffffffffff
push esi
mov byte [0x497297], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x497296], 1
jne 0x44422b
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x444343
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00444326
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
ret 0xc
Function at 0x44496c
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push esi
mov esi, dword [esp + 0x108]
push edi
mov edi, dword [esp + 0x110]
cmp byte [edi], 0
jne 0x4449a3
cmp byte [edi + 1], 0
jne 0x4449a3
cmp byte [edi + 2], 0
jne 0x4449a3
cmp byte [edi + 3], 0
jne 0x4449a3
cmp byte [edi + 4], 0
je 0x444b5a
mov eax, dword [esi + 0x20]
push ebx
test eax, eax
je 0x444ae5
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x444ae5
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
cmp byte [edi], 0
mov al, 0x80
je 0x4449db
xor byte [esp + 0x1c], al
xor byte [esp + 0xac], al
cmp byte [edi + 1], 0
je 0x4449ec
xor byte [esp + 0x1c], al
xor byte [esp + 0xad], al
cmp byte [edi + 2], 0
je 0x4449f6
xor byte [esp + 0x1d], al
cmp byte [edi + 3], 0
je 0x444a00
xor byte [esp + 0x1e], al
cmp byte [edi + 4], 0
je 0x444a0a
xor byte [esp + 0x67], al
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [edi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x444a26
cmp byte [edi + 1], 0
je 0x444a41
movzx edx, byte [esi + 0x26]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x10
push 0x101
push eax
call ebx
cmp byte [edi + 2], 0
je 0x444a62
movzx ecx, byte [esi + 0x24]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0x11
push 0x101
push edx
call ebx
mov al, byte [edi + 3]
test al, al
je 0x444aae
cmp byte [edi + 2], 0
jne 0x444a8f
cmp byte [esi + 0x1c], 0
jne 0x444a8f
movzx eax, byte [esi + 0x25]
mov ecx, dword [esi + 0x20]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
push ecx
jmp 0x444aac
test al, al
je 0x444aae
movzx edx, byte [esi + 0x25]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x12
push 0x101
push eax
call ebx
cmp byte [edi + 4], 0
je 0x444b53
movzx ecx, byte [esi + 0x29]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0x5b
push 0x101
push edx
call ebx
push esi
call fcn.00437953
pop ebx
pop edi
pop esi
add esp, 0x100
ret 8
cmp byte [edi], 0
je 0x444afc
movzx eax, byte [esi + 0x27]
push 2
push eax
push 0xa0
push esi
call fcn.004378b5
cmp byte [edi + 1], 0
je 0x444b14
movzx ecx, byte [esi + 0x28]
push 2
push ecx
push 0xa1
push esi
call fcn.004378b5
cmp byte [edi + 2], 0
je 0x444b29
movzx edx, byte [esi + 0x24]
push 2
push edx
push 0x11
push esi
call fcn.004378b5
cmp byte [edi + 3], 0
je 0x444b3e
movzx eax, byte [esi + 0x25]
push 2
push eax
push 0x12
push esi
call fcn.004378b5
cmp byte [edi + 4], 0
je 0x444b53
movzx ecx, byte [esi + 0x29]
push 2
push ecx
push 0x5b
push esi
call fcn.004378b5
push esi
call fcn.00437953
pop ebx
pop edi
pop esi
add esp, 0x100
ret 8
Function at 0x444b65
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push esi
mov esi, dword [esp + 0x108]
push edi
mov edi, dword [esp + 0x110]
cmp byte [edi], 0
jne 0x444b9c
cmp byte [edi + 1], 0
jne 0x444b9c
cmp byte [edi + 2], 0
jne 0x444b9c
cmp byte [edi + 3], 0
jne 0x444b9c
cmp byte [edi + 4], 0
je 0x444d47
mov eax, dword [esi + 0x20]
push ebx
test eax, eax
je 0x444cd2
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x444cd2
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
cmp byte [edi], 0
mov al, 0x80
je 0x444bd4
or byte [esp + 0x1c], al
or byte [esp + 0xac], al
cmp byte [edi + 1], 0
je 0x444be5
or byte [esp + 0x1c], al
or byte [esp + 0xad], al
cmp byte [edi + 2], 0
je 0x444bef
or byte [esp + 0x1d], al
cmp byte [edi + 3], 0
je 0x444bf9
or byte [esp + 0x1e], al
cmp byte [edi + 4], 0
je 0x444c03
or byte [esp + 0x67], al
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [edi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x444c1f
cmp byte [edi + 1], 0
je 0x444c37
movzx edx, byte [esi + 0x26]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 1
push edx
push 0x10
push 0x100
push eax
call ebx
cmp byte [edi + 2], 0
je 0x444c55
movzx ecx, byte [esi + 0x24]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x11
push 0x100
push edx
call ebx
mov al, byte [edi + 3]
test al, al
je 0x444c9e
cmp byte [edi + 2], 0
jne 0x444c82
cmp byte [esi + 0x1c], 0
jne 0x444c82
movzx eax, byte [esi + 0x25]
mov ecx, dword [esi + 0x20]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
push ecx
jmp 0x444c9c
test al, al
je 0x444c9e
movzx edx, byte [esi + 0x25]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 1
push edx
push 0x12
push 0x100
push eax
call ebx
cmp byte [edi + 4], 0
je 0x444d40
movzx ecx, byte [esi + 0x29]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x5b
push 0x100
push edx
call ebx
push esi
call fcn.0043792a
pop ebx
pop edi
pop esi
add esp, 0x100
ret 8
cmp byte [edi], 0
je 0x444ce9
movzx eax, byte [esi + 0x27]
push 0
push eax
push 0xa0
push esi
call fcn.004378b5
cmp byte [edi + 1], 0
je 0x444d01
movzx ecx, byte [esi + 0x28]
push 0
push ecx
push 0xa1
push esi
call fcn.004378b5
cmp byte [edi + 2], 0
je 0x444d16
movzx edx, byte [esi + 0x24]
push 0
push edx
push 0x11
push esi
call fcn.004378b5
cmp byte [edi + 3], 0
je 0x444d2b
movzx eax, byte [esi + 0x25]
push 0
push eax
push 0x12
push esi
call fcn.004378b5
cmp byte [edi + 4], 0
je 0x444d40
movzx ecx, byte [esi + 0x29]
push 0
push ecx
push 0x5b
push esi
call fcn.004378b5
push esi
call fcn.0043792a
pop ebx
pop edi
pop esi
add esp, 0x100
ret 8
Function at 0x444d52
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push esi
mov esi, dword [esp + 0x10c]
push edi
mov edi, dword [esp + 0x10c]
cmp dword [edi + 0x20], 0
mov byte [esi], 0
mov byte [esi + 1], 0
mov byte [esi + 2], 0
mov byte [esi + 3], 0
mov byte [esi + 4], 0
mov byte [esi + 5], 0
je 0x444e02
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, 0x80
cmp byte [esp + 0xa8], al
je 0x444da1
cmp byte [esp + 0x18], al
jne 0x444daa
cmp byte [edi + 0x1a], 0
jne 0x444daa
mov byte [esi], 1
cmp byte [esp + 0xa9], al
jne 0x444dbd
cmp byte [edi + 0x1b], 0
jne 0x444dbd
mov byte [esi + 1], 1
cmp byte [esp + 0x19], al
jne 0x444dcd
cmp byte [edi + 0x1c], 0
jne 0x444dcd
mov byte [esi + 2], 1
cmp byte [esp + 0x1a], al
jne 0x444ddd
cmp byte [edi + 0x1d], 0
jne 0x444ddd
mov byte [esi + 3], 1
cmp byte [esp + 0x63], al
mov eax, esi
jne 0x444eec
cmp byte [edi + 0x1e], 0
jne 0x444eec
pop edi
mov byte [esi + 4], 1
pop esi
add esp, 0x100
ret 8
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call ebp
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x444e32
push 0xa0
call ebx
mov edx, 0x8000
test dx, ax
je 0x444e3b
cmp byte [edi + 0x1a], 0
jne 0x444e3b
mov byte [esi], 1
push 0xa1
call ebp
mov ecx, 0x8000
test cx, ax
jne 0x444e5d
push 0xa1
call ebx
mov edx, 0x8000
test dx, ax
je 0x444e67
cmp byte [edi + 0x1b], 0
jne 0x444e67
mov byte [esi + 1], 1
push 0x11
call ebp
mov ecx, 0x8000
test cx, ax
jne 0x444e83
push 0x11
call ebx
mov edx, 0x8000
test dx, ax
je 0x444e8d
cmp byte [edi + 0x1c], 0
jne 0x444e8d
mov byte [esi + 2], 1
push 0x12
call ebp
mov ecx, 0x8000
test cx, ax
jne 0x444ea9
push 0x12
call ebx
mov edx, 0x8000
test dx, ax
je 0x444eb3
cmp byte [edi + 0x1d], 0
jne 0x444eb3
mov byte [esi + 3], 1
push 0x5b
call ebp
mov ecx, 0x8000
test cx, ax
jne 0x444ecf
push 0x5b
call ebx
mov edx, 0x8000
test dx, ax
je 0x444ee8
cmp byte [edi + 0x1e], 0
mov eax, esi
jne 0x444eea
pop ebp
pop ebx
pop edi
mov byte [esi + 4], 1
pop esi
add esp, 0x100
ret 8
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x100
ret 8

Function at 0x445051
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041171a
mov ebx, eax
mov eax, dword [esi]
add eax, dword [esp + 0x18]
lea ebp, [edi + edi]
push ebp
push eax
push ebx
call fcn.00410f70
add dword [esi], ebp
xor ecx, ecx
add esp, 0x10
xor eax, eax
mov word [ebx + ebp], cx
test edi, edi
jle 0x4450ad
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x4450a4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8
Function at 0x445719
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x445735
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 1
jne 0x44578d
push 0
push 0
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x44574d
mov edi, 0x7fff
push ebp
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041171a
add esp, 4
mov esi, eax
push esi
push ebp
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebp
test eax, eax
jg 0x445798
push esi
call fcn.004112ef
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xc], 0
jne 0x4457b3
push esi
call fcn.004112d5
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [edi + 0x24]
push eax
push esi
call fcn.00413772
add esp, 8
push esi
test eax, eax
je 0x445785
mov byte [edi + 0xe8], 1
call fcn.004112ef
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 8

Function at 0x445cf9
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.0044593e
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x18], 0
push eax
jge 0x445d5c
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov edx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
push 0x101
push edx
jmp 0x445d8b
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov ecx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push ecx
call ebp
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.0044593e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8