joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1b78ebb
Capabilities:
Parse pe header

Disassembly:
push eax
jmp 0x1b74050
call fcn.01b74055
call 0x1b78047
jmp 0x1b78f45
movzx ebx, word [eax + 0x3c]
jmp 0x1b78f2f
push dword [esp + 0x18]
push word [esp + 0x1f]
mov byte [esp + 0xd], ah
call fcn.01b78e9d
pop dword [esp]
lea esp, [esp + 3]
mov dword [esp + 0x74], esi
call fcn.01b79a2a
mov byte [esp + 0x18], bh
mov dword [esp + 0x98], edi
jmp 0x1b7990c
add ebx, eax
jmp 0x1b79344
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
jmp 0x1b78f89
push eax
jmp 0x1b78042
je 0x1b7813d
sub eax, 0x10000
jmp 0x1b78f49
cmp word [ebx], 0x4550
je 0x1b73be4
jne 0x1b78f8f
fst dword [ebx - 0x3d]
cmpsb byte [esi], byte es:[edi]
push ebp
in eax, 0x41
aam 0x4a
sub eax, 0x41d975dc
sal dword [eax + reloc.WINMM.dll_midiStreamOut], 1
nop
test dword [edx], reloc.WINMM.dll_midiStreamOut
xor al, cl
js 0x1b79355
mov al, 0x43
call [ecx + 0x2f79002]
stosd dword es:[edi], eax
pop ecx
invalid
loope 0x1b793ed
js 0x1b79364
out dx, al
mov dword [eax - 1], edi
leave
push ebp
lds ebp, [edi + ebx*2 + 0x54c644da]
xor ecx, esi
sbb dh, dh
jnp 0x1b79373
invalid
loopne 0x1b793d9
invalid
stosb byte es:[edi], al
and eax, 0xce2fdcb5
les edx, [esi - 0x3c]
mov dword [reloc.WINMM.dll_midiStreamOut], eax
pop ebx
int 0x22
cld
insb byte es:[edi], dx
loop 0x1b79374
je 0x1b793c4
ljmp 0xcc88:0x7b88e979
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x1b78f63
lea esp, [esp + 0x98]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x1b79534

Function at 0x1b79a2a
Capabilities:
Access peb ldr_data
Encode data using xor
Parse pe header

Disassembly:
mov word [esp], bx
push dword [esp]
pushal
jmp 0x1b78edd
Function at 0x420e80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420ead
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420ead
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x404488
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x4044dd
push dword [esp + 0x10]
push 0x404407
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x4148a4]
test esi, esi
je 0x404536
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4044d5
cmp byte [esi + 0x10], 0
je 0x4044d5
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x4044b1
jmp 0x404536
mov esi, dword [0x4148a4]
test esi, esi
je 0x404536
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x40452f
cmp byte [esi + 0x11], 0
je 0x40450b
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x404522
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push ebp
push 0x4148a4
call fcn.00410868
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4044ea
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x408528
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x414fc8]
call fcn.00410171
mov ebx, eax
test ebx, ebx
je 0x40858c
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x408551
push dword [esp + 0xc]
push ebx
call eax
jmp 0x40858c
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00410d90
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00410e60
pop edi
pop esi
pop ebx
ret 8

Function at 0x40a64e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov ebx, eax
test ebx, ebx
je 0x40a6c8
push 9
call esi
test al, al
jns 0x40a6c8
push 0x11
call esi
test al, al
js 0x40a6c8
push 0x10
call esi
test al, al
js 0x40a6c8
push 0x12
call esi
test al, al
js 0x40a6c8
push 5
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.USER32.DLL_GetClassNameW]
push 4
lea eax, [ebp - 0x10]
push str.Rich
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x40a6c8
push eax
push eax
push 0x44e
push ebx
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, 0x800
jne 0x40a6c8
xor eax, eax
jmp 0x40a749
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40a6f0
push 0x11
call esi
test al, al
js 0x40a6e8
push 0x10
call esi
test al, al
js 0x40a6e8
push 0x12
call esi
test al, al
jns 0x40a6f0
push 1
push edi
call fcn.0040a751
mov esi, dword [sym.imp.USER32.DLL_GetPropW]
test ebx, ebx
je 0x40a706
push str.PB_Hotkey
push ebx
call esi
test eax, eax
jne 0x40a746
push str.PB_WindowID
push edi
call esi
mov esi, eax
test esi, esi
je 0x40a746
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x40a746
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x40a746
lea eax, [esi - 1]
push eax
push dword [0x414fd8]
call fcn.00410171
test eax, eax
je 0x40a746
mov eax, dword [eax + 8]
jmp 0x40a748
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b3fb
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x414e6c], eax
test eax, eax
je 0x40b429
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x414e68], eax
lea eax, [ebp - 0x114]
mov dword [0x414e70], 1
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40b48b
cmp dword [ebp - 0x104], 1
jne 0x40b460
and dword [0x414e70], 0
jmp 0x40b4a3
cmp dword [ebp - 0x104], 2
jne 0x40b48b
cmp dword [ebp - 0x110], 5
jb 0x40b457
jne 0x40b48b
mov eax, dword [ebp - 0x10c]
neg eax
sbb eax, eax
and eax, dword [0x414e70]
mov dword [0x414e70], eax
jmp 0x40b490
mov eax, dword [0x414e70]
test eax, eax
je 0x40b4a3
call fcn.0040b0fe
neg eax
sbb eax, eax
and dword [0x414e70], eax
mov esp, ebp
pop ebp
ret

Function at 0x40ca40
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x40ca72
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40ca6d
cmp dword [esp + 0xc], esi
je 0x40ca89
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
push esi
push dword [esp + 0x14]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [edi + 8], esi
pop edi
mov eax, 1
pop esi
ret
Function at 0x40f1dc
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push ebp
mov ebp, eax
mov eax, dword [0x414f08]
push esi
test eax, eax
jne 0x40f201
push fcn.0040f309
push 0x10
push 0x258
call fcn.0041021a
mov dword [0x414f08], eax
push dword [esp + 0xc]
push eax
call fcn.00410199
mov esi, eax
test esi, esi
je 0x40f302
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x40f223
mov edi, 0x41200c
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x40f233
xor eax, eax
cmp word [ebx], ax
jne 0x40f238
mov ebx, 0x412460
push edi
call sub.MSVCRT.dll_wcslen
push ebx
mov dword [esp + 0x24], eax
call sub.MSVCRT.dll_wcslen
add eax, dword [esp + 0x24]
pop ecx
pop ecx
lea eax, [eax*2 + 4]
push eax
xor eax, eax
push eax
push dword [0x4147ec]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x40f2e9
push edi
push eax
call sub.MSVCRT.dll_wcscpy
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
test eax, eax
je 0x40f299
cmp word [edi + eax*2 - 2], 0x5c
mov edi, dword [esp + 0x18]
je 0x40f29d
push 0x412468
push edi
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
jmp 0x40f29d
mov edi, dword [esp + 0x18]
push ebx
push edi
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40f2c1
xor eax, eax
mov ebp, esi
mov dword [esi + 4], eax
jmp 0x40f2d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40f2d5
mov dword [esi + 4], 1
mov ebp, esi
xor eax, eax
push edi
push eax
push dword [0x4147ec]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x40f300
cmp dword [esp + 0x14], 0xffffffff
je 0x40f2f4
mov esi, dword [esp + 0x14]
push esi
push dword [0x414f08]
call fcn.00410137
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
ret 0xc
Function at 0x402944
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402973
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403cf0
jmp 0x402991
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040286c
mov edi, eax
test ebx, ebx
je 0x402991
cmp dword [esi], 0
je 0x402991
dec ebx
jmp 0x40297a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

Disassembly:
imul edx, dword [0x583044], 0x8088405
inc edx
mov dword [0x583044], edx
mul edx
mov eax, edx
ret

Function at 0x402e18
Capabilities:
Query or enumerate registry value

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

Function at 0x403bc0
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.00402714
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x583049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403b88
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405910
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405ac8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405971
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405ae4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4059de
xor eax, eax
push ebp
push 0x4059d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4059c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405b04
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059de
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405abf
cmp byte [ebp - 0xd], 0
jne 0x405a20
cmp byte [ebp - 0x12], 0
je 0x405abf
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405a39
dec ebx
cmp byte [ebx], 0x2e
je 0x405a48
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405a38
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405abf
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405a75
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405abf
cmp byte [ebp - 0xd], 0
je 0x405abf
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405abf
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409834
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403cf0
add esp, 0x104
pop ebx
ret
Function at 0x40b3b8
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 0x40b3f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cf0
jmp 0x40b3fa
mov eax, ebx
mov edx, esi
call fcn.00403ca4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x41866c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x418684
mov byte [ebx + 0xd], 0
pop ebx
pop ebp
ret

Function at 0x41a6a0
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 0x41a6a6
ret

Function at 0x41cef4
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 0x41cf45
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41cf2c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41cf1c
jmp 0x41cf45
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 0x41cf2d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f920
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42f9aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x42f991
mov eax, dword [0x581ca8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42f95f
push ebx
push 0x42f9b8
call fcn.00432c4c
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42f98d
lea edx, [ebp - 4]
mov eax, dword [0x581760]
call fcn.00405c64
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x407e00]
call fcn.0040bb58
call fcn.00403680
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f9b1
lea eax, [ebp - 4]
call fcn.00403c0c
ret

Function at 0x42f9dc
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.0042f920
xor edx, edx
push ebp
push 0x42faae
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 0x42fa80
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 0x42fa6f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.0040282c
mov eax, dword [ebp - 4]
call fcn.0042f8d0
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 0x42fa76
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x42fae4
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]
call fcn.0042f920
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42fb56
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42fb2a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403dc0
jmp 0x42fb31
mov eax, ebx
call fcn.00403c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fb5d
cmp dword [ebp - 8], 0
je 0x42fb4d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042f8f0
ret
Function at 0x42fb90
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42fc6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042f920
xor edx, edx
push ebp
push 0x42fc51
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42fc1a
mov edx, ebx
mov eax, dword [0x41a174]
call fcn.0041e61c
test al, al
je 0x42fc0a
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.0041e4f0
call fcn.00403720
jmp 0x42fc58
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42fbd5
lea edx, [ebp - 8]
mov eax, dword [0x58184c]
call fcn.00405c64
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x407e00]
call fcn.0040bb58
call fcn.00403680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fc58
mov eax, dword [ebp - 4]
call fcn.0042f8f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fc75
lea eax, [ebp - 8]
call fcn.00403c0c
ret

Function at 0x42fc7c
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.0042f920
xor eax, eax
push ebp
push 0x42fcd4
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fcdb
mov eax, dword [ebp - 4]
call fcn.0042f8f0
ret

Function at 0x42fce4
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.0042f920
xor edx, edx
push ebp
push 0x42fd39
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fd40
mov eax, dword [ebp - 4]
call fcn.0042f8f0
ret