joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1806ef1
Capabilities:
Manipulate console buffer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
and word [ebp - 4], 0
and word [ebp - 2], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
movzx eax, word [ebp - 0x1c]
movzx esi, word [ebp - 0x1a]
imul esi, eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
push esi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
xor eax, eax
mov al, byte [ebp - 0x14]
shr al, 4
xor al, byte [ebp - 0x14]
push esi
and eax, 0xf
xor eax, dword [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1807045
Capabilities:
Manipulate console buffer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
mov word [ebp - 4], si
mov word [ebp - 2], si
je 0x180709c
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x18070a3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push 0x1806ea4
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0xc]
call esi
xor eax, eax
pop esi
leave
ret 0xc
push dword [ebp + 0xc]
call fcn.01806ef1
xor eax, eax
inc eax
jmp 0x180709e
Function at 0x18071c9
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.01808950
mov eax, dword [0x18122c8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2014], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push esi
mov esi, dword [ebp + 0xc]
add eax, 0x20
push eax
call dword [sym.imp.msvcrt.dll_fflush]
push esi
lea eax, [ebp - 0x2004]
push 0x2000
push eax
call dword [sym.imp.msvcrt.dll_fgets]
add esp, 0x10
test eax, eax
je 0x1807327
push ebx
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
mov eax, dword [0x1812308]
cmp eax, ebx
mov dword [ebp - 0x2008], ecx
je 0x18072d8
push edi
push ebx
lea edx, [ebp - 0x2010]
push edx
add ecx, 0xfffffffe
mov esi, 0x18016a4
lea edi, [ebp - 0x200c]
movsw word es:[edi], word [esi]
push ecx
lea ecx, [ebp - 0x2004]
push ecx
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x180729d
push dword [0x1812308]
call edi
mov dword [0x1812308], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
call sym.NETSH.EXE_PrintError
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x2010]
push eax
push 2
lea eax, [ebp - 0x200c]
push eax
push dword [0x1812308]
call esi
test eax, eax
jne 0x18072d7
push dword [0x1812308]
call edi
mov dword [0x1812308], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
call sym.NETSH.EXE_PrintError
pop ecx
pop ecx
pop edi
mov eax, dword [ebp - 0x2008]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x1807316
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push esi
push 0x2000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x2008]
mov ecx, dword [ebp - 0x2014]
mov dword [ecx], eax
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.018086c6
leave
ret 8
Function at 0x1807339
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
call ebx
push eax
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x18073ee
push esi
push esi
push dword [ebp - 8]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push esi
call edi
push eax
call ebx
mov ebx, dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea eax, [ebp - 0xc]
push eax
dec ebx
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call edi
mov eax, dword [0x1812308]
cmp eax, esi
je 0x18073dd
push esi
lea ecx, [ebp - 0xc]
push ecx
push ebx
push dword [ebp - 4]
push eax
call edi
test eax, eax
jne 0x18073dd
push dword [0x1812308]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1812308], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call sym.NETSH.EXE_PrintError
pop ecx
pop ecx
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1808634
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x1808645
pop ebp
jmp fcn.01807ea8
call fcn.01808559
pop ebp
ret 0xc

Function at 0x18086c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x18122c8]
jne 0x18086d7
test ecx, 0xffff0000
jne 0x18086d7
ret
jmp fcn.018086e1

Function at 0x18087c6
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x18018c8
call fcn.018089d8
cmp word [0x1800000], 0x5a4d
jne 0x1808805
mov eax, dword [0x180003c]
cmp dword [eax + 0x1800000], 0x4550
jne 0x1808805
movzx ecx, word [eax + 0x1800018]
cmp ecx, 0x10b
je 0x180881e
cmp ecx, 0x20b
je 0x180880b
and dword [ebp - 0x1c], 0
jmp 0x1808835
cmp dword [eax + 0x1800084], 0xe
jbe 0x1808805
xor ecx, ecx
cmp dword [eax + 0x18000f8], ecx
jmp 0x180882f
cmp dword [eax + 0x1800074], 0xe
jbe 0x1808805
xor ecx, ecx
cmp dword [eax + 0x18000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1817d10], 0xffffffff
or dword [0x1817d14], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1812e78]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1812e74]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1817d18], eax
call fcn.018089ce
cmp dword [0x18122d0], 0
jne 0x1808892
push fcn.018089ce
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.018089b7
push 0x1801210
push 0x180120c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1812e70]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1812e6c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1801208
push 0x1801200
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.018067bf
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], 0
jne 0x180890a
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x180893f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01808a13
ret
Function at 0x402f80
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x40317c
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x4031af
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x4031b6
cmp edx, dword [ebx + 8]
je 0x4031c0
mov eax, 0x65
jmp 0x4031bb
mov eax, 5
jmp 0x4031bb
call sub.kernel32.dll_GetLastError
call fcn.004028bc
mov eax, ebx
pop ebx
ret

Function at 0x40366c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4bf010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403704
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036e4
xor eax, eax
push ebp
push 0x4036dd
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 0x403720
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 0x4036e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4bf010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4bf010], ax
mov esp, ebp
pop ebp
ret

