joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a70c0
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a9518
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.100ac330
mov byte [ebp - 4], 1
push 0x101c723c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48c]
push ecx
call fcn.10090bb0
add esp, 0xc
mov dword [ebp - 0x498], eax
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x49c], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x49c]
call fcn.10004390
push eax
lea ecx, [ebp - 0x47c]
call fcn.100ac660
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48c]
call fcn.10005e00
cmp dword [ebp - 0x480], 0
je 0x100a72af
lea ecx, [ebp - 0x47c]
call fcn.100ac5a0
test eax, eax
jne 0x100a7299
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x47c]
call fcn.100ac390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x484]
call fcn.10005d60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x484]
call fcn.100ab8e0
lea ecx, [ebp - 0x47c]
call fcn.100ac610
test eax, eax
je 0x100a7228
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x100a7228
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x100a71f4
push 0x5c
lea ecx, [ebp - 0x484]
call fcn.1009f6e0
push eax
push 0x101c7244
lea ecx, [ebp - 0x484]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x100a7226
movzx ecx, byte [ebp + 0x14]
push ecx
movzx edx, byte [ebp + 0x10]
push edx
movzx eax, byte [ebp + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x490], esp
lea edx, [ebp - 0x488]
push edx
call fcn.10005d60
mov dword [ebp - 0x4a0], eax
call fcn.100a70c0
add esp, 0x10
jmp 0x100a723a
lea ecx, [ebp - 0x488]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100a727b
push 4
push 0
lea ecx, [ebp - 0x494]
push ecx
lea ecx, [ebp - 0x47c]
call fcn.100ac390
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x494]
call fcn.10005e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x484]
call fcn.10005e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x488]
call fcn.10005e00
lea ecx, [ebp - 0x47c]
call fcn.100ac820
mov dword [ebp - 0x480], eax
jmp 0x100a715b
lea ecx, [ebp - 0x47c]
call fcn.100ac880
lea ecx, [ebp + 8]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 4
push 0
lea ecx, [ebp + 8]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.100ac370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret
Function at 0x100a7390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a955e
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.100ac330
mov byte [ebp - 4], 1
push 0x101c7250
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.10090bb0
add esp, 0xc
mov dword [ebp - 0x4a8], eax
mov edx, dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4ac]
call fcn.10004390
push eax
lea ecx, [ebp - 0x47c]
call fcn.100ac660
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a4]
call fcn.10005e00
cmp dword [ebp - 0x480], 0
je 0x100a7512
lea ecx, [ebp - 0x47c]
call fcn.100ac5a0
test eax, eax
jne 0x100a74fc
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x47c]
call fcn.100ac560
push 0
call fcn.100a7560
add esp, 4
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x498], edx
lea ecx, [ebp - 0x494]
push ecx
call fcn.100a7320
add esp, 4
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x488], edx
mov edx, dword [ebp - 0x48c]
add edx, 0x15180
mov eax, dword [ebp - 0x488]
adc eax, 0
mov dword [ebp - 0x4b4], edx
mov dword [ebp - 0x4b0], eax
mov ecx, dword [ebp - 0x498]
cmp ecx, dword [ebp - 0x4b0]
jl 0x100a74fc
jg 0x100a74cd
mov edx, dword [ebp - 0x49c]
cmp edx, dword [ebp - 0x4b4]
jbe 0x100a74fc
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x47c]
call fcn.100ac390
lea ecx, [ebp - 0x4a0]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4a0]
call fcn.10005e00
lea ecx, [ebp - 0x47c]
call fcn.100ac820
mov dword [ebp - 0x480], eax
jmp 0x100a742b
lea ecx, [ebp - 0x47c]
call fcn.100ac880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.100ac370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret
Function at 0x100a9550
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100a9571
xor eax, eax
jmp 0x100a958d
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x100a95a0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x100a95d3
or eax, 0xffffffff
jmp 0x100a971f
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100a9609
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x100a971f
mov dword [ebp - 0x240], 0xffffffff
mov eax, dword [str.update.exe]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.10174b93
add esp, 8
test eax, eax
je 0x100a9646
mov edx, dword [str.uninstall.exe]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.10174b93
add esp, 8
test eax, eax
jne 0x100a964b
jmp 0x100a96f2
cmp dword [ebp - 0x230], 0
jne 0x100a9659
jmp 0x100a96f2
mov ecx, dword [ebp - 0x230]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x100a9678
jmp 0x100a96f2
mov dword [ebp - 0x668], 0x428
lea edx, [ebp - 0x668]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x100a96a8
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a96f2
lea edx, [ebp - 0x648]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10174b93
add esp, 8
test eax, eax
jne 0x100a96ce
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.100a9550
add esp, 4
lea edx, [ebp - 0x668]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x100a96a8
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100a9609
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret
Function at 0x100a9730
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [str.update.exe]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10174b93
add esp, 8
test eax, eax
je 0x100a9770
mov edx, dword [str.uninstall.exe]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10174b93
add esp, 8
test eax, eax
jne 0x100a9777
xor eax, eax
jmp 0x100a98d9
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0x22c
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 1
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x100a98cf
cmp dword [ebp + 8], 0
je 0x100a98bc
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100a98bc
push 0x101c7b08
mov eax, dword [ebp + 8]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x100a98bc
lea ecx, [ebp - 0x224]
push ecx
call fcn.100ac8f0
add esp, 4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x100a9840
mov ecx, dword [ebp - 0x240]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a9840
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.101757c6
add esp, 8
cmp dword [ebp - 4], 0
je 0x100a98b4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x100a98b4
mov eax, dword [ebp - 0x240]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a98b4
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x100a9840
jmp 0x100a98c3
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a98d6
mov dword [ebp - 0x10], 0xfffffffe
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret
Function at 0x100a9a20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 0xffffffff
mov dword [ebp - 0x238], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.1016f6c0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x100a9a7a
or eax, 0xffffffff
jmp 0x100a9acf
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100a9a96
or eax, 0xffffffff
jmp 0x100a9acf
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.10174b93
add esp, 8
test eax, eax
jne 0x100a9ab5
mov eax, dword [ebp - 0x230]
jmp 0x100a9acf
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100a9a96
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret
Function at 0x100aa3f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a9b37
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.100e14d0
add esp, 8
mov dword [ebp - 4], 0
movzx ecx, byte [0x1022ee0c]
test ecx, ecx
jne 0x100aa57a
push 0x101c7bb4
lea ecx, [ebp - 0x10]
call fcn.10025620
lea edx, [ebp - 0x14]
push edx
call fcn.100e4cc0
add esp, 4
mov byte [ebp - 4], 1
push 0x101c7bc8
lea eax, [ebp - 0x14]
push eax
call fcn.1000c4e0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100aa56c
push 0
push 0x101c7bcc
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.10090bb0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.10004390
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10005e00
push str.cache_basis.xml
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.10090bb0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x10]
call fcn.10003ea0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.10005e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10005e00
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
call fcn.10005d60
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.10005d60
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
call fcn.100aa2f0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10005e00
jmp 0x100aa5ba
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x10]
call fcn.10003ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10005e00
push 0x101c7bfc
lea ecx, [ebp - 0x10]
call fcn.10025620
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10005d60
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10005e00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100b2f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x100b2f89
xor ecx, ecx
jne 0x100b2f89
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100b2fd0
mov eax, dword [ebp - 0xc]
jmp 0x100b302d
cmp dword [ebp - 4], 1
je 0x100b2fe3
cmp dword [ebp - 4], 2
je 0x100b2fe3
mov eax, 0xd
jmp 0x100b302d
cmp dword [ebp + 0xc], 0
je 0x100b3021
cmp dword [ebp - 8], 0
je 0x100b3019
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x100b3010
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x100b3017
mov eax, 0xd
jmp 0x100b302d
jmp 0x100b3021
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b4d80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
and ecx, 1
je 0x100b4e1e
mov ecx, dword [ebp - 4]
add ecx, 0x58
call fcn.10004400
movzx edx, al
test edx, edx
jne 0x100b4e1e
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10008d40
movzx eax, al
test eax, eax
je 0x100b4e1e
mov ecx, dword [ebp - 4]
add ecx, 0x58
call fcn.10004390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b4e1e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x100b4df1
mov eax, dword [ebp - 8]
add eax, 0xc4
mov dword [ebp - 0xc], eax
jmp 0x100b4df8
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
and ecx, 0xfffffffe
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
and ecx, 2
je 0x100b4eb6
mov ecx, dword [ebp - 4]
add ecx, 0x5c
call fcn.10004400
movzx edx, al
test edx, edx
jne 0x100b4eb6
mov ecx, dword [ebp - 4]
add ecx, 0x84
call fcn.10008d40
movzx eax, al
test eax, eax
je 0x100b4eb6
mov ecx, dword [ebp - 4]
add ecx, 0x5c
call fcn.10004390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b4eb6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x100b4e89
mov eax, dword [ebp - 0x10]
add eax, 0xc4
mov dword [ebp - 0x14], eax
jmp 0x100b4e90
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
and ecx, 0xfffffffd
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], ecx
mov eax, 0x10
mov esp, ebp
pop ebp
ret 8
Function at 0x100ba190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1006af80
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0x100
jne 0x100ba34f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
sub edx, 0xd
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x34
ja case.0x100ba1e2.1
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x100ba3c0]
jmp dword [ecx*4 + 0x100ba3ac]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100ba215
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd440
xor eax, eax
jmp 0x100ba3a6
jmp case.0x100ba1e2.1
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bf270
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bf270
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.1006ba00
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x60
call fcn.10005e20
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10170335
add esp, 4
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x89]
test eax, eax
je 0x100ba2d1
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x110], 0
je 0x100ba2d1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x68]
call eax
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd440
jmp 0x100ba2e7
push 0
push 1
push 8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x9c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd440
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x74]
call eax
xor eax, eax
jmp 0x100ba3a6
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x80], 0
je 0x100ba329
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd590
xor eax, eax
jmp 0x100ba3a6
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x80], 0
je 0x100ba349
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd590
xor eax, eax
jmp 0x100ba3a6
jmp 0x100ba3a3
mov eax, dword [0x1022e9b0]
add eax, 1
mov dword [0x1022e9b0], eax
cmp dword [0x1022e9b0], 2
jne 0x100ba3a3
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x80]
call eax
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x84]
call eax
mov dword [0x1022e9b0], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x100ba1e9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1006af80
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0x100
jne 0x100ba34f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
sub edx, 0xd
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x34
ja case.0x100ba1e2.1
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x100ba3c0]
jmp dword [ecx*4 + 0x100ba3ac]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100ba215
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd440
xor eax, eax
jmp 0x100ba3a6
jmp case.0x100ba1e2.1
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bf270
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bf270
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.1006ba00
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x60
call fcn.10005e20
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10170335
add esp, 4
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x89]
test eax, eax
je 0x100ba2d1
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x110], 0
je 0x100ba2d1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x68]
call eax
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd440
jmp 0x100ba2e7
push 0
push 1
push 8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x9c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd440
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x74]
call eax
xor eax, eax
jmp 0x100ba3a6
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x80], 0
je 0x100ba329
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd590
xor eax, eax
jmp 0x100ba3a6
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x80], 0
je 0x100ba349
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.100bd590
xor eax, eax
jmp 0x100ba3a6
jmp 0x100ba3a3
mov eax, dword [0x1022e9b0]
add eax, 1
mov dword [0x1022e9b0], eax
cmp dword [0x1022e9b0], 2
jne 0x100ba3a3
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x80]
call eax
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x84]
call eax
mov dword [0x1022e9b0], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8