joyce8/EMBER2024-capa huggingface dataset:
Function at 0x640048
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea edx, [ebp - 0x11]
mov ecx, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov bl, 0x80
movzx eax, byte [ebp - 0x11]
xor al, bl
mov byte [ebp - 0x12], al
movzx edx, byte [ebp - 0x12]
movzx eax, byte [ebp - 0x11]
call fcn.0063ea68
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.0063ea7c
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea esi, [ebp - 4]
lea edx, [ebp - 0x11]
mov ecx, 1
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
movzx eax, byte [ebp - 0x11]
xor al, bl
mov byte [ebp - 0x12], al
movzx edx, byte [ebp - 0x12]
movzx eax, byte [ebp - 0x11]
call fcn.0063ea68
mov edx, eax
movzx ecx, byte [ebp - 0x10]
inc ecx
mov eax, ebx
call fcn.0063ea7c
mov ebx, eax
movzx eax, byte [ebp - 0x12]
mov byte [esi], al
inc dword [ebp - 0x10]
inc esi
cmp dword [ebp - 0x10], 4
jne 0x640094
cmp dword [ebp - 4], 0
jle 0x640142
call fcn.0043496c
push eax
push 1
xor ecx, ecx
mov dl, 1
mov eax, dword [0x498e98]
call fcn.004bd0c4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x64013b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cdq
push edx
push eax
mov ecx, ebx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.0063ec78
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004bd354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64014a
mov eax, dword [ebp - 0x18]
call fcn.00408618
ret
mov eax, dword [ebp - 0xc]
call fcn.0040a2d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x640154
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0040a3bc
xor eax, eax
push ebp
push 0x6402a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, pe_nt_image_headers32
call fcn.004069d8
mov byte [ebp - 0x13], al
call fcn.0043496c
mov edx, dword [ebp - 8]
call fcn.00433a20
mov dword [ebp - 4], eax
mov bl, 0x80
movzx eax, byte [ebp - 0x13]
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
xor al, bl
mov byte [ebp - 0x12], al
movzx edx, byte [ebp - 0x12]
movzx eax, byte [ebp - 0x11]
call fcn.0063ea68
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.0063ea7c
mov ebx, eax
lea edx, [ebp - 0x12]
mov ecx, 1
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0x10], eax
lea esi, [ebp - 4]
movzx eax, byte [esi]
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
xor al, bl
mov byte [ebp - 0x12], al
movzx edx, byte [ebp - 0x12]
movzx eax, byte [ebp - 0x11]
call fcn.0063ea68
mov edx, eax
movzx ecx, byte [ebp - 0x10]
inc ecx
mov eax, ebx
call fcn.0063ea7c
mov ebx, eax
lea edx, [ebp - 0x12]
mov ecx, 1
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x10]
inc dword [ebp - 0x10]
inc esi
cmp dword [ebp - 0x10], 4
jne 0x6401da
cmp dword [ebp - 4], 0
jle 0x64028a
call fcn.0043496c
push eax
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x498e98]
call fcn.004bd0c4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x640283
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004b8028
mov eax, dword [ebp - 4]
cdq
push edx
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0063ec78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64028a
mov eax, dword [ebp - 0x18]
call fcn.00408618
ret
mov ebx, dword [ebp - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6402aa
lea eax, [ebp - 8]
call fcn.0040a2d8
ret
Function at 0x6402b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov ebx, eax
mov eax, pe_nt_image_headers32
call fcn.004069d8
mov byte [ebp - 0xf], al
lea edx, [ebp - 0xf]
mov ecx, 1
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x10]
mov dword [ebp - 4], ebx
mov eax, pe_nt_image_headers32
call fcn.004069d8
mov byte [ebp - 0xf], al
mov bl, 0x80
movzx eax, byte [ebp - 0xf]
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
xor al, bl
mov byte [ebp - 0xe], al
movzx edx, byte [ebp - 0xe]
movzx eax, byte [ebp - 0xd]
call fcn.0063ea68
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.0063ea7c
mov ebx, eax
lea edx, [ebp - 0xe]
mov ecx, 1
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0xc], eax
lea esi, [ebp - 4]
movzx eax, byte [esi]
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
xor al, bl
mov byte [ebp - 0xe], al
movzx edx, byte [ebp - 0xe]
movzx eax, byte [ebp - 0xd]
call fcn.0063ea68
mov edx, eax
movzx ecx, byte [ebp - 0xc]
inc ecx
mov eax, ebx
call fcn.0063ea7c
mov ebx, eax
lea edx, [ebp - 0xe]
mov ecx, 1
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x10]
inc dword [ebp - 0xc]
inc esi
cmp dword [ebp - 0xc], 4
jne 0x640333
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6403a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov eax, pe_nt_image_headers32
call fcn.004069d8
xor edx, edx
mov dword [ebp - 4], edx
mov bl, 0x80
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
xor al, bl
mov byte [ebp - 0xe], al
movzx edx, byte [ebp - 0xe]
movzx eax, byte [ebp - 0xd]
call fcn.0063ea68
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.0063ea7c
mov ebx, eax
lea edx, [ebp - 0xe]
mov ecx, 1
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0xc], eax
lea esi, [ebp - 4]
movzx eax, byte [esi]
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
xor al, bl
mov byte [ebp - 0xe], al
movzx edx, byte [ebp - 0xe]
movzx eax, byte [ebp - 0xd]
call fcn.0063ea68
mov edx, eax
movzx ecx, byte [ebp - 0xc]
inc ecx
mov eax, ebx
call fcn.0063ea7c
mov ebx, eax
lea edx, [ebp - 0xe]
mov ecx, 1
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x10]
inc dword [ebp - 0xc]
inc esi
cmp dword [ebp - 0xc], 4
jne 0x6403fb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x640448
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xfffffeec
xor ebx, ebx
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 6
jne 0x6404a0
mov eax, dword [esp + 8]
test eax, eax
jne 0x640485
mov edx, dword [esp + 0xc]
cmp edx, 0x1770
jne 0x64047b
mov bl, 1
cmp edx, 0x1770
jbe 0x640485
mov bl, 1
cmp eax, 1
jne 0x6404a0
mov eax, dword [esp + 0xc]
cmp eax, 0x1db0
jne 0x640497
mov bl, 1
cmp eax, 0x1db0
jbe 0x6404a0
mov bl, 1
mov eax, ebx
add esp, 0x114
pop ebx
ret
Function at 0x649b10
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
cmp dword [0xa954f8], 0
je 0x649b41
mov eax, dword [0xa954f8]
cmp byte [eax + 0x3d], 0
je 0x649b36
mov eax, dword [0xa954f8]
call fcn.00649bcc
mov eax, dword [0xa954f8]
mov dword [ebx + 0xd8], eax
cmp dword [ebx + 0x38], 0
je 0x649bc6
xor eax, eax
push ebp
push 0x649bbc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0xd0], eax
xor edx, edx
mov eax, ebx
call fcn.00649a58
mov byte [ebx + 0xb5], 0
mov dword [0xa954f8], ebx
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x64a050
push 7
call sub.user32.dll_SetWindowsHookExW
mov dword [0xa954f0], eax
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x649d20
push 2
call sub.user32.dll_SetWindowsHookExW
mov dword [0xa954ec], eax
mov dl, 1
mov eax, ebx
call fcn.0064af80
mov byte [ebx + 0x3d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x649bc6
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x66ebd4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 1
je 0x66ebfb
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x66ed7e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x66ed77
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x66ec4a
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
test edi, edi
je 0x66ec40
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, ebx
call edi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 4
je 0x66ed5c
test al, 8
je 0x66ecc3
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x66eca8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00613578
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x14
push ebx
call sub.user32.dll_SendMessageW
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x66ece5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00613578
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x318
push ebx
call sub.user32.dll_SendMessageW
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00613578
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 0x10
je 0x66ed3d
mov byte [ebp - 0x34], 1
mov dword [ebp - 0x28], 0x1e
lea eax, [ebp - 0x34]
push eax
push 0x66eb00
push ebx
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 0x20
je 0x66ed5c
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0x66eb00
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66ed7e
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x66f060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
push ebp
push 0x66f117
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x190
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x66f128
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x66f101
mov dword [ebp - 0xc], 0x40
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x66f154
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp esi, 2
je 0x66f101
test esi, esi
jne 0x66f0d8
cmp dword [ebp - 8], 1
je 0x66f0dc
xor ebx, ebx
jmp 0x66f101
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x50]
mov ecx, 0x20
call fcn.0040b45c
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x10]
call fcn.004080f4
mov ebx, eax
cmp dword [ebp - 0x10], 0
je 0x66f101
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66f11e
lea eax, [ebp - 0x54]
call fcn.0040a2d8
ret

