joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a44ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
test eax, eax
jne 0x4a4390
call fcn.0049f208
mov dword [eax], 0x16
call fcn.0049f14c
or eax, 0xffffffff
jmp 0x4a44e9
mov eax, dword [eax + 0xc]
push ebx
xor ebx, ebx
shr eax, 0xd
inc ebx
test bl, al
je 0x4a44e5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
shr eax, 0xc
test bl, al
jne 0x4a44e5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
shr eax, 1
test bl, al
mov eax, dword [ebp + 8]
je 0x4a43d0
push 0x10
pop ecx
add eax, 0xc
lock or dword [eax], ecx
jmp 0x4a44e5
add eax, 0xc
lock or dword [eax], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, 0x4c0
jne 0x4a43ec
push dword [ebp + 8]
call fcn.004a8fc9
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x18]
push dword [esi + 4]
push esi
call fcn.004a09a1
pop ecx
push eax
call fcn.004a2da3
mov dword [esi + 8], eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
test edx, edx
je 0x4a44ca
cmp edx, 0xffffffff
je 0x4a44ca
mov eax, dword [eax + 0xc]
test al, 6
jne 0x4a448b
push dword [ebp + 8]
call fcn.004a09a1
pop ecx
cmp eax, 0xffffffff
je 0x4a4471
push dword [ebp + 8]
call fcn.004a09a1
pop ecx
cmp eax, 0xfffffffe
je 0x4a4471
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.004a09a1
mov edi, eax
push esi
sar edi, 6
call fcn.004a09a1
and eax, 0x3f
imul eax, eax, 0x30
pop ecx
pop ecx
add eax, dword [edi*4 + 0x4cc880]
pop edi
jmp 0x4a4476
mov eax, 0x4cb208
mov al, byte [eax + 0x28]
and al, 0x82
cmp al, 0x82
jne 0x4a448b
mov eax, dword [ebp + 8]
push 0x20
pop ecx
add eax, 0xc
lock or dword [eax], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x200
jne 0x4a44bb
mov eax, dword [eax + 0xc]
shr eax, 6
test bl, al
je 0x4a44b8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
shr eax, 8
test bl, al
jne 0x4a44b8
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x1000
mov eax, dword [ebp + 8]
dec dword [eax + 8]
mov ecx, dword [eax]
mov dl, byte [ecx]
inc ecx
mov dword [eax], ecx
movzx eax, dl
jmp 0x4a44e8
xor ecx, ecx
test edx, edx
setne cl
add eax, 0xc
lea ecx, [ecx*8 + 8]
lock or dword [eax], ecx
mov ecx, dword [ebp + 8]
and dword [ecx + 8], 0
or eax, 0xffffffff
pop ebx
pop esi
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x4a436b
Function at 0x4a59a9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x5c
pop esi
push 0x3a
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x25c], 0x2f
pop edi
jmp 0x4a59fb
movzx eax, word [ecx]
cmp ax, word [ebp - 0x25c]
je 0x4a59ff
cmp ax, si
je 0x4a59ff
cmp ax, di
je 0x4a59ff
sub ecx, 2
cmp ecx, ebx
jne 0x4a59e2
movzx esi, word [ecx]
cmp si, di
jne 0x4a5a21
lea eax, [ebx + 2]
cmp ecx, eax
je 0x4a5a21
push edx
xor edi, edi
push edi
push edi
push ebx
call fcn.004a590b
add esp, 0x10
jmp 0x4a5aa8
push 0x2f
mov eax, esi
xor edi, edi
pop edx
cmp ax, dx
je 0x4a5a41
push 0x5c
pop edx
cmp ax, dx
je 0x4a5a41
push 0x3a
pop edx
cmp ax, dx
je 0x4a5a41
mov eax, edi
jmp 0x4a5a44
xor eax, eax
inc eax
sub ecx, ebx
movzx eax, al
sar ecx, 1
inc ecx
neg eax
push 0x250
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x254]
push edi
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [ebp - 0x254]
push edi
push edi
push edi
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a5ab9
mov eax, dword [ebp - 0x258]
push eax
push edi
push edi
push ebx
call fcn.004a590b
add esp, 0x10
mov edi, eax
cmp esi, 0xffffffff
je 0x4a5aa6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ea75
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x258]
push 0x2e
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
mov dword [ebp - 0x260], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a5af4
cmp word [ebp - 0x226], di
je 0x4a5b0f
cmp word [ebp - 0x226], ax
jne 0x4a5af4
cmp word [ebp - 0x224], di
je 0x4a5b0f
push ecx
push dword [ebp - 0x25c]
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.004a590b
add esp, 0x10
test eax, eax
jne 0x4a5a98
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0x258]
test eax, eax
push 0x2e
pop eax
jne 0x4a5ad0
mov eax, ecx
mov ecx, dword [ebp - 0x260]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
cmp ecx, eax
je 0x4a5a9a
push 0x4a5726
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004a9bc0
add esp, 0x10
jmp 0x4a5a9a
Function at 0x4abf60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4abf9c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4abf94
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4abf9e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4abf84
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4ac080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4ac0ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4ac0ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40310c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x403149
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x403169
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405708
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x403348
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4033a1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.004031e4
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004031e4
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x40338b
inc ebx
jmp 0x403374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033a8
lea eax, [ebp - 8]
call fcn.00405488
ret

