joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d720
Capabilities:
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push edi
push str.SOFTWARE360Desktop
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [0x4a6450], 0
je 0x41d756
push str.Software360Desktop
push SysReAllocString
call esi
push 0x98
lea ecx, [esp + 0xc]
call fcn.0041d020
mov eax, dword [eax]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41d79b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d79b
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x486d44
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call edi
push str.360desktop.SkinFile
push SysReAllocString
call esi
push str..3dsk
push SysReAllocString
call esi
push str.360desktop.SkinFile
push SysReAllocString
call esi
push str.Applications360Desktop.exe
push SysReAllocString
call esi
push str.CreateDesktopShortcut
push str.Software360Desktop
push SysReAllocString
call edi
push str.StartMenu
push str.Software360Desktop
push SysReAllocString
call edi
push str.QuickLaunch
push str.Software360Desktop
push SysReAllocString
call edi
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
push SysReAllocString
call esi
push 0x486b40
push SysReAllocString
call esi
pop edi
pop esi
pop ecx
ret
Function at 0x41da70
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov eax, 0x1008
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1018]
push edi
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00461880
add esp, 0xc
push 0x8a
lea ecx, [esp + 0x14]
call fcn.0041d020
mov ecx, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
call edi
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41daf3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41daf3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
lea eax, [esp + 0x14]
push eax
call fcn.00445390
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 4
push 0x80
lea ecx, [esp + 0x18]
push ecx
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [esp + 0x14]
push edx
call ebp
push 0x255
lea ecx, [esp + 0x14]
call fcn.0041d020
mov eax, dword [eax]
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a1010]
je 0x41db65
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41db65
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
push 0x800
lea ecx, [esp + 0x818]
push 0
push ecx
call fcn.00461880
add esp, 0xc
push 0x8a
lea ecx, [esp + 0x14]
call fcn.0041d020
mov edx, dword [eax]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x81c]
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a1010]
je 0x41dbc9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dbc9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
lea ecx, [esp + 0x814]
push ecx
call fcn.00445390
add esp, 4
push 0x80
lea edx, [esp + 0x18]
push edx
call ebx
lea eax, [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461862
add esp, 0x1008
ret 4
Function at 0x41e0f0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x47e376
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x808], eax
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x41e137
xor eax, eax
jmp 0x41e21c
mov eax, dword [0x4a1014]
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x824], 0
call fcn.00440930
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00461880
mov ecx, dword [esp + 0x18]
add esp, 0xc
push 0x48695c
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x4a1014]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push str.__s___autorun
push edx
mov byte [esp + 0x82c], 1
call fcn.0041dfb0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 8]
add esp, 0xc
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0x486d44
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [esi - 0xc]
cmp edx, dword [0x4a1010]
je 0x41e1ee
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41e1ee
push esi
call fcn.00461ef0
add esp, 4
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41e217
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41e217
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00461862
add esp, 0x818
ret
Function at 0x41e250
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x47e3d1
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov edi, dword [esp + 0x838]
mov eax, dword [esp + 0x83c]
mov ebp, dword [esp + 0x834]
mov ebx, dword [esp + 0x840]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
test edi, edi
je 0x41e40d
test ebx, ebx
je 0x41e40d
test ebp, ebp
je 0x41e40d
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x41e40d
call fcn.0043f760
mov esi, eax
test esi, esi
je 0x41e40d
cmp dword [esp + 0x848], 0
je 0x41e301
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e40d
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41e3f1
mov ecx, dword [0x4a1014]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x830], 0
call fcn.00440930
push 0x800
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00461880
mov edx, dword [esp + 0x24]
add esp, 0xc
push edi
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [esp + 0x84c], 0
mov ecx, dword [0x4a1014]
mov dword [esp + 0x14], ecx
je 0x41e396
mov edx, dword [esp + 0x18]
push edi
push str.Bin_
push edx
lea eax, [esp + 0x20]
push 0x486e38
push eax
mov byte [esp + 0x840], 1
call fcn.0041dfb0
add esp, 0x14
jmp 0x41e3b6
mov edx, dword [esp + 0x18]
push edi
push edx
lea eax, [esp + 0x1c]
push 0x486e2c
push eax
mov byte [esp + 0x83c], 2
call fcn.0041dfb0
add esp, 0x10
mov ecx, dword [esp + 0x844]
mov edx, dword [esp + 0x1c]
mov edi, dword [esi]
push ecx
push ebx
push edx
push 0
lea ecx, [esp + 0x24]
call fcn.0041c3e0
push eax
mov eax, dword [edi + 0x28]
push ebp
push esi
call eax
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0041c130
lea ecx, [esp + 0x18]
call fcn.0041c130
mov eax, esi
jmp 0x41e40f
mov edx, dword [esp + 0x844]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
push edx
push ebx
push eax
push edi
push ebp
push esi
call ecx
mov esi, eax
jmp 0x41e40f
xor eax, eax
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.00461862
add esp, 0x81c
ret 0x1c
Function at 0x420570
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x47e776
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x328]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x420714
mov ecx, esi
call fcn.0043f420
test eax, eax
je 0x420714
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0041deb0
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov dword [esp + 0x334], 0
call ebx
test eax, eax
je 0x42070b
mov eax, dword [0x4a1014]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x334], 1
call fcn.00440930
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x126]
push eax
mov word [esp + 0x128], dx
call fcn.00461880
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0x491418
push ecx
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x11c]
push eax
call ebx
test eax, eax
je 0x420718
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x420718
call fcn.0043f760
mov esi, eax
test esi, esi
je 0x420718
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x26]
push edx
mov word [esp + 0x28], cx
call fcn.00461880
xor eax, eax
push 0x7e
push eax
lea ecx, [esp + 0xb2]
push ecx
mov word [esp + 0xb4], ax
call fcn.00461880
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
add esp, 0x18
push 0x40
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x124]
push ecx
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x40
lea ecx, [esp + 0xa0]
push ecx
push edi
push esi
call edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0042d330
lea edx, [esp + 0x124]
push edx
mov esi, eax
call fcn.00401f60
add esp, 0xc
test esi, esi
jge 0x420718
cmp eax, 1
jne 0x420718
lea ecx, [esp + 0x14]
call fcn.0041c130
lea ecx, [esp + 0x18]
call fcn.0041c130
xor eax, eax
jmp 0x420742
push 0
lea eax, [esp + 0x120]
push eax
push edi
call fcn.0042e140
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.0041c130
lea ecx, [esp + 0x18]
call fcn.0041c130
mov eax, 1
mov ecx, dword [esp + 0x328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.00461862
add esp, 0x320
ret
Function at 0x420a90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.00461880
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 2
lea ecx, [esp + 0x10]
push ecx
push 0
call edi
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0041da70
push 1
push 0x17
lea eax, [esp + 0x10]
push eax
push 0
call edi
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0041da70
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.00461862
add esp, 0x804
ret

Function at 0x420cf0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x47e858
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x420d30
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov eax, dword [0x4a1014]
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x20], 0
call fcn.00440930
push str.Utils360Feedback.exe
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041dfe0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, eax
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x420d9b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x420d9b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x420dc4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x420dc4
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x420f70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47e8bb
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x1018]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x420fbc
xor eax, eax
jmp 0x4210df
call fcn.0041d220
mov ecx, dword [esi + 8]
call fcn.0043f500
cmp dword [eax], 0
je 0x4210da
push 0x800
lea eax, [esp + 0x818]
push 0
push eax
call fcn.00461880
add esp, 0xc
push 1
push 0x19
lea ecx, [esp + 0x81c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea edx, [esp + 0x18]
push 0
push edx
call fcn.00461880
add esp, 0xc
push 0x88
lea ecx, [esp + 0x14]
call fcn.0041d020
mov eax, dword [eax]
push eax
lea eax, [esp + 0x818]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a1010]
je 0x421064
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x421064
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
push 0x8a
lea ecx, [esp + 0x10]
call fcn.0041d020
mov ecx, dword [esp + 0x1028]
mov eax, dword [eax]
push 1
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push str.360Desktop.exe
push eax
mov ecx, esi
mov dword [esp + 0x103c], 0
call fcn.0041e250
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x4210c8
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4210c8
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
lea eax, [esp + 0x14]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041b7f0
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x1018]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.00461862
add esp, 0x1018
ret 4
Function at 0x421110
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47e8fb
mov eax, dword fs:[0]
push eax
mov eax, 0x180c
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1808], eax
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x1818]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x42115d
xor eax, eax
jmp 0x421296
call fcn.0043f510
cmp dword [eax], 0
je 0x421291
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00461880
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea edx, [esp + 0x818]
push 0
push edx
call fcn.00461880
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.MicrosoftInternet_ExplorerQuick_Launch
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x81c]
push ecx
call esi
push 0x800
lea edx, [esp + 0x1018]
push 0
push edx
call fcn.00461880
add esp, 0xc
push 0x88
lea ecx, [esp + 0x10]
call fcn.0041d020
mov eax, dword [eax]
push eax
lea eax, [esp + 0x818]
push eax
lea ecx, [esp + 0x101c]
push ecx
call esi
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a1010]
je 0x42122a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42122a
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
push 0x8a
lea ecx, [esp + 0x14]
call fcn.0041d020
mov ecx, dword [esp + 0x1828]
mov eax, dword [eax]
push 1
push ecx
push 0
lea edx, [esp + 0x1020]
push edx
push 0
push str.360Desktop.exe
push eax
mov ecx, edi
mov dword [esp + 0x183c], 0
call fcn.0041e250
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x421291
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x421291
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1818]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1808]
xor ecx, esp
call fcn.00461862
add esp, 0x1818
ret 4
Function at 0x421810
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0041d220
mov ecx, esi
call fcn.0041d440
mov ecx, esi
call fcn.0041d600
mov ecx, esi
pop esi
jmp fcn.00420a90

