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

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
test esi, esi
jbe 0x428153
test bl, 7
je 0x42814f
movzx ecx, byte [ebx]
movzx edi, al
shrd eax, edx, 8
xor ecx, edi
xor eax, dword [ecx*8 + 0x4f3ba8]
shr edx, 8
xor edx, dword [ecx*8 + 0x4f3bac]
dec esi
inc ebx
test esi, esi
ja 0x428127
mov dword [esp + 0x1c], esi
mov ecx, esi
shr ecx, 3
lea ecx, [ebx + ecx*8]
mov dword [esp + 0x18], ecx
cmp ebx, ecx
jae 0x428241
push ebp
mov ecx, dword [ebx]
xor ecx, eax
mov eax, dword [ebx + 4]
xor eax, edx
mov edx, eax
shr edx, 0x10
movzx esi, dl
mov edi, dword [esi*8 + 0x4f43a8]
mov esi, dword [esi*8 + 0x4f43ac]
mov edx, eax
shr edx, 0x18
movzx edx, dl
xor edi, dword [edx*8 + 0x4f3ba8]
xor esi, dword [edx*8 + 0x4f3bac]
mov edx, eax
shr edx, 8
movzx edx, dl
xor edi, dword [edx*8 + 0x4f4ba8]
xor esi, dword [edx*8 + 0x4f4bac]
movzx edx, al
xor edi, dword [edx*8 + 0x4f53a8]
xor esi, dword [edx*8 + 0x4f53ac]
mov ebp, eax
mov edx, ecx
shrd edx, ebp, 0x18
movzx edx, dl
xor edi, dword [edx*8 + 0x4f5ba8]
xor esi, dword [edx*8 + 0x4f5bac]
shr ebp, 0x18
mov ebp, eax
mov edx, ecx
shrd edx, ebp, 0x10
movzx edx, dl
xor edi, dword [edx*8 + 0x4f63a8]
xor esi, dword [edx*8 + 0x4f63ac]
mov edx, ecx
shrd edx, eax, 8
mov dword [esp + 0x18], eax
shr eax, 8
movzx eax, dl
xor edi, dword [eax*8 + 0x4f6ba8]
xor esi, dword [eax*8 + 0x4f6bac]
movzx eax, cl
xor esi, dword [eax*8 + 0x4f73ac]
xor edi, dword [eax*8 + 0x4f73a8]
add ebx, 8
shr ebp, 0x10
mov eax, edi
mov edx, esi
cmp ebx, dword [esp + 0x1c]
jb 0x428168
mov esi, dword [esp + 0x20]
pop ebp
and esi, 7
jbe 0x428269
movzx ecx, byte [ebx]
movzx edi, al
shrd eax, edx, 8
xor ecx, edi
xor eax, dword [ecx*8 + 0x4f3ba8]
shr edx, 8
xor edx, dword [ecx*8 + 0x4f3bac]
dec esi
inc ebx
test esi, esi
ja 0x428246
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x428270
Capabilities:
Encode data using xor

Disassembly:
xor dl, dl
push esi
mov esi, dword [esp + 8]
mov byte [ecx + 0xbfe], dl
mov byte [ecx + 0xbfd], dl
mov byte [ecx + 0xbfc], dl
mov al, byte [esi]
cmp al, dl
je 0x4282b4
push ebx
mov bl, byte [ecx + 0xbfe]
add byte [ecx + 0xbfc], al
xor byte [ecx + 0xbfd], al
add bl, al
rol bl, 1
inc esi
mov byte [ecx + 0xbfe], bl
mov al, byte [esi]
cmp al, dl
jne 0x428290
pop ebx
pop esi
ret 4
Function at 0x4282c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x6ec]
push eax
call fcn.00427c40
mov edi, dword [esp + 0xc]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4282e0
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.00427d90
mov word [esi + 0xc00], ax
shr eax, 0x10
xor ecx, ecx
xor edx, edx
mov word [esi + 0xc02], ax
mov word [esi + 0xc06], cx
mov word [esi + 0xc04], dx
mov al, byte [edi]
test al, al
je 0x428356
mov edx, edi
lea ecx, [ecx]
movzx ecx, al
mov di, word [esi + ecx*4 + 0x6ec]
lea ecx, [esi + ecx*4 + 0x6ec]
movzx ax, al
xor di, ax
xor word [esi + 0xc04], di
mov cx, word [ecx + 2]
add cx, ax
add word [esi + 0xc06], cx
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x428320
pop edi
pop esi
ret 4