Function at 0x4033b0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405488
test esi, esi
jne 0x4033e7
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.00405578
jmp 0x403408
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.004031e4
mov dword [esp], eax
test esi, esi
je 0x403408
cmp dword [ebx], 0
je 0x403408
dec esi
jmp 0x4033ef
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x4044a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f6024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40453c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40451c
xor eax, eax
push ebp
push 0x404515
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 0x404558
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 0x40451c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f6024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f6024], ax
mov esp, ebp
pop ebp
ret
Function at 0x405280
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4fe04c], 0
je 0x4052e1
cmp word [0x4fe220], 0xd7b2
jne 0x4052a9
cmp dword [0x4fe228], 0
jbe 0x4052a9
mov eax, 0x4fe21c
call dword [0x4fe238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f6094
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 0x405308
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f6034], 0
jne 0x4052fd
push 0
push 0x4f608c
push 0x4f6094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40543c
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.00402e98
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4fe04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405404
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x407670
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 0x4076d6
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.00405708
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403edc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4076c0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4076dd
lea eax, [ebp - 0x10]
call fcn.00405488
ret

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

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

Function at 0x41083c
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 0x410875
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
add bh, bh
invalid
dec dword [ebx + 0x4d05e8c3]
invalid
invalid
jmp 0x41087e
mov eax, ebx
mov edx, esi
call fcn.004054dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x410888
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 0x4108a9
mov al, byte [esp]
jmp 0x4108ab
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4118b4
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 0x41198a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405520
lea eax, [ebp - 8]
call fcn.004059a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x411974
mov eax, ebx
call fcn.00402e98
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41196d
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.00405958
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x411957
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41199c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x411957
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 0x411974
mov eax, dword [ebp - 0x10]
call fcn.00402ec8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411991
lea eax, [ebp - 8]
call fcn.00405488
ret

Function at 0x411f34
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 0x411f98
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.00405708
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040d720
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411f9f
lea eax, [ebp - 0xc]
call fcn.00405488
ret

Function at 0x42817c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4281c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00427f6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4281e1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4281e8
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.00427f6c
dec esi
jne 0x42820a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42934c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x500ab0
cmp dword [edi], 0
jne 0x4293c8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x500aac]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f6d40
mov ecx, 2
call fcn.004031a4
mov edx, 0x429324
lea eax, [esi + 5]
call fcn.00429344
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00429344
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 0x42939d
mov dword [0x500aac], 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 0x42aa44
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 0x42aa4a
ret

Function at 0x42d0b4
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 0x42d105
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42d0ec
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42d0dc
jmp 0x42d105
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 0x42d0ed
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ae98
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 0x43af3a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43af0d
mov edx, ebx
mov eax, dword [0x42a468]
call fcn.0042eb38
test al, al
je 0x43aefd
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.0042ea48
call fcn.00404ec4
jmp 0x43af41
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43aec8
mov ecx, dword [0x4fd0e8]
mov dl, 1
mov eax, dword [0x40c35c]
call fcn.004110d0
call fcn.00404e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43af41
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

Function at 0x43af48
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 eax, eax
push ebp
push 0x43afa0
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 0x43afa7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43afb0
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43b005
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 0x43b00c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x43b07c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43b0f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043add4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0042eb0c
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43b0db
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b0f8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43b100
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43b175
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043add4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43b15f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b17c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43e374
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.0043dd04
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.00405958
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43e3d2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4fd394]
mov dl, 1
mov eax, dword [0x43db90]
call fcn.0041110c
call fcn.00404e18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43e3dc
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.00405958
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x43e434
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4fd724]
mov dl, 1
mov eax, dword [0x43db90]
call fcn.0041110c
call fcn.00404e18
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043dd34
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 0x4444dc
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x444428
call sub.user32.dll_EnumWindows
ret

Function at 0x4445fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x444679
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044405c
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x444621
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00443c5c
cmp dword [ebp - 4], 0
je 0x444663
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405958
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444680
lea eax, [ebp - 4]
call fcn.00405488
ret