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

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x28]
mov dword [0x4ab00c], eax
mov edx, dword [esp + 0x20]
lea ecx, [esp]
call fcn.0041f000
mov edx, dword [esp + 0x24]
lea ecx, [esp + 4]
call fcn.0041f000
mov dword [esp + 8], 0
push dword [0x4ab00c]
push dword [0x4ab00c]
push 0xff
call fcn.0043b090
lea eax, [esp + 0x10]
push eax
call fcn.0043cfa0
mov dword [esp + 0x10], 0xff
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push dword [esp + 0xc]
push dword [esp + 0x2c]
call sub.ADVAPI32.dll_RegOpenKeyExW
and eax, eax
je 0x418de6
mov edx, 0x4a102e
lea ecx, [esp + 0xc]
call fcn.0041f008
jmp 0x418e49
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 0
push 0
push dword [esp + 0x14]
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegQueryValueExW
and eax, eax
je 0x418e1b
mov edx, 0x4a102e
lea ecx, [esp + 0xc]
call fcn.0041f008
jmp 0x418e40
push dword [0x4ab00c]
push dword [0x4ab00c]
mov ebx, dword [esp + 0x18]
dec ebx
push ebx
push dword [esp + 0x18]
call fcn.0043b0e0
lea eax, [esp + 0x10]
push eax
call fcn.0043cfa0
push dword [esp + 8]
call sub.ADVAPI32.dll_RegCloseKey
mov edx, dword [esp + 0xc]
push dword [0x4ab00c]
push edx
call fcn.0043cf40
pop eax
add eax, dword [0x4a6978]
jmp 0x418e72
push dword [esp + 0xc]
call fcn.0043d020
push dword [esp]
call fcn.0043d020
push dword [esp + 4]
call fcn.0043d020
add esp, 0x14
pop ebx
ret 0xc
Function at 0x41f96d
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 0x41fa05
push edi
push 0x4ab014
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4a9b98]
test edi, edi
je 0x41f9d9
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41f9d2
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x4a9b98
call fcn.0043ce2a
pop ecx
pop ecx
jmp 0x41f9d4
mov edi, dword [edi]
test edi, edi
jne 0x41f9a9
pop ebx
mov eax, dword [0x4a697c]
mov esi, eax
inc eax
push 0x10
push 0x4a9b98
mov dword [0x4a697c], eax
call fcn.0043ce6a
pop ecx
pop ecx
push 0x4ab014
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 0x420566
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push pe_nt_image_headers32
push 3
push esi
push 1
push bind
push dword [esp + 0x30]
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x420646
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test byte [esp + 0x20], 1
mov ebp, eax
je 0x4205fe
push esi
push esi
push esi
push dword [esp + 0x28]
call fcn.00420d96
mov esi, eax
test esi, esi
je 0x42063e
push dword [esp + 0x18]
push dword [0x4a9bcc]
call fcn.0043c742
mov ebp, eax
mov eax, 0x10000
push eax
push esi
mov dword [ebp + 0x18], eax
call fcn.00420d61
push eax
push esi
call fcn.00420d47
push eax
call fcn.00420ca8
mov dword [ebp], eax
test eax, eax
je 0x4205f6
mov dword [ebp + 0x14], esi
mov ebx, ebp
jmp 0x42063e
push esi
call fcn.00420d3a
jmp 0x42063e
push ebp
push esi
push dword [0x4a96f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x42063e
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
push dword [esp + 0x20]
call fcn.004201bc
push esi
push 0
push dword [0x4a96f8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 0xc
Function at 0x420837
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
push dword [0x4a9bcc]
xor ebp, ebp
mov edi, ebp
mov dword [esp + 0x18], ebp
call fcn.0043c71a
mov esi, eax
test esi, esi
je 0x4209cc
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], ebp
je 0x4208e1
push ebx
call fcn.00420b21
jmp 0x420879
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], 0
jne 0x420871
push dword [esi + 0x14]
call fcn.00420d89
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.004207b0
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push 0x4209d6
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4208be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], 0xffffffff
je 0x4208cf
push dword [esp + 0x20]
push ebx
call fcn.0042077d
mov eax, dword [esi]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
push 1
jmp 0x420981
test byte [esp + 0x1c], 1
je 0x4208f0
mov dword [esp + 0x10], 1
test byte [esp + 0x1c], 2
je 0x42098b
push esi
call fcn.004204eb
lea eax, [esi + 4]
push 0x10
push eax
call fcn.0043ce6a
pop ecx
pop ecx
mov ecx, dword [0x4a9fe4]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
test eax, eax
jne 0x4209cc
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov byte [edi + 5], al
mov byte [edi + 4], 1
mov eax, dword [esp + 0x18]
push dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x18]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [esp + 0x20], 0xffffffff
je 0x42096c
push edi
push dword [esp + 0x24]
push ebx
call fcn.004206dd
jmp 0x420979
mov eax, dword [esp + 0x18]
push dword [esi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push ebp
push eax
call dword [ecx + 0x30]
jmp 0x4209cc
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
mov eax, dword [esp + 0x18]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [esp + 0x20], 0xffffffff
je 0x4209ad
push dword [esp + 0x20]
push ebx
call fcn.0042077d
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push ebx
push ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x4209cc
xor edi, edi
mov byte [esi + 0x1c], 1
inc edi
mov byte [esi + 0x1e], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x422e1f
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x422e74
push dword [esp + 0x10]
push 0x422d9e
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x4a9e10]
test esi, esi
je 0x422ecd
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x422e6c
cmp byte [esi + 0x10], 0
je 0x422e6c
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 0x422e48
jmp 0x422ecd
mov esi, dword [0x4a9e10]
test esi, esi
je 0x422ecd
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 0x422ec6
cmp byte [esi + 0x11], 0
je 0x422ea2
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x422eb9
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 0x4a9e10
call fcn.0043ce2a
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x422e81
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x422f70
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x4ab368]
call fcn.0043c683
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 0x423070
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x422fc6
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x422fbe
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x423006
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x423048
push 0x22
pop edx
cmp cx, dx
je 0x422ff8
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x422fe8
xor ecx, ecx
cmp word [eax], cx
je 0x423048
mov ecx, eax
add eax, 2
jmp 0x42304a
test dx, dx
je 0x423050
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x422ff8
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x42303e
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x423048
cmp cx, dx
je 0x42303b
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x42302b
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x423010
jmp 0x422ff8
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x423052
xor edx, edx
cmp dword [ebp], ebx
jne 0x42305b
test edi, edi
jne 0x423078
test edx, edx
je 0x423060
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x422fb4
test edi, edi
jne 0x423089
mov eax, ebx
jmp 0x42308d
test esi, esi
je 0x423089
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x42308d
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x42494f
Capabilities:
Reference http user-agent string

Disassembly:
push str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00424964
ret 8

Function at 0x424964
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x424a0e
push ebx
push esi
push 0x60
push 8
push dword [0x4a96f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp + 8]
mov esi, eax
xor ebx, ebx
inc ebx
or dword [esi + 4], 0xffffffff
mov dword [esi], ebx
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0x10]
mov dword [esi + 8], eax
call sub.MSVCRT.dll__wcsdup
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
mov dword [esi + 0x24], ecx
mov eax, dword [0x4a6a74]
mov dword [esi + 0x28], eax
mov eax, dword [0x4aa2d4]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x58], ebx
test bl, cl
je 0x4249fc
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x424b85
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4249e9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4249ec
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4249f4
mov edi, esi
jmp 0x424a0c
push esi
call fcn.0042517d
jmp 0x424a0b
push esi
call fcn.00424a23
push esi
mov edi, eax
call fcn.0042517d
pop ecx
pop ecx
pop esi
pop ebx
mov eax, edi
pop edi
pop ebp
ret 0xc

Function at 0x424c33
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x424ce1
cmp dword [ebp + 0xc], edi
je 0x424ce1
push esi
push 0x60
push 8
push dword [0x4a96f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp + 8]
mov esi, eax
or dword [esi + 4], 0xffffffff
mov dword [esi], edi
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0xc]
mov dword [esi + 8], eax
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0x14]
mov dword [esi + 0xc], eax
call sub.MSVCRT.dll__wcsdup
mov dword [esi + 0x40], eax
add esp, 0xc
mov eax, dword [0x4a6a74]
mov dword [esi + 0x28], eax
mov eax, dword [0x4aa2d4]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
test al, 1
je 0x424cd0
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x424e63
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x424cc8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
jmp 0x424ce0
push esi
call fcn.0042517d
jmp 0x424cdf
push esi
call fcn.00424cfa
push esi
mov edi, eax
call fcn.0042517d
pop ecx
pop ecx
pop esi
mov eax, edi
pop edi
pop ebp
ret 0x10
Function at 0x424cfa
Capabilities:
Delete file

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov ebp, dword [edi + 0xc]
push dword [edi + 8]
mov dword [esp + 0x18], ebp
call fcn.004868e0
push dword [edi + 0x40]
mov dword [esp + 0x20], eax
call fcn.004868e0
mov dword [esp + 0x10], eax
call fcn.004511c0
mov esi, eax
test esi, esi
je 0x424e39
push ebx
push pe_nt_image_headers32
push 2
push ebx
push 1
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x424e24
test byte [edi + 0x24], 2
mov dword [edi + 0x10], ebp
jne 0x424d6c
push 1
push 0x34
push esi
call fcn.00454110
add esp, 0xc
mov eax, dword [0x4aa2c8]
test eax, eax
je 0x424d84
push eax
push 0x2714
push esi
call fcn.00454110
add esp, 0xc
mov eax, dword [0x4aa2cc]
test eax, eax
je 0x424db5
cmp dword [0x4aa2d0], ebx
je 0x424db5
push eax
push 0x27bf
push esi
call fcn.00454110
push dword [0x4aa2d0]
push 0x27c0
push esi
call fcn.00454110
add esp, 0x18
push dword [esp + 0x1c]
push 0x2712
push esi
call fcn.00454110
push dword [esp + 0x1c]
push 0x2722
push esi
call fcn.00454110
push 0x424e72
push 0x4e2b
push esi
call fcn.00454110
push edi
push 0x2711
push esi
call fcn.00454110
push 1
push 0x63
push esi
call fcn.00454110
push esi
call fcn.00451260
add esp, 0x40
test eax, eax
jne 0x424e0f
cmp dword [edi + 4], 0xfffffffb
je 0x424e0f
xor ebx, ebx
inc ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x424e24
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.004511a0
pop ecx
cmp ebx, 1
jne 0x424e39
mov dword [edi + 4], 0xfffffffe
jmp 0x424e48
xor ecx, ecx
cmp dword [edi + 4], 0xfffffffb
setne cl
add ecx, 0xfffffffc
mov dword [edi + 4], ecx
push dword [esp + 0x1c]
call fcn.004868d0
push dword [esp + 0x10]
call fcn.004868d0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
pop ecx
ret

Function at 0x425b24
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x4ab3c4]
call fcn.0043c71a
mov ebx, eax
test ebx, ebx
je 0x425b88
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x425b4d
push dword [esp + 0xc]
push ebx
call eax
jmp 0x425b88
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.0043d1e0
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.0043d2b0
pop edi
pop esi
pop ebx
ret 8
Function at 0x427881
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
push edi
push dword [0x4ab3a8]
call fcn.0043c683
cmp dword [0x4aa658], 0
mov edi, eax
mov esi, 0x50010000
jne 0x4279ba
mov ebx, 0xa4
push ebx
push 0
push 0x4aa660
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4aa660], 0x1b
mov dword [0x4aa664], ebx
mov dword [0x4aa668], 0x4271cc
mov dword [0x4aa66c], 0x427507
mov dword [0x4aa684], 0x426f49
mov dword [0x4aa694], 0x4274fd
mov dword [0x4aa68c], 0x4274a8
mov dword [0x4aa688], 0x427b2f
mov dword [0x4aa674], 0x428016
mov dword [0x4aa670], 0x42774e
mov dword [0x4aa678], 0x427798
mov dword [0x4aa67c], 0x428047
mov dword [0x4aa6a0], 0x4276c5
mov dword [0x4aa6a4], 0x427fcf
mov dword [0x4aa698], 0x427634
mov dword [0x4aa69c], 0x427e7c
mov dword [0x4aa6d8], 0x427cc9
mov dword [0x4aa6dc], 0x42754c
mov dword [0x4aa6e0], 0x427d1c
mov dword [0x4aa6e4], 0x4275d8
mov dword [0x4aa6e8], 0x427d8e
mov dword [0x4aa6ec], 0x427612
mov dword [0x4aa6d0], 0x4275a7
mov dword [0x4aa700], 0x427db0
call fcn.0042c719
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4279b0
cmp dword [esp + 0x24], 2
jne 0x4279b0
cmp dword [esp + 0x18], 6
jb 0x4279b0
mov eax, dword [0x4aa2dc]
mov dword [0x4aa65c], eax
mov dword [0x4aa658], 1
test byte [esp + 0x140], 2
jne 0x4279c9
mov esi, 0x50010002
test byte [esp + 0x140], 1
jne 0x4279d6
or esi, 5
test byte [esp + 0x140], 0x20
je 0x4279e3
or esi, 0x20
push 0x1f4
push 0
push dword [0x4a96f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.00433a2f
test ebp, ebp
je 0x427b1c
push 0
push dword [0x4a96fc]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push esi
push 0
push str.SysTreeView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x427b20
push dword [esp + 0x12c]
push dword [0x4ab3c4]
call fcn.0043c742
push 0x428090
push 0xfffffffffffffffc
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push 4
push 0x112c
push ebx
mov dword [0x4aa704], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4aa660
push ebx
push edi
push dword [esp + 0x138]
mov dword [edi + 0x14], ebp
mov dword [edi + 0x18], 0x19
call fcn.0042c0a5
mov ebx, eax
mov eax, 0x100
test dword [esp + 0x140], eax
je 0x427b20
or esi, eax
push esi
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test dword [esp + 0x140], 0x10000
je 0x427b20
push edi
call fcn.004273e4
pop ecx
push 0
push 2
push 0x1108
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x427b0c
push eax
push dword [edi]
call fcn.0042c7f0
push edi
push str.PB_3State
push dword [edi]
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x427b20
mov ebx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x118
ret 0x18
Function at 0x428ffd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x42906f
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x429026
mov ebx, eax
push dword [ebp]
call fcn.004287c9
push ebx
push dword [ebp]
mov edi, eax
call fcn.004287a0
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [ebp]
call fcn.0042908f
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42d3f7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x4ab3d0]
call fcn.0043c71a
mov esi, eax
test esi, esi
je 0x42d4d1
cmp dword [ebp + 0xc], 0
je 0x42d443
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x42d434
cmp dword [esi + 0x1c], 0
jne 0x42d434
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42d4d1
test byte [ebp + 0x10], 3
je 0x42d45e
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.0042e321
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x42d483
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 0x42d497
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 0x42d4b4
test ebx, ebx
je 0x42d4a8
push 8
jmp 0x42d4ba
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x42d4c7
test ebx, ebx
je 0x42d4bd
push 3
pop ecx
jmp 0x42d4c7
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 0x42e4b4
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 0x42e54c
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x42e549
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x42e549
lea eax, [esi - 1]
push eax
push dword [0x4ab3d0]
call fcn.0043c71a
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x42e54b
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x42e540
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x42e633
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x42e526
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x42e5f2
push eax
call esi
test al, al
jns 0x42e5f2
push 0x11
call esi
test al, al
js 0x42e5f2
push 0x10
call esi
test al, al
js 0x42e5f2
push 0x12
call esi
test al, al
js 0x42e5f2
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x42e5f2
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x42e5c6
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x42e5dd
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x42e63d
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42e63d
test ebp, ebp
je 0x42e616
push 0x11
call esi
test al, al
js 0x42e60e
push 0x10
call esi
test al, al
js 0x42e60e
push 0x12
call esi
test al, al
jns 0x42e616
push 1
push ebp
call fcn.0042e649
test ebx, ebx
je 0x42e62a
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x42e63d
test edi, edi
je 0x42e63d
mov eax, dword [edi + 8]
jmp 0x42e63f
and dword [esp + 0x14], 0
jmp 0x42e54b
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x42f2ed
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x42f396
cmp dword [ebp + 0x10], esi
je 0x42f396
push edi
push dword [ebp + 8]
push dword [0x4ab3e8]
call fcn.0043c71a
mov edi, eax
test edi, edi
je 0x42f395
or dword [edi + 0x28], 0xffffffff
or dword [edi + 0x2c], 0xffffffff
cmp dword [ebp + 0x14], esi
je 0x42f384
push 0xc
push esi
push dword [0x4a96f8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov dword [eax], edi
add eax, 4
push eax
call fcn.0043d0e0
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
lea eax, [edi + 8]
push eax
call fcn.0043d0e0
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push 0x42f54a
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42f37b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
jmp 0x42f395
push edi
call fcn.0042f2c7
pop ecx
jmp 0x42f395
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0042f3b3
add esp, 0xc
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10