Function at 0x421830
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x47e9e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004215a0
mov ecx, esi
call fcn.0041f720
mov ecx, esi
call fcn.0041ecc0
mov ecx, esi
call fcn.0041f200
mov ecx, dword [esi + 8]
call fcn.0043f6d0
mov edi, eax
test edi, edi
je 0x421945
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
push edi
call ecx
test eax, eax
jne 0x42189f
mov edx, dword [edi]
mov eax, dword [edx + 0x3c]
push edi
call eax
test eax, eax
je 0x421945
mov eax, dword [0x4a1014]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push 0xbb
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.0041d020
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0041ca80
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x421904
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421904
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
mov eax, dword [esi + 0xc]
push 0
lea edx, [esp + 0x14]
push edx
push 0x3443
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push 0x41b920
push 0
push 0
call fcn.004627bd
add esp, 0x18
lea ecx, [esp + 0x10]
mov dword [esi + 4], eax
mov dword [esp + 0x24], 0xffffffff
call fcn.0041c160
mov ecx, dword [esi + 8]
call fcn.0043f460
cmp eax, 1
je 0x421957
cmp eax, 2
jne 0x42195e
mov ecx, esi
call fcn.0041c840
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x423460
Capabilities:
Delete file
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x487a4c
push 0x4879e8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00461880
add esp, 0xc
lea edx, [esp]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4234d0
push 0x4879c8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00461862
add esp, 0x20c
ret

Function at 0x4234f0
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
push esi
test eax, eax
je 0x423692
mov esi, dword [esp + 0x30]
test esi, esi
je 0x423692
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423510
sub eax, edx
push ebx
sar eax, 1
mov ebx, eax
push ebp
mov eax, esi
push edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423530
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
xor ecx, ecx
lea eax, [ebx + ebx + 2]
mov edx, 2
xor esi, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004507c0
mov ebp, eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
lea eax, [eax + eax + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004507c0
add esp, 8
mov edi, eax
test ebp, ebp
je 0x423679
test edi, edi
je 0x423670
mov eax, dword [esp + 0x38]
mov edx, ebp
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4235a0
xor eax, eax
mov word [ebp + ebx*2], ax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, edi
mov word [ebp + ebx*2 + 2], cx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4235c5
mov eax, dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov word [edi + eax*2], dx
mov word [edi + eax*2 + 2], cx
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4235f0
sub eax, edx
sar eax, 1
je 0x423615
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423615
push edi
call fcn.00445390
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2e], eax
lea eax, [esp + 0x14]
mov edx, 0x614
push eax
mov word [esp + 0x28], dx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebp
call fcn.00461ef0
add esp, 4
test edi, edi
je 0x423686
push edi
call fcn.00461ef0
add esp, 4
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0x24
ret 8
xor eax, eax
pop esi
add esp, 0x24
ret 8