joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4576e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x45772c
mov eax, esi
call fcn.0043e340
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45772c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x45772c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x457870
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x45776c
cmp eax, 0x108
ja 0x45776c
mov eax, esi
call fcn.0043e340
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x457867
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x457870
jmp 0x457867
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45784e
cmp eax, 0x20a
ja 0x45784e
test byte [esi + 0x50], 0x80
jne 0x45779e
sub eax, 0x203
je 0x45779b
sub eax, 3
je 0x45779b
sub eax, 3
jne 0x45779e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4577b2
dec eax
je 0x4577c7
dec eax
je 0x4577e7
dec eax
je 0x4577c7
jmp 0x4577ee
mov ecx, ebx
mov eax, dword [0x5316f4]
mov eax, dword [eax]
mov edx, esi
call fcn.00447a00
jmp 0x457867
cmp byte [esi + 0x5d], 1
jne 0x4577dd
mov eax, esi
mov si, 0xffed
call fcn.0040394c
jmp 0x457870
or word [esi + 0x54], 1
jmp 0x457867
and word [esi + 0x54], 0xfffe
jmp 0x457867
mov eax, dword [0x532bd0]
cmp byte [eax + 0x20], 0
je 0x457867
mov eax, dword [0x532bd0]
cmp dword [eax + 0x1c], 0
je 0x457867
mov eax, dword [ebx]
mov edx, dword [0x532bd0]
cmp eax, dword [edx + 0x1c]
jne 0x457867
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0043e284
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040394c
jmp 0x457870
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x457867
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00456000
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ad10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x45ad2c
cmp dword [esi + 4], 0
je 0x45ad59
test byte [ebx + 0x55], 1
jne 0x45ad4b
mov eax, ebx
call fcn.00459968
test eax, eax
jne 0x45ad4b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45ae69
mov edx, esi
mov eax, ebx
call fcn.0045a830
jmp 0x45ae69
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45ae62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045cb18
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00457614
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0045ad10
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045cb18
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ae69
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461340
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x531a40]
cmp byte [eax + 0xc], 0
je 0x4614ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4614a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x532c24], 0
jne 0x461394
push 0x4614b4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4614bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c24], eax
cmp dword [0x4f0e18], 0
jne 0x46148f
push 0x4614cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4f0e18], eax
cmp dword [0x4f0e18], 0
je 0x46148f
push 0x4614d8
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c28], eax
push 0x4614e8
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c2c], eax
push 0x4614fc
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c30], eax
push 0x461514
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c34], eax
push 0x46152c
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c38], eax
push 0x461540
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c3c], eax
push 0x461558
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c40], eax
push 0x461570
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c44], eax
push 0x46158c
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c48], eax
push 0x461598
mov eax, dword [0x4f0e18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x532c4c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4614ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x461d14
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
push eax
mov eax, dword [eax]
mov esi, edx
or ecx, ecx
je 0x461d38
mov edx, eax
shl edx, 8
mov bl, byte [esi]
shr eax, 0x18
xor al, bl
mov eax, dword [eax*4 + 0x4f0e50]
xor eax, edx
inc esi
dec ecx
jne 0x461d1f
mov ecx, eax
pop eax
mov dword [eax], ecx
pop ebx
pop esi
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a0c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46977d
test al, 0x10
jne 0x469781
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x469c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407b3c
mov dword [ebp - 0x3c], 0x3c
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov eax, 0x469c90
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46a114
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0040303c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x531a40]
cmp byte [edx + 0xc], 0
je 0x46a178
mov edx, dword [0x531a30]
cmp dword [edx], 2
jne 0x46a178
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x46a17c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46a234
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0046a114
test al, al
je 0x46a216
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040464c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x46a216
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a0c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404a0c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040474c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x46a1cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a23b
lea eax, [ebp - 0x2c]
call fcn.0040455c
lea eax, [ebp - 0xc]
call fcn.0040455c
ret
Function at 0x46a45c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00469e40
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404a0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46a4ba
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5315f8]
mov dl, 1
mov eax, dword [0x469d38]
call fcn.0040c5a4
call fcn.00403f1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46a4c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46a51c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x531a54]
mov dl, 1
mov eax, dword [0x469d38]
call fcn.0040c5a4
call fcn.00403f1c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00469e94
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x46c4c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404a64
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46c4a9
test al, 0x10
je 0x46c4ad
xor ebx, ebx
jmp 0x46c4af
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c4cc
lea eax, [ebp - 4]
call fcn.0040455c
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004051e0
xor eax, eax
push ebp
push 0x46c525
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e28
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46c509
test al, 0x10
je 0x46c50d
xor ebx, ebx
jmp 0x46c50f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c52c
lea eax, [ebp - 4]
call fcn.00404c78
ret

