joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40108f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x401097
mov dword [ecx*4 + 0x4e11a0], eax
inc ecx
cmp ecx, 0x100
jb 0x401092
mov edx, 0x800
jmp 0x4010e4
mov eax, dword [ecx*4 + 0x4e0da0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4e11a0]
inc ecx
mov dword [ecx*4 + 0x4e119c], eax
cmp ecx, edx
jb 0x4010c3
mov dword [0x4db0a0], 0x401107
call fcn.00403d79
pop esi
test eax, eax
jne 0x401106
mov dword [0x4db0a0], 0x4011a3
ret

Function at 0x401993
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
je 0x4019de
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x4019af
mov eax, edi
and dword [ebp + 0x10], 0
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x4019e4
test ecx, ecx
je 0x4019de
test edi, edi
ja 0x4019a4
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x403b26
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x403b3f
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x403b62
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x403b67
inc edi
cmp edi, dword [ebp - 4]
jb 0x403b59
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x403c5f
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x403bbe
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x403b92
cmp cl, 0xff
jne 0x403be9
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x403bf7
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x403bfe
dec ecx
shl edx, cl
and edx, 7
je 0x403b83
movzx ecx, byte [edx + 0x473424]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x47341c], 0
mov cl, byte [ebx + 4]
je 0x403be6
test cl, cl
je 0x403be6
cmp cl, 0xff
jne 0x403b83
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x403b54
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x403c32
movzx esi, byte [edx + 0x473424]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x403c1d
cmp al, 0xff
jne 0x403c2f
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x403bb0
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x403b54
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x403e2c
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0xc]
push ecx
movzx ecx, byte [esp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 4
push ecx
lea eax, [esi + 0x10]
push eax
push 0x403df6
push 0
push 0
mov dword [eax], esi
call fcn.0044cf5a
add esp, 0x18
xor ecx, ecx
test eax, eax
mov dword [esi + 4], eax
setne cl
mov al, cl
pop esi
ret 8

Function at 0x403e6e
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x403e90
cmp byte [esi + 0x1c], 0
je 0x403e85
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret
Function at 0x4076b9
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0xa4], eax
mov eax, dword [ebp + 0xb4]
push ebx
push esi
mov esi, dword [ebp + 0xb8]
push edi
mov edi, dword [ebp + 0xbc]
push 0x4736d8
push dword [ebp + 0xb0]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], edi
call fcn.0044e36d
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
cmp eax, ebx
jne 0x407738
cmp esi, ebx
je 0x407731
lea eax, [ebp - 0x80]
push eax
call fcn.00406d03
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00406799
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004064bb
xor al, al
jmp 0x407828
cmp edi, ebx
je 0x407743
mov eax, dword [edi]
mov dword [ebp - 0x5c], eax
jmp 0x407746
mov dword [ebp - 0x5c], ebx
push 9
xor eax, eax
pop ecx
mov word [ebp + 0x7c], ax
lea edi, [ebp + 0x7e]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x58]
push 0xffffffffffffffff
push ebx
stosw word es:[edi], ax
call fcn.0040643b
push 2
push ebx
push dword [ebp - 0x50]
call fcn.0044e222
push dword [ebp - 0x50]
call fcn.0044e12a
push ebx
push ebx
push dword [ebp - 0x50]
mov edi, eax
call fcn.0044e222
add esp, 0x1c
xor esi, esi
cmp edi, ebx
je 0x4077ea
push edi
call fcn.0044d2fe
push dword [ebp - 0x50]
mov ebx, eax
push 1
push edi
push ebx
call fcn.0044df70
push edi
push ebx
push esi
call fcn.00405cab
mov esi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044d2fe
push edi
push ebx
push eax
mov dword [ebp - 0x54], eax
call fcn.00405cab
mov ecx, dword [ebp - 0x58]
add esp, 0x30
push esi
push dword [ebp - 0x54]
call fcn.004069ab
push dword [ebp - 0x54]
call fcn.0044d534
push ebx
call fcn.0044d534
pop ecx
pop ecx
xor ebx, ebx
push esi
push edi
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp - 0x4c]
push 0x4736a0
push eax
call fcn.0044dac6
mov ecx, dword [ebp - 0x60]
add esp, 0x14
cmp ecx, ebx
je 0x407811
lea eax, [ebp - 0x4c]
push eax
call fcn.00406a49
push dword [ebp - 0x50]
call fcn.0044dc54
mov eax, dword [ebp - 0x64]
pop ecx
cmp eax, ebx
je 0x407826
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov al, 1
mov ecx, dword [ebp + 0xa4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0xa8
leave
ret
Function at 0x408358
Capabilities:
Copy file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x3c0]
sub esp, 0x440
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
mov eax, dword [ebp + 0x3cc]
push ebx
mov ebx, dword [ebp + 0x3c8]
push esi
push edi
mov dword [ebp - 0x60], eax
xor eax, eax
mov esi, 0x20a
push esi
push eax
mov word [ebp + 0x1b0], ax
lea eax, [ebp + 0x1b2]
push eax
call fcn.0044d010
xor eax, eax
push esi
push eax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x5a]
push eax
call fcn.0044d010
mov edi, 0x102
push edi
push ebx
lea esi, [edi + 2]
lea eax, [ebp + 0x1b0]
push esi
push eax
call fcn.0044e82e
push edi
push dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0044e82e
push 0x1e
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0044d010
and dword [ebp - 0x80], 0
lea eax, [ebp + 0x1b0]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, 0x614
mov word [ebp - 0x70], ax
add esp, 0x44
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], 4
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x408433
push dword [ebp - 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x408433
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x408435
inc eax
jmp 0x408435
xor eax, eax
mov ecx, dword [ebp + 0x3bc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x3c0
leave
ret

Function at 0x4095d7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0044d010
add esp, 0xc
push edi
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.duowanyy4.0_
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
call fcn.00406c07
push eax
push esi
call fcn.00406c29
add esp, 0xc
push edi
push 1
lea ecx, [ebp - 0x228]
call fcn.004064bb
cmp dword [esi + 0x18], 8
jb 0x40965a
mov eax, dword [esi + 4]
jmp 0x40965d
lea eax, [esi + 4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044ca2f
leave
ret
Function at 0x409675
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x473a68
push eax
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0x74]
push eax
call fcn.00406c29
mov eax, dword [ebp - 0x70]
add esp, 0xc
cmp dword [ebp - 0x5c], 8
jae 0x4096af
lea eax, [ebp - 0x70]
push ebx
push edi
lea ecx, [ebp - 0x2c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor edi, edi
xor ebx, ebx
inc edi
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
je 0x4097e2
push esi
mov esi, 0x473a64
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406c07
push 0x473a60
lea ecx, [ebp - 0x20]
call fcn.0040632c
test eax, eax
je 0x4097b0
push 0x473a58
lea ecx, [ebp - 0x20]
call fcn.0040632c
test eax, eax
je 0x4097b0
test byte [ebp - 0x2c4], 0x10
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x2e8]
push eax
je 0x409771
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c5e
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x2e8]
call fcn.004064bb
lea eax, [ebp - 0x3c]
push eax
call fcn.00409675
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
pop ecx
jae 0x409765
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x3c]
jmp 0x4097a9
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406c5e
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x2e8]
call fcn.004064bb
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
jae 0x40979f
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x58]
push ebx
push edi
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.004064bb
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4096d9
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.004064bb
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
leave
ret
Function at 0x4097fa
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea ecx, [ebp - 0x21]
push ecx
push 3
xor esi, esi
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00406a1f
xor eax, eax
cmp dword [ebp - 8], 8
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], esi
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
jae 0x409836
lea eax, [ebp - 0x1c]
push esi
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x409868
fldz
push esi
fstp qword [ebp - 0x2c]
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
fld qword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044ca2f
leave
ret
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
and eax, 0x7fffffff
and dword [ebp - 0x30], 0x80000000
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
mov dword [ebp - 0x34], esi
fild qword [ebp - 0x34]
fchs
faddp st(1)
fmul qword [0x473a78]
jmp 0x409849
Function at 0x409c56
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa0
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x409c79
mov eax, dword [eax + 4]
jmp 0x409c7c
add eax, 4
push ebx
push esi
push edi
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.0040991d
lea eax, [ebp + 0x38]
push eax
call fcn.00408cef
add esp, 0xc
lea eax, [ebp - 1]
push eax
push 3
xor ebx, ebx
push ebx
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00406a1f
xor eax, eax
cmp dword [ebp + 0x34], 8
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x20]
jae 0x409cbf
lea eax, [ebp + 0x20]
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
xor edi, edi
inc edi
cmp eax, edi
jne 0x409e04
cmp dword [ebp - 0xc], ebx
ja 0x409ce5
cmp dword [ebp - 0x10], ebx
jbe 0x409e04
cmp dword [ebp + 0x4c], 3
ja 0x409d0b
mov byte [ebp - 1], 1
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004064bb
mov al, byte [ebp - 1]
jmp 0x409e1a
lea eax, [ebp - 1]
push eax
push 0xffffffffffffffff
push 3
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x54]
call fcn.00406a1f
lea eax, [ebp + 0x54]
push eax
call fcn.00408cef
lea eax, [ebp + 0x54]
push eax
call fcn.00408beb
pop ecx
pop ecx
test al, al
je 0x409d46
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.004064bb
mov byte [ebp - 1], bl
jmp 0x409cef
push edi
push ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x54]
mov dword [ebp - 8], 0x5c
call fcn.0040869e
mov esi, eax
jmp 0x409dce
lea eax, [ebp - 1]
push eax
push esi
push ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp]
call fcn.00406a1f
lea eax, [ebp]
push eax
call fcn.00408cef
pop ecx
cmp dword [ebp + 0x14], ebx
je 0x409df5
lea eax, [ebp - 1]
push eax
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406a1f
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x54]
call fcn.00406799
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004064bb
push edi
push ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x54]
mov dword [ebp - 8], 0x5c
call fcn.0040869e
push ebx
push edi
lea ecx, [ebp]
mov esi, eax
call fcn.004064bb
cmp esi, 0xffffffff
jne 0x409d5f
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004064bb
mov al, 1
jmp 0x409e1a
push ebx
push edi
lea ecx, [ebp]
call fcn.004064bb
jmp 0x409d37
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004064bb
xor al, al
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x74
leave
ret
Function at 0x40bc13
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x483058
push dword [esi]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00406c29
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x40bc48
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40bca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40bca1
push str..old
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c29
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x40bc7f
lea ecx, [ebp - 0x38]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40bc8b
lea eax, [ebp - 0x1c]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004064bb
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
add esi, 4
cmp esi, 0x4831f4
jl 0x40bc2d
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044ca2f
leave
ret

Function at 0x40c1fc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], str.VersionInfo
call fcn.004065a1
test al, al
je 0x40c2b4
push str.yyPath
push dword [esi + 0x3c]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.004075c0
lea eax, [ebp - 0x3c]
push eax
push 0x473a64
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406c5e
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.004064bb
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40c280
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c297
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x20]
push eax
call fcn.0040c1a2
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004064bb
jmp 0x40c21a
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0044ca2f
leave
ret

Function at 0x412b5e
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.0980E678_72D2_484b_B983_D4E17598D5B7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x412b8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412b8c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x412f64
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x1e0], eax
push esi
push edi
lea eax, [ebp - 0x48]
push eax
push 0x26
xor edi, edi
push edi
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x412fe9
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x412ff6
push str.duowanyy
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406c07
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406c29
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x10]
call fcn.00406799
push edi
push 1
lea ecx, [ebp - 0x80]
call fcn.004064bb
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.004064bb
jmp 0x412ff6
push 0x475558
lea ecx, [esi + 0x10]
call fcn.00406a49
push 0x474c84
lea ecx, [ebp - 0x44]
call fcn.00406c07
cmp dword [ebp - 0x30], edi
je 0x413034
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push 0x475554
push eax
call fcn.00406c97
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x10]
call fcn.004066a2
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.004064bb
cmp dword [esi + 0x28], 8
jb 0x41303f
mov esi, dword [esi + 0x14]
jmp 0x413042
add esi, 0x14
push esi
push 0x475518
call fcn.0044c2ed
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x44]
call fcn.004064bb
mov ecx, dword [ebp + 0x1e0]
pop edi
xor ecx, ebp
pop esi
call fcn.0044ca2f
add ebp, 0x1e4
leave
ret

Function at 0x413071
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 8]
call fcn.00416db0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004359dc
lea ecx, [ebp - 8]
call fcn.004170b4
mov edi, str._silence
push edi
lea ecx, [ebp - 8]
call fcn.00416db0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.0043598a
lea ecx, [ebp - 8]
mov bl, al
call fcn.004170b4
test bl, bl
je 0x41312d
push 0x473a34
lea ecx, [ebp - 0xc]
call fcn.00416de2
push edi
lea ecx, [ebp - 8]
call fcn.00416db0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004359a0
mov eax, dword [eax]
push dword [eax + 0xc]
lea ecx, [esi + 0x10]
call fcn.00406a49
lea ecx, [ebp - 8]
call fcn.004170b4
lea ecx, [ebp - 0xc]
call fcn.004170b4
cmp dword [esi + 0x24], 0
jne 0x413117
mov ecx, esi
call fcn.00412f64
mov byte [esi + 0x2c], 1
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.0042c0c3
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x41311e
Function at 0x413d8e
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x1fc]
sub esp, 0x27c
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x1f8], eax
mov eax, dword [ebp + 0x204]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x208]
xor ebx, ebx
push ebx
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x413dd9
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x413e1e
push esi
lea eax, [ebp - 0x20]
push eax
push 0x47afc0
xor esi, esi
inc esi
push esi
push ebx
push 0x47afe0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x413e15
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x47afd0
push eax
call dword [ecx]
test eax, eax
jge 0x413e37
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop esi
mov ecx, dword [ebp + 0x1f8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x1fc
leave
ret 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x14]
xor eax, eax
push 0x208
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x12]
push ebx
push eax
call fcn.0044d010
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
add esp, 0xc
push 2
push ebx
push 0x104
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
call fcn.00406c07
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], esi
call fcn.004132ff
test al, al
je 0x413ec3
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.00406c07
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x80]
call fcn.00406c07
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], 7
call fcn.004133a5
mov byte [ebp - 0x15], bl
test al, al
jne 0x413ec7
mov byte [ebp - 0x15], 1
test byte [ebp - 0x1c], 4
je 0x413edb
and dword [ebp - 0x1c], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.004064bb
test byte [ebp - 0x1c], 2
je 0x413eef
and dword [ebp - 0x1c], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.004064bb
test byte [ebp - 0x1c], 1
je 0x413eff
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.004064bb
cmp byte [ebp - 0x15], bl
je 0x413f1a
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
jmp 0x413e1d
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
lea eax, [ebp - 0x48]
push eax
call fcn.004095d7
cmp dword [eax + 0x18], 8
pop ecx
jb 0x413f3b
mov ecx, dword [eax + 4]
jmp 0x413f3e
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.004064bb
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x18]
mov bl, 1
jmp 0x413f04