Function at 0x4283c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x42847a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x4283e0
mov ecx, 0x1234
add word [eax + 0xc00], cx
movzx ecx, word [eax + 0xc00]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [eax + edx*4 + 0x6ec]
xor word [eax + 0xc02], dx
mov bx, word [eax + 0xc06]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [eax + edx*4 + 0x6ee]
sub word [eax + 0xc04], dx
movzx edx, word [eax + 0xc04]
xor edx, ecx
mov word [eax + 0xc00], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0xc02]
ror bx, cl
movzx ecx, bx
xor word [eax + 0xc00], cx
mov word [eax + 0xc06], cx
movzx ecx, word [eax + 0xc00]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x4283e0
pop esi
pop ebx
pop edi
ret 8

Function at 0x428480
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x428490
movzx esi, byte [eax - 1]
mov esi, dword [ecx + esi*4 + 0x6ec]
xor dword [ecx + 0xbec], esi
movzx esi, byte [eax]
mov esi, dword [ecx + esi*4 + 0x6ec]
xor dword [ecx + 0xbf0], esi
movzx esi, byte [eax + 1]
mov esi, dword [ecx + esi*4 + 0x6ec]
xor dword [ecx + 0xbf4], esi
movzx esi, byte [eax + 2]
mov esi, dword [ecx + esi*4 + 0x6ec]
xor dword [ecx + 0xbf8], esi
add eax, 4
sub edx, 1
jne 0x428490
pop esi
ret 4
Function at 0x428970
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1d8
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1d4], eax
mov eax, dword [esp + 0x1ec]
push ebx
mov ebx, dword [esp + 0x1e8]
push esi
mov esi, dword [esp + 0x1e8]
push edi
mov edi, dword [esp + 0x1e8]
mov dword [esp + 0xc], eax
cmp esi, 0x40
jbe 0x4289e9
lea ecx, [esp + 0xf0]
push ecx
call fcn.0047df00
push esi
push edi
lea edx, [esp + 0xf8]
push edx
call fcn.0047e3b0
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.0047e460
lea edi, [esp + 0x1a0]
mov esi, 0x20
xor eax, eax
test esi, esi
jbe 0x428a15
push ebp
mov ebp, edi
lea edx, [esp + 0x164]
sub ebp, edx
jmp 0x428a00
lea ecx, [esp + eax + 0x164]
mov dl, byte [ecx + ebp]
xor dl, 0x36
inc eax
mov byte [ecx], dl
cmp eax, esi
jb 0x428a00
pop ebp
cmp esi, 0x40
jae 0x428a34
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x164]
push 0x36
push eax
call fcn.004c16b0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call fcn.0047df00
push 0x40
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0047e3b0
mov edx, dword [esp + 0x1f4]
push edx
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.0047e3b0
lea ecx, [esp + 0x1c0]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0047e460
lea eax, [esp + 0x80]
push eax
call fcn.0047df00
xor eax, eax
test esi, esi
jbe 0x428aa7
lea ecx, [esp + 0x160]
sub edi, ecx
lea ecx, [esp + eax + 0x160]
mov dl, byte [edi + ecx]
xor dl, 0x5c
inc eax
mov byte [ecx], dl
cmp eax, esi
jb 0x428a93
cmp esi, 0x40
jae 0x428ac6
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x164]
push 0x5c
push eax
call fcn.004c16b0
add esp, 0xc
push 0x40
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.0047e3b0
push 0x20
lea ecx, [esp + 0x1c4]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.0047e3b0
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.0047e460
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x1d8
ret 0x14
Function at 0x428b20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc8
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xd4]
push ebx
mov ebx, dword [esp + 0xe4]
push ebp
mov ebp, dword [esp + 0xe4]
push esi
mov esi, dword [esp + 0xe4]
push edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov ecx, esi
cmp esi, 0x40
jb 0x428b76
mov ecx, 0x40
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.004c1de0
mov edx, dword [esp + 0xec]
add esp, 0xc
lea eax, [esp + 0x50]
push eax
mov byte [esp + esi + 0x74], 0
mov byte [esp + esi + 0x75], 0
mov byte [esp + esi + 0x76], 0
mov byte [esp + esi + 0x77], 1
add esi, 4
push esi
lea ecx, [esp + 0x78]
push ecx
push edx
push edi
call fcn.00428970
mov eax, dword [esp + 0xf8]
dec eax
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, 0x10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
xor ebx, ebx
nop
mov eax, dword [esp + ebx + 0x24]
test eax, eax
jbe 0x428c71
mov ebp, eax
lea ebx, [ebx]
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0xb4]
push edx
mov edx, dword [esp + 0x18]
push 0x20
lea eax, [esp + 0x58]
push eax
push ecx
push edx
call fcn.00428970
mov ecx, 8
lea esi, [esp + 0xb4]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x428c40
movzx ecx, byte [esp + eax + 0x50]
movzx edx, byte [esp + eax + 0x51]
xor byte [esp + eax + 0x30], cl
xor byte [esp + eax + 0x31], dl
movzx ecx, byte [esp + eax + 0x52]
movzx edx, byte [esp + eax + 0x53]
xor byte [esp + eax + 0x32], cl
xor byte [esp + eax + 0x33], dl
add eax, 4
cmp eax, 0x20
jb 0x428c40
sub ebp, 1
jne 0x428c00
mov edi, dword [esp + ebx + 0x18]
add ebx, 4
mov ecx, 8
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
cmp ebx, 0xc
jb 0x428bf0
push 0x44
lea eax, [esp + 0x74]
push eax
call fcn.004784d0
push 0x20
lea ecx, [esp + 0x34]
push ecx
call fcn.004784d0
push 0x20
lea edx, [esp + 0x54]
push edx
call fcn.004784d0
push 0x20
lea eax, [esp + 0xb8]
push eax
call fcn.004784d0
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0xc8
ret 0x20
Function at 0x4290e0
Capabilities:
Encode data using xor
Generate random numbers via winapi

Disassembly:
sub esp, 0xc
push ebx
push ebp
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x429133
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
cmp eax, 1
mov eax, dword [esp + 8]
push 0
push eax
sete bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
jne 0x429197
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00482210
lea ecx, [esp + 0x14]
call fcn.00482160
lea ecx, [esp + 0x14]
call fcn.00482140
mov esi, eax
mov edi, edx
call fcn.004c2695
cdq
add esi, eax
adc edi, edx
xor ebx, ebx
test ebp, ebp
jbe 0x429195
mov ecx, ebx
and ecx, 7
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov eax, esi
mov edx, edi
call fcn.004c3960
mov edx, dword [esp + 0x20]
mov cl, al
mov eax, dword [0x4fa068]
xor cl, bl
add cl, al
mov byte [ebx + edx], cl
inc eax
inc ebx
mov dword [0x4fa068], eax
cmp ebx, ebp
jb 0x429164
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x429a00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x34]
push esi
push edi
mov edi, dword [esp + 0x38]
cmp dword [edi], 2
jne 0x429ac2
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, eax
mov byte [esp + 0xc], al
shr eax, 0x18
mov byte [esp + 0xf], al
shr ecx, 8
lea eax, [esp + 0x10]
push eax
push 4
mov byte [esp + 0x15], cl
lea ecx, [esp + 0x14]
push ecx
push 0x20
shr edx, 0x10
push ebx
mov byte [esp + 0x22], dl
call fcn.00428970
xor edx, edx
mov dword [edi + 4], edx
mov eax, edx
lea esi, [edx - 2]
push ebp
movzx ebp, byte [esp + edx + 0x14]
mov ecx, edx
and ecx, 3
add ecx, ecx
add ecx, ecx
add ecx, ecx
shl ebp, cl
lea ecx, [esi - 1]
and ecx, 3
add ecx, ecx
add ecx, ecx
xor eax, ebp
movzx ebp, byte [esp + edx + 0x15]
add ecx, ecx
shl ebp, cl
mov ecx, esi
and ecx, 3
add ecx, ecx
xor eax, ebp
movzx ebp, byte [esp + edx + 0x16]
add ecx, ecx
add ecx, ecx
shl ebp, cl
lea ecx, [esi + 1]
and ecx, 3
add ecx, ecx
xor eax, ebp
movzx ebp, byte [esp + edx + 0x17]
add ecx, ecx
add ecx, ecx
shl ebp, cl
add edx, 4
add esi, 4
xor eax, ebp
cmp edx, 0x20
jb 0x429a61
mov dword [edi + 4], eax
pop ebp
cmp dword [edi], 3
jne 0x429ae5
lea edx, [esp + 0x10]
push edx
push 0x20
add edi, 4
push edi
push 0x20
push ebx
call fcn.00428970
mov ecx, 8
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x28
ret 8
Function at 0x42e5e0
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4d2fe6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb984]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x5344dc], ebx
jne 0x42e7a7
push str.WinRAR_DragDrop
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42e665
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.004750b0
push eax
call fcn.004ac840
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x51bfb5], al
jne 0x42e685
mov byte [esp + 0x14], bl
cmp byte [0x533431], bl
je 0x42e68a
mov byte [esp + 0x14], 1
push 8
call fcn.004c1c10
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x42e6b1
mov dword [eax], 0x4d8d20
mov dword [eax + 4], 1
mov edi, eax
jmp 0x42e6b3
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0xd600
call fcn.004c1c10
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x42e6e8
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.0042e2f0
mov esi, eax
jmp 0x42e6ea
xor esi, esi
mov dword [esp + 0x2c], ebp
xor eax, eax
cmp byte [esp + 0x14], bl
lea edx, [esp + 0x20]
setne al
push edx
mov byte [0x51bfb6], bl
mov byte [0x51bfb7], 1
mov byte [0x51bfb4], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x51bfb7], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov ebp, eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp byte [0x51bfb5], bl
je 0x42e75b
cmp byte [0x533431], bl
je 0x42e75b
cmp ebp, 0x40100
jne 0x42e75b
call fcn.004a7340
mov ecx, 0x53fdc8
call fcn.00451170
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0x40100
je 0x42e7a7
cmp byte [0x51bfb4], bl
jne 0x42e7a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x42e7a7
push 0x53c
call fcn.004750b0
push eax
call fcn.004ac840
add esp, 4
mov ecx, 0x51f7e8
call fcn.00433750
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x42f0b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, edx
jbe 0x42f118
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x42f0f4
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
lea ebx, [ebx]
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
inc ecx
mov dword [ebx + eax], ebp
add eax, 4
cmp ecx, dword [esi]
jbe 0x42f0e0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
sub eax, dword [esi]
lea edx, [edi + ecx*4]
add eax, eax
add eax, eax
push eax
push edx
lea eax, [ebx + ecx*4]
push eax
call fcn.004c1de0
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x42f168
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x42f144
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
mov ebp, dword [eax + edx]
xor ebp, dword [eax]
inc ecx
mov dword [eax + ebx], ebp
add eax, 4
cmp ecx, dword [edi]
jbe 0x42f130
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
sub edx, dword [edi]
lea eax, [esi + ecx*4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [ebx + ecx*4]
push ecx
call fcn.004c1de0
mov edx, dword [esi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret 0xc
test eax, eax
jbe 0x42f182
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x42f182
dec eax
sub ecx, 4
test eax, eax
ja 0x42f173
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x42f1a3
sub edi, esi
lea ecx, [esi + eax*4]
sub edx, esi
mov esi, dword [ecx + edi]
xor esi, dword [ecx]
dec eax
mov dword [ecx + edx], esi
sub ecx, 4
test eax, eax
ja 0x42f193
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x42f1b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x42f2da
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x42f2da
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x51bfbc]
lea edx, [ecx + eax*4]
sub eax, 1
mov edx, dword [esp + edx + 0xc]
mov edx, dword [edi + edx*4]
mov dword [esp + eax*4 + 0x10], edx
jne 0x42f1e0
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.004c16b0
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x42f287
mov ebp, dword [0x51bfb8]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x51bfbc]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x42f27a
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x42f27a
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x42f250
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x42f272
add ecx, esi
cmp ecx, 0x7fff
jb 0x42f26c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x42f250
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x42f220
mov ebp, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [ebp]
lea ecx, [edx + eax - 1]
cmp ecx, 0x11
mov dword [edi], ecx
pop ebx
jle 0x42f2b7
lea eax, [edi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
nop
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], 0
sub eax, 4
sub edx, 1
jne 0x42f2a0
cmp dword [edi], 0x11
jbe 0x42f2d1
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x42f2d1
dec eax
mov dword [edi], eax
test eax, eax
jne 0x42f2c2
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x58]
pop esi
mov dword [ecx], 0
pop ebp
add esp, 0x4c
ret 0xc
Function at 0x42f2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x42f3d5
mov ecx, dword [edi + eax*4]
push ebx
mov ebx, dword [0x51bfbc]
mov ecx, dword [ebx + ecx*4]
push esi
cmp ecx, 0x7fff
je 0x42f33b
add ecx, ecx
cmp ecx, 0x7fff
jb 0x42f328
add ecx, 0xffff8001
mov edx, dword [0x51bfb8]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ecx
jmp 0x42f343
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ebp
mov ecx, dword [edi]
sub ecx, 1
je 0x42f388
lea edx, [esi + ecx*8 - 4]
mov edi, edi
mov dword [edx + 4], ebp
mov eax, dword [edi + ecx*4]
mov eax, dword [ebx + eax*4]
cmp eax, 0x7fff
je 0x42f37e
add eax, eax
cmp eax, 0x7fff
jb 0x42f36e
add eax, 0xffff8001
mov ebp, dword [0x51bfb8]
mov eax, dword [ebp + eax*4]
mov dword [edx], eax
xor ebp, ebp
jmp 0x42f380
mov dword [edx], ebp
dec ecx
sub edx, 8
cmp ecx, ebp
jne 0x42f350
mov eax, dword [edi]
lea ecx, [eax + eax - 1]
cmp ecx, 0x11
mov dword [esi], ecx
jle 0x42f3b3
lea eax, [esi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
lea esp, [esp]
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], ebp
sub eax, 4
sub edx, 1
jne 0x42f3a0
cmp dword [esi], 0x11
jbe 0x42f3ce
mov dword [esi], 0x11
mov edi, edi
mov eax, dword [esi]
cmp dword [esi + eax*4], ebp
jne 0x42f3ce
dec eax
mov dword [esi], eax
cmp eax, ebp
jne 0x42f3c0
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
pop edi
mov dword [ecx], ebp
pop ebp
ret 8
Function at 0x431440
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x12b4], eax
mov eax, dword [esp + 0x12bc]
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4001
mov esi, ecx
push 0x2b4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x4d8468
mov dword [esi], eax
call edi
test eax, eax
jne 0x4314b5
push eax
push 0x800
lea edx, [esp + 0x2c4]
push edx
call fcn.0049e210
push 0x4001
push 0x2b4
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x2cc]
push ecx
call edi
mov edx, dword [esi]
push eax
push 0
push 0x1109
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x12bc]
pop edi
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x12b8
ret 4

Function at 0x431910
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
mov esi, dword [esp + 0x2c4]
push edi
mov edi, dword [esp + 0x2cc]
push 0x4009
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push esi
call ebx
mov ecx, dword [esp + 0x10]
push 0x400b
push 0x2b4
lea edx, [esp + 0x14]
push edx
push 0
push esi
mov dword [edi + 0x18], ecx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c0]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x2b8
ret 8
Function at 0x432c40
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov eax, 0x2050
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x204c], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 9
mov esi, ecx
mov eax, dword [esi]
push 0x110a
push eax
call edi
test eax, eax
je 0x432d6b
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x113e
push edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
call edi
test eax, eax
je 0x432d6b
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x432d6b
mov edx, dword [eax + 8]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x432d6b
push ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
push 0x800
shr ebx, 0xf
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x105c]
not bl
push ecx
and bl, 1
call fcn.0047ef70
lea eax, [esp + 0x1054]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432cf5
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x1056], dx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
movzx eax, bl
neg eax
sbb eax, eax
lea edx, [esp + 0xc]
and eax, 0x40
lea ecx, [esp + 0x1054]
push edx
mov dword [esp + 0x14], 3
mov word [esp + 0x20], ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
movzx eax, byte [esi + 8]
push eax
mov ecx, esi
call fcn.00432b50
pop ebx
mov ecx, dword [esp + 0x2054]
pop edi
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x2050
ret
Function at 0x433560
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
push edi
mov edi, dword [esp + 0x100c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x4335fc
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433590
push esi
sub eax, edx
sar eax, 1
push edi
mov esi, eax
call fcn.00460c20
test al, al
jne 0x4335d6
lea eax, [esp + 8]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4335c3
sub eax, edx
sar eax, 1
lea esi, [esi + eax + 1]
cmp esi, 0x104
pop esi
jbe 0x4335fc
push 0x104
push 0x564
call fcn.004750b0
push eax
push 0x4d9084
call fcn.004ace90
add esp, 0xc
mov ecx, dword [esp + 0x1004]
pop edi
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret 4