joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401498
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4014aa
mov eax, dword [0x4d708b]
shl eax, 2
mov dword [0x4d708f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004c88d4
pop edx
call fcn.004c8838
call fcn.004c8914
push 0
call fcn.004c9f2c
pop ecx
push 0x4d7034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4d7093], eax
push 0
jmp fcn.004d101c

Function at 0x4025f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
mov ebx, dword [ebp + 8]
push 0x4001
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push 0x4d72bd
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x402645
mov edx, eax
mov eax, dword [ebx + 0x574]
call fcn.0042dbd0
mov edx, 0x1fffffff
mov eax, dword [ebx + 0x574]
call fcn.0042e27c
mov edx, dword [ebx + 0x574]
mov byte [edx + 0x42], 1
mov dword [ebx + 0x2f8], 0xffffffff
mov byte [ebx + 0x2fc], 1
xor ecx, ecx
mov dword [ebx + 0x308], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402e7c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd88
mov eax, 0x4d7bec
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.004c928c
mov dword [ebp - 0x18], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004d5778
inc dword [ebp - 0x18]
xor edx, edx
mov word [ebp - 0x24], 8
mov word [ebp - 0x24], 0x14
mov dword [ebp - 4], edx
inc dword [ebp - 0x18]
mov word [ebp - 0x24], 8
cmp dword [ebp + 0xc], 0
je 0x402ecf
mov ecx, dword [ebp + 0xc]
jmp 0x402ed4
mov ecx, 0x4d72e2
mov edi, ecx
xor eax, eax
push esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x278]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0x278]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x5c
push eax
call fcn.004c8fbd
add esp, 8
mov byte [eax + 1], 0
cmp dword [esi + 0x66c], 3
jne 0x402f48
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x18]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
jmp 0x403072
lea eax, [ebp - 0x174]
push eax
cmp dword [ebp + 0xc], 0
je 0x402f5a
mov edx, dword [ebp + 0xc]
jmp 0x402f5f
mov edx, 0x4d72e3
push edx
call sub.KERNEL32.DLL_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402f9b
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x18]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
jmp 0x403072
test byte [ebp - 0x174], 0x10
jne 0x403033
mov word [ebp - 0x24], 0x20
lea edx, [ebp - 0x148]
lea eax, [ebp - 8]
call fcn.004d5740
inc dword [ebp - 0x18]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004d58d0
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d58a0
mov word [ebp - 0x24], 0x2c
lea edx, [ebp - 0x278]
lea eax, [ebp - 0xc]
call fcn.004d5740
inc dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x18]
lea edx, [ebp - 4]
call fcn.004d58f8
lea eax, [ebp - 0x10]
mov eax, dword [eax]
push eax
push esi
call fcn.00402940
add esp, 8
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d58a0
lea ecx, [ebp - 0x174]
push ecx
push ebx
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x402f9b
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x18]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404c58
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
mov eax, 0x4d81ec
call fcn.004c928c
mov dword [ebp - 8], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004d5778
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
cmp dword [ebp + 0xc], 0
sete dl
and edx, 1
test dl, dl
je 0x404cb3
dec dword [ebp - 8]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
jmp 0x404d33
push 0x104
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.004c8d84
add esp, 0xc
push 0x4d75a6
lea edx, [ebp - 0x128]
push edx
call fcn.00401978
add esp, 8
lea ecx, [ebp - 0x128]
push ecx
push 1
push 0x4d75b7
push 0x4d75b0
call sub.KERNEL32.DLL_GetPrivateProfileIntA
test eax, eax
je 0x404d19
push 1
push 0
push 0
cmp dword [ebp + 0xc], 0
je 0x404d0a
mov eax, dword [ebp + 0xc]
jmp 0x404d0f
mov eax, 0x4d75c0
push eax
push 0
push 0
call sub.SHELL32.DLL_ShellExecuteA
dec dword [ebp - 8]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40902c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, ecx
mov ebx, edx
push 0x100
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
push 0x4da878
lea edx, [esp + 4]
push edx
call fcn.004c8e28
add esp, 8
push esp
push ebx
push 0x4da89a
push 0x4da886
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push esp
push esi
push 0x4da8b3
push 0x4da89f
call sub.KERNEL32.DLL_WritePrivateProfileStringA
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x409084
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffc00
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0x100
push 0
lea eax, [esp + 8]
push eax
call fcn.004c8d84
add esp, 0xc
push 0x100
push 0
lea edx, [esp + 0x108]
push edx
call fcn.004c8d84
add esp, 0xc
push 0x100
push 0
lea ecx, [esp + 0x208]
push ecx
call fcn.004c8d84
add esp, 0xc
push 0x100
push 0
lea eax, [esp + 0x308]
push eax
call fcn.004c8d84
add esp, 0xc
push 0x100
lea edx, [esp + 4]
push edx
call sub.KERNEL32.DLL_GetSystemDirectoryA
push str._adultreg.ini
lea ecx, [esp + 4]
push ecx
call fcn.004c8e28
add esp, 8
push esp
push 0x100
lea eax, [esp + 0x108]
push eax
push 0
push str.Mail
push 0x4da8c8
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0x100
lea edx, [esp + 0x208]
push edx
push 0
push str.Serial
push str.PDFEncrypt_Register
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [esp + 0x200]
mov eax, ebx
call fcn.004091c0
test al, al
je 0x4091b1
push esi
push edi
xor eax, eax
lea edi, [esp + 0x108]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push edi
mov esi, edi
xor eax, eax
lea edi, [esp + 0x204]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov al, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x4091b3
xor eax, eax
add esp, 0x400
pop edi
pop esi
pop ebx
ret

Function at 0x409cf4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x40c49c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x40
push 0
lea eax, [ebp - 0x1dc]
push eax
call fcn.004c8d84
add esp, 0xc
lea edx, [ebp - 0x19c]
push 0x40
push 0
push edx
call fcn.004c8d84
add esp, 0xc
lea esi, [edi + 0x146]
push esi
call fcn.004c8eb8
pop ecx
mov ebx, eax
push ebx
push esi
lea eax, [ebp - 0x19c]
push eax
call fcn.004c8d14
add esp, 0xc
mov edx, 0x20
sub edx, ebx
lea ecx, [ebp - 0x19c]
push edx
add ebx, ecx
push 0x4db2ac
push ebx
call fcn.004c8d14
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
call fcn.0041082c
pop ecx
push 0x20
lea edx, [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00410858
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
lea edx, [ebp - 0x19c]
push edx
call fcn.004108f0
add esp, 8
xor esi, esi
lea eax, [ebp - 0x15c]
push eax
call fcn.0041082c
pop ecx
push 0x10
lea edx, [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00410858
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
lea edx, [ebp - 0x19c]
push edx
call fcn.004108f0
add esp, 8
inc esi
cmp esi, 0x32
jl 0x40c54c
lea esi, [edi + 0x166]
push esi
call fcn.004c8eb8
pop ecx
mov ebx, eax
push ebx
push esi
lea eax, [ebp - 0x1dc]
push eax
call fcn.004c8d14
add esp, 0xc
mov edx, 0x20
sub edx, ebx
lea ecx, [ebp - 0x1dc]
push edx
add ebx, ecx
push 0x4db2ac
push ebx
call fcn.004c8d14
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push 0x10
lea edx, [ebp - 0x19c]
push edx
call fcn.00410984
add esp, 0xc
lea ecx, [ebp - 0x104]
lea eax, [edi + 0x190]
lea edx, [ebp - 0x1dc]
push ecx
push 0x20
push eax
push edx
call fcn.00410a20
add esp, 0x10
mov esi, 1
xor ecx, ecx
lea edx, [ebp - 0x1dc]
lea eax, [ebp - 0x19c]
mov ebx, esi
inc ecx
xor bl, byte [eax]
inc eax
mov byte [edx], bl
inc edx
cmp ecx, 0x10
jl 0x40c615
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x1dc]
push eax
push 0x10
push edx
call fcn.00410984
add esp, 0xc
lea ecx, [ebp - 0x104]
lea eax, [edi + 0x190]
push ecx
push 0x20
push eax
push eax
call fcn.00410a20
add esp, 0x10
inc esi
cmp esi, 0x14
jl 0x40c607
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c6bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x20
push 0
lea eax, [ebp - 0x17c]
push eax
call fcn.004c8d84
add esp, 0xc
lea edx, [ebp - 0x19c]
push 0x20
push 0
push edx
call fcn.004c8d84
add esp, 0xc
lea ecx, [edi + 0x166]
push ecx
push edi
call fcn.0040c258
add esp, 8
lea eax, [ebp - 0x15c]
push eax
call fcn.0041082c
pop ecx
push 0x20
push 0x4db2ac
lea edx, [ebp - 0x15c]
push edx
call fcn.00410858
add esp, 0xc
push 0x10
lea ecx, [edi + 0x1f0]
push ecx
lea eax, [ebp - 0x15c]
push eax
call fcn.00410858
add esp, 0xc
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x17c]
push ecx
call fcn.004108f0
add esp, 8
lea eax, [ebp - 0x104]
push eax
push 0x10
lea edx, [edi + 0x1d0]
push edx
call fcn.00410984
add esp, 0xc
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x17c]
lea edx, [ebp - 0x17c]
push ecx
push 0x10
push eax
push edx
call fcn.00410a20
add esp, 0x10
mov esi, 1
xor ecx, ecx
lea edx, [ebp - 0x19c]
lea eax, [edi + 0x1d0]
mov ebx, esi
inc ecx
xor bl, byte [eax]
inc eax
mov byte [edx], bl
inc edx
cmp ecx, 0x10
jl 0x40c79c
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x19c]
push eax
push 0x10
push edx
call fcn.00410984
add esp, 0xc
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x17c]
lea edx, [ebp - 0x17c]
push ecx
push 0x10
push eax
push edx
call fcn.00410a20
add esp, 0x10
inc esi
cmp esi, 0x13
jle 0x40c78e
push 0x20
lea ecx, [ebp - 0x17c]
push ecx
add edi, 0x1b0
push edi
call fcn.004c8d14
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41082c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x410984
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edx, dword [ebp + 0x10]
mov edi, edx
xor esi, esi
mov eax, edi
mov ecx, esi
inc esi
mov byte [eax], cl
inc eax
cmp si, 0x100
jl 0x410996
mov byte [edx + 0x100], 0
mov byte [edx + 0x101], 0
mov byte [ebp - 1], 0
xor ebx, ebx
mov eax, edi
mov dword [ebp - 8], eax
xor esi, esi
xor edx, edx
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 1]
xor eax, eax
mov al, byte [ecx + edx]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [edx]
xor edx, edx
add eax, ecx
mov dl, bl
add eax, edx
and eax, 0x800000ff
jns 0x4109e8
dec eax
or eax, 0xffffff00
inc eax
movsx ecx, si
mov ebx, eax
xor eax, eax
mov al, bl
add eax, edi
add ecx, edi
push eax
push ecx
call fcn.0041096c
add esp, 8
xor eax, eax
mov al, byte [ebp - 1]
inc eax
cdq
idiv dword [ebp + 0xc]
mov byte [ebp - 1], dl
inc esi
inc dword [ebp - 8]
cmp si, 0x100
jl 0x4109be
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x410a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 8]
push edx
push edi
call fcn.004c8d14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov bl, byte [ecx + 0x100]
mov dl, byte [eax + 0x101]
xor eax, eax
mov byte [ebp - 5], dl
mov edx, edi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x410af8
xor eax, eax
mov al, bl
inc eax
and eax, 0x800000ff
jns 0x410a7e
dec eax
or eax, 0xffffff00
inc eax
mov ebx, eax
xor eax, eax
mov edi, ebx
xor edx, edx
and edi, 0xff
mov dl, byte [ebp - 5]
mov al, byte [esi + edi]
add eax, edx
and eax, 0x800000ff
jns 0x410aa2
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 5], al
xor ecx, ecx
mov cl, byte [ebp - 5]
mov eax, edi
add ecx, esi
add eax, esi
push ecx
push eax
call fcn.0041096c
xor edx, edx
xor eax, eax
mov dl, byte [ebp - 5]
xor ecx, ecx
mov al, byte [esi + edi]
add esp, 8
mov cl, byte [esi + edx]
add eax, ecx
and eax, 0x800000ff
jns 0x410ad9
dec eax
or eax, 0xffffff00
inc eax
and eax, 0xff
mov ecx, dword [ebp - 0xc]
mov dl, byte [esi + eax]
xor byte [ecx], dl
inc dword [ebp - 4]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jl 0x410a6b
mov edx, dword [ebp + 0x14]
mov byte [edx + 0x100], bl
mov ecx, dword [ebp + 0x14]
mov al, byte [ebp - 5]
mov byte [ecx + 0x101], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, 0x4dc0cc
call fcn.004c928c
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x30], 0x100
push dword [ebp - 0x30]
call fcn.004c8748
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x41a605
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x100
jbe 0x41a605
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004c8768
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41a605
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
cmp dword [ebp - 0x30], 0
je 0x41a622
cmp dword [ebp - 0x34], 0
je 0x41a622
mov edx, dword [ebp - 0x34]
jmp 0x41a627
mov edx, 0x4dbd40
lea eax, [ebp - 4]
call fcn.004d5740
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x20
push dword [ebp - 0x34]
call fcn.004c8758
pop ecx
mov word [ebp - 0x18], 0x2c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004d58d0
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x38
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
pop eax
mov word [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x41a6a5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f454
Capabilities:
Set current directory

Disassembly:
or byte [edi], cl
push esp
inc ecx
inc esi
outsd dx, dword [esi]
insb byte es:[edi], dx
jb 0x41f4a6
jbe 0x41f4c8
outsb dx, byte [esi]
je 0x41f466
add ecx, dword [eax]
push es
push ebx
outsb dx, byte gs:[esi]
jb 0x41f477
push esp
dec edi
bound ebp, qword [edx + 0x65]
arpl word [eax + ecx + 7], si
or byte [edi], al
inc ecx
inc esi
outsd dx, dword [esi]
insb byte es:[edi], dx
jb 0x41f48d
jb 0x41f48d
push esp
push ebx
push 0x466c6c65
add dword [esi], eax
push esp
inc edi
je 0x41f4f4
insd dword es:[edi], dx
popal
dec ecx
outsb dx, byte [esi]
js 0x41f4fa
jbe 0x41f51c
outsb dx, byte [esi]
je 0x41f4ba
add ecx, dword [eax]
push es
push ebx
outsb dx, byte gs:[esi]
jb 0x41f4cb
push esp
dec edi
bound ebp, qword [edx + 0x65]
arpl word [eax + eax + 5], si
arpl word gs:[eax + eax + 5], si
add byte [0x65646e49], al
js 0x41f4da
dec ecx
outsb dx, byte [esi]
js 0x41f4da
dec ecx
outsb dx, byte [esi]
je 0x41f53c
jb 0x41f4dc
add dword [edx], ecx
or cl, byte [ecx + 0x6d]
dec ecx
insd dword es:[edi], dx
popal
dec ecx
outsb dx, byte [esi]
js 0x41f4ee
dec ecx
outsb dx, byte [esi]
je 0x41f550
jb 0x41f47f
nop
nop
int3
invalid
add byte [0xfffffc90], al
jmp sym.Project1.exe__Shellctrls_TCustomShellTreeView_CommandCompleted_qqr17System_AnsiStringo
invalid
inc ecx
add cl, dh
hlt
xor ecx, dword [ebp - 0x80]
or byte [ecx + 0x2e5a9330], ah
mov esi, dword [edx]
cmc
inc ecx
add byte [eax + 3], dh
add byte [eax], al
add byte [eax], al
add byte [eax], al
nop
nop
mov ah, 0xf5
inc ecx
add byte [esi - 0xb], al
inc ecx
add byte [eax], al
add byte [eax], al
add byte [eax + 0x1c0041f6], bh
test dword [ecx], 0
add byte [eax], al
add byte [eax], al
invalid

Function at 0x421b58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x421bc1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4dccf8]
push eax
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x421bab
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00421b40
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.Project1.exe__Shellctrls_TShellFolder_]
call sym.Project1.exe__Shellctrls_TShellFolder__bctr_qqrp23Shellctrls_TShellFolderp11_ITEMIDLIST40System__DelphiInterface_t12IShellFold
mov dword [0x4dcd60], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421bc8
lea eax, [ebp - 8]
call fcn.004c73d4
ret
Function at 0x421c90
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x4008
cmp byte [ebp - 6], 0
je 0x421cb3
or dword [ebp - 0x10], 2
cmp byte [ebp - 5], 0
je 0x421cbf
or dword [ebp - 0x10], 0
jmp 0x421cc3
or dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
push eax
push 0x160
lea eax, [ebp - 0x170]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4229c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004c5abc
xor eax, eax
push ebp
push 0x422b43
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 1
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, dword [sym.Project1.exe___xp_22Shellctrls_TRootFolder]
call fcn.004b0744
test eax, eax
jl 0x422a30
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00421c50
and eax, 0x7f
mov eax, dword [eax*4 + 0x4dccf8]
push eax
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
mov dword [ebp - 0x24], eax
jmp 0x422aab
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004c58d4
test eax, eax
jle 0x422aab
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004c58d4
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x3a
jne 0x422a64
mov eax, dword [ebp - 0xc]
mov edx, 0x422b5c
call fcn.004c58dc
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004c58d4
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004c6488
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
lea eax, [ebp - 0x2c]
call fcn.00421b40
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x422afc
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [0x4e2084]
call fcn.004c78f0
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x38]
xor ecx, ecx
pop eax
call fcn.004b4b54
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004c5670
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x4b2ad8]
call fcn.004b722c
call fcn.004c50b8
mov eax, dword [ebp - 0x18]
call fcn.0042292c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x422b15
mov eax, dword [ebp - 4]
call fcn.004c48ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422b4a
lea eax, [ebp - 0x30]
call fcn.004c561c
lea eax, [ebp - 0x2c]
call fcn.004c73d4
lea eax, [ebp - 0x28]
call fcn.004c561c
lea eax, [ebp - 8]
call fcn.004c561c
ret
Function at 0x4238e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.004c41a8
mov dword [ebp - 0x44], 0x3c
mov eax, dword [0x4e1f10]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 5
lea eax, [ebp - 0x44]
push eax
call sub.SHELL32.DLL_ShellExecuteExA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x423ef4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
test dl, dl
je 0x423f09
add esp, 0xfffffff0
call fcn.004c4c50
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00487c70
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x340], edx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004886b0
mov eax, dword [ebp - 4]
mov dl, byte [0x424024]
mov byte [eax + 0x344], dl
mov eax, dword [ebp - 4]
mov byte [eax + 0x244], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x34d], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x34e], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x350], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x354], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x359], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x35a], 1
push 0x4001
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x424028
call sub.SHELL32.DLL_SHGetFileInfoA
mov edx, dword [ebp - 4]
mov dword [edx + 0x348], eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [sym.Project1.exe__Shellctrls_TShellChangeNotifier_]
call sym.Project1.exe__Shellctrls_TCustomShellChangeNotifier__bctr_qqrp18Classes_TComponent
mov edx, dword [ebp - 4]
mov dword [edx + 0x35c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
mov al, byte [eax + 0x24]
or al, byte [0x42402c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x35c]
mov byte [edx + 0x24], al
mov eax, dword [ebp - 4]
add eax, 0x338
mov edx, 0x424038
call fcn.004c5670
mov eax, dword [ebp - 4]
mov byte [eax + 0x34c], 0
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x42401b
call fcn.004c4ca8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret