joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002aebb
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.10020760
mov eax, dword [0x1003a1d0]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.10028dc6
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x1002afee
push 2
push esi
push dword [ebp + 8]
call fcn.10028dc6
add esp, 0xc
cmp eax, ebx
je 0x1002afee
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x1002af8e
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.10029920
push 0x8000
push dword [ebp + 8]
call fcn.1002b9cb
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x1002af44
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.1002416d
add esp, 0xc
cmp eax, 0xffffffff
je 0x1002af64
sub edi, eax
test edi, edi
jg 0x1002af3c
jmp 0x1002af7c
call fcn.100235ff
cmp dword [eax], 5
jne 0x1002af79
call fcn.100235f6
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.1002b9cb
pop ecx
pop ecx
jmp 0x1002afd6
jge 0x1002afd6
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10028dc6
push dword [ebp + 8]
call fcn.100289ac
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x1002afd6
call fcn.100235f6
mov dword [eax], 0xd
call fcn.100235ff
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.10028dc6
add esp, 0xc
mov eax, esi
pop edi
jmp 0x1002aff0
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.1001fde5
leave
ret
Function at 0x1002be85
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x1002be9e
or eax, 0xffffffff
jmp 0x1002beff
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x1002befb
push 0x3d
push esi
call fcn.1002c3a4
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x1002befb
cmp esi, eax
je 0x1002befb
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x1003c7bc]
sete cl
cmp eax, dword [0x1003c7c0]
mov dword [ebp - 8], ecx
jne 0x1002bee1
mov edi, eax
call fcn.1002be24
mov dword [0x1003c7bc], eax
cmp eax, ebx
jne 0x1002bf3a
cmp dword [ebp + 0xc], ebx
je 0x1002bf03
cmp dword [0x1003c7c4], ebx
je 0x1002bf03
call fcn.1002b0c1
test eax, eax
je 0x1002bf3a
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x1002bf0c
xor eax, eax
jmp 0x1002befe
push 4
call fcn.1002163a
cmp eax, ebx
pop ecx
mov dword [0x1003c7bc], eax
je 0x1002befb
mov dword [eax], ebx
cmp dword [0x1003c7c4], ebx
jne 0x1002bf3a
push 4
call fcn.1002163a
cmp eax, ebx
pop ecx
mov dword [0x1003c7c4], eax
je 0x1002befb
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x1003c7bc]
call fcn.1002bdd7
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x1002bf9b
cmp dword [esi], ebx
je 0x1002bf9b
lea esi, [esi + edi*4]
push dword [esi]
call fcn.10022c9c
cmp dword [ebp - 8], ebx
pop ecx
jne 0x1002bf7e
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x1002bfdc
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x1002bf75
mov eax, edi
shl eax, 2
push eax
push dword [0x1003c7bc]
call fcn.10026559
cmp eax, ebx
pop ecx
pop ecx
je 0x1002bfdc
jmp 0x1002bfd7
cmp dword [ebp - 8], ebx
jne 0x1002c047
cmp edi, ebx
jge 0x1002bfaa
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x1003c7bc]
call fcn.10026559
cmp eax, ebx
pop ecx
pop ecx
je 0x1002befb
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x1003c7bc], eax
cmp dword [ebp + 0xc], ebx
je 0x1002c031
push dword [ebp - 4]
call fcn.10021670
inc eax
inc eax
push eax
call fcn.1002163a
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x1002c031
push dword [ebp - 4]
push esi
call fcn.10024460
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x1002c02a
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.10022c9c
pop ecx
cmp dword [ebp - 8], ebx
je 0x1002c03f
push dword [ebp - 4]
call fcn.10022c9c
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x1002befe
push dword [ebp - 4]
call fcn.10022c9c
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x1002bf08
Function at 0x10004600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xbb72f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [0xbb8258]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x10004643
mov eax, dword [esi]
jmp 0x10004645
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x10004666
push 0xbbeab0
push edi
push eax
call fcn.1000e754
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x100046c6
lea eax, [esi + 8]
push eax
call dword [0xbb8230]
test eax, eax
jne 0x100046c6
mov eax, dword [esi]
test eax, eax
je 0x100046ad
push eax
call dword [0xbb824c]
mov eax, dword [esi + 4]
test eax, eax
je 0x100046bd
push eax
call fcn.1000f2ac
add esp, 4
push esi
call fcn.1000f2ac
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x10004860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xbb7338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [0xbb8258]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x100048a3
mov eax, dword [esi]
jmp 0x100048a5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x100048c1
push 0xbbeab0
push edi
push eax
call fcn.1000e754
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x10004921
lea eax, [esi + 8]
push eax
call dword [0xbb8230]
test eax, eax
jne 0x10004921
mov eax, dword [esi]
test eax, eax
je 0x10004908
push eax
call dword [0xbb824c]
mov eax, dword [esi + 4]
test eax, eax
je 0x10004918
push eax
call fcn.1000f2ac
add esp, 4
push esi
call fcn.1000f2ac
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x402ea0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d50
test esi, esi
jne 0x402ed7
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404e40
jmp 0x402ef8
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d3c
mov dword [esp], eax
test esi, esi
je 0x402ef8
cmp dword [ebx], 0
je 0x402ef8
dec esi
jmp 0x402edf
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403620
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x532008], 0x8088405
inc edx
mov dword [ebx + 0x532008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x532024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403e28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403e08
xor eax, eax
push ebp
push 0x403e01
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403e44
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x532024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x532024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404b48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54404c], 0
je 0x404ba9
cmp word [0x544220], 0xd7b2
jne 0x404b71
cmp dword [0x544228], 0
jbe 0x404b71
mov eax, 0x54421c
call dword [0x544238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x532094
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404bd0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x532034], 0
jne 0x404bc5
push 0
push 0x53208c
push 0x532094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404d04
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402ad0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x54404d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404ccc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406fcc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x407032
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404fd0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004037bc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40701c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407039
lea eax, [ebp - 0x10]
call fcn.00404d50
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405220
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a1fd
test al, 0x10
jne 0x40a201
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40d180
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d1b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e40
jmp 0x40d1c2
mov eax, ebx
mov edx, esi
call fcn.00404da4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d1cc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d1ed
mov al, byte [esp]
jmp 0x40d1ef
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e1ec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e2c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404de8
lea eax, [ebp - 8]
call fcn.00405270
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405220
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e2ac
mov eax, ebx
call fcn.00402ad0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e2a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405220
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e28f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e2d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e28f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e2ac
mov eax, dword [ebp - 0x10]
call fcn.00402b00
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e2c9
lea eax, [ebp - 8]
call fcn.00404d50
ret
Function at 0x40e8e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e94c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404fd0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409e00
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e953
lea eax, [ebp - 0xc]
call fcn.00404d50
ret

Function at 0x420370
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004201c8
dec esi
jne 0x420392
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4214d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x54488c
cmp dword [edi], 0
jne 0x421550
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x544888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5324a4
mov ecx, 2
call fcn.00402cfc
mov edx, 0x4214ac
lea eax, [esi + 5]
call fcn.004214cc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004214cc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x421525
mov dword [0x544888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x422b74
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x422b7a
ret

Function at 0x4252d8
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
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x425329
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425310
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425300
jmp 0x425329
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 0x425311
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430c28
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405210
xor eax, eax
push ebp
push 0x430d56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x430d29
xor eax, eax
push ebp
push 0x430d22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405020
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x430cf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x430ce6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405020
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405220
mov edx, ebx
pop ecx
call fcn.00402cfc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430ced
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5430c4]
mov dl, 1
mov eax, dword [0x408604]
call fcn.0040da08
call fcn.004046c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430d5d
lea eax, [ebp - 4]
call fcn.00404d50
ret
Function at 0x430d64
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x430f15
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405410
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x430f2c
call fcn.0040506c
mov eax, ebx
call fcn.00420a68
mov edi, eax
dec edi
test edi, edi
jl 0x430e1c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00420a3c
mov edx, dword [0x447a70]
call fcn.004040bc
test al, al
je 0x430e18
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00420a3c
lea edx, [ebp - 0x14]
call fcn.00457dc0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405410
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004050e0
inc esi
dec edi
jne 0x430dca
mov al, byte [0x430f30]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x430f3c
mov eax, dword [ebp - 0xc]
call fcn.0040eec4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404de8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00457dc0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x430f2c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00457dc0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x430f2c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x430f2c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x430f48
call fcn.0040ac60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430f1c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404d74
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404d74
lea eax, [ebp - 0x14]
call fcn.00404d50
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404d74
ret
Function at 0x435864
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x435936
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x435908
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x4358f7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402cfc
mov eax, dword [ebp - 4]
call fcn.004357a0
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4358fe
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x435948
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4359ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x43598e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404f58
jmp 0x435995
mov eax, ebx
call fcn.00404d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4359c1
cmp dword [ebp - 8], 0
je 0x4359b1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4359f0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x435a92
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x435a65
mov edx, ebx
mov eax, dword [0x422638]
call fcn.00426b78
test al, al
je 0x435a55
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00426a88
call fcn.00404770
jmp 0x435a99
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x435a20
mov ecx, dword [0x54314c]
mov dl, 1
mov eax, dword [0x408604]
call fcn.0040da08
call fcn.004046c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435a99
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret