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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e100
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x48f1ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
jb 0x418ff4
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x419012
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x419000
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ebx + 0xc]
add eax, edx
mov dword [ebp - 0x14], edx
mov dword [ebp + 0xc], eax
cmp esi, dword [eax]
je 0x4190ae
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [eax]
je 0x4190ae
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x41904a
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x419054
mov ecx, dword [edi]
push edx
push eax
push dword [edi + 0x10]
push ecx
call fcn.0041b6d0
add esp, 0x10
test al, al
mov eax, dword [ebp + 0xc]
je 0x419035
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.00409d70
push 0x30
push edi
call fcn.0045fc1f
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4190db
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x4190f5
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x419117
cmp eax, esi
jne 0x4190fd
mov dword [ecx], edi
jmp 0x419117
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x419117
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00426040
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426ef0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x48f1ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx + 4]
add edx, 0x294
mov dword [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 8], 7
push ebx
mov word [ebp - 0x1c], ax
mov eax, edx
push esi
mov esi, dword [ecx + 8]
push edi
mov dword [ebp - 0x34], esi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426f30
sub eax, edi
lea ecx, [ebp - 0x1c]
sar eax, 1
push eax
push edx
call fcn.00413d20
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
mov dword [ebp - 0x30], 0
push dword [esi + 8]
call edi
mov ebx, dword [ebp - 0x1c]
test eax, eax
jne 0x426fc0
call fcn.004474be
add eax, 0x7a120
push 0
push 0x64
adc edx, 0
push edx
push eax
call fcn.0045fb60
push 0
push 0x3b9aca00
mov esi, eax
push edx
push esi
call fcn.0045fab0
mov dword [ebp - 0x44], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x40], edx
sub esi, eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], esi
movups xmm0, xmmword [ebp - 0x44]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.004473e0
mov eax, dword [ebp - 0x30]
add esp, 4
mov esi, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 0xa
jl 0x426f56
jmp 0x42700d
mov eax, dword [ebp - 0xc]
lea esi, [eax*2 + 4]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
push esi
cmovae ecx, ebx
mov edi, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x427040
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x427036
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427051
push ecx
push ebx
call fcn.0045fc1f
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fc2d
mov esp, ebp
pop ebp
ret
call fcn.00461650
int3

Function at 0x42af40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x42af71
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x42af60
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x42b910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x42b92b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x42b947
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x42b936
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x42b980
cmp eax, edi
jne 0x42b978
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x42b988
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x42b988
cmp eax, edi
jne 0x42b98b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.00409d70
push 0x30
push edi
call fcn.0045fc1f
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42bcd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 4], ebx
jb 0x42bcef
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x42bd11
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x42bd00
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x42bd3b
mov eax, ebx
jmp 0x42bd3f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x42bdaa
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov ecx, edi
jb 0x42bd50
mov ecx, dword [edi]
mov edi, dword [eax + 0x14]
cmp edi, 0x10
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jb 0x42bd66
mov eax, dword [eax]
push dword [ebp - 4]
push ecx
push edx
push eax
call fcn.0041b6d0
add esp, 0x10
test al, al
jne 0x42bd82
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x42bd33
cmp dword [ebp - 0x10], 0x10
lea eax, [esi + 8]
jb 0x42bd8d
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x42bd95
mov edi, dword [edi]
push dword [ebp - 0x14]
push eax
push dword [ebp - 4]
push edi
call fcn.0041b6d0
add esp, 0x10
test al, al
cmovne ebx, esi
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42ec20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x42ecf4
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x42ece3
jg 0x42ec58
test edx, edx
je 0x42ece3
call fcn.00428f70
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x42eca8
jg 0x42ec6e
test esi, esi
je 0x42eca8
cmp ebx, eax
jg 0x42ec7d
jl 0x42ec78
cmp edi, esi
jae 0x42ec7d
mov esi, edi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [ebp + 8]
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [ebp + 8]
jmp 0x42ecca
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x42ecdd
mov eax, dword [ebp + 8]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [ebp - 4]
add eax, esi
mov dword [ebp + 8], eax
test ebx, ebx
jg 0x42ec58
jl 0x42ecdd
test edi, edi
jne 0x42ec58
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x42ed13
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x42ed15
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
test edi, edi
jl 0x42edbd
jg 0x42ed2f
test esi, esi
je 0x42edbd
test eax, eax
jl 0x42ed6e
jg 0x42ed39
test ebx, ebx
je 0x42ed6e
cmp edi, eax
jg 0x42ed48
jl 0x42ed43
cmp esi, ebx
jae 0x42ed48
mov ebx, esi
mov dword [ebp + 0x10], edi
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebp + 8], ebx
sub esi, ebx
sbb edi, dword [ebp + 0x10]
mov eax, dword [ecx + 0x2c]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x42ed74
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test edi, edi
jl 0x42edbd
jg 0x42ed7e
test esi, esi
je 0x42edbd
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x42edbd
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x42eda9
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [ebp + 8]
call sub.msvcrt.dll_fread
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42fab0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x48f1ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [ecx + 0x14], 8
jb 0x42fad1
mov ecx, dword [ecx]
push 0x100
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 4]
test eax, eax
cmovne esi, dword [ebp - 0x2b8]
xor ecx, ebp
mov eax, esi
pop esi
call fcn.0045fc2d
mov esp, ebp
pop ebp
ret

