joyce8/EMBER2024-capa huggingface dataset:
Function at 0x770f54
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0051a804
test al, al
je 0x7710aa
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.0051a434
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 0x770fbc
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x30]
call fcn.0040e300
test al, al
je 0x770fbc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0076df8c
jmp 0x7710aa
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ValidateRect
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 0x7710a3
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 eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
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
mov ebx, dword [ebp - 0xc]
push ebx
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
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
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 0x7710aa
cmp dword [ebp - 0xc], 0
je 0x771086
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
cmp dword [ebp - 0x10], 0
je 0x771095
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 ebx
mov esp, ebp
pop ebp
ret
Function at 0x7a3700
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov edi, eax
xor ebx, ebx
test byte [edi + 0x1c], 0x10
jne 0x7a375c
lea eax, [esp + 8]
push eax
push 0
push 0x419
mov eax, edi
call fcn.0051a434
push eax
call sub.user32.dll_SendMessageW
push esp
call sub.user32.dll_GetCursorPos
lea ecx, [esp + 0x18]
mov edx, esp
mov eax, edi
call fcn.005110b8
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov edx, esp
lea eax, [esp + 8]
call fcn.0040e10c
test al, al
je 0x7a375c
mov bl, 2
call fcn.00787684
call fcn.0078f1f0
sub al, 1
jne 0x7a377b
mov eax, edi
mov si, 0xffb1
call fcn.00406ca4
test al, al
je 0x7a377b
mov bl, 2
call fcn.0050df10
cmp edi, eax
jne 0x7a3786
mov bl, 3
mov eax, ebx
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x7a419c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x7a41b5
test al, 0x10
jne 0x7a41b9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x7c86dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x7c86f5
test al, 0x10
jne 0x7c86f9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x7c8700
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd1c
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.0040882c
xor eax, eax
push ebp
push 0x7c88fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00405e84
mov edi, eax
lea eax, [ebp - 0x2d4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00405c80
cmp dword [ebp + 0x20], 0
je 0x7c87bd
cmp dword [ebp - 0x10], 0
je 0x7c87bd
mov dl, 1
mov eax, dword [ebp + 0x20]
call fcn.0042269c
test al, al
jne 0x7c8773
mov eax, dword [ebp + 0x20]
call fcn.007c86dc
test al, al
je 0x7c8796
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d4]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.004096e8
push eax
call sub.shell32.dll_SHGetFileInfoW
jmp 0x7c87b7
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2d4]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.004096e8
push eax
call sub.shell32.dll_SHGetFileInfoW
mov edi, dword [ebp - 0x2d0]
cmp byte [ebp + 0x1c], 0
je 0x7c87e4
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d4]
push eax
push 0
push 0x7c890c
call sub.shell32.dll_SHGetFileInfoW
mov esi, eax
jmp 0x7c8803
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2d4]
push eax
push 0
push 0x7c890c
call sub.shell32.dll_SHGetFileInfoW
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.comctl32.dll_ImageList_GetIconSize
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
test bl, bl
je 0x7c884f
cmp byte [ebp + 0x14], 0
jne 0x7c884f
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004eadd0
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x7c88e5
mov dl, 1
mov eax, dword [0x4e6d30]
call fcn.004efc38
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0
push 0
mov eax, ebx
call fcn.004f056c
call fcn.004eadd0
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2e0], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.00405668
add eax, dword [ebp - 8]
mov dword [ebp - 0x2dc], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.00405668
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x2d8], eax
mov ecx, ebx
lea edx, [ebp - 0x2e4]
mov eax, dword [ebp - 4]
call fcn.007c8600
mov eax, ebx
call fcn.004069e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c8902
lea eax, [ebp + 0x20]
call fcn.00408748
ret
Function at 0x7d13bc
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 5
ja 0x7d13e8
cmp dword [esp + 4], 5
jne 0x7d13e4
cmp dword [esp + 8], 1
jae 0x7d13e8
xor eax, eax
jmp 0x7d13ea
mov al, 1
add esp, 0x114
ret

Function at 0x7d92dc
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x7d92ee
add esp, 0xfffffff0
call fcn.00406f54
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040c550
xor eax, eax
push ebp
push 0x7d9362
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004069b4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.007d9460
mov dl, 1
mov eax, dword [0x47a134]
call fcn.0049f1c4
mov dword [esi + 0x28], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x7d934c
push 0x7d9388
call sub.user32.dll_RegisterClipboardFormatW
mov dword [0x9faad4], eax
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7d9369
lea eax, [ebp - 4]
call fcn.0040c4dc
ret

Function at 0x7ea1a4
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 5
ja 0x7ea1d0
cmp dword [esp + 4], 5
jne 0x7ea1cc
cmp dword [esp + 8], 1
jae 0x7ea1d0
xor eax, eax
jmp 0x7ea1d2
mov al, 1
add esp, 0x114
ret
Function at 0x803c44
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040882c
xor eax, eax
push ebp
push 0x803dc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp byte [eax + 0x378], 0
je 0x803da1
mov dl, 1
mov eax, dword [0x47a134]
call fcn.0049f1c4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00803de8
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x803d99
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jg 0x803d73
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x803cf3
sub eax, 4
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x803d73
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x190]
test al, al
je 0x803d73
mov eax, dword [ebp - 8]
cmp word [eax + 0x402], 0
je 0x803d4b
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x404]
call dword [esi + 0x400]
jmp 0x803d73
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.004096e8
push eax
push 0x803dd4
push 0
call sub.shell32.dll_ShellExecuteW
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x803d8c
sub eax, 4
mov eax, dword [eax]
add dword [ebp - 0xc], eax
inc ebx
dec dword [ebp - 0x18]
jne 0x803cce
mov eax, dword [ebp - 0x14]
call fcn.004069e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x803dcb
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.004087a8
lea eax, [ebp - 4]
call fcn.00408748
ret
Function at 0x82c478
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x82c610
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408748
push 0
push 0x82c620
push 0x82c620
push 0
push 0x82c624
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x82c5f5
mov edi, 0x80000400
lea eax, [ebp - 4]
mov edx, 0x82c698
call fcn.00408b70
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x82c4e9
sub ebx, 4
mov ebx, dword [ebx]
push 0
push edi
push ebx
mov eax, dword [ebp - 4]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0xc]
call fcn.004096e8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x82c51f
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x82c5f5
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x47d478]
call fcn.004069b4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x82c5dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x41c]
xor ecx, ecx
mov edx, 0x400
call fcn.00405c80
lea eax, [ebp - 0x1c]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x82c59e
lea edx, [ebp - 0x41c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 8]
lea edx, [ebp - 0x41c]
mov ecx, 0x400
call fcn.0040978c
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00408b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x82c5e3
cmp dword [ebp - 0x18], 0
je 0x82c5db
xor eax, eax
push ebp
push 0x82c5d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.004069e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x82c5db
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x82c617
lea eax, [ebp - 8]
mov edx, 2
call fcn.004087a8
ret
Function at 0x83c534
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
push ebx
mov ecx, dword [ebp - 4]
jecxz 0x83c569
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
movzx ebx, byte [edx]
inc edx
xor bl, al
shr eax, 8
xor eax, dword [ebx*4 + 0x9c323c]
dec ecx
jne 0x83c551
mov edx, dword [ebp - 8]
mov dword [edx], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x83d194
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c0
call fcn.00405c80
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x83d700
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x83d708
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x83d721
pop ebx
ret
Function at 0x83dc58
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c0
call fcn.00405c80
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
pop ebx
ret

Function at 0x84d340
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x84d418
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x105
call fcn.0040987c
lea eax, [ebp - 4]
call fcn.00408d14
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov edx, eax
lea eax, [ebp - 4]
call fcn.0040987c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00421384
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00408b70
mov eax, dword [ebp - 4]
test eax, eax
je 0x84d3a6
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x84d3be
lea eax, [ebp - 4]
mov edx, 0x84d430
call fcn.004098fc
push dword [ebp - 4]
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea edx, [ebp - 0xc]
mov eax, 8
call fcn.00421f80
push dword [ebp - 0xc]
push 0x84d440
mov eax, ebx
mov edx, 3
call fcn.004099dc
mov eax, dword [ebx]
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x84d3be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x84d41f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004087a8
ret
Function at 0x84d470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x84d5d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov bl, 1
mov byte [ebp - 0x11], 0
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl 0x84d5bb
inc esi
xor edi, edi
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + edi]
mov ecx, 0
call fcn.00408ec0
mov eax, dword [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x9c3c6c]
call fcn.00409ed8
test eax, eax
je 0x84d5b3
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi]
mov edx, eax
add dl, 0x9f
sub dl, 0x1a
jae 0x84d508
sub al, 0x20
mov byte [ebp - 0x12], al
test bl, bl
je 0x84d53c
lea eax, [ebp - 0x1c]
movzx edx, byte [ebp - 0x12]
mov ecx, 0
call fcn.00408ec0
mov eax, dword [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x9c3c68]
call fcn.00409ed8
dec eax
shl eax, 4
mov byte [ebp - 0x11], al
jmp 0x84d564
lea eax, [ebp - 0x20]
movzx edx, byte [ebp - 0x12]
mov ecx, 0
call fcn.00408ec0
mov eax, dword [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x9c3c68]
call fcn.00409ed8
dec eax
or byte [ebp - 0x11], al
xor bl, 1
test bl, bl
je 0x84d5b3
cmp byte [ebp - 9], 0
je 0x84d59a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
movzx eax, byte [ebp - 0x11]
and al, 0xf
shl eax, 4
movzx edx, byte [ebp - 0x11]
and dl, 0xf0
movzx edx, dl
shr edx, 4
or al, dl
pop edx
mov byte [edx], al
jmp 0x84d5a9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
movzx ecx, byte [ebp - 0x11]
mov byte [edx + eax], cl
mov eax, dword [ebp + 8]
add dword [eax], 1
adc dword [eax + 4], 0
inc edi
dec esi
jne 0x84d4c6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x84d5dd
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004087d8
ret

Function at 0x864200
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
push 0x8642c0
call sub.user32.dll_RegisterClipboardFormatW
mov dword [ebp - 4], eax
mov eax, edi
test eax, eax
je 0x864223
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
lea eax, [ebx + 1]
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x8642a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x864295
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004091d8
mov edx, esi
mov ecx, ebx
call fcn.004050e4
mov byte [esi + ebx], 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x86429c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x8642d8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, edi
test eax, eax
je 0x8642ec
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
lea eax, [ebx + 1]
add eax, eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x864373
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x864362
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004096e8
mov ecx, ebx
add ecx, ecx
mov edx, esi
call fcn.004050e4
mov word [esi + ebx*2], 0
mov eax, dword [ebp - 4]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x864369
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x880264
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x8802b5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x88029c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x88028c
jmp 0x8802b5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x88029d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8955d4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x8955dc
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x89576b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x18], eax
lea eax, [edi + 0xb8]
call fcn.00430510
mov dword [esi + 0x14], eax
movzx ebx, byte [0x89577c]
lea eax, [ebp - 4]
lea edx, [edi + 0x78]
call fcn.00434404
mov edx, dword [ebp - 4]
mov ecx, 1
mov eax, 0x89578c
call fcn.00409d34
test eax, eax
jle 0x895639
or bl, 1
jmp 0x895658
lea eax, [ebp - 8]
lea edx, [edi + 0x78]
call fcn.00434404
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00421ffc
cmp eax, 0x258
jl 0x895658
or bl, 1
lea eax, [ebp - 0x18]
mov edx, 0x8957a4
call fcn.00434fd0
lea edx, [ebp - 0x18]
lea eax, [edi + 0x68]
call fcn.004379f4
je 0x89568c
lea eax, [ebp - 0x28]
mov edx, 0x8957c0
call fcn.00434fd0
lea edx, [ebp - 0x28]
lea eax, [edi + 0x68]
call fcn.004379f4
jne 0x89568f
or bl, 2
lea eax, [ebp - 0x2c]
lea edx, [edi + 0x98]
call fcn.00434404
mov edx, dword [ebp - 0x2c]
mov ecx, 1
mov eax, 0x8957dc
call fcn.00409d34
test eax, eax
jle 0x8956b6
or bl, 4
lea eax, [ebp - 0x30]
lea edx, [edi + 0x98]
call fcn.00434404
mov edx, dword [ebp - 0x30]
mov ecx, 1
mov eax, 0x8957fc
call fcn.00409d34
test eax, eax
jle 0x8956dd
or bl, 8
mov byte [esi + 0x10], bl
lea eax, [edi + 0x58]
call fcn.0043216c
fstp qword [esi + 8]
wait
movzx eax, byte [edi + 0x40]
mov byte [esi + 0x1c], al
lea eax, [esi + 0x20]
lea edx, [edi + 0xa8]
call fcn.0042fb78
lea eax, [ebp - 0x38]
lea edx, [edi + 0x48]
call fcn.00434404
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00895524
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00408b28
cmp dword [esi], 0
jne 0x895730
mov eax, esi
mov edx, dword [edi + 0x1c]
call fcn.00408b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x895772
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.004087a8
lea eax, [ebp - 0x28]
mov edx, dword [0x401300]
mov ecx, 2
call fcn.0040a23c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004087a8
ret