joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e4cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x42e4ea
mov eax, dword [0x447710]
mov eax, dword [eax]
and eax, 0xc000
or dword [ebp + 0xc], eax
test byte [ebp + 0xd], 0x80
jne 0x42e4f7
or dword [ebp + 0xc], 0x4000
mov eax, dword [ebp + 0xc]
and eax, 0x700
cmp eax, 0x500
jg 0x42e51f
je 0x42e52f
sub eax, 0x100
je 0x42e53d
sub eax, 0x100
je 0x42e544
sub eax, 0x100
je 0x42e536
jmp 0x42e54b
sub eax, 0x600
je 0x42e544
sub eax, 0x100
je 0x42e52f
jmp 0x42e54b
mov edi, 1
jmp 0x42e550
mov edi, 2
jmp 0x42e550
mov edi, 4
jmp 0x42e550
mov edi, 5
jmp 0x42e550
mov edi, 3
test byte [ebp + 0xd], 1
je 0x42e577
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x447c0c]
test al, 0x80
je 0x42e570
mov ebx, 0x80
jmp 0x42e589
mov ebx, 1
jmp 0x42e589
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42e589
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x42e59b
je 0x42e5a4
dec eax
je 0x42e5ad
jmp 0x42e5b6
mov dword [ebp - 4], 0x80000000
jmp 0x42e5c5
mov dword [ebp - 4], 0x40000000
jmp 0x42e5c5
mov dword [ebp - 4], 0xc0000000
jmp 0x42e5c5
push 1
call fcn.0042e268
pop ecx
mov ebx, eax
jmp 0x42e6b3
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x42e5e1
sub eax, 0x10
je 0x42e5e8
sub eax, 0x10
je 0x42e5f1
sub eax, 0x10
je 0x42e5fa
jmp 0x42e5fa
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x42e601
mov dword [ebp - 8], 1
jmp 0x42e601
mov dword [ebp - 8], 2
jmp 0x42e601
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb eax, eax
neg eax
mov dword [ebp - 0xc], eax
push 0
push ebx
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x42e66a
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x42e65f
mov ebx, 0x50
test byte [ebp + 0xd], 1
jne 0x42e65f
add ebx, 0xffffffb2
push ebx
call fcn.0042e268
pop ecx
mov ebx, eax
jmp 0x42e6b3
mov edi, esi
push edi
call fcn.0042e424
pop ecx
test eax, eax
je 0x42e67e
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x42e68a
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0042dfcc
add esp, 8
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42e6b3
push 4
call fcn.0042e268
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f43c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
mov esi, dword [ebp + 8]
cmp byte [0x440069], 0
je 0x42f49f
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea eax, [ebp - 0x54]
push eax
call fcn.0042a428
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x42f48a
push 0x3a
lea eax, [ebp - 0x54]
push eax
call fcn.0042a428
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x42f48a
lea ebx, [ebp - 0x54]
jmp 0x42f48b
inc ebx
call fcn.0042f3f4
or eax, 0x10
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x42f4e3
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x447f84
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea eax, [ebp - 4]
push eax
push esi
call fcn.0042a308
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x447f87
push ebx
call sub.KERNEL32.dll_WriteFile
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x402ed5
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x80
jne 0x402ef2
mov dword [edi], 0xa
jmp 0x402f0c
cmp eax, 0xc0
jne 0x402f01
mov dword [edi], 0xc
jmp 0x402f0c
mov eax, 0x100
mov dword [edi], 0xe
cdq
and edx, 0x1f
add eax, edx
mov ecx, eax
sar ecx, 5
mov dword [ebp - 4], ecx
test ecx, ecx
jle 0x402f55
mov eax, dword [ebp + 0xc]
lea edx, [edi + 4]
add eax, 2
mov dword [ebp + 8], ecx
movzx esi, byte [eax - 2]
movzx ebx, byte [eax - 1]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 1]
shl esi, 8
or esi, ebx
mov dword [edx], esi
add eax, 4
add edx, 4
dec dword [ebp + 8]
jne 0x402f2a
mov eax, dword [edi]
lea eax, [eax*4 + 4]
cmp ecx, eax
mov dword [ebp - 8], eax
mov dword [ebp + 8], 1
mov ebx, ecx
jge 0x403063
lea eax, [edi + 4]
mov dword [ebp + 0x10], eax
mov ecx, 0xff
mov eax, ebx
cdq
idiv dword [ebp - 4]
mov esi, dword [edi + ebx*4]
test edx, edx
jne 0x402feb
mov eax, esi
sar eax, 0x10
and eax, ecx
movzx eax, byte [eax + str.cw]
mov edx, esi
sar edx, 8
and edx, ecx
movzx edx, byte [edx + str.cw]
shl eax, 8
or eax, edx
mov edx, esi
and edx, ecx
movzx edx, byte [edx + str.cw]
shl eax, 8
or eax, edx
sar esi, 0x18
and esi, ecx
movzx edx, byte [esi + str.cw]
shl eax, 8
or eax, edx
mov edx, dword [ebp + 8]
shl dword [ebp + 8], 1
shl edx, 0x18
xor eax, edx
cmp dword [ebp + 8], 0x100
mov esi, eax
jl 0x403048
xor dword [ebp + 8], 0x11b
jmp 0x403048
cmp dword [ebp - 4], 8
jne 0x403048
mov eax, ebx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x402fff
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 4
jne 0x403048
mov eax, esi
sar eax, 0x18
and eax, ecx
movzx eax, byte [eax + str.cw]
mov edx, esi
sar edx, 0x10
and edx, ecx
movzx edx, byte [edx + str.cw]
shl eax, 8
or eax, edx
mov edx, esi
sar edx, 8
and edx, ecx
movzx edx, byte [edx + str.cw]
shl eax, 8
and esi, ecx
or eax, edx
movzx edx, byte [esi + str.cw]
shl eax, 8
or eax, edx
mov esi, eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
add dword [ebp + 0x10], 4
xor edx, esi
lea eax, [edi + 4]
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x402f7d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404ce9
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
je 0x404d1e
cmp dword [esi + 4], ebx
je 0x404d1e
cmp dword [esi + 8], ebx
je 0x404d1e
cmp dword [esi + 0xc], ebx
je 0x404d1e
cmp dword [esi + 0x10], ebx
je 0x404d1e
cmp dword [esi + 0x14], ebx
je 0x404d1e
cmp dword [esi + 0x18], ebx
je 0x404d1e
cmp dword [esi + 0x1c], ebx
je 0x404d1e
xor eax, eax
inc eax
jmp 0x404dba
push str.Bcrypt.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi], eax
cmp eax, ebx
je 0x404db8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.BCryptOpenAlgorithmProvider
push eax
call edi
push str.BCryptImportKey
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.BCryptGenerateSymmetricKey
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.BCryptDecrypt
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.BCryptDeriveKeyPBKDF2
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.BCryptCloseAlgorithmProvider
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push 0x5440e0
push dword [esi]
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
pop edi
cmp dword [esi], ebx
je 0x404db8
cmp dword [esi + 4], ebx
je 0x404db8
cmp dword [esi + 8], ebx
je 0x404db8
cmp dword [esi + 0xc], ebx
je 0x404db8
cmp dword [esi + 0x10], ebx
je 0x404db8
cmp dword [esi + 0x14], ebx
je 0x404db8
cmp dword [esi + 0x18], ebx
je 0x404db8
cmp eax, ebx
jne 0x404d16
xor eax, eax
pop esi
pop ebx
ret
Function at 0x4069bc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
sub esp, 0xca8
lea ebp, [esp - 4]
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0xca8], eax
push 0x5c
mov eax, 0x52e3d2
call fcn.004f41c4
mov eax, dword [ebp + 0xcc0]
mov esi, dword [ebp + 0xcb4]
mov edi, dword [ebp + 0xcb8]
lea ecx, [ebp + 0x438]
mov dword [ebp - 0x10], eax
call fcn.004063ed
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x10], ebx
je 0x406a3a
lea ecx, [ebp + 0x438]
call fcn.00489a4e
push dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.0040643b
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0048ac64
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.004064c1
push esi
lea ecx, [ebp + 0x870]
call fcn.0040643b
push 0x5416b4
lea ecx, [ebp + 0x870]
mov byte [ebp - 4], 2
call fcn.004897b2
push edi
lea ecx, [ebp + 0x870]
call fcn.004897b2
push 0x44
pop esi
push esi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.004f42d0
mov ax, word [ebp + 0xcbc]
add esp, 0xc
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp + 0x870]
push eax
push ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x3c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x406add
cmp dword [ebp - 0x24], 0xffffffff
je 0x406add
push 0x32
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x406ab3
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406ae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], ebx
je 0x406af6
lea ecx, [ebp + 0x438]
call fcn.0048ac64
mov esi, dword [ebp - 0x14]
lea ecx, [ebp + 0x870]
mov byte [ebp - 4], bl
call fcn.004064c1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x438]
call fcn.004064c1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xca8]
xor ecx, ebp
call fcn.004f41b5
add ebp, 0xcac
leave
ret
Function at 0x40cef7
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
sub esp, 0x438
lea ebp, [esp - 4]
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x438], eax
push 8
mov eax, 0x52ebaf
call fcn.004f41c4
mov esi, ecx
lea ecx, [ebp]
call fcn.004063ed
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x14]
call fcn.00401276
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004c41e5
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x170]
push eax
mov ecx, 0x597b40
call fcn.0043542b
test eax, eax
je 0x40d04f
push dword [ebp - 0x10]
call fcn.004f3730
inc eax
pop ecx
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40cfce
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x40cfc7
push dword [ebp - 0x10]
call fcn.004f3730
inc eax
push eax
push dword [ebp - 0x10]
push ebx
call fcn.004f4490
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jne 0x40cfb9
xor eax, eax
jmp 0x40cfbc
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40d005
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x40cfd5
mov esi, dword [esi + 0x20]
push 0xd4
mov ecx, 0x598978
call fcn.0045a895
push eax
push 0x16
push esi
call fcn.004065bc
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x40d04f
push dword [ebp - 0x10]
call fcn.004b6e29
and dword [ebp - 0x10], 0
pop ecx
jmp 0x40d04f
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x10], 0
je 0x40d02d
push dword [ebp - 0x10]
call fcn.004b6e29
and dword [ebp - 0x10], 0
pop ecx
test esi, esi
je 0x40d034
mov esi, dword [esi + 0x20]
push 0xd5
mov ecx, 0x598978
call fcn.0045a895
push eax
push 0x13
push esi
call fcn.004065bc
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040104c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004064c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.004f41b5
add ebp, 0x43c
leave
ret
Function at 0x40ed6a
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x52eed0
call fcn.004f41c4
mov esi, ecx
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x10]
call fcn.00401276
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0x190]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x170]
call fcn.004cd14a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040dab3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040104c
mov eax, dword [esi + 0x20]
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x40ee2f
push 0x113
mov ecx, 0x598978
call fcn.0045a895
push eax
lea ecx, [ebp - 0x10]
call fcn.00401504
push 0x5416b4
lea ecx, [ebp - 0x10]
call fcn.0040153c
push edi
call fcn.00405fe8
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040153c
push dword [ebp - 0x10]
mov esi, dword [esi + 0x20]
push 0x16
push esi
call fcn.004065bc
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [eax], ebx
call fcn.0040104c
call fcn.004f429c
ret 8

Function at 0x410524
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x410559
xor eax, eax
jmp 0x4105e2
push 0x104
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [esi], bl
jne 0x410575
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], eax
jmp 0x410578
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x80]
push eax
lea esi, [edi + 8]
push esi
push ebx
push ebx
push dword [ebp - 0x7c]
mov ecx, edi
mov dword [esi], ebx
call fcn.004103d7
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x41059f
push eax
call fcn.004b6e29
pop ecx
mov dword [edi + 4], ebx
mov eax, dword [esi]
mov ebx, dword [ebp - 0x80]
lea eax, [ebx + eax*4]
push eax
call fcn.004b6e34
pop ecx
mov dword [edi + 4], eax
test eax, eax
je 0x410552
mov ecx, dword [esi]
lea ecx, [ebx + ecx*4]
push ecx
push 0
push eax
call fcn.004f42d0
mov eax, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [esi]
push esi
lea ecx, [eax + ecx*4]
push ecx
push eax
push dword [ebp - 0x7c]
mov ecx, edi
call fcn.004103d7
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f41b5
add ebp, 0x90
leave
ret
Function at 0x41219b
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
sub esp, 0x438
lea ebp, [esp - 4]
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x438], eax
push 8
mov eax, 0x52f2b9
call fcn.004f41c4
mov esi, ecx
lea ecx, [ebp]
call fcn.004063ed
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x14]
call fcn.00401276
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004c41e5
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x1fc]
push eax
mov ecx, 0x597b40
call fcn.0043542b
test eax, eax
je 0x4122f3
push dword [ebp - 0x10]
call fcn.004f3730
inc eax
pop ecx
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x412272
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x41226b
push dword [ebp - 0x10]
call fcn.004f3730
inc eax
push eax
push dword [ebp - 0x10]
push ebx
call fcn.004f4490
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jne 0x41225d
xor eax, eax
jmp 0x412260
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4122a9
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x412279
mov esi, dword [esi + 0x20]
push 0xd4
mov ecx, 0x598978
call fcn.0045a895
push eax
push 0x16
push esi
call fcn.004065bc
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x4122f3
push dword [ebp - 0x10]
call fcn.004b6e29
and dword [ebp - 0x10], 0
pop ecx
jmp 0x4122f3
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x10], 0
je 0x4122d1
push dword [ebp - 0x10]
call fcn.004b6e29
and dword [ebp - 0x10], 0
pop ecx
test esi, esi
je 0x4122d8
mov esi, dword [esi + 0x20]
push 0xd5
mov ecx, 0x598978
call fcn.0045a895
push eax
push 0x13
push esi
call fcn.004065bc
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040104c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004064c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.004f41b5
add ebp, 0x43c
leave
ret
Function at 0x4146e1
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x52f5b8
call fcn.004f41c4
mov esi, ecx
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x10]
call fcn.00401276
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x18]
call fcn.00401276
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0x21c]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageA]
push 7
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x1fc]
call fcn.004cd14a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040dab3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040104c
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x4147c1
mov eax, dword [esi + 0x20]
push 1
push ebx
push ebx
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
cmp ebx, 0x20
ja 0x4147c1
push 0x113
mov ecx, 0x598978
call fcn.0045a895
push eax
lea ecx, [ebp - 0x10]
call fcn.00401504
push 0x5416b4
lea ecx, [ebp - 0x10]
call fcn.0040153c
push ebx
call fcn.00405fe8
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040153c
mov edi, dword [ebp - 0x10]
mov esi, dword [esi + 0x20]
push edi
push 0x16
push esi
call fcn.004065bc
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040104c
lea ecx, [edi - 0x10]
call fcn.0040104c
call fcn.004f429c
ret
Function at 0x4163bf
Capabilities:
Encode data using xor

Disassembly:
push 0x170
mov eax, 0x52f7f6
call fcn.004f422d
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x17c], eax
cmp ebx, 0x13880
jbe 0x4163f0
or eax, 0xffffffff
jmp 0x41648d
lea ecx, [ebp - 0x178]
call fcn.0049c418
and dword [ebp - 4], 0
push 0x10
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004f4490
mov al, byte [ebp + 0x1c]
add esp, 0xc
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x38]
push eax
push 0x14
pop esi
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push edi
lea ecx, [ebp - 0x178]
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x14], 0
call fcn.0049d86a
cmp ebx, 1
jbe 0x416469
dec ebx
lea eax, [ebp - 0x4c]
push eax
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push edi
lea ecx, [ebp - 0x178]
call fcn.0049d86a
xor eax, eax
mov ecx, dword [ebp + eax - 0x4c]
xor dword [ebp + eax - 0x38], ecx
add eax, 4
cmp eax, esi
jb 0x416457
dec ebx
jne 0x41643f
push esi
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x17c]
call fcn.004f4490
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x178]
call fcn.0049c421
xor eax, eax
call fcn.004f42b0
ret 0x1c

Function at 0x416495
Capabilities:
Encode data using xor

Disassembly:
push 0x138
mov eax, 0x52f829
call fcn.004f422d
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x144], eax
cmp edi, 0x13880
jbe 0x4164cc
or eax, 0xffffffff
jmp 0x416562
lea ecx, [ebp - 0x13c]
call fcn.0049e50b
push 0x10
push dword [ebp - 0x144]
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004f4490
mov al, byte [ebp + 0x1c]
add esp, 0xc
push esi
push 0x14
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x24]
push eax
push 0x14
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x14], bl
call fcn.0049fa44
cmp edi, 1
jbe 0x416551
lea ebx, [ebp - 0x64]
sub ebx, esi
dec edi
lea eax, [ebp - 0x64]
push eax
push 0x40
push esi
push 0x14
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
call fcn.0049fa44
push 0x10
mov eax, esi
pop ecx
mov edx, dword [ebx + eax]
xor dword [eax], edx
add eax, 4
dec ecx
jne 0x416543
dec edi
jne 0x416524
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0049e514
xor eax, eax
call fcn.004f42b0
ret 0x1c