Function at 0x42fc50
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x42fe60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470188
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x48f1ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [ebp - 0xd]
inc eax
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00412aa0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub eax, edi
sar eax, 1
push eax
push edi
push dword [esi + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42fed7
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
push edi
call fcn.00413d20
test edi, edi
je 0x42ff1f
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42ff15
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ff34
push ecx
push edi
call fcn.0045fc1f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00461650
int3
Function at 0x432c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x4c]
push dword [eax + 0xac]
push dword [eax + 0xa8]
call fcn.00440a90
mov edi, eax
add esp, 8
test edi, edi
je 0x432c6d
mov eax, dword [edi + 0x68]
jmp 0x432c6f
xor eax, eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [0x493c98], eax
mov dword [esi], str.HostHWND
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 8]
cdq
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], str.toclipboard
mov eax, dword [ebx + 0x4c]
movzx eax, byte [eax + 0xb0]
cdq
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], str.current_select
cmp ecx, edi
jne 0x432cb9
mov eax, 1
xor edx, edx
jmp 0x432cc7
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], str.text_number
mov eax, dword [ecx + 0x48]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], str.process_id
mov eax, dword [ecx + 0x68]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], str.hook_address
mov eax, dword [ecx + 0x70]
mov dword [esi + 0x58], eax
mov eax, dword [ecx + 0x74]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], str.text_handle
mov eax, dword [ecx + 0x48]
mov dword [esi + 0x68], eax
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x6c], eax
lea eax, [ecx + 0x50]
mov dword [esi + 0x70], str.text_name
cmp dword [eax + 0x14], 8
jb 0x432d2c
mov eax, dword [eax]
cdq
xor ecx, ecx
mov dword [esi + 0x78], eax
xor eax, eax
push 0x50
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xcc], ecx
lea ecx, [esi + 0xf0]
mov dword [esi + 0x7c], edx
xor edx, edx
push eax
push ecx
mov dword [esi + 0x80], str.add_sentence
mov dword [esi + 0x88], 0x430280
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], str.add_text
mov dword [esi + 0x98], 0x430300
mov dword [esi + 0xa0], str.get_selected_process_id
mov dword [esi + 0xa8], 0x4302f0
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], str.void__AddSentence__int64_t_number__const_wchar_t_sentence_
mov dword [esi + 0xb8], 0x430280
mov dword [esi + 0xbc], edx
mov dword [esi + 0xc0], str.void__AddText__int64_t_number__const_wchar_t_text_
mov dword [esi + 0xc8], 0x430300
mov dword [esi + 0xd0], str.DWORD__GetSelectedProcessId___
mov dword [esi + 0xd8], 0x4302f0
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x433f7c
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x433fa1
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x433f90
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp + 0xc], edx
mov esi, edx
mov dword [ebp - 4], eax
cmp edx, edi
jne 0x433fcb
mov eax, edi
jmp 0x433fcf
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x434070
cmp dword [ebx + 0x14], 8
lea eax, [esi + 8]
mov edx, ebx
jb 0x433fe4
mov edx, dword [ebx]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x433fef
mov eax, dword [eax]
cmp ecx, dword [ebx + 0x10]
jne 0x434003
push ecx
push edx
push eax
call fcn.00416c50
add esp, 0xc
test eax, eax
je 0x43400d
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x433fc3
mov ecx, esi
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], edi
jne 0x43401b
mov eax, edi
jmp 0x434022
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x434058
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x434034
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x43403e
mov ecx, dword [ebx]
cmp dword [ebx + 0x10], edx
jne 0x434058
push dword [ebx + 0x10]
push eax
push ecx
call fcn.00416c50
add esp, 0xc
test eax, eax
jne 0x434058
mov esi, dword [esi]
jmp 0x434012
mov ecx, dword [ebp - 8]
cmp ecx, esi
je 0x434070
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x434090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4340ab
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4340c7
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4340b6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x434100
cmp eax, edi
jne 0x4340f8
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x434108
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x434108
cmp eax, edi
jne 0x43410b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
lea ecx, [edx + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ecx + 4]
call fcn.00432e60
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x435660
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b20
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x48f1ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea edx, [ecx + 2]
mov word [ebp - 0x2c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4356b7
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00413d20
sub esp, 8
mov dword [ebp - 0x30], esi
mov eax, esp
lea ecx, [ebp - 0x30]
mov dword [eax], str.current_select
mov dword [eax + 4], 0xe
call fcn.004355b0
or eax, edx
je 0x4357b9
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.process_id
mov dword [eax + 4], 0xa
call fcn.004355b0
or eax, edx
je 0x4357b9
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.toclipboard
mov dword [eax + 4], 0xb
call fcn.004355b0
or eax, edx
je 0x4357b9
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.HostHWND
mov dword [eax + 4], 8
call fcn.004355b0
push eax
mov dword [ebp - 0x30], edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4357b9
mov eax, dword [ebp - 0x1c]
lea eax, [eax*2 + 4]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov esi, eax
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 4]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x435802
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4357e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435820
push edx
push ecx
call fcn.0045fc1f
add esp, 8
jmp 0x435802
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045fc2d
mov esp, ebp
pop ebp
ret
call fcn.00461650
int3