Function at 0x46c804
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
and ax, 0xffff
cmp ax, 0xffff
jne 0x46c830
mov eax, esi
call fcn.0046c4d4
test al, al
je 0x46c830
push 0x20
mov eax, esi
call fcn.00404e28
push eax
call sub.kernel32.dll_SetFileAttributesW
push ebx
mov ecx, esi
mov dl, 1
mov eax, dword [0x461e44]
call fcn.00461f94
cmp dword [eax + 8], 0xffffffff
jne 0x46c84c
call fcn.00403750
xor eax, eax
pop esi
pop ebx
ret
Function at 0x46c850
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46c966
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [esi]
mov eax, 0x46c97c
call fcn.00404b50
mov ebx, eax
test ebx, ebx
je 0x46c945
cmp ebx, dword [ebp - 8]
je 0x46c945
mov dword [ebp - 8], ebx
mov eax, esi
mov ecx, 1
mov edx, ebx
call fcn.00404aac
mov edx, dword [esi]
mov eax, 0x46c97c
call fcn.00404b50
mov edi, eax
test edi, edi
je 0x46c945
lea eax, [ebp - 4]
push eax
mov ecx, edi
sub ecx, ebx
mov eax, dword [esi]
mov edx, ebx
call fcn.00404a6c
mov ecx, edi
sub ecx, ebx
inc ecx
mov eax, esi
mov edx, ebx
call fcn.00404aac
cmp dword [ebp - 4], 0
je 0x46c87c
push 0x46c97c
push dword [ebp - 4]
push 0x46c97c
lea eax, [ebp - 4]
mov edx, 3
call fcn.004048d4
push 0x104
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
call fcn.00404a64
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.004047c4
mov eax, dword [ebp - 0x110]
mov edx, esi
mov ecx, ebx
call fcn.00404af4
jmp 0x46c87c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c96d
lea eax, [ebp - 0x110]
call fcn.0040455c
lea eax, [ebp - 4]
call fcn.0040455c
ret
Function at 0x46dc08
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46dc10
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x46ddb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414aa4]
call fcn.00403720
mov esi, eax
lea edx, [ebp - 8]
mov eax, 0x46ddd0
call fcn.0040e31c
mov al, byte [0x46ddd8]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46dde4
mov edx, 0x46ddf0
mov eax, dword [ebp - 8]
call fcn.0040d8bc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004045f4
mov al, byte [0x46ddd8]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46dde4
mov edx, 0x46ddf0
mov eax, dword [ebp - 8]
call fcn.0040d8bc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.004045f4
mov al, byte [0x46ddd8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x46dde4
mov edx, 0x46ddf0
mov eax, dword [ebp - 8]
call fcn.0040d8bc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004045f4
mov al, byte [0x46ddd8]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x46ddfc
mov edx, 0x46dde4
mov eax, dword [ebp - 8]
call fcn.0040d8bc
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.004045f4
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov byte [ebp - 0xd], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x46dd34
inc ebx
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00404958
jne 0x46dd2e
mov byte [ebp - 0xd], 1
jmp 0x46dd34
inc dword [ebp - 0xc]
dec ebx
jne 0x46dd0e
cmp byte [ebp - 0xd], 0
jne 0x46dd88
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov al, byte [0x46ddd8]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46dde4
mov edx, 0x46ddfc
mov eax, dword [ebp - 8]
call fcn.0040d8bc
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.004045f4
lea eax, [ebp - 8]
call fcn.00404a64
push eax
push 0x46de00
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, esi
call fcn.00403750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ddbe
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00404580
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404580
ret

Function at 0x46e058
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x46e2b8
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040303c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x46f554
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x46f571
test byte [esi + 0x1c], 0x10
je 0x46f571
mov eax, 0x46f5e0
call fcn.0043a790
jmp 0x46f5d2
cmp bl, byte [esi + 0x34]
je 0x46f5d2
test bl, bl
je 0x46f5aa
test byte [esi + 0x1c], 0x10
jne 0x46f5cf
mov cl, 1
mov dl, 1
mov eax, dword [0x46f2c8]
call fcn.0041f1c4
mov edi, eax
mov dword [esi + 0x50], edi
mov dword [edi + 0x30], esi
mov byte [edi + 0xf], 1
mov eax, edi
call fcn.0041f510
mov eax, esi
call fcn.0046f604
jmp 0x46f5cf
test byte [esi + 0x1c], 0x10
jne 0x46f5cf
mov eax, dword [esi + 0x30]
push eax
call sub.winmm.dll_timeKillEvent
push 0
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [esi + 0x50]
call fcn.00403750
mov byte [esi + 0x34], bl
pop edi
pop esi
pop ebx
ret
Function at 0x474d68
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 4], 0
jne 0x474daa
mov eax, dword [0x5316f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esi + 8], eax
test eax, eax
jne 0x474d95
push esi
push 0x475488
call fcn.00420718
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
mov eax, dword [esi + 8]
push eax
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb ebx, ebx
inc ebx
mov byte [esi + 0xd], 0
jmp 0x474dac
mov bl, 1
inc dword [esi + 4]
test bl, bl
jne 0x474dcd
dec dword [esi + 4]
cmp byte [esi + 0xc], 0
je 0x474dc8
mov eax, dword [esi + 8]
call fcn.004207cc
mov byte [esi + 0xc], 0
xor eax, eax
mov dword [esi + 8], eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x474df4
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]
call fcn.00474d68
test al, al
jne 0x474e1a
xor eax, eax
jmp 0x474eda
xor edx, edx
push ebp
push 0x474ed1
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 0x474ea3
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 0x474e92
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402974
mov eax, dword [ebp - 4]
call fcn.00474d1c
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 0x474e99
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x474ee4
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, ebx
call fcn.00404c78
mov eax, dword [ebp - 4]
call fcn.00474d68
test al, al
je 0x474f5f
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x474f58
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x474f33
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404dc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474f5f
cmp dword [ebp - 8], 0
je 0x474f4f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00474d38
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x474f90
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]
call fcn.00474d68
test al, al
je 0x475041
xor edx, edx
push ebp
push 0x47503a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x47500d
mov edx, ebx
mov eax, dword [0x421e48]
call fcn.004263f8
test al, al
je 0x474ffd
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.00426308
call fcn.00403fc8
jmp 0x475041
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x474fc8
mov ecx, dword [0x53129c]
mov dl, 1
mov eax, dword [0x408090]
call fcn.0040c568
call fcn.00403f1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475041
mov eax, dword [ebp - 4]
call fcn.00474d38
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x475048
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]
call fcn.00474d68
test al, al
je 0x4750ab
xor eax, eax
push ebp
push 0x4750a4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4750ab
mov eax, dword [ebp - 4]
call fcn.00474d38
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4750b4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00474d68
test al, al
je 0x475114
xor edx, edx
push ebp
push 0x47510d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475114
mov eax, dword [ebp - 4]
call fcn.00474d38
ret
pop esi
pop ebx
pop ecx
pop ebp
ret