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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x10016ac2
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x10016944
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x10016986
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x10016986
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x1001696e
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov edx, esi
call fcn.10016676
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x10016986
mov ebx, eax
push esi
cmp ebx, 3
jb 0x10016a46
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
call fcn.10016002
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x10016a13
cmp eax, 3
jb 0x10016a13
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x100169c1
jmp 0x10016a64
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x10016a6a
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
call fcn.10016002
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x10016aa3
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x10016a83
lea edx, [ecx + esi + 0x1af70]
jmp 0x10016a85
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.10015e3e
mov eax, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x10016ab4
call fcn.100167b9
cmp dword [esi + 0x6af90], 0
jne 0x100168f4
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x10016ad5
lea edx, [ecx + esi + 0x1af70]
jmp 0x10016ad7
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.10015e3e
pop esi
pop ebx
leave
ret
Function at 0x10017675
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, dword [esp + 8]
test ecx, ecx
jne 0x10017685
xor eax, eax
jmp 0x10017755
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x10017739
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100222d0]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100222d0]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100222d0]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100222d0]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100222d0]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100222d0]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100222d0]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x100222d0]
add ecx, 8
sub edi, 8
dec esi
jne 0x1001769c
pop ebx
test edi, edi
je 0x10017752
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x100222d0]
inc ecx
dec edi
jne 0x1001773d
not eax
pop esi
pop edi
ret 4
Function at 0x10018cc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
jle 0x10018d4d
mov ecx, dword [ebp + 8]
push ebx
sub ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x10018ce4
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx + esi]
mov byte [ebp - 1], cl
mov cl, byte [eax + 0x100]
movzx edi, cl
add edi, eax
mov dl, byte [edi]
mov byte [ebp + 0xf], dl
mov dl, byte [eax + 0x101]
add dl, byte [ebp + 0xf]
mov dword [ebp - 0x10], edi
movzx edi, dl
add edi, eax
mov bl, byte [edi]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
mov byte [ebp + 0xb], bl
mov bl, byte [ebp + 0xf]
mov byte [edi], bl
movzx edi, byte [ebp + 0xb]
movzx ebx, bl
add edi, ebx
mov bl, byte [ebp - 1]
and edi, 0xff
xor bl, byte [edi + eax]
inc cl
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x10018ce1
pop edi
pop ebx
pop esi
leave
ret 8

Function at 0x1001a422
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, dword [esp + 8]
test ecx, ecx
jne 0x1001a432
xor eax, eax
jmp 0x1001a502
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x1001a4e6
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021d40]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021d40]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021d40]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021d40]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021d40]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021d40]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021d40]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021d40]
add ecx, 8
sub edi, 8
dec esi
jne 0x1001a449
pop ebx
test edi, edi
je 0x1001a4ff
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x10021d40]
inc ecx
dec edi
jne 0x1001a4ea
not eax
pop esi
pop edi
ret 4
Function at 0x1001d3c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x100204bc
sub eax, eax
test esi, esi
je 0x1001d49c
sub eax, 1
test ecx, ecx
je 0x1001d49a
test esi, 3
je 0x1001d402
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1001d3e7
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x1001d481
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1001d40c
mov ecx, edx
test ecx, ecx
je 0x1001d49a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1001d487
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x100d220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x100d242
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100d249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100d238
mov eax, 1
add ebx, ebx
jne 0x100d25b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100d250
jne 0x100d26c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100d250
xor ecx, ecx
sub eax, 3
jb 0x100d280
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100d2f2
mov ebp, eax
add ebx, ebx
jne 0x100d28b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100d298
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100d2bc
inc ecx
add ebx, ebx
jne 0x100d2a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100d29d
jne 0x100d2b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100d29d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100d2dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100d2cd
jmp 0x100d23e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100d2dc
add edi, ecx
jmp 0x100d23e
pop esi
mov edi, esi
mov ecx, 0xa4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100d2fa
cmp byte [edi], 1
jne 0x100d2fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100d2ff
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x100d36e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd43c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd4a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100d32c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd4a4]
or eax, eax
je 0x100d368
mov dword [ebx], eax
add ebx, 4
jmp 0x100d349
call dword [esi + 0xd4b4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100d39f
cmp al, 0xef
ja 0x100d392
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100d374
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100d381
mov ebp, dword [esi + 0xd4a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x100d3d3
sub esp, 0xffffff80
jmp 0x100521e
Function at 0x40287f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x56a038
call fcn.004f96a4
push ecx
mov eax, dword [0x64dbc8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], eax
mov eax, dword [0x64dbc8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], eax
mov eax, dword [0x64dbc8]
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.0040291e
push 4
mov edi, 0x6559ac
pop eax
lea ecx, [esi + 0x20]
push edi
mov byte [ebp - 4], 3
mov dword [esi], 0x57fa5c
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.00554d9b
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00554d9b
push edi
lea ecx, [esi + 0x34]
call fcn.00554d9b
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4029de
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x56a0a8
call fcn.004f96a4
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57fa5c
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57fa60
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.00554c04
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.00554c04
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00554c04
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00554c04
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00554c04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4029ea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x56a0a8
call fcn.004f96a4
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57fa5c
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57fa60
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.00554c04
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.00554c04
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00554c04
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00554c04
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00554c04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f4d8
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx]
push dword [esp + 4]
call dword [eax + 0xc8]
mov eax, dword [eax + 0x44]
xor ecx, ecx
cmp dword [eax - 8], ecx
jne 0x40f4f3
or eax, 0xffffffff
jmp 0x40f506
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4

Function at 0x40f7b6
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push dword [esp + 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4
Function at 0x41a646
Capabilities:
Check os version

Disassembly:
mov eax, 0x56b5ab
call fcn.004f96a4
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.005555e2
mov eax, dword [0x64dbc8]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x584808
jne 0x41a6cc
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.004f97b0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x41a6c5
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x41a6cc
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004fa36e
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x41a6e1
call fcn.0054e319
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0041a8a6
push eax
call fcn.004f97b0
push 0x200002
call fcn.0055145a
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0041a8a6
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0041a8a6
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0041a8a6
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0041a8a6
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0041a8a6
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0041a8a6
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0041a8a6
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x41a79e
mov ecx, esi
call fcn.0041a8a6
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.00565f60
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0041a8a6
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0041a8a6
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x41a4cf
je 0x41a7d7
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x41a816
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.00554d9b
push ebx
mov ecx, edi
call fcn.00555049
push 0x7c
push eax
call fcn.004fa345
pop ecx
cmp eax, ebx
pop ecx
je 0x41a809
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x41a7f3
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0041a8a6
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x41c060
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56b768
call fcn.004f96a4
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00554c78
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x41c09a
push eax
mov ecx, esi
call fcn.00554761
or ebx, 0xffffffff
jmp 0x41c12c
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c10c
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.0054f515
cmp dword [ebp - 0x10], edi
jge 0x41c0f6
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c0f6
push edi
push 1
push dword [ebp + 8]
call fcn.0041e9dd
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x41c11a
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00554c04
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41d0de
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
push edi
push edi
call esi
cmp eax, edi
jne 0x41d0fa
xor eax, eax
jmp 0x41d104
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
pop edi
pop esi
ret

Function at 0x41d2b7
Capabilities:
Read clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x6559ac
mov ecx, edi
call fcn.00554d9b
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41d2e9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x41d2ed
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x41d314
push eax
mov ecx, edi
call fcn.00554d9b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
je 0x41d311
mov ecx, edi
call fcn.0054db4b
mov ecx, edi
call fcn.0054dabf
push 1
pop eax
pop edi
pop esi
ret 8
Function at 0x41d3d1
Capabilities:
Copy file

Disassembly:
mov eax, 0x56b93c
call fcn.004f96a4
mov eax, 0x1024
call fcn.004fa560
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.00554c78
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x41d421
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0041e1fa
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00554d4b
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.00554c04
push dword [ebp - 0x10]
call fcn.0041e46f
cmp eax, 0xffffffff
pop ecx
jne 0x41d436
push 0xfffffffffffffffe
jmp 0x41d4fc
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.004f9968
lea eax, [ebp - 0x830]
push eax
call fcn.004f9b08
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.004fa345
add esp, 0x18
cmp eax, ebx
je 0x41d487
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.004fa345
pop ecx
pop ecx
jmp 0x41d471
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.004f9968
lea eax, [ebp - 0x1030]
push eax
call fcn.004f9b08
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.004f97b0
mov eax, dword [ebp + 0x18]
add esp, 0x1c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop esi
je 0x41d4f5
or ebx, 0xffffffff
jmp 0x41d4fd
cmp dword [ebp - 0x1e], ebx
je 0x41d4fd
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00554c04
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41d5ca
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x3ff
lea eax, [ebp - 0x820]
push dword [ebp + 8]
push eax
call fcn.004f9968
lea eax, [ebp - 0x820]
push eax
call fcn.004f9b08
and word [ebp + eax*2 - 0x81e], 0
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004f97b0
mov eax, dword [ebp + 0x10]
add esp, 0x1c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x41d63d
or eax, 0xffffffff
leave
ret
xor eax, eax
cmp dword [ebp - 0xe], eax
setne al
leave
ret
Function at 0x41dec9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push esi
jne 0x41def7
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x41df46
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41df44
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41df44
test esi, esi
jne 0x41df44
push 1
pop eax
jmp 0x41df46
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41df4b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
push dword [ebp + 0xc]
call fcn.004f9b25
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
test eax, eax
je 0x41dfc7
and word [eax], 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41dfc7
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x105
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x41dfa4
push 1
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x41dfc7
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push esi
call fcn.004fa4a8
pop ecx
pop ecx
jmp 0x41df6b
push esi
call fcn.004f9e42
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret 8