joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402024
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x1b4
mov eax, 0x470da7
call fcn.00461c59
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
xor ebx, ebx
push 0x47c7e8
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1c0], ebx
call fcn.0040398c
xor esi, esi
push 0xffffffffffffffff
inc esi
push str.Software_
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c0], esi
call fcn.0040398c
push str.Bianya
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 4], esi
call fcn.004037da
lea ecx, [ebp - 0x1ac]
call fcn.004037d7
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x1b0]
push ecx
push 0x20019
push ebx
push eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x1bc], eax
call edi
test eax, eax
jne 0x402125
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.00461d00
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push 0x47c988
push dword [ebp - 0x1b0]
mov dword [ebp - 0x1b8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402119
lea eax, [ebp - 0x114]
push eax
push 0x47c984
push dword [ebp - 0x1b4]
call fcn.00403a56
add esp, 0xc
push dword [ebp - 0x1b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1b4]
call fcn.004037ce
test eax, eax
jg 0x402223
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1b0]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x1bc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x1b0]
push eax
push 0x20006
push ebx
push dword [ebp - 0x1bc]
push esi
call edi
cmp eax, ebx
jne 0x402223
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x168]
call fcn.0040379b
movzx eax, word [ebp - 0x11c]
push eax
movzx eax, word [ebp - 0x11e]
push eax
movzx eax, word [ebp - 0x122]
push eax
movzx eax, word [ebp - 0x124]
push eax
lea eax, [ebp - 0x168]
push str.__d_02d_02d_02d
push eax
mov byte [ebp - 4], 2
call fcn.00403a56
add esp, 0x18
lea ecx, [ebp - 0x168]
call fcn.004037ce
push eax
lea ecx, [ebp - 0x168]
call fcn.004037d7
push eax
push 1
push ebx
push 0x47c988
push dword [ebp - 0x1b0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x1b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1b4]
lea eax, [ebp - 0x168]
push eax
call fcn.004038fc
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 1
call fcn.004037bd
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], bl
call fcn.004037bd
mov eax, dword [ebp - 0x1b4]
call fcn.00461cdc
ret 4
Function at 0x4023d5
Capabilities:
Persist via run registry key
Read .ini file
Set registry value

Disassembly:
push 0x208
mov eax, 0x470ec0
call fcn.00461c59
lea eax, [ebp - 0x210]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402604
push 0xffffffffffffffff
lea ebx, [esi + 0xd0]
push ebx
lea ecx, [ebp - 0x184]
call fcn.0040398c
and dword [ebp - 4], 0
push str.DataSysConfig.ini
lea ecx, [ebp - 0x184]
call fcn.004037da
lea ecx, [ebp - 0x184]
call fcn.004037d7
push eax
push 0x63
lea eax, [ebp - 0x74]
push eax
push str.BYNews.exe
push str.RunSetup
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0xfc]
call fcn.0040379b
lea eax, [ebp - 0x74]
push eax
push ebx
mov edi, str.__s_s___mini
lea eax, [ebp - 0xfc]
push edi
push eax
mov byte [ebp - 4], 1
call fcn.00403a56
add esp, 0x10
push 0xffffffffffffffff
push str.BianyaAcc
lea ecx, [ebp - 0x20c]
call fcn.0040398c
lea eax, [ebp - 0x1c8]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00402024
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004037d7
push eax
lea ecx, [ebp - 0x20c]
call fcn.004037da
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 2
call fcn.004037bd
lea ecx, [ebp - 0xfc]
call fcn.004037ce
push eax
lea ecx, [ebp - 0xfc]
call fcn.004037d7
push eax
push 1
push 0
lea ecx, [ebp - 0x20c]
call fcn.004037d7
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push dword [ebp - 0x210]
call esi
lea ecx, [ebp - 0xb8]
call fcn.0040379b
push 0x47c9d0
push ebx
lea eax, [ebp - 0xb8]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.00403a56
add esp, 0x10
push 0xffffffffffffffff
push str.Bianya
lea ecx, [ebp - 0x140]
call fcn.0040398c
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x1c8]
push eax
mov byte [ebp - 4], 5
call fcn.00402024
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004037d7
push eax
lea ecx, [ebp - 0x140]
call fcn.004037da
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 5
call fcn.004037bd
lea ecx, [ebp - 0xb8]
call fcn.004037ce
push eax
lea ecx, [ebp - 0xb8]
call fcn.004037d7
push eax
push 1
push 0
lea ecx, [ebp - 0x140]
call fcn.004037d7
push eax
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 4
call fcn.004037bd
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.004037bd
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 1
call fcn.004037bd
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.004037bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.004037bd
call fcn.00461cdc
ret
Function at 0x40260a
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push 0x1f8
mov eax, 0x470efe
call fcn.00461c59
mov ebx, ecx
lea eax, [ebx + 0xd0]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x204], eax
call fcn.0040398c
and dword [ebp - 4], 0
push str.DataSysConfig.ini
lea ecx, [ebp - 0x1bc]
call fcn.004037da
lea ecx, [ebp - 0x1bc]
call fcn.004037d7
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x63
lea eax, [ebp - 0x74]
push eax
push str.BYNews.exe
push str.RunSetup
mov edi, str.SysConfig
push edi
call esi
lea eax, [ebp - 0x74]
push eax
mov ecx, ebx
call fcn.00401f83
test eax, eax
jne 0x4026db
lea ecx, [ebp - 0x200]
call fcn.0040379b
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x204]
lea eax, [ebp - 0x200]
push str._s_s
push eax
mov byte [ebp - 4], 1
call fcn.00403a56
add esp, 0x10
push 1
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x200]
call fcn.004037d7
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], bl
call fcn.004037bd
lea ecx, [ebp - 0x1bc]
call fcn.004037d7
push eax
push 0x103
lea eax, [ebp - 0x178]
push eax
push 0x47ca44
push 0x47c8ac
push edi
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.004037bd
call fcn.00461cdc
ret

Function at 0x402dea
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
mov esi, ecx
push esi
push 0x402d4f
push ebx
push ebx
mov byte [esi], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
je 0x402e2c
cmp byte [ebp + 8], bl
je 0x402e2c
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov byte [esi], bl
pop esi
pop ebx
pop ebp
ret 4

Function at 0x404527
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x40453a
push 0xd
pop eax
jmp 0x404562
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40453d
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4049f9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
call fcn.004044b0
mov ebx, eax
cmp ebx, esi
je 0x404a6a
lea ecx, [ebp - 0x114]
call fcn.00404439
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460f48
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x404a88
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x114]
call fcn.004049f9
cmp eax, esi
jne 0x404acf
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x114]
mov dword [ebp - 0x108], pe_nt_image_headers32
call ebx
test eax, eax
je 0x404a72
lea ecx, [ebp - 0x114]
call fcn.00404439
push dword [ebp - 0x118]
mov ecx, edi
call fcn.00404417
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.00404439
mov eax, esi
jmp 0x404a59
Function at 0x40a75d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x47151c
call fcn.00461c8f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x418], edi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x40a80d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00403d7d
test eax, eax
js 0x40a80d
mov ebx, dword [ebp - 0x41c]
cmp ebx, 0x400
jg 0x40a7ed
push ebx
call fcn.00403dae
test al, al
je 0x40a7ed
mov eax, ebx
call fcn.004646b0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40a7ff
push ebx
lea ecx, [ebp - 0x424]
call fcn.004040b0
mov edi, dword [ebp - 0x424]
push 3
push ebx
push esi
push eax
call fcn.004041be
test eax, eax
jne 0x40a83f
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40a831
lea ecx, [ebp - 0x418]
call fcn.00404948
jmp 0x40a831
push edi
mov edi, dword [edi]
call fcn.00461f2f
pop ecx
test edi, edi
jne 0x40a828
mov eax, 0x8007000e
jmp 0x40a95c
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x40a862
call fcn.00404224
mov esi, eax
jmp 0x40a932
push dword [ebp - 0x420]
push dword [ebp - 0x428]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40a885
call fcn.00404224
jmp 0x40a924
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x40a87b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x428], esi
cmp eax, esi
jae 0x40a8b5
mov esi, 0x8007000e
jmp 0x40a926
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004051c1
mov dword [ebp - 4], 1
jmp 0x40a8e7
cmp dword [ebp - 0x418], 0
je 0x40a8ae
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.00403b8d
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.00405f78
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40a956
lea ecx, [ebp - 0x418]
call fcn.00404948
jmp 0x40a956
push edi
mov edi, dword [edi]
call fcn.00461f2f
pop ecx
test edi, edi
jne 0x40a94d
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.00461ceb
ret 0x10
Function at 0x40c45a
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xb0], ecx
push 6
pop edx
mov byte [ebp - 0x20], 0
mov ecx, edx
lea edi, [ebp - 0x1f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x74], 0
mov ecx, edx
lea edi, [ebp - 0x73]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov esi, dword [ebp + 8]
mov byte [ebp - 0x58], 0
mov ecx, edx
lea edi, [ebp - 0x57]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [ebp + 0xc]
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x3c], 0
mov ecx, edx
lea edi, [ebp - 0x3b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1c
stosb byte es:[edi], al
pop edi
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.004638e0
push edi
add esi, edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.004638e0
imul ebx, ebx, 0x300
add esp, 0x18
xor esi, esi
add ebx, dword [ebp - 0xb0]
movsx eax, byte [esi + 0x47d780]
mov ecx, edi
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004638e0
movsx eax, byte [esi + 0x47d780]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x3c]
sub ecx, eax
push ecx
call fcn.004638e0
movsx eax, byte [esi + 0x47d780]
mov ecx, edi
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x74]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004638e0
movsx eax, byte [esi + 0x47d780]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x20]
sub ecx, eax
push ecx
call fcn.004638e0
push 0x37
lea eax, [ebp - 0xab]
push 0
push eax
mov byte [ebp - 0xac], 0
call fcn.00461d00
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.004638e0
add esp, 0x48
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004638e0
add esp, 0xc
xor eax, eax
movsx ecx, byte [eax + 0x47d750]
mov cl, byte [ebp + ecx - 0xad]
mov byte [ebx + eax], cl
inc eax
cmp eax, 0x30
jl 0x40c58e
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004638e0
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004638e0
add esp, 0x18
inc esi
add ebx, 0x30
cmp esi, 0x10
jl 0x40c4eb
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460f48
leave
ret 8

Function at 0x40c5e2
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, str.:2_
push 0x40
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x40c5f4
pop edi
pop esi
pop ebp
ret 8

Function at 0x40c60b
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x47d7d0
push 0x30
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x40c61d
pop edi
pop esi
pop ebp
ret 8
Function at 0x40c634
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x40c65a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
sub ecx, eax
sub esi, eax
mov dl, byte [ecx + eax]
xor dl, byte [eax]
mov byte [esi + eax], dl
inc eax
dec edi
jne 0x40c64d
pop esi
pop edi
pop ebp
ret 0x10

Function at 0x40c65f
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x47da00
push 0x20
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x40c671
pop edi
pop esi
pop ebp
ret 8

Function at 0x40c790
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0x7b]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x7c], bl
call fcn.00461d00
add esp, 0xc
push 0x40
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0040c688
push 0x37
lea eax, [ebp - 0x3b]
push ebx
push eax
mov byte [ebp - 0x3c], bl
call fcn.00461d00
add esp, 0xc
movsx eax, byte [ebx + str.91__]
mov al, byte [ebp + eax - 0x7d]
mov byte [ebp + ebx - 0x3c], al
inc ebx
cmp ebx, 0x38
jl 0x40c7da
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.0040c45a
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00460f48
leave
ret 8
Function at 0x40ca56
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0x103]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x104], bl
call fcn.00461d00
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.00461d00
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
stosb byte es:[edi], al
lea eax, [ebp - 0xc3]
push ebx
push eax
mov byte [ebp - 0xc4], bl
call fcn.00461d00
add esp, 0x24
push 0x40
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0040c688
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.0040c5e2
push 0x20
pop edi
push edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004638e0
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004638e0
add esp, 0x18
mov dword [ebp - 0x108], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push dword [ebp - 0x108]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040c8e3
inc dword [ebp - 0x108]
cmp dword [ebp - 0x108], 0x10
jl 0x40cb25
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004638e0
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004638e0
add esp, 0x18
lea eax, [esi + 0x600]
movsx ecx, byte [ebx + 0x47da20]
mov cl, byte [ebp + ecx - 0xc5]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, 0x40
jl 0x40cb77
push 0x40
push eax
lea eax, [esi + 0x680]
push eax
mov ecx, esi
call fcn.0040c6bb
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460f48
leave
ret 8
Function at 0x4103c2
Capabilities:
Copy file

Disassembly:
push 0x44
mov eax, 0x471c2c
call fcn.00461bf0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp + 0xc], ebx
cmp byte [0x4a139c], bl
je 0x4104b9
push str.CopyFileExW
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
push 1
cmp eax, ebx
jne 0x410425
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
neg eax
jmp 0x410587
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov esi, 0x41034d
push esi
push edi
push dword [ebp + 8]
call eax
test eax, eax
je 0x410444
mov al, 1
jmp 0x410587
push 3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0040ce36
push 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040ce36
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00432415
test al, al
jne 0x41049d
push dword [ebp - 0x1c]
call fcn.0044c2e3
push dword [ebp - 0x28]
call fcn.0044c2e3
mov al, bl
jmp 0x410585
push 1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call dword [ebp - 0x10]
test eax, eax
je 0x410486
mov bl, 1
jmp 0x410486
push str.CopyFileExA
push 0x47e03c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x410541
push edi
lea eax, [ebp - 0x1c]
push eax
call fcn.00432223
mov esi, eax
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 2
call fcn.00432223
mov esi, dword [esi]
mov eax, dword [eax]
push 1
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push 0x41034d
push esi
push eax
mov byte [ebp - 4], 3
call dword [ebp - 0x10]
push dword [ebp - 0x28]
mov esi, eax
call fcn.0044c2e3
push dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.0044c2e3
pop ecx
pop ecx
cmp esi, ebx
jne 0x41043d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x410541
xor al, al
jmp 0x410587
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.00432223
mov esi, eax
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], 4
call fcn.00432223
mov esi, dword [esi]
mov eax, dword [eax]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push dword [ebp - 0x34]
mov esi, eax
call fcn.0044c2e3
push dword [ebp - 0x40]
call fcn.0044c2e3
cmp esi, ebx
setne al
pop ecx
pop ecx
call fcn.00461cc8
ret 8
Function at 0x413077
Capabilities:
Delete registry key

Disassembly:
push 0x40
mov eax, 0x472138
call fcn.00461bf0
xor ebx, ebx
push 3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0040e571
push 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040ce36
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 1
call fcn.0041281e
mov esi, dword [ebp + 8]
push esi
call fcn.00412d55
cmp al, bl
je 0x4130de
push esi
call fcn.00412bba
push esi
call fcn.00412c25
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.00412b37
mov esi, eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00411e39
push esi
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.00412a9e
push dword [ebp - 0x40]
call fcn.00462159
push dword [ebp - 0x4c]
call fcn.00462159
pop ecx
pop ecx
push dword [ebp - 0x34]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0x34]
call fcn.00462159
push dword [ebp - 0x1c]
call fcn.00462159
push dword [ebp - 0x28]
call fcn.00462159
add esp, 0xc
call fcn.00461cc8
ret 4