joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4201d9
Capabilities:
Get disk information

Disassembly:
push ebx
push edi
mov edx, 8
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4201e0
call fcn.0043ec50
push dword [esp + 0x30]
call fcn.00426500
mov edx, dword [esp + 0x2c]
lea ecx, [esp]
call fcn.00426060
mov dword [esp + 4], 0
mov edx, 0x442038
lea ecx, [esp + 8]
call fcn.00426068
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
push 0x104
call fcn.0043ce80
lea eax, [esp + 0x10]
push eax
call fcn.0043eae0
mov edx, 0x442038
lea ecx, [esp + 0x10]
call fcn.00426068
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
push 0
call sub.KERNEL32.dll_SetLastError
add dword [esp + 0x1c], 0x6400
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
push dword [esp + 0x24]
call fcn.0043ce80
lea eax, [esp + 0x14]
push eax
call fcn.0043eae0
push dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
push 0
call sub.KERNEL32.dll_QueryDosDeviceW
mov dword [esp + 0x18], eax
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
cmp ebx, 0x7a
je 0x420267
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x18]
add edi, edi
cmp ebx, edi
jge 0x4203ab
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
mov eax, dword [esp + 0x18]
mov ebx, eax
add ebx, dword [esp + 0xc]
push ebx
call fcn.0043dbb0
lea eax, [esp + 0x10]
push eax
call fcn.0043eae0
push 1
push dword [esp + 4]
push dword [esp + 0x14]
call fcn.0043c980
and eax, eax
je 0x42038e
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
push 1
mov eax, 0x442038
push eax
push dword [esp + 0x14]
push dword [esp + 0x24]
call fcn.0043c600
call fcn.004264e2
add dword [esp], edx
call fcn.0041df9c
call fcn.00426500
and eax, eax
je 0x42038e
mov edx, dword [esp + 8]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
mov edx, 0x446c28
push edx
call fcn.0043ea80
mov edx, dword [esp + 0x10]
push edx
call fcn.0043ea80
lea eax, [esp + 0xc]
push eax
call fcn.0043eae0
mov ebx, dword [esp + 4]
push dword [esp + 0xc]
call fcn.0043c5d0
mov edi, eax
inc edi
add edi, edi
add ebx, edi
mov dword [esp + 4], ebx
jmp 0x4202c5
push dword [esp + 8]
call fcn.0043c5d0
mov ebx, eax
cmp ebx, 2
jle 0x42040d
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
mov eax, 0x442096
push eax
push dword [esp + 0x14]
call fcn.0043cc80
lea eax, [esp + 0xc]
push eax
call fcn.0043eae0
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
mov eax, 0x44206a
push eax
push dword [esp + 0x14]
call fcn.0043cc80
lea eax, [esp + 0xc]
push eax
call fcn.0043eae0
mov edx, dword [esp + 8]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
pop eax
push eax
call fcn.004264d0
pop edx
add eax, edx
jmp 0x420435
push dword [esp + 8]
call fcn.0043ecb0
push dword [esp]
call fcn.0043ecb0
push dword [esp + 0x10]
call fcn.0043ecb0
push dword [esp + 0xc]
call fcn.0043ecb0
add esp, 0x20
pop edi
pop ebx
ret 4
Function at 0x42057f
Capabilities:
Set registry value

