joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4751d8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x475284
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x675140], 0
jne 0x47522c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404dc0
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, esi
call fcn.0040e3f4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0040543c
jmp 0x475269
mov eax, ebx
mov edx, 0xff
call fcn.0040582c
mov eax, dword [ebx]
call fcn.004054c8
push eax
mov eax, dword [ebx]
call fcn.004054b8
push eax
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x47525f
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040582c
jmp 0x475269
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004052a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47528b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404b54
ret

Function at 0x4824c4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48259c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x675248], 0
jne 0x482580
lea eax, [ebp - 4]
mov edx, 0x4825b4
call fcn.00404bc8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ff0
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x482580
mov eax, ebx
call fcn.00402a68
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x482579
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x482563
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4825c4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x482563
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x675248], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482580
mov eax, dword [ebp - 0xc]
call fcn.00402a88
ret
mov ebx, dword [0x675248]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4825a3
lea eax, [ebp - 4]
call fcn.00404b30
ret
Function at 0x49e8ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x49ea70
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x276]
sub al, 2
jb 0x49ea55
cmp byte [ebx + 0x268], 0
je 0x49ea55
mov eax, dword [ebp - 4]
call fcn.004a7e30
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x49ea4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x49e992
dec ax
je 0x49e968
sub ax, 0x12
jne 0x49e9ac
call fcn.0040459c
jmp 0x49ea55
cmp byte [ebx + 0x269], 0
je 0x49ea34
mov eax, ebx
call fcn.00439e34
test al, al
je 0x49ea34
xor edx, edx
mov eax, ebx
call fcn.00439e58
jmp 0x49ea34
mov eax, dword [esi]
call fcn.004054c8
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.004056b0
jmp 0x49ea34
cmp byte [ebx + 0x269], 0
je 0x49e9c9
mov eax, ebx
call fcn.00439e34
test al, al
jne 0x49e9c9
mov dl, 1
mov eax, ebx
call fcn.00439e58
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x49e9e1
mov eax, esi
call fcn.00405264
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 1
lea eax, [ebp - 0x10]
mov dx, word [ebp - 6]
call fcn.0040538c
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.00405534
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.0049e73c
test al, al
je 0x49ea34
lea eax, [ebp - 0x14]
mov dx, word [ebp - 6]
call fcn.0040538c
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004054d4
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ea55
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call fcn.004a7e64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ea77
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040527c
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x6718a8]
cmp dword [eax], 1
jne 0x4a1666
mov eax, ebx
call fcn.00475080
pop ebx
ret
mov eax, ebx
call fcn.004054b8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4a167c
test al, 0x10
je 0x4a1680
xor eax, eax
jmp 0x4a1682
mov al, 1
pop ebx
ret
Function at 0x4a5704
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404b30
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4a5753
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404da8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c1d90
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
jne 0x4c1dc0
mov eax, ebx
call fcn.004c28b4
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x4c1db9
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
mov edx, dword [ebx + 0x14]
cmp edx, 0xcb
jne 0x4c1e38
mov ecx, dword [ebx + 0x1b4]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4c1e2a
mov edx, dword [ebx + 8]
test edx, edx
je 0x4c1de6
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 0x4c1df8
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c1e2a
mov edx, dword [ebx + 8]
test edx, edx
je 0x4c1dd8
cmp eax, 3
je 0x4c1e0c
dec eax
jne 0x4c1dd8
mov ecx, dword [ebx + 8]
inc dword [ecx + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
jl 0x4c1dd8
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c1dd8
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x98], eax
jmp 0x4c1e58
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x4c1e58
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.004c1e64
pop ebx
ret
Function at 0x4d5144
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x6c]
mov dword [ebp - 8], eax
jmp 0x4d517f
mov edx, dword [ebx + 0x2c]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x6c]
ja 0x4d5200
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.004d3708
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], edi
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4d51cd
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4d51cf
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d51b6
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4d51f5
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4d51f7
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d51de
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x4d5262
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x38]
add edx, dword [ebx + 0x6c]
add edx, dword [ebx + 0x74]
push edx
push edi
call fcn.004d4e08
add esp, 0xc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4d524d
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4d5262
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4d5153
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4da0c4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x65e014
test edx, edx
jne 0x4da0e3
xor eax, eax
jmp 0x4da201
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4da100
push esi
push edx
push eax
call fcn.004da208
add esp, 0xc
jmp 0x4da201
push esi
push edx
push eax
call fcn.004da4c8
add esp, 0xc
jmp 0x4da201
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4f0a98
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4f0ac6
mov eax, ebx
call fcn.004f1550
cmp dword [ebx + 0x3c], 0
je 0x4f0abf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4f0b37
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4f0b29
cmp dword [ebx + 8], 0
je 0x4f0ae8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4f0afa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4f0b29
cmp dword [ebx + 8], 0
je 0x4f0adb
cmp eax, 3
je 0x4f0b0d
dec eax
jne 0x4f0adb
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 0x4f0adb
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4f0adb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4f0b55
cmp dword [ebx + 0x10], 0xcc
je 0x4f0b55
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004f0b60
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x50aa9d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6718a8]
cmp dword [eax], 1
jne 0x50aa77
mov eax, ebx
call fcn.00475080
mov ebx, eax
jmp 0x50aa93
mov eax, ebx
call fcn.004054b8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x50aa8d
test al, 0x10
je 0x50aa91
xor ebx, ebx
jmp 0x50aa93
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50aaa9
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x51390c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5139da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x513993
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x513966
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004053cc
jmp 0x51396e
mov eax, dword [ebp - 8]
call fcn.00405264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51399a
cmp dword [ebp - 0xc], 0
je 0x51398a
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x515a00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x6c]
mov dword [ebp - 8], eax
jmp 0x515a3b
mov edx, dword [ebx + 0x2c]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x6c]
ja 0x515abc
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.00513ea4
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], edi
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x515a89
mov cx, word [ebp - 4]
sub cx, si
jmp 0x515a8b
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x515a72
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x515ab1
mov cx, word [ebp - 4]
sub cx, si
jmp 0x515ab3
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x515a9a
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x515b1e
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x38]
add edx, dword [ebx + 0x6c]
add edx, dword [ebx + 0x74]
push edx
push edi
call fcn.005156c4
add esp, 0xc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x515b09
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x515b1e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x515a0f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x51a980
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x668da8
test edx, edx
jne 0x51a99f
xor eax, eax
jmp 0x51aabd
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x51a9bc
push esi
push edx
push eax
call fcn.0051aac4
add esp, 0xc
jmp 0x51aabd
push esi
push edx
push eax
call fcn.0051ad84
add esp, 0xc
jmp 0x51aabd
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x52c68c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52c87a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x52c855
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x268]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x52c84b
call fcn.005af964
test al, al
je 0x52c711
xor eax, eax
push ebp
push 0x52c70a
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c711
call sub.user32.dll_CloseClipboard
ret
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x268]
lea eax, [ebp - 0x10]
call fcn.00405264
jmp 0x52c772
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
mov si, word [eax + ebx*2]
cmp si, 0xa
jne 0x52c753
push dword [ebp - 0x10]
push 0x52c88c
push 0x52c894
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405598
jmp 0x52c771
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x218]
mov edx, esi
call fcn.0040538c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004054d4
inc ebx
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x26c]
jl 0x52c724
call fcn.00513a94
mov edx, dword [ebp - 0x10]
call fcn.005139e8
call fcn.005af964
test al, al
je 0x52c84b
xor eax, eax
push ebp
push 0x52c844
push dword fs:[eax]
mov dword fs:[eax], esp
imul eax, dword [ebp - 0xc], 0x118
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edi, eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x268]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x26c]
dec esi
sub esi, ebx
jl 0x52c819
inc esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
mov edx, dword [eax + ebx*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
call fcn.0041d8a0
mov edx, dword [ebp - 4]
mov ecx, ebx
sub ecx, dword [edx + 0x268]
imul edx, ecx, 0x118
lea edx, [edi + edx]
mov ecx, 0x118
call fcn.00402cac
inc ebx
dec esi
jne 0x52c7dd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x675d3c]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c84b
call sub.user32.dll_CloseClipboard
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52c85f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c881
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040527c
ret
Function at 0x52c898
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52ca38
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x52ca18
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x52ca0e
call fcn.00513a94
lea edx, [ebp - 0x14]
call fcn.0051390c
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.004055e0
jne 0x52c8fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52ca22
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x52ca07
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005af964
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x52c97a
mov eax, dword [0x675d3c]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x52c97a
mov eax, dword [0x675d3c]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x52c97a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov eax, ecx
mov ebx, 0x118
cdq
idiv ebx
test edx, edx
jne 0x52c97a
mov eax, ecx
mov ecx, 0x118
cdq
idiv ecx
mov dword [ebp - 0x10], eax
mov edi, 1
mov eax, dword [ebp - 0x14]
call fcn.004054c8
mov esi, eax
test esi, esi
jle 0x52c9df
mov ebx, 1
mov eax, dword [ebp - 0x14]
cmp word [eax + ebx*2 - 2], 0xd
je 0x52c9db
cmp dword [ebp - 0xc], 0
je 0x52c9cb
cmp edi, dword [ebp - 0x10]
jg 0x52c9cb
mov eax, edi
dec eax
imul eax, eax, 0x118
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x278]
mov ecx, 0x118
call fcn.00402cac
inc edi
mov eax, dword [ebp - 0x14]
mov dx, word [eax + ebx*2 - 2]
mov eax, dword [ebp - 4]
call fcn.00526aa0
inc ebx
dec esi
jne 0x52c992
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ca0e
cmp dword [ebp - 8], 0
je 0x52c9fb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
cmp byte [ebp - 0x15], 0
je 0x52ca06
call sub.user32.dll_CloseClipboard
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52ca22
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ca3f
lea eax, [ebp - 0x14]
call fcn.00405264
ret
Function at 0x534d98
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp byte [edx + 8], 3
je 0x534f2e
mov ecx, dword [edx]
xor ebx, ebx
mov dword [ebp - 4], ecx
xor esi, esi
test byte [edx + 8], 2
je 0x534df1
movzx edi, byte [eax]
xor ecx, ecx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
movzx edi, byte [eax + 1]
xor ecx, ecx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
xor ecx, ecx
movzx edi, byte [eax + 2]
inc ebx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
jmp 0x534e01
xor ecx, ecx
mov cl, byte [edx + 9]
movzx edi, byte [eax + 3]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
test byte [edx + 8], 4
je 0x534e17
xor ecx, ecx
mov cl, byte [edx + 9]
movzx eax, byte [eax + 4]
sub ecx, eax
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
xor ecx, ecx
lea eax, [ebp - 0x20]
cmp ebx, ecx
jle 0x534e37
cmp dword [eax], 0
jg 0x534e2b
xor edi, edi
mov dword [eax], edi
jmp 0x534e2f
mov si, 1
inc ecx
add eax, 4
cmp ebx, ecx
jg 0x534e20
test si, si
je 0x534f2e
mov al, byte [edx + 9]
sub al, 2
je 0x534e5c
sub al, 2
je 0x534e7c
sub al, 4
je 0x534eb7
sub al, 8
je 0x534ede
jmp 0x534f2e
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 0xc]
xor edx, edx
cmp ecx, edx
jbe 0x534f2e
shr byte [eax], 1
and byte [eax], 0x55
inc eax
inc edx
cmp ecx, edx
ja 0x534e6c
jmp 0x534f2e
mov esi, dword [ebp - 0x20]
mov ebx, 0xf0
mov ecx, esi
mov edx, dword [edx + 4]
sar ebx, cl
mov ecx, esi
mov esi, 0xf
sar esi, cl
mov ecx, esi
and bl, 0xf0
or bl, cl
xor esi, esi
cmp edx, esi
mov eax, dword [ebp + 0xc]
jbe 0x534f2e
mov ecx, dword [ebp - 0x20]
inc esi
shr byte [eax], cl
and byte [eax], bl
inc eax
cmp edx, esi
ja 0x534ea8
jmp 0x534f2e
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
imul ebx
mov dword [ebp - 8], eax
xor esi, esi
cmp esi, dword [ebp - 8]
jae 0x534f2e
mov eax, esi
xor edx, edx
div ebx
mov ecx, dword [ebp + edx*4 - 0x20]
shr byte [edi], cl
inc edi
inc esi
cmp esi, dword [ebp - 8]
jb 0x534ec9
jmp 0x534f2e
mov edi, dword [ebp + 0xc]
mov eax, ebx
imul dword [ebp - 4]
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x534f2e
movzx esi, byte [edi]
shl esi, 8
xor eax, eax
mov al, byte [edi + 1]
xor edx, edx
add si, ax
mov eax, dword [ebp - 0xc]
div ebx
mov ecx, dword [ebp + edx*4 - 0x20]
shr si, cl
movzx eax, si
sar eax, 8
mov edx, esi
mov byte [edi], al
inc edi
and dl, 0xff
mov byte [edi], dl
inc edi
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jb 0x534ef6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret