joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e2da
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
xor esi, esi
push esi
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0xc], eax
test eax, eax
je 0x41e372
push ebx
push ebp
mov ebp, 0x47f750
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x47ed54]
mov ebx, 0x47ed54
test esi, esi
je 0x41e34a
push edi
push 0
lea edi, [esi + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41e343
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi]
push edi
push ebx
call fcn.00433534
pop ecx
pop ecx
jmp 0x41e345
mov esi, dword [esi]
test esi, esi
jne 0x41e31d
pop edi
mov esi, dword [0x47c860]
inc dword [0x47c860]
push 0x10
push ebx
call fcn.00433574
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push ebp
mov dword [eax], ecx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop ebx
mov eax, esi
pop esi
ret 8

Function at 0x41f615
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
push edi
push pe_nt_image_headers32
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41f6f9
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test byte [ebp + 0x10], 1
mov ebx, eax
je 0x41f6af
push edi
push edi
push edi
push dword [ebp + 0xc]
call fcn.0041fdcd
mov ebx, eax
cmp ebx, edi
je 0x41f6ee
push dword [ebp + 8]
push dword [0x47ed58]
call fcn.00432c69
mov esi, eax
mov eax, 0x10000
push eax
push ebx
mov dword [esi + 0x18], eax
call fcn.0041fd8a
push eax
push ebx
call fcn.0041fd70
push eax
call fcn.0041f9c9
mov dword [esi], eax
cmp eax, edi
je 0x41f6a7
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], esi
jmp 0x41f6ee
push ebx
call fcn.0041fd97
jmp 0x41f6ee
push ebx
push edi
push dword [0x47e414]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
je 0x41f6ee
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push esi
push dword [ebp + 8]
call fcn.0041f5ed
push esi
push edi
push dword [0x47e414]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 0xc
Function at 0x41f834
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
push dword [0x47ed58]
mov dword [ebp - 8], ebx
xor edi, edi
call fcn.00432d06
mov esi, eax
cmp esi, ebx
je 0x41f9af
mov eax, dword [esi]
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], ebx
je 0x41f8e4
push dword [ebp + 8]
call fcn.0041fae8
jmp 0x41f877
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], bl
jne 0x41f86f
push dword [esi + 0x14]
call fcn.0041fdc0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
push ebx
mov eax, esi
mov byte [esi + 0x1c], 1
call fcn.0041f713
pop ecx
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push 0x41f786
push 0x2000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x41f8b9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 0xffffffff
je 0x41f8ca
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0041fb7e
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov esi, dword [esi]
mov eax, dword [esi]
push 1
push ebx
push ebx
push esi
call dword [eax + 0x30]
jmp 0x41f9af
test byte [ebp + 0xc], 1
je 0x41f8ed
xor edi, edi
inc edi
test byte [ebp + 0xc], 2
je 0x41f977
push esi
call fcn.0041f28c
lea eax, [esi + 4]
push 0xc
push eax
call fcn.00433574
pop ecx
pop ecx
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [0x47ed6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x41f9af
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
push dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
cmp dword [ebp + 0x10], 0xffffffff
je 0x41f95d
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0041fb18
jmp 0x41f969
mov eax, dword [ebp - 4]
push dword [esi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push eax
call dword [ecx + 0x30]
jmp 0x41f9af
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
cmp dword [ebp + 0x10], 0xffffffff
je 0x41f998
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0041fb7e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x41f9af
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x420275
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [esp + 0x10], ebx
je 0x4202c4
push dword [esp + 0x10]
push 0x4201f3
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x47eeb4]
cmp esi, ebx
je 0x420318
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4202bc
cmp byte [esi + 0x10], bl
je 0x4202bc
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, edi
cmp edi, ebx
jne 0x420299
jmp 0x420318
mov esi, dword [0x47eeb4]
cmp esi, ebx
je 0x420318
push ebp
mov ebp, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x420311
cmp byte [esi + 0x11], bl
je 0x4202ee
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], bl
je 0x420304
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push edi
push 0x47eeb4
call fcn.00433534
pop ecx
pop ecx
mov esi, ebp
cmp ebp, ebx
jne 0x4202cf
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x42160c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x47eec4], 0
jne 0x42161e
call fcn.0042155d
push esi
push edi
push dword [0x47eec0]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call edi
mov esi, eax
test esi, esi
jne 0x421643
call fcn.0042155d
push dword [0x47eec0]
call edi
mov esi, eax
mov eax, dword [ebp + 8]
push 0x11
lea ecx, [esi + 8]
pop edx
mov edi, eax
imul edi, edi, 0x53a9b4fb
xor eax, eax
inc eax
sub eax, edi
mov dword [ecx + 0x44], eax
imul eax, eax, 0x53a9b4fb
xor edi, edi
inc edi
sub edi, eax
mov eax, edi
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x42164c
and dword [esi], edx
push 0x1f
mov dword [esi + 4], 0xa
pop edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00421516
dec edi
pop ecx
pop ecx
jne 0x42167d
pop edi
pop esi
leave
ret 4
Function at 0x422127
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.DLL_GetClientRect]
cmp dword [ebp + 0xc], esi
jne 0x42215a
push dword [edi]
call dword [sym.imp.USER32.DLL_GetDC]
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], 1
test byte [edi + 0x14], 8
je 0x42224a
call dword [sym.imp.USER32.DLL_GetFocus]
cmp dword [edi], eax
jne 0x42224a
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push ebx
mov ebx, dword [ebp - 0x10]
sub ebx, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp eax, esi
jle 0x422235
cmp ebx, esi
jle 0x422235
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov edi, eax
cmp edi, esi
je 0x422232
push ebx
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x42222b
push eax
push edi
call dword [sym.imp.GDI32.DLL_SelectObject]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
cmp eax, esi
je 0x4221de
push 4
push esi
push esi
push esi
push esi
push esi
push eax
push esi
push esi
push edi
call dword [sym.imp.USER32.DLL_DrawStateA]
jmp 0x4221f1
push esi
call dword [sym.imp.GDI32.DLL_GetStockObject]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.USER32.DLL_FillRect]
push 2
pop eax
add dword [ebp - 0x1c], eax
add dword [ebp - 0x18], eax
sub dword [ebp - 0x14], eax
sub dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.USER32.DLL_DrawFocusRect]
push 0xcc0020
push esi
push esi
push edi
push ebx
push dword [ebp - 4]
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.DLL_BitBlt]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push edi
call dword [sym.imp.GDI32.DLL_DeleteDC]
mov edi, dword [ebp + 8]
pop ebx
cmp dword [ebp - 8], esi
je 0x422246
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.USER32.DLL_ReleaseDC]
pop edi
pop esi
leave
ret
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x422266
push 4
push esi
push esi
push esi
push esi
push esi
push eax
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.DLL_DrawStateA]
jmp 0x422236
push esi
call dword [sym.imp.GDI32.DLL_GetStockObject]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.DLL_FillRect]
jmp 0x422236

