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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10032004], 0x1c2
mov dword [0x10032008], 0x25f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x10008ca7
mov eax, dword [ebp - 0x30]
add eax, 0x1140
mov dword [ebp - 0x34], eax
mov dword [0x10032004], 0x261d
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x10008c9f
lea eax, [ebp - 0x20]
mov dword [0x10032004], 0x1c8b
mov dword [ebp - 0x3c], eax
call fcn.100093fc
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.10008479
xor ecx, ecx
mov dword [0x10032004], 0xd55
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ecx
jne 0x10008ccf
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1000a7ca]
mov dl, byte [eax + 0x1000a79b]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
je 0x10008c62
jmp 0x10008ca7
mov eax, dword [ebp - 0x40]
mov dword [0x10032004], 0xfd
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10032004], 0xeb2
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x30], eax
call fcn.10008eb6
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x4c], ecx
mov dword [0x10032008], 0x1bfa
mov dword [0x10032004], 0x13b2
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10008c9f
jmp 0x10008c45
Function at 0x10009263
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x10032008], 0x1077
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100088ad
lea ecx, [0x10008bb6]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], 0x146400
mov edx, dword [0x10031ff0]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10031ff4]
mov dword [esp + 0x38], edx
mov edx, dword [0x10031ff8]
mov dword [esp + 0x74], edx
mov edx, dword [0x10031ffc]
mov dword [esp + 0x44], edx
mov edx, dword [0x10032000]
mov dword [esp + 0x60], edx
mov dword [0x10032008], 0x184e
mov dword [0x10032004], 0x133f
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x100092fb
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1000931e
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1000933c
mov dword [0x10032008], 0x1087
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100092fb
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov dword [0x10032008], 0xfffffa68
mov dword [0x10032004], 0xffffe539
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x40], edx
call fcn.10007d29
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x100092f3
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10008c18
mov dword [0x10032008], 0x11fa
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x10032004], 0x2140
mov dword [esp + 0x10], eax
jmp 0x100092f3
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x2004441
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
push edi
mov byte [ebp - 1], 1
jne 0x200448e
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x20044b5
shr eax, 2
test al, 1
je 0x20044be
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x20044f1
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x20044f0
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret

Function at 0x200655c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add ecx, dword [eax - 0x7ba38fe]
add byte [eax], al
add byte [eax], al
mov dword [ebp - 4], 0

Function at 0x2006579
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
cmp eax, edx
jb 0x2006586
jmp 0x20065c4
mov eax, 1
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x200656d
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
movzx eax, byte [eax]
movzx eax, al
lea edx, [ebp - 0x14]
add edx, dword [ebp - 4]
movzx edx, byte [edx]
movzx edx, dl
xor eax, edx
mov edx, dword [ebp - 8]
invalid
Function at 0x200cc36
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, 0x8000
mov ebp, 0xffff8000
mov eax, dword [esi + 0x6af84]
mov ebx, dword [esi + 0x6af70]
sub ebx, eax
sub ebx, dword [esi + 0x6af90]
cmp ebx, 0xffffffff
jne 0x200cc69
push 0xfffffffffffffffe
pop ebx
jmp 0x200ccee
cmp eax, 0xfefa
jb 0x200ccee
cmp dword [esi + 0x6af78], 0
je 0x200ccee
push edi
lea eax, [esi + 0x22f70]
push eax
lea eax, [esi + 0x1af70]
push eax
call sub.MSVCR80.dll_memcpy
add dword [esi + 0x6af88], ebp
add dword [esi + 0x6af84], ebp
add esp, 0xc
add dword [esi + 0x6af74], ebp
lea eax, [esi + 0x4af70]
mov dword [esp + 0x14], edi
mov ecx, dword [eax]
cmp ecx, edi
lea edx, [ecx - 0x8000]
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [eax], ecx
add eax, 4
dec dword [esp + 0x14]
jne 0x200ccac
lea eax, [esi + 0x2af70]
mov dword [esp + 0x14], edi
mov ecx, dword [eax]
cmp ecx, edi
lea edx, [ecx - 0x8000]
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [eax], ecx
add eax, 4
dec dword [esp + 0x14]
jne 0x200ccd1
add ebx, edi
cmp dword [esi + 0x6af8c], 0
jne 0x200cd59
cmp ebx, 2
sbb al, al
inc al
push str.more___2
ror byte [ebx + 0x1959c15], 1
add cl, byte [ecx - 0x77ca000f]
mov ecx, esi
push dword [0x2019588]

Function at 0x200cd03
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push edi
push esi
push eax
cmp dword [esp + 0x14], 1
jne 0x200cd70
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x20195a4]
call esi
mov edi, eax
push 0
call esi
mov ecx, dword [eax + 0x3c]
add eax, dword [eax + ecx + 0x28]
mov dword [esp], 0
mov ecx, dword [0x2019584]
mov esi, dword [0x201959c]
sub esi, ecx
add esi, eax
push dword [0x2019598]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, esp
push ecx
push 0x40
push dword [0x2019588]
push esi
call eax
mov edx, dword [0x201959c]
Function at 0x4063f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47762b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046c6f1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406472
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046a5d7
mov eax, dword [eax]
push 0x645c50
push eax
call fcn.0045d2e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046c97c
test bl, bl
je 0x406472
push 0x645c50
lea ecx, [esp + 0xc]
call fcn.0046cd0c
push 0x645c5c
lea ecx, [esp + 0xc]
call fcn.0046cd0c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4064ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046c97c
jmp 0x406579
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x406532
lea edx, [esp + 0x7c]
push 0x645c58
push edx
call fcn.0045d2e4
add esp, 8
test eax, eax
je 0x406532
lea eax, [esp + 0x7c]
push 0x645c54
push eax
call fcn.0045d2e4
add esp, 8
test eax, eax
je 0x406532
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4064c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046c97c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406d80
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x406de2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x406df0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4776ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x64f534]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x406f28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406e56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046c97c
xor eax, eax
jmp 0x406f9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046cab9
push esi
lea ecx, [esp + 0xc]
call fcn.0046cd48
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x406f7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00406d80
test eax, eax
jne 0x406f7d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00406d80
test eax, eax
jne 0x406f7d
lea eax, [esp + 0x14]
push 0x645c6c
push eax
call fcn.0045e360
mov esi, eax
add esp, 8
test esi, esi
jne 0x406f5c
lea ecx, [esp + 0x14]
push 0x645c68
push ecx
call fcn.0045e2e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x406f5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x406f5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046ca69
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x406e6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046c97c
xor eax, eax
jmp 0x406f9f
mov byte [esi], 0
push 0x645c64
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046c97c
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x416150
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4161be
cmp si, 0x69
ja 0x4161be
add esi, 0xffd0
cmp si, 0x11
je 0x41618e
push 0x11
call edi
test ax, ax
jge 0x41618e
or esi, 0x2000
cmp si, 0x10
je 0x4161a3
push 0x10
call edi
test ax, ax
jge 0x4161a3
or esi, 0x4000
cmp si, 0x12
je 0x4161b8
push 0x12
call edi
test ax, ax
jge 0x4161b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4161cb
mov esi, 0xbd
jmp 0x41617f
cmp si, 0x6e
jne 0x4161d8
mov esi, 0xbe
jmp 0x41617f
cmp si, 0x6f
jne 0x416179
mov esi, 0xbf
jmp 0x41617f

Function at 0x417b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x65fc68]
xor edx, edx
cmp eax, edx
jne 0x417ba6
xor eax, eax
mov byte [eax + 0x65fb68], al
inc eax
cmp eax, 0x100
jl 0x417b8e
mov dword [0x65fc68], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x65fb68
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x417c37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x417c0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x417bd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x417cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x417d03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x417cea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a1f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x479658
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00424a30
test eax, eax
je 0x42a2f8
lea ecx, [esp + 0xc]
call fcn.00402490
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00424a30
mov ecx, eax
call fcn.00422130
test eax, eax
je 0x42a2df
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42a2df
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42a2df
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00402690
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42a2c1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42a2df
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x6600c0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x6324d8
call fcn.00402690
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42a350
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00424a30
test eax, eax
je 0x42a43f
mov ecx, edi
call fcn.00424a30
mov ecx, eax
call fcn.00421fe0
test eax, eax
jne 0x42a43f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42a43f
mov eax, dword [0x6600c0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42a3b2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00424a30
mov ecx, eax
call fcn.00422210
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42a43f
cmp ebx, eax
jne 0x42a43f
cmp dword [esp + 0x10], eax
jne 0x42a425
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x42d100
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4798e8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42d139
inc eax
mov dword [esi + 0x10], eax
jmp 0x42d24c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42d14d
mov eax, 0xffffffc7
jmp 0x42d24e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42d15e
cmp dword [esi + 8], eax
jne 0x42d14d
cmp dword [esi + 8], eax
jne 0x42d177
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42d177
mov eax, 0xffffffc7
jmp 0x42d24e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42d18b
push eax
mov ecx, ebx
call fcn.0042c930
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402490
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42d1bc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004024b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042c0a0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42d1ef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x632508
call fcn.00402690
mov eax, dword [esp + 0x38]
jmp 0x42d24e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042cf60
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42d233
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042cf80
mov esi, eax
test esi, esi
jne 0x42d263
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042cf60
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42d205
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x632508
call fcn.00402690
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x632508
call fcn.00402690
mov eax, esi
jmp 0x42d24e

Function at 0x431c00
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x431c60
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x431c60
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x431c60
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x431c60
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x431ca0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret