joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e5a0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0xc24
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xc20], eax
push esi
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x41e6db
push ebp
push 0x10000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x41e609
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0xc20]
xor ecx, esp
call fcn.0049e626
add esp, 0xc24
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x41e673
cmp byte [ebp + 1], 0x1a
jne 0x41e673
lea esi, [ebp + 2]
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x400
lea edi, [ebp + 0x1c]
lea ebx, [esp + 0x434]
call fcn.0041e550
push 0x400
lea ebx, [esp + 0x34]
mov edi, eax
call fcn.0041e550
mov ebx, eax
test ebx, ebx
je 0x41e66f
push 0
lea eax, [esp + 0x18]
push eax
call fcn.0043cd60
lea edi, [esp + 0x30]
lea esi, [esp + 0x430]
call fcn.0041e460
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x41e6ca
lea edi, [ebx + 1]
push 0x400
lea ebx, [esp + 0x834]
call fcn.0041e550
push 0x400
lea ebx, [esp + 0x34]
mov edi, eax
call fcn.0041e550
push 0x400
lea ebx, [esp + 0x434]
mov edi, eax
call fcn.0041e550
test eax, eax
je 0x41e6ca
push 0
mov ecx, ebx
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x83c]
push eax
call fcn.0043c9c0
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0xc24]
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0xc24
ret
Function at 0x41f870
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xe40
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xe3c], eax
lea eax, [esp + 0x3c]
push eax
call fcn.0044e170
lea ecx, [esp + 0x3c]
push ecx
call fcn.0044df70
lea eax, [esp + 0x3c]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41f8a0
mov edx, dword [str.Settings.reg]
mov ecx, dword [0x4b2224]
mov dword [eax], edx
mov edx, dword [0x4b2228]
mov dword [eax + 4], ecx
mov cl, byte [0x4b222c]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x3c]
mov byte [esp + eax + 0x43c], cl
inc eax
test cl, cl
jne 0x41f8d0
push ebx
mov ebx, dword [esp + 0xe48]
push 1
test bl, bl
je 0x41fa61
push str.ExportedSettings
push 0x4b1914
call fcn.004567e0
cmp byte [esp + 0xe4c], 0
jne 0x41f93d
xor edx, edx
test bl, bl
sete dl
push ebx
push str..reg
lea ecx, [esp + 0x48]
push ecx
add edx, 0x5b4
push edx
call fcn.0045be10
push eax
mov eax, dword [0x4dc210]
push eax
call fcn.00418e20
test al, al
je 0x41fa8d
test bl, bl
jne 0x41fac5
push 0x4b1914
call fcn.00456f80
mov eax, 0x4b2210
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x948]
push edx
call fcn.0049e635
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0049ebe0
mov ecx, dword [0x4dc210]
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x940]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], str.regedit
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne bl
test bl, bl
je 0x41f9dc
mov ecx, dword [esp + 0x3c]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0xe48], 0
je 0x41f9f5
push str.ExportedSettings
push 0x4b1914
call fcn.00456720
test bl, bl
je 0x41facf
cmp byte [esp + 0xe48], 0
jne 0x41fa0c
call fcn.0041f570
xor ecx, ecx
cmp byte [esp + 0xe48], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.0045be10
push eax
lea edx, [esp + 0x448]
push edx
call fcn.0049e635
add esp, 0xc
push 0
push 0x2fb
call fcn.0045be10
mov ecx, dword [0x4dc210]
push eax
lea eax, [esp + 0x448]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41faf4
lea edx, [esp + 0x44]
push edx
push str.Settings.reg
call fcn.0044e250
push 0
lea eax, [esp + 0x44]
push eax
call fcn.0042fc80
test al, al
jne 0x41f901
cmp byte [esp + 0xe4c], al
je 0x41faa7
xor al, al
pop ebx
mov ecx, dword [esp + 0xe3c]
xor ecx, esp
call fcn.0049e626
add esp, 0xe40
ret 8
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x440]
mov byte [esp + eax + 0x40], cl
inc eax
test cl, cl
jne 0x41fab0
jmp 0x41f90b
mov eax, str._ea___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x41f954
cmp byte [esp + 0xe4c], 0
jne 0x41faf4
lea edx, [esp + 0x940]
push edx
push 0x201
call fcn.0045be10
push eax
call fcn.0048cd40
add esp, 8
mov ecx, dword [esp + 0xe40]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0xe40
ret 8
Function at 0x41fbc0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4c6a4c], 0
jne 0x41fbce
call fcn.0041fb30
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x41fbfd
test dl, 7
je 0x41fbfd
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
dec esi
inc edx
test esi, esi
ja 0x41fbe0
cmp esi, 8
jb 0x41fc8c
mov edi, esi
shr edi, 3
jmp 0x41fc10
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x4c6a48]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
sub edi, 1
jne 0x41fc10
xor ecx, ecx
test esi, esi
jbe 0x41fcac
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4c6a48]
inc ecx
cmp ecx, esi
jb 0x41fc93
pop ebx
pop edi
pop esi
ret 0xc

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

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x41fd50
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x4c6a48]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x4c6a48]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x4c6a48]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x4c6a48]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x41fd50
pop esi
ret 4

Function at 0x41fda0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fdb0
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.0041fbc0
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
test al, al
je 0x41fe56
lea ecx, [ecx]
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x4c6a48]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x4c6a4a]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41fe00
pop edi
pop esi
ret 4
Function at 0x41ff40
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 0x41fffa
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x41ff60
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4c6a48]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4c6a4a]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x41ff60
pop esi
pop ebx
pop edi
ret 8
Function at 0x422db0
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4ae3e6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c03a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x4dbda0], ebx
jne 0x422f7d
push str.WinRAR_DragDrop
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422e35
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.0045be10
push eax
call fcn.0048cd40
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 [0x4c7561], al
jne 0x422e55
mov byte [esp + 0x14], bl
cmp dword [0x4dbca4], ebx
je 0x422e5a
mov byte [esp + 0x14], 1
push 8
call fcn.0049f174
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x422e81
mov dword [eax], 0x4b22f8
mov dword [eax + 4], 1
mov edi, eax
jmp 0x422e83
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0x5f28
call fcn.0049f174
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x422eb8
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.00422710
mov esi, eax
jmp 0x422eba
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 [0x4c7562], bl
mov byte [0x4c7160], bl
mov byte [0x4c7563], 1
mov byte [0x4c7560], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x4c7563], 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 [0x4c7561], bl
je 0x422f31
cmp dword [0x4dbca4], ebx
je 0x422f31
cmp ebp, 0x40100
jne 0x422f31
call fcn.00488240
mov ecx, 0x4dff38
call fcn.004428f0
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 0x422f7d
cmp byte [0x4c7560], bl
jne 0x422f7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x422f7d
push 0x53c
call fcn.0045be10
push eax
call fcn.0048cd40
add esp, 4
mov ecx, 0x4c93ac
call fcn.00428050
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 0x423a90
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 0x423af8
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x423ad4
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 0x423ac0
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.0049ec60
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x423b48
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x423b24
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 0x423b10
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.0049ec60
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 0x423b62
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x423b62
dec eax
sub ecx, 4
test eax, eax
ja 0x423b53
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x423b83
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 0x423b73
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x423b90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x423cba
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x423cba
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x4c7568]
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 0x423bc0
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.0049ebe0
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x423c67
mov ebp, dword [0x4c7564]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x4c7568]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x423c5a
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x423c5a
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x423c30
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x423c52
add ecx, esi
cmp ecx, 0x7fff
jb 0x423c4c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x423c30
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x423c00
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 0x423c97
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 0x423c80
cmp dword [edi], 0x11
jbe 0x423cb1
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x423cb1
dec eax
mov dword [edi], eax
test eax, eax
jne 0x423ca2
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 0x423cd0
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 0x423db5
mov ecx, dword [edi + eax*4]
push ebx
mov ebx, dword [0x4c7568]
mov ecx, dword [ebx + ecx*4]
push esi
cmp ecx, 0x7fff
je 0x423d1b
add ecx, ecx
cmp ecx, 0x7fff
jb 0x423d08
add ecx, 0xffff8001
mov edx, dword [0x4c7564]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ecx
jmp 0x423d23
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ebp
mov ecx, dword [edi]
sub ecx, 1
je 0x423d68
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 0x423d5e
add eax, eax
cmp eax, 0x7fff
jb 0x423d4e
add eax, 0xffff8001
mov ebp, dword [0x4c7564]
mov eax, dword [ebp + eax*4]
mov dword [edx], eax
xor ebp, ebp
jmp 0x423d60
mov dword [edx], ebp
dec ecx
sub edx, 8
cmp ecx, ebp
jne 0x423d30
mov eax, dword [edi]
lea ecx, [eax + eax - 1]
cmp ecx, 0x11
mov dword [esi], ecx
jle 0x423d93
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 0x423d80
cmp dword [esi], 0x11
jbe 0x423dae
mov dword [esi], 0x11
mov edi, edi
mov eax, dword [esi]
cmp dword [esi + eax*4], ebp
jne 0x423dae
dec eax
mov dword [esi], eax
cmp eax, ebp
jne 0x423da0
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 0x425df0
Capabilities:
Get disk information
Get file system object information

Disassembly:
sub esp, 0x564
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x560], eax
mov eax, dword [esp + 0x568]
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4001
mov esi, ecx
push 0x160
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x4b2160
mov dword [esi], eax
call edi
test eax, eax
jne 0x425e61
lea edx, [esp + 0x168]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0x4001
push 0x160
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x178]
push ecx
call edi
mov edx, dword [esi]
push eax
push 0
push 0x1109
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x568]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x564
ret 4

Function at 0x4262e0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push esi
mov esi, dword [esp + 0x170]
push edi
mov edi, dword [esp + 0x178]
push 0x4009
push 0x160
lea eax, [esp + 0x14]
push eax
push 0
push esi
call ebx
mov ecx, dword [esp + 0x10]
push 0x400b
push 0x160
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 + 0x16c]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x164
ret 8
Function at 0x427630
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
mov eax, 0x1450
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x144c], eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
push 9
mov edi, ecx
mov eax, dword [edi]
push 0x110a
push eax
call esi
test eax, eax
je 0x42783c
mov edx, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x110c
push edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
call esi
test eax, eax
je 0x42783c
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42783c
xor ecx, ecx
lea esi, [eax + 8]
lea edx, [esp + 0x854]
mov word [esp + 0xc54], cx
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x42783c
mov eax, dword [0x4c7578]
test eax, eax
je 0x4276d5
mov edx, dword [esi]
lea ecx, [esp + 0xc54]
push ecx
push edx
call eax
cmp word [esp + 0xc54], 0
jne 0x4276fa
push 0x1000000
lea eax, [esp + 0xc58]
push eax
lea ecx, [esp + 0x85c]
push ecx
call fcn.0046d830
push ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
shr ebx, 0xf
not bl
and bl, 1
call fcn.0043cdb0
test eax, eax
je 0x4277b7
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x42783b
push str.SHFileOperationW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x42783b
push 0x400
lea edx, [esp + 0xc5c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004653b0
lea ecx, [esp + 0x54]
push ecx
call fcn.0046db10
xor edx, edx
mov word [esp + eax*2 + 0x56], 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 + 0x54]
push edx
mov dword [esp + 0x14], 3
mov word [esp + 0x20], ax
mov dword [esp + 0x18], ecx
call esi
jmp 0x42782f
push 0x400
lea eax, [esp + 0x85c]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00465370
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4277d5
sub eax, edx
mov byte [esp + eax + 0x55], cl
xor eax, eax
movzx edx, bl
neg edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
sbb edx, edx
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
lea ecx, [esp + 0xc]
and edx, 0x40
lea eax, [esp + 0x54]
push ecx
mov dword [esp + 0x14], 3
mov word [esp + 0x20], dx
mov dword [esp + 0x18], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
movzx edx, byte [edi + 8]
push edx
mov ecx, edi
call fcn.00427550
pop ebx
mov ecx, dword [esp + 0x1454]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x1450
ret
Function at 0x428440
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push ebx
push esi
push edi
mov edi, dword [esp + 0x418]
mov ebx, ecx
test eax, eax
je 0x428474
cmp byte [eax], 0
je 0x428474
mov esi, eax
jmp 0x428476
xor esi, esi
push edi
push 0x1f6
call fcn.0045be10
push eax
push esi
call fcn.0048d240
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x42850e
mov eax, edi
lea edx, [eax + 1]
jmp 0x4284a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4284a0
sub eax, edx
push edi
mov esi, eax
call fcn.0044e830
test al, al
jne 0x4284dd
lea eax, [esp + 0xc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0xc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4284d0
sub eax, edx
lea esi, [esi + eax + 1]
cmp esi, 0x104
jbe 0x42850e
push 0x104
push 0x564
call fcn.0045be10
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0049e635
add esp, 0xc
push 1
lea edx, [esp + 0x10]
push edx
call fcn.0048cb60
mov ecx, ebx
call fcn.00428050
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x404
ret 8