Disassembly:
push ebx
push edi
mov edx, 0xc
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x420586
call fcn.0043ec50
mov edx, dword [esp + 0x40]
lea ecx, [esp]
call fcn.00426060
mov edx, dword [esp + 0x44]
lea ecx, [esp + 4]
call fcn.00426060
mov edx, dword [esp + 0x48]
lea ecx, [esp + 8]
call fcn.00426060
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 4]
push dword [esp + 0x44]
call sub.ADVAPI32.dll_RegCreateKeyW
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x20]
and ebx, ebx
jne 0x42079f
push dword [esp + 0x4c]
mov ebx, 4
cmp ebx, dword [esp]
jne 0x42063a
push dword [esp + 0xc]
call fcn.0043c190
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 4
push dword [esp + 0x20]
push dword [esp + 0x18]
push dword [esp + 0x58]
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
call sub.ADVAPI32.dll_RegSetValueExW
mov dword [esp + 0x24], eax
jmp 0x420795
mov ebx, 0xb
cmp ebx, dword [esp]
jne 0x420687
push dword [esp + 0xc]
call fcn.0043c190
push edx
push eax
pop dword [esp + 0x1c]
pop dword [esp + 0x1c]
mov dword [esp + 0x20], 8
push dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x58]
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
call sub.ADVAPI32.dll_RegSetValueExW
mov dword [esp + 0x24], eax
jmp 0x420795
mov ebx, 1
cmp ebx, dword [esp]
jne 0x4206c6
push dword [esp + 0xc]
call fcn.0043d7c0
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push eax
push dword [esp + 0x58]
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
call sub.ADVAPI32.dll_RegSetValueExW
mov dword [esp + 0x24], eax
jmp 0x420795
mov ebx, 7
cmp ebx, dword [esp]
jne 0x420795
mov eax, dword [esp + 0xc]
push eax
call fcn.0043dec0
mov ebx, eax
add ebx, 2
add ebx, ebx
mov dword [esp + 0x20], ebx
push dword [esp + 0x20]
call fcn.0043dc80
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
push dword [esp + 0xc]
push dword [esp + 0x2c]
call fcn.0043dc00
mov dword [esp + 0x2c], 1
jmp 0x420715
mov eax, 0x44206a
push eax
push dword [esp + 0x10]
call fcn.0043c100
cmp eax, dword [esp + 0x2c]
jl 0x420764
mov ebx, dword [esp + 0x30]
inc ebx
push ebx
mov eax, 0x44206a
push eax
push dword [esp + 0x14]
call fcn.0043c980
mov dword [esp + 0x30], eax
push 0
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
add edi, edi
add ebx, edi
add ebx, 0xfffffffe
mov eax, ebx
call fcn.00426480
inc dword [esp + 0x2c]
jno 0x420715
push dword [esp + 0x28]
call fcn.0043def0
push eax
push dword [esp + 0x2c]
push dword [esp + 0x58]
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
call sub.ADVAPI32.dll_RegSetValueExW
mov dword [esp + 0x24], eax
push dword [esp + 0x28]
call fcn.0043dca0
pop eax
push dword [esp + 0xc]
call sub.ADVAPI32.dll_RegCloseKey
mov eax, dword [esp + 0x20]
jmp 0x4207a7
push dword [esp + 8]
call fcn.0043ecb0
push dword [esp + 4]
call fcn.0043ecb0
push dword [esp]
call fcn.0043ecb0
add esp, 0x30
pop edi
pop ebx
ret 0x14
Function at 0x4235b6
Capabilities:
Manipulate boot configuration

Disassembly:
xor eax, eax
push eax
push eax
push eax
call fcn.0043ec50
mov edx, dword [esp + 0x10]
lea ecx, [esp]
call fcn.00426060
mov edx, 0x4455b4
lea ecx, [esp + 4]
call fcn.00426068
mov dword [esp + 8], 0
push 0
push dword [esp + 4]
push dword [0x44a36c]
push dword [esp + 0x10]
call fcn.00411ec5
mov dword [esp + 8], eax
xor eax, eax
push dword [esp]
call fcn.0043ecb0
push dword [esp + 4]
call fcn.0043ecb0
add esp, 0xc
ret 4

Function at 0x427248
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push dword [esp + 0x50]
push dword [0x44be14]
call fcn.0043e1aa
mov esi, eax
test esi, esi
je 0x4272ff
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push dword [esp + 0x58]
push 0x419
push dword [esi]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4272ff
lea eax, [esp + 0x10]
push eax
push ebx
push 0x41d
push dword [esi]
call edi
mov dword [esp + 0x20], 0x2c
mov dword [esp + 0x24], 0x10
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
push ebp
push 0x433
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebp
push dword [esi + 4]
call edi
lea eax, [esp + 0x20]
push eax
push ebp
push 0x432
push dword [esi + 4]
call edi
xor eax, eax
inc eax
jmp 0x427301
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc

Function at 0x4273c8
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x427460
push edi
push 0x44be20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x44a4d8]
test edi, edi
je 0x427434
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42742d
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x44a4d8
call fcn.0043e94f
pop ecx
pop ecx
jmp 0x42742f
mov edi, dword [edi]
test edi, edi
jne 0x427404
pop ebx
mov eax, dword [0x447e00]
mov esi, eax
inc eax
push 0x10
push 0x44a4d8
mov dword [0x447e00], eax
call fcn.0043e98f
pop ecx
pop ecx
push 0x44be20
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x428259
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x4282ae
push dword [esp + 0x10]
push 0x4281d8
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x44a6f8]
test esi, esi
je 0x428307
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4282a6
cmp byte [esi + 0x10], 0
je 0x4282a6
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x428282
jmp 0x428307
mov esi, dword [0x44a6f8]
test esi, esi
je 0x428307
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x428300
cmp byte [esi + 0x11], 0
je 0x4282dc
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x4282f3
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x44a6f8
call fcn.0043e94f
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4282bb
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x4289ae
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x44be4c]
call fcn.0043e00b
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x428aae
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x428a04
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x4289fc
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x428a44
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x428a86
push 0x22
pop edx
cmp cx, dx
je 0x428a36
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x428a26
xor ecx, ecx
cmp word [eax], cx
je 0x428a86
mov ecx, eax
add eax, 2
jmp 0x428a88
test dx, dx
je 0x428a8e
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x428a36
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x428a7c
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x428a86
cmp cx, dx
je 0x428a79
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x428a69
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x428a4e
jmp 0x428a36
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x428a90
xor edx, edx
cmp dword [ebp], ebx
jne 0x428a99
test edi, edi
jne 0x428ab6
test edx, edx
je 0x428a9e
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x4289f2
test edi, edi
jne 0x428ac7
mov eax, ebx
jmp 0x428acb
test esi, esi
je 0x428ac7
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x428acb
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x428c6e
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x428d2d
cmp dword [esp + 0x24], 2
je 0x428d2d
push 0x2000
push ebp
push dword [0x44a308]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x428cfc
cmp dword [esp + 0x18], 2
jne 0x428d18
cmp dword [esp + 0x28], 0xffffffff
je 0x428cc0
cmp ebp, dword [esp + 0x28]
jae 0x428d18
add ebp, 2
test ebx, ebx
jne 0x428ce5
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x44a308]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x428d18
cmp ax, 0xd
je 0x428cfc
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x428cac
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.0043fa80
jmp 0x428dbf
push eax
push 0
push dword [0x44a308]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x428d4b
cmp ebp, dword [esp + 0x28]
jae 0x428da3
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x428da3
cmp dword [esp + 0x18], 1
jne 0x428da3
inc ebp
test ebx, ebx
jne 0x428d90
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x44a308]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x428da3
cmp al, 0xd
je 0x428d3e
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x428d3e
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x428dba
call fcn.0043fad0
jmp 0x428dbf
call fcn.0043fb40
push esi
push 0
push dword [0x44a308]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x42dfc6
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x44bea4]
call fcn.0043e1aa
mov ebx, eax
test ebx, ebx
je 0x42e02a
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x42dfef
push dword [esp + 0xc]
push ebx
call eax
jmp 0x42e02a
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.0043eef0
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.0043efd0
pop edi
pop esi
pop ebx
ret 8
Function at 0x433c8a
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 8]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [ebp - 0x4bc]
push eax
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret 4
Function at 0x433f8c
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x44b7e0], 0
jne 0x43405d
push ebx
push ebp
push esi
xor ebp, ebp
inc ebp
push 0x44beb0
mov dword [0x44b7e0], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x640
push eax
push 8
push dword [0x44a308]
mov dword [0x44bca4], eax
mov dword [0x44b7e4], 0x1f4
call esi
mov dword [0x44bcb4], eax
mov eax, dword [0x44b7e4]
add eax, eax
push eax
push 8
push dword [0x44a308]
call esi
xor ebx, ebx
mov dword [0x44bcb0], eax
push 0x44bcc0
mov dword [0x44bca8], ebx
mov dword [0x44bcac], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebp
push ebx
call esi
push ebx
push ebx
push ebp
push ebx
mov dword [0x44bcd8], eax
call esi
mov dword [0x44bcdc], eax
cmp dword [0x44bcd8], ebx
je 0x434054
test eax, eax
je 0x434054
lea eax, [esp + 0xc]
mov dword [0x44bcb8], ebx
push eax
push ebx
push ebx
push 0x433a8f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x44bcbc], eax
jmp 0x43405a
mov dword [0x44bcb8], ebp
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x434283
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4343f9
mov eax, dword [esp + 0x24]
dec eax
je 0x4343dc
dec eax
jne 0x4343f9
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.0043423c
pop ecx
test eax, eax
je 0x43433a
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x4342fd
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x4343d8
dec ebx
je 0x4343d4
dec ebx
je 0x4343b3
dec ebx
je 0x43436d
sub ebx, 4
jne 0x4343f9
test edi, edi
jne 0x4343f9
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x4343f9
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4342fd
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x4342f8
sub edi, 0
je 0x4343a5
dec edi
je 0x434397
dec edi
je 0x434389
dec edi
jne 0x4343f9
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x4343f9
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x4343f9
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x4343f9
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x4343f9
sub edi, 0
je 0x4343d0
dec edi
je 0x4343cc
dec edi
jne 0x4343f9
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x4343f9
push 0x3c
jmp 0x4343f8
push 0x32
jmp 0x4343f8
push 0x14
jmp 0x4343f8
push 5
jmp 0x4343f8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4343f6
cmp eax, 0xa
je 0x4343f2
cmp eax, 0x5a
jne 0x4343f9
push 0x28
jmp 0x4343f8
push 0x1e
jmp 0x4343f8
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x434e3a
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0xc]
xor esi, esi
push dword [0x44becc]
call fcn.0043e1aa
mov edi, eax
test edi, edi
je 0x434e5d
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
push dword [esp + 0x10]
push esi
call fcn.0043eef0
test esi, esi
je 0x434e7a
lea ecx, [esi + 1]
push ecx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x434e7f
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
ret 8

Function at 0x434e84
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x44becc]
call fcn.0043e1aa
mov esi, eax
test esi, esi
je 0x434f5e
cmp dword [ebp + 0xc], 0
je 0x434ed0
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x434ec1
cmp dword [esi + 0x1c], 0
jne 0x434ec1
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x434f5e
test byte [ebp + 0x10], 3
je 0x434eeb
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.00435790
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x434f10
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x434f24
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x434f41
test ebx, ebx
je 0x434f35
push 8
jmp 0x434f47
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x434f54
test ebx, ebx
je 0x434f4a
push 3
pop ecx
jmp 0x434f54
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x435923
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x4359bb
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4359b8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x4359b8
lea eax, [esi - 1]
push eax
push dword [0x44becc]
call fcn.0043e1aa
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x4359ba
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x4359af
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x435aa2
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x435995
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x435a61
push eax
call esi
test al, al
jns 0x435a61
push 0x11
call esi
test al, al
js 0x435a61
push 0x10
call esi
test al, al
js 0x435a61
push 0x12
call esi
test al, al
js 0x435a61
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x435a61
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x435a35
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x435a4c
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x435aac
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x435aac
test ebp, ebp
je 0x435a85
push 0x11
call esi
test al, al
js 0x435a7d
push 0x10
call esi
test al, al
js 0x435a7d
push 0x12
call esi
test al, al
jns 0x435a85
push 1
push ebp
call fcn.00435ab8
test ebx, ebx
je 0x435a99
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x435aac
test edi, edi
je 0x435aac
mov eax, dword [edi + 8]
jmp 0x435aae
and dword [esp + 0x14], 0
jmp 0x4359ba
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4