Function at 0x66fdf4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov esi, eax
xor eax, eax
push ebp
push 0x66feb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0xa8eba8]
cmp dword [eax], 5
jl 0x66fe25
mov eax, dword [0xa8f784]
cmp dword [eax], 2
je 0x66fe29
mov bl, 1
jmp 0x66fe9d
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x66fed0
push esi
push 0x66ff20
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040b694
mov eax, dword [ebp - 0x14]
call fcn.0040b3a0
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x66fe9d
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x66fe8b
cmp word [ebp - 0xc], 0
jne 0x66fe92
cmp eax, 0xea
jne 0x66fe94
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66feba
lea eax, [ebp - 0x14]
call fcn.0040a2d8
ret
Function at 0x66ffc0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x67004a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x1004
push 0
call sub.user32.dll_GetKeyboardLayout
and eax, 0xffff
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x670032
mov word [ebp - 6], 0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x24]
mov ecx, 0x10
call fcn.0040b45c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 4]
call fcn.0040c5c4
mov ebx, eax
cmp dword [ebp - 4], 0
jne 0x67002e
push ebx
call sub.kernel32.dll_IsValidCodePage
test eax, eax
jne 0x670034
xor ebx, ebx
jmp 0x670034
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x670051
lea eax, [ebp - 0x28]
call fcn.0040a2d8
ret

Function at 0x675d68
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0061e77c
test al, al
je 0x675ebd
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0061e3c8
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetUpdateRect
test eax, eax
je 0x675dd4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x675dd4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00673050
jmp 0x675ebd
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x675eab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x14]
push edi
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
push 0
push 0
push 0x85
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageW
push 0
mov ebx, dword [ebp - 0xc]
push ebx
push 0x14
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageW
push 0
push ebx
push 0xf
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageW
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push edi
push esi
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x675eb2
cmp dword [ebp - 0xc], 0
je 0x675e8e
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
cmp dword [ebp - 0x10], 0
je 0x675e9d
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ReleaseDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x67acb8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
mov ebx, 0xa95530
xor eax, eax
call fcn.0067ac74
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
call fcn.0067a9fc
mov eax, ebx
xor ecx, ecx
mov edx, 0x4c
call fcn.004075cc
mov dword [ebx], esi
mov dword [ebx + 4], edi
cmp byte [ebp - 1], 0
je 0x67ad05
cmp dword [0xa95584], 0
jne 0x67ad09
xor eax, eax
jmp 0x67ad0b
mov al, 1
mov byte [ebx + 8], al
movzx eax, byte [ebp + 8]
mov byte [ebx + 0x3c], al
lea eax, [ebx + 0x34]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetClientRect
push 2
lea eax, [ebx + 0x1c]
push eax
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_MapWindowPoints
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetWindowRect
push 3
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDCEx
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [ebx + 0x2c], eax
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x20]
mov dword [ebx + 0x30], esi
push esi
mov eax, dword [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
mov dword [ebx + 0x14], esi
mov eax, dword [ebx + 0x18]
push eax
push esi
call sub.gdi32.dll_SelectObject
push 0x1e
mov eax, dword [ebx + 0x14]
push eax
push 0x317
mov eax, dword [ebx]
push eax
call sub.user32.dll_SendMessageW
cmp byte [ebx + 8], 0
je 0x67ae07
mov eax, dword [ebx]
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edx, dword [ebx]
mov esi, 0xffffffec
or eax, 0x80000
push eax
push esi
push edx
call sub.user32.dll_SetWindowLongW
mov dword [ebx + 0xc], 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x14], 0
movzx eax, byte [ebx + 0xc]
mov byte [ebp - 0x12], al
push 2
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x14]
push eax
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebx]
push eax
call dword [0xa95584]
jmp 0x67ae30
xor eax, eax
mov dword [ebx + 0xc], eax
push 0
push 0
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov esi, eax
push 0
push esi
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetWindowRgn
test eax, eax
jne 0x67ae30
push esi
call sub.gdi32.dll_DeleteObject
push 0x425f
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetWindowPos
push 0
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x67aa68
xor edx, edx
xor eax, eax
call fcn.0040a198
mov dword [0xa9552c], eax
cmp dword [0xa9552c], 0
jne 0x67ae72
call fcn.0067abe0
jmp 0x67ae83
inc dword [0xa9557c]
mov eax, dword [0xa9552c]
push eax
call sub.kernel32.dll_ResumeThread
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x6b7e94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
call fcn.006b7e8c
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x6b7f79
lea eax, [ebp - 8]
push eax
push 0x40
push 6
mov eax, dword [0xb156fc]
push eax
call sub.kernel32.dll_VirtualProtect_1
test eax, eax
je 0x6b7f0f
xor eax, eax
push ebp
push 0x6b7f08
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0xb156fc
mov eax, 0xb15705
mov ecx, 5
call fcn.00406734
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7f0f
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 6
mov eax, dword [0xb156fc]
push eax
call sub.kernel32.dll_VirtualProtect_1
ret
lea eax, [ebp - 8]
push eax
push 0x40
push 6
mov eax, dword [0xb15700]
push eax
call sub.kernel32.dll_VirtualProtect_1
test eax, eax
je 0x6b7f72
xor eax, eax
push ebp
push 0x6b7f6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0xb15700
mov eax, 0xb1570a
mov ecx, 5
call fcn.00406734
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7f72
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 6
mov eax, dword [0xb15700]
push eax
call sub.kernel32.dll_VirtualProtect_1
ret
mov byte [0xb15704], 0
movzx eax, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret
Function at 0x6de3f8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6de426
mov eax, ebx
call fcn.006deeb4
cmp dword [ebx + 0x40], 0
je 0x6de41f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6de497
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6de489
cmp dword [ebx + 8], 0
je 0x6de448
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x6de45a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6de489
cmp dword [ebx + 8], 0
je 0x6de43b
cmp eax, 3
je 0x6de46d
dec eax
jne 0x6de43b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x6de43b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6de43b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6de4b5
cmp dword [ebx + 0x14], 0xcc
je 0x6de4b5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006de4c0
pop ebx
ret

Function at 0x6f2b18
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0xb15b84], 0
jne 0x6f2b2f
call fcn.006f2ad4
mov eax, edi
dec eax
test eax, eax
jl 0x6f2b57
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xb15784]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6f2b39
mov eax, ebx
pop edi
pop esi
pop ebx
ret