Function at 0x4043e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c1048], 0
je 0x404445
cmp word [0x4c121c], 0xd7b2
jne 0x40440d
cmp dword [0x4c1224], 0
jbe 0x40440d
mov eax, 0x4c1218
call dword [0x4c1234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4bf078
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 0x40446c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4bf020], 0
jne 0x404461
push 0
push 0x4bf098
push 0x4bf078
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404598
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.00402734
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4c1049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404560
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x409dd0
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 0x409e09
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046d4
jmp 0x409e12
mov eax, ebx
mov edx, esi
call fcn.00404638
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409e1c
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 0x409e3d
mov al, byte [esp]
jmp 0x409e3f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a4c4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a33c
mov eax, dword [0x4c0dc8]
cmp byte [eax], 0
je 0x40a52c
mov eax, dword [0x4c0bbc]
call fcn.00402da4
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408ff4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a574
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a562
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4c0b64]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c1714]
call fcn.00405d74
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40b138
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 0x40b19c
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.0040484c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c08
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b1a3
lea eax, [ebp - 0xc]
call fcn.004045e4
ret

Function at 0x41c7ac
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0xe], 1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, ebx
call fcn.0041c620
pop ebx
ret

Function at 0x41c7cc
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.0041c620
dec esi
jne 0x41c7ee
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41d918
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c1a24
cmp dword [edi], 0
jne 0x41d994
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c1a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4bf4fc
mov ecx, 2
call fcn.0040293c
mov edx, 0x41d8f0
lea eax, [esi + 5]
call fcn.0041d910
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d910
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 0x41d969
mov dword [0x4c1a20], 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 0x41eec8
Capabilities:
Encode data using xor

Disassembly:
add byte [ebp + 0x3b0e74c0], al
add eax, 0x4c1a2c
je 0x41ee66
push eax
call sub.gdi32.dll_DeleteObject
ret
inc ecx
add byte [eax + eax], ah
add byte [eax], al
mov al, 0x10
inc eax
add byte [edx + edi], bh
inc eax
add byte [eax + 0x3a], cl
inc eax
add byte [edx + edi + 0x40], cl
add byte [eax + 0x3a], dl
inc eax
add byte [edx + edi + 0x40], al
add byte [edi + esi + 0x37a80040], cl
inc eax
add byte [eax], bl
out dx, eax
inc ecx
add byte [eax], dl
push esp
push edx
jae 0x41ef29
jne 0x41ef2e
arpl word [ebp + 0x4d], sp
popal
outsb dx, byte [esi]
popal
jb 0x41ee53
inc eax
add byte [ecx + 0x31c289d1], cl
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41eece
ret
jl 0x41ef29
inc dword [ebx + ebx*8 - 0x3974f882]
jle 0x41ef37
mov eax, esi
call fcn.00403ba8
pop esi
pop ebx
ret

Function at 0x4216e8
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 0x421739
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421720
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421710
jmp 0x421739
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 0x421721
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430504
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.00404a84
xor eax, eax
push ebp
push 0x430632
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x430605
xor eax, eax
push ebp
push 0x4305fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040489c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4305d3
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 0x4305c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040489c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404a94
mov edx, ebx
pop ecx
call fcn.0040293c
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 0x4305c9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4c0afc]
mov dl, 1
mov eax, dword [0x407af8]
call fcn.0040a694
call fcn.00403fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430639
lea eax, [ebp - 4]
call fcn.004045e4
ret
Function at 0x430640
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 0x4307f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404c84
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x430808
call fcn.004048e8
mov eax, ebx
call fcn.0041ceb8
mov edi, eax
dec edi
test edi, edi
jl 0x4306f8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041ce8c
mov edx, dword [0x42ad5c]
call fcn.00403980
test al, al
je 0x4306f4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041ce8c
lea edx, [ebp - 0x14]
call fcn.00437b10
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404c84
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040495c
inc esi
dec edi
jne 0x4306a6
mov al, byte [0x43080c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x430818
mov eax, dword [ebp - 0xc]
call fcn.0040b710
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040467c
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.00437b10
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x430808
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 + 0x2f0]
call fcn.00437b10
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x430808
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, 0x430808
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, 0x430824
call fcn.00409768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4307f8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404608
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404608
lea eax, [ebp - 0x14]
call fcn.004045e4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404608
ret
Function at 0x4312d4
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 0x4313a6
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 0x431378
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 0x431367
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.0040293c
mov eax, dword [ebp - 4]
call fcn.00431210
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 0x43136e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x4313b8
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 0x43142a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4313fe
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.004047d4
jmp 0x431405
mov eax, ebx
call fcn.004045e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431431
cmp dword [ebp - 8], 0
je 0x431421
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 0x431460
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 0x431502
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4314d5
mov edx, ebx
mov eax, dword [0x41e98c]
call fcn.00422f64
test al, al
je 0x4314c5
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.00422e74
call fcn.0040406c
jmp 0x431509
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x431490
mov ecx, dword [0x4c0b5c]
mov dl, 1
mov eax, dword [0x407af8]
call fcn.0040a694
call fcn.00403fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431509
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