Function at 0x42228d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
push edi
push 1
xor ebx, ebx
call esi
mov edi, 0x8000
test di, ax
je 0x4222a7
inc ebx
push 2
call esi
test di, ax
je 0x4222b3
or ebx, 2
push 4
call esi
test di, ax
je 0x4222bf
or ebx, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4222c5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, eax
call dword [sym.imp.USER32.DLL_GetMessagePos]
push 0xfffffffffffffff4
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
push str.PB_WindowID
push dword [edi]
mov dword [ebp - 0xc], eax
call fcn.00426db4
push eax
call dword [sym.imp.USER32.DLL_GetPropA]
push dword [0x47efb0]
dec eax
mov dword [ebp - 8], eax
call fcn.00433125
mov esi, eax
movsx eax, bx
mov dword [ebp - 0x14], eax
shr ebx, 0x10
movsx eax, bx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call dword [sym.imp.USER32.DLL_ScreenToClient]
mov edi, dword [sym.imp.USER32.DLL_GetKeyState]
push 0x10
call edi
mov ebx, 0x8000
test bx, ax
je 0x422343
mov dword [ebp - 4], 1
push 0x12
call edi
test bx, ax
je 0x422350
or dword [ebp - 4], 2
push 0x11
call edi
test bx, ax
je 0x42235d
or dword [ebp - 4], 4
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
call fcn.0042228d
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
push 0x42227d
push esi
push dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
push dword [ebp - 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
push dword [ebp - 0xc]
mov dword [esi + 0x14], eax
movzx eax, byte [ebp + 0x14]
push 0x332c
mov dword [esi + 0x18], eax
call fcn.0042923b
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4230f6
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.DLL_SendMessageA]
push 0
push 0
push 0x1304
push dword [esi]
call edi
test eax, eax
jle 0x423164
push ebx
push ebp
mov ebp, dword [esp + 0x18]
cmp ebp, 0xffffffff
jne 0x423120
mov ebp, eax
push dword [esi]
call fcn.00422fee
push ebp
push dword [esi]
mov ebx, eax
call fcn.00422fc7
add esp, 0xc
push 0
push ebp
push 0x130c
push dword [esi]
mov dword [esp + 0x24], eax
call edi
push 0
push ebx
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push ebx
call dword [sym.imp.USER32.DLL_EnableWindow]
push dword [esp + 0x14]
mov ebx, dword [esi]
call fcn.0042300e
pop ecx
pop ebp
pop ebx
pop edi
pop esi
ret 8

Function at 0x423d0c
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [0x47fb08]
call fcn.00432d06
mov edi, eax
test edi, edi
je 0x423d6e
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x423d35
push dword [esp + 0xc]
push edi
call eax
jmp 0x423d6e
push ebx
push esi
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthA]
push dword [esp + 0x14]
mov esi, eax
push esi
call fcn.004363c0
mov ebx, eax
lea eax, [esi + 1]
push eax
push ebx
mov byte [ebx], 0
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowTextA]
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
sub esi, eax
push esi
call fcn.004364e0
pop esi
pop ebx
pop edi
ret 8
Function at 0x426680
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x47fb0c]
call fcn.00432eb4
mov ebx, eax
mov dword [ebp - 4], ebx
call fcn.00427393
xor edi, edi
cmp dword [0x47f5d0], edi
jne 0x4267f7
mov esi, 0xa0
push esi
push edi
push 0x47f530
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x47f534], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.RICHED20.DLL
mov dword [0x47f530], 0x16
mov dword [0x47f550], 0x425f64
mov dword [0x47f548], 0x426100
mov dword [0x47f54c], 0x42612d
mov dword [0x47f564], 0x426042
mov dword [0x47f55c], 0x42606d
mov dword [0x47f558], 0x426087
mov dword [0x47f570], 0x426155
mov dword [0x47f574], 0x4261c4
mov dword [0x47f598], 0x4262f3
mov dword [0x47f59c], 0x42631f
mov dword [0x47f5ac], 0x4262cd
mov dword [0x47f5a8], 0x42623e
mov dword [0x47f5c8], 0x426371
mov dword [0x47f5cc], 0x42634b
call esi
mov dword [0x47f5d4], eax
cmp eax, edi
jne 0x426777
push str.RICHED32.DLL
call esi
mov eax, dword [0x47eed4]
cmp eax, edi
je 0x4267ed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x47eed4]
mov dword [0x47f524], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x47eed4]
mov dword [0x47f520], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x47eed4]
mov dword [0x47f51c], eax
call esi
push str.DrawThemeParentBackground
push dword [0x47eed4]
mov dword [0x47f518], eax
call esi
push str.DrawThemeBackground
push dword [0x47eed4]
mov dword [0x47f514], eax
call esi
mov dword [0x47f510], eax
mov dword [0x47f5d0], 1
mov eax, dword [0x47eed0]
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
mov ecx, str.RichEdit20A
cmp dword [0x47f5d4], edi
jne 0x42681c
mov ecx, str.RichEdit
mov edx, dword [ebp + 0x1c]
push edi
push dword [0x47e418]
or edx, 0x503111c4
push 0xffffffffffffffff
push dword [ebx]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
push edi
push ecx
push eax
call dword [sym.imp.USER32.DLL_CreateWindowExA]
mov ebx, eax
cmp ebx, edi
je 0x4268e2
push dword [ebp + 8]
push dword [0x47fb08]
call fcn.00432c69
mov esi, eax
or dword [esi + 0x18], 0xffffffff
or dword [esi + 0x14], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push 0x10
push 8
mov dword [esi + 0x1c], eax
push dword [0x47e414]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push str.PB_ClientRect
push ebx
call dword [sym.imp.USER32.DLL_SetPropA]
push edi
push 0xffffffffffffffff
push 0xc5
push ebx
call dword [sym.imp.USER32.DLL_SendMessageA]
push 0x42656a
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.DLL_SetWindowLongA]
push 0x37
push edi
push edi
push edi
push edi
push edi
push ebx
mov dword [0x47f528], eax
call dword [sym.imp.USER32.DLL_SetWindowPos]
push 0x541
push edi
push edi
push ebx
call dword [sym.imp.USER32.DLL_RedrawWindow]
call fcn.00427520
push 0x47f530
push ebx
push esi
push dword [ebp + 8]
call fcn.00426d39
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x18
Function at 0x429134
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x4291b0
push 9
call esi
test bl, al
je 0x4291b0
push 0x11
call esi
test bl, al
jne 0x4291b0
push 0x10
call esi
test bl, al
jne 0x4291b0
push 0x12
call esi
test bl, al
jne 0x4291b0
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
push 4
lea eax, [esp + 0x14]
push str.Rich
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x4291b0
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, 0x800
jne 0x4291b0
xor eax, eax
jmp 0x429232
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4291d9
push 0x11
call esi
test bl, al
jne 0x4291d1
push 0x10
call esi
test bl, al
jne 0x4291d1
push 0x12
call esi
test bl, al
je 0x4291d9
push 1
push ebp
call fcn.004290ed
mov esi, dword [sym.imp.USER32.DLL_GetPropA]
test edi, edi
je 0x4291ef
push str.PB_Hotkey
push edi
call esi
test eax, eax
jne 0x42922f
push str.PB_WindowID
push ebp
call esi
mov esi, eax
test esi, esi
je 0x42922f
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x42922f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x42922f
dec esi
push esi
push dword [0x47fb14]
call fcn.00432d06
test eax, eax
je 0x42922f
mov eax, dword [eax + 8]
jmp 0x429231
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x429517
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
mov dword [0x47f6dc], eax
cmp eax, edi
je 0x42954a
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x47f6e0], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [0x47f6d8], 1
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x429588
cmp dword [ebp - 0xc], 1
je 0x429599
cmp dword [ebp - 0xc], 2
jne 0x429588
cmp dword [ebp - 0x18], 5
jb 0x429599
jne 0x429588
cmp dword [ebp - 0x14], edi
jne 0x429588
mov dword [0x47f6d8], edi
cmp dword [0x47f6d8], edi
je 0x42959f
call fcn.0042945e
test eax, eax
jne 0x42959f
mov dword [0x47f6d8], edi
pop edi
add ebp, 0x78
leave
ret
Function at 0x42cc2e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [esi + 0xb4]
mov dword [ebp - 4], ecx
je 0x42cca3
imul ecx, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x14]
add eax, dword [ebp + 8]
push ebx
lea edx, [eax + edx*4]
push edi
mov eax, dword [esi + 0xac]
imul eax, dword [ebp + 0x10]
add eax, dword [esi + 0xa8]
mov edi, edx
add eax, ecx
cmp dword [ebp + 0x18], 0
jle 0x42cc92
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0x14], ebx
mov bl, byte [edi + 2]
xor byte [eax + 2], bl
mov bl, byte [edi + 1]
xor byte [eax + 1], bl
mov bl, byte [edi]
xor byte [eax], bl
add eax, dword [ebp - 4]
add edi, 4
dec dword [ebp + 0x14]
jne 0x42cc77
dec dword [ebp + 0x1c]
add edx, dword [ebp + 0xc]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x1c], 0
jne 0x42cc57
pop edi
pop ebx
leave
ret 0x18

Function at 0x42da68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 0
mov edx, dword [esi + 0xb4]
je 0x42dae8
push ebx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edx
imul ecx, dword [ebp + 0x10]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x18]
add edi, dword [ebp + 8]
add eax, edi
mov edi, eax
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xac]
imul eax, dword [ebp + 0x10]
add eax, dword [esi + 0xa8]
add eax, ecx
cmp dword [ebp + 0x1c], 0
jle 0x42dad1
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0x14], ebx
mov bl, byte [edi + 2]
xor byte [eax + 2], bl
mov bl, byte [edi + 1]
xor byte [eax + 1], bl
mov bl, byte [edi]
xor byte [eax], bl
add edi, 3
add eax, edx
dec dword [ebp + 0x14]
jne 0x42dab7
mov edi, dword [ebp + 0x18]
add edi, dword [ebp + 0xc]
dec dword [ebp + 0x20]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x20], 0
mov dword [ebp + 0x18], edi
jne 0x42da99
pop edi
pop ebx
pop ebp
ret 0x1c

Function at 0x42db42
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
imul eax, eax, 3
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 4], eax
je 0x42dbdc
mov eax, dword [ebp + 0x14]
imul ecx, ecx, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x18]
add eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, edx
imul esi, esi, 3
add ecx, eax
push edi
mov edi, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
imul ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0xa8]
mov edx, dword [ebp - 4]
add ecx, esi
test edx, edx
jle 0x42dbc4
mov eax, 0xff
sub eax, dword [ebp + 0x20]
mov dword [ebp + 0x18], edx
mov dword [ebp - 8], eax
movzx eax, byte [ecx]
movzx edx, byte [edi]
imul eax, dword [ebp - 8]
imul edx, dword [ebp + 0x20]
add eax, edx
cdq
mov ebx, 0xff
idiv ebx
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x18]
jne 0x42dba3
mov edi, dword [ebp + 0xc]
add edi, dword [ebp + 0x10]
dec dword [ebp + 0x1c]
inc dword [ebp + 0x14]
cmp dword [ebp + 0x1c], 0
mov dword [ebp + 0xc], edi
jne 0x42db79
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x431aff
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
cmp dword [0x47f6e4], ebx
jne 0x431b2d
push fcn.00431acc
push 0x10
push 0x148
call fcn.00432d96
mov dword [0x47f6e4], eax
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x431b39
mov esi, 0x43803f
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call sub.MSVCRT.dll_strncpy
push esi
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, ebx
je 0x431b75
cmp byte [eax + esi - 1], 0x5c
je 0x431b75
lea eax, [ebp - 0x108]
push 0x438484
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x431b80
cmp byte [eax], bl
jne 0x431b85
mov eax, 0x438480
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push dword [ebp + 8]
push dword [0x47f6e4]
call fcn.00432c69
mov esi, eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x431bc1
mov dword [esi + 4], ebx
jmp 0x431bd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x431bd7
mov dword [esi + 4], 1
mov edi, esi
jmp 0x431beb
cmp dword [ebp + 8], 0xffffffff
jne 0x431be9
push esi
push dword [0x47f6e4]
call fcn.00432d46
mov dword [esi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc