joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100070ea
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov ebx, 0xf003f
push edi
push ebx
mov esi, 0x80000002
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.10002402
test eax, eax
jne 0x10007178
and byte [ebp - 0x114], al
push 0x40
pop ecx
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
xor edi, edi
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.CnsMin
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10007164
mov dword [ebp - 0x10], 1
cmp dword [ebp - 4], edi
je 0x10007176
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
xor edi, edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push edi
push edi
push edi
push str.SOFTWARECNNICCdnClientRunAct
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x100071d6
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push edi
push str.RedBurgee
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 8], edi
je 0x100071c3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], edi
je 0x100071d1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x100071e6
cmp dword [ebp - 4], edi
je 0x100071e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100071eb
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [section..data]
push edi
mov dword [ebp - 8], eax
push str.cdnup.exe
push 0x100123cc
lea eax, [ebp - 8]
push str._s_s
push eax
call fcn.10003245
add esp, 0x10
xor edi, edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
push 0xf003f
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.10002402
test eax, eax
jne 0x1000726a
push esi
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push edi
push str.CdnCtr
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], edi
pop esi
je 0x10007265
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
push 1
pop edi
jmp 0x1000727b
cmp dword [ebp - 4], edi
je 0x1000727b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
lea ecx, [ebp - 8]
call fcn.100025df
mov eax, edi
pop edi
leave
ret
Function at 0x10007288
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
xor edi, edi
cmp dword [0x1000d2cc], esi
je 0x100072b3
cmp dword [0x1000d2d4], esi
je 0x100072b3
cmp dword [0x1000d2d0], esi
je 0x100072b3
cmp dword [0x1000d2dc], esi
jne 0x100072b6
push 1
pop edi
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWARECNNICCdnClientRunAct
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x1000730b
lea eax, [ebp - 8]
push 4
push eax
push 4
push esi
push str.RebootReg
push dword [ebp - 4]
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], esi
je 0x10007306
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x1000730d
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x10007311
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [section..data]
push str.cdnup.exe
mov dword [ebp - 4], eax
push 0x100123cc
lea eax, [ebp - 4]
push str._s_s
push eax
call fcn.10003245
add esp, 0x10
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [ebp - 4]
call fcn.100025df
leave
ret

Function at 0x1000734d
Capabilities:
Shutdown system

Disassembly:
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
ret

Function at 0x10007358
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1000737a
xor eax, eax
jmp 0x100073c4
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10007376
push esi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
pop esi
leave
ret
Function at 0x100079fd
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push esi
push edi
push 0x12
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
pop ecx
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 9
mov esi, str.F5824EFB_728A_4726_A5A5_85A68B20EDC3
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0xf003f
lea eax, [ebp - 0x80]
push esi
push eax
push 0x80000002
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
je 0x10007a4f
xor eax, eax
jmp 0x10007ae5
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push esi
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x10007ad0
lea esi, [eax - 1]
cmp esi, 0xffffffff
je 0x10007ad0
cmp edi, 0x64
jge 0x10007ad0
lea eax, [ebp - 0x184]
push 0x104
push eax
push esi
push dword [ebp - 4]
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10007acd
lea eax, [ebp - 0x34]
lea ecx, [ebp - 8]
push eax
call fcn.1000260b
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10007ac5
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea ecx, [ebp - 8]
call fcn.100025df
dec esi
jmp 0x10007a70
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x10007b59
Capabilities:
Delete file
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
cmp dword [ebp + 8], 0
push ebx
push esi
mov dword [ebp - 4], 1
je 0x10007b95
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call esi
lea eax, [ebp - 0x144]
push eax
push 0x1000e260
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10007b99
xor eax, eax
jmp 0x10007bde
lea eax, [ebp - 0x144]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push eax
push ebx
call edi
test eax, eax
je 0x10007bcc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10007bc2
and dword [ebp - 4], eax
lea eax, [ebp - 0x144]
push eax
push ebx
jmp 0x10007ba8
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x1000e25c
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007dab
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, 0x200
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.1000a550
add esp, 0xc
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
push 0x20019
push str.SOFTWARECNNICCdnClientCommon
push 0x80000002
call fcn.10002402
test eax, eax
mov esi, str.Version
mov edi, 0x1000cd6c
jne 0x10007e3d
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x250]
push eax
push edi
push dword [ebp + 0xc]
call fcn.10003245
add esp, 0xc
cmp dword [ebp - 4], ebx
je 0x10007e4c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
jmp 0x10007e4c
push str.0.0.0.0
push dword [ebp + 0xc]
call fcn.10003245
pop ecx
pop ecx
mov eax, dword [section..data]
push str.src.dat
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x100121c4
lea eax, [ebp - 0xc]
push str._s_s
push eax
call fcn.10003245
add esp, 0x10
lea eax, [ebp - 0xc]
push 3
push 0x1000cd68
push 1
push ecx
mov ecx, esp
push eax
call fcn.100042f1
lea ecx, [ebp - 0x50]
call fcn.10002bb4
push ecx
mov ecx, esp
push esi
call fcn.1000260b
push ecx
mov ecx, esp
push esi
call fcn.1000260b
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.10002ed2
push eax
lea ecx, [ebp - 8]
call fcn.100026a0
lea ecx, [ebp + 0xc]
call fcn.100025df
mov eax, dword [ebp - 8]
cmp dword [eax - 8], ebx
jne 0x10007ed8
push str.2.0.0.0
lea eax, [ebp - 8]
push edi
push eax
call fcn.10003245
add esp, 0xc
push dword [ebp - 8]
push edi
push dword [ebp + 8]
call fcn.10003245
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.10002d06
lea ecx, [ebp - 8]
call fcn.100025df
lea ecx, [ebp - 0xc]
call fcn.100025df
cmp dword [ebp - 4], ebx
je 0x10007f0d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007f67
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xf003f
mov esi, 0x80000001
xor edi, edi
push str.SOFTWAREMicrosoftInternet_Explorer
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
call fcn.10002402
test eax, eax
jne 0x1000801e
push str.URLSearchHooks
lea ecx, [ebp - 4]
call fcn.10002440
cmp dword [ebp - 4], edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10007fb5
push dword [ebp - 4]
call ebx
mov dword [ebp - 4], edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x10008012
mov esi, 0x1000e2e0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push edi
push str.CFBFAE00_17A6_11D0_99CB_00C04FD64497
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 8], edi
je 0x10008003
push dword [ebp - 8]
call ebx
cmp dword [ebp - 4], edi
je 0x1000800d
push dword [ebp - 4]
call ebx
push 1
pop eax
jmp 0x1000802e
cmp dword [ebp - 4], edi
je 0x1000802c
push dword [ebp - 4]
call ebx
jmp 0x1000802c
cmp dword [ebp - 4], edi
je 0x1000802c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008302
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
mov ebx, 0x104
push edi
push ebx
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.1000a550
lea eax, [ebp - 0x268]
push 0x100123cc
push eax
call fcn.1000a8f0
lea eax, [ebp - 0x268]
push str.cdnunins.exe
push eax
call fcn.1000a900
lea eax, [ebp - 0x24]
push eax
call fcn.1000847a
add esp, 0x20
test eax, eax
jne 0x10008370
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1000a550
lea eax, [ebp - 0x24]
push str.2.1.0.0
push eax
call fcn.1000a8f0
add esp, 0x14
mov esi, 0x1000e484
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x1000e470
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.Chinese_Navigation
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
push ebx
lea eax, [ebp - 0x164]
push edi
push eax
call fcn.1000a550
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp ax, 0x804
jne 0x100083c1
lea eax, [ebp - 0x60]
jmp 0x100083d9
cmp ax, 0x404
je 0x100083d6
cmp ax, 0xc04
je 0x100083d6
cmp ax, 0x1004
lea eax, [ebp - 0x4c]
jne 0x100083d9
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.1000a8f0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.1000a900
add esp, 0x10
lea eax, [ebp - 4]
push edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallCdnClient
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1000841f
xor eax, eax
jmp 0x10008475
lea eax, [ebp - 0x164]
push eax
call fcn.1000a9e0
pop ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
lea eax, [ebp - 0x164]
push eax
push 1
push edi
push str.DisplayName
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x268]
push eax
call fcn.1000a9e0
pop ecx
push eax
lea eax, [ebp - 0x268]
push eax
push 1
push edi
push str.UninstallString
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000847a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x1e
push eax
push 1
push 0
push str.SOFTWARECNNICCdnClientCommon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100084cd
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push 0
push 0
push str.Version
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100084cd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x100091ed
Capabilities:
Get common file path

Disassembly:
add ecx, 0x108
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
ret

Function at 0x10009200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push 0x20019
push str.SOFTWARECNNICCdnClientInstallInfo
push 0x80000002
lea ecx, [ebp - 4]
mov dword [ebp - 8], 0x104
call fcn.10002402
mov ebx, eax
test ebx, ebx
jne 0x10009252
and dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
add esi, 4
lea eax, [ebp - 0xc]
push esi
push eax
push ebx
push str.InstallPath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x10009261
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x10009923
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [section..data]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x9c]
push edi
push eax
mov dword [ebp - 0x9c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x8c]
xor edi, edi
sub eax, edi
je 0x10009aef
dec eax
je 0x10009a90
dec eax
jne 0x10009b12
mov eax, dword [ebp - 0x98]
push 2
mov ecx, dword [ebp - 0x94]
pop esi
push 5
mov dword [0x10011d6c], esi
pop edx
cmp eax, edx
jne 0x100099cb
cmp ecx, edi
jne 0x100099ae
lea eax, [ebp - 0x88]
mov dword [0x10011fb4], edx
push eax
push str.Windows_2000_With__s
lea eax, [ebp - 4]
push eax
call fcn.10003245
add esp, 0xc
jmp 0x10009a32
cmp ecx, 1
jne 0x100099fb
lea eax, [ebp - 0x88]
mov dword [0x10011fb4], 6
push eax
push str.Windows_XP__s
jmp 0x1000999d
cmp eax, 4
ja 0x10009a19
lea ecx, [ebp - 0x88]
mov dword [0x10011fb4], 7
push ecx
push dword [ebp - 0x94]
push eax
push str.Windows_NT__d._d_with__s
lea eax, [ebp - 4]
push eax
call fcn.10003245
add esp, 0x14
jmp 0x10009a32
cmp ecx, esi
jne 0x10009a19
lea eax, [ebp - 0x88]
mov dword [0x10011fb4], 8
push eax
push esi
push edx
push str.Windows_2003__d._d_with__s
jmp 0x100099ed
push ecx
push eax
lea eax, [ebp - 4]
push str.Windows__d._d
push eax
mov dword [0x10011fb4], edi
call fcn.10003245
add esp, 0x10
lea eax, [ebp - 0x88]
test eax, eax
je 0x10009b12
lea eax, [ebp - 0x88]
lea ecx, [ebp - 8]
push eax
call fcn.1000260b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push str.Service_Pack_2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x10009a6b
mov dword [0x10011fb8], esi
jmp 0x10009a83
push str.Service_Pack_4
push dword [ebp - 8]
call edi
test eax, eax
jne 0x10009a83
mov dword [0x10011fb8], 4
lea ecx, [ebp - 8]
call fcn.100025df
jmp 0x10009b12
cmp dword [ebp - 0x94], edi
mov dword [0x10011d6c], 1
jne 0x10009ab3
mov dword [0x10011fb4], 2
push str.Windows_t95
jmp 0x10009acb
cmp dword [ebp - 0x94], 0xa
jne 0x10009ad5
mov dword [0x10011fb4], 3
push str.Windows_t98
lea ecx, [ebp - 4]
call fcn.1000276b
jmp 0x10009b12
cmp dword [ebp - 0x94], 0x5a
jne 0x10009b12
mov dword [0x10011fb4], 4
push str.Windows_tMe
jmp 0x10009acb
push dword [ebp - 0x94]
lea eax, [ebp - 4]
mov dword [0x10011d6c], edi
push dword [ebp - 0x98]
push 0x10011d74
push eax
call fcn.10003245
add esp, 0x10
mov esi, dword [0x10011d6c]
lea ecx, [ebp - 4]
call fcn.100025df
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x10009b26
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, 0x104
push edi
xor ebx, ebx
push esi
mov edi, 0x10011fbc
push ebx
push edi
call fcn.1000a550
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [eax + 0x10011fbc], 0x5c
inc eax
cmp eax, esi
push esi
mov dword [0x10012ae8], eax
push ebx
jb 0x10009b68
push edi
call fcn.1000a550
add esp, 0xc
xor eax, eax
jmp 0x10009b87
mov ebx, 0x100120c0
push ebx
call fcn.1000a550
add esp, 0xc
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 1
mov dword [0x10012aec], eax
pop eax
pop edi
pop esi
pop ebx
ret
Function at 0x1000a235
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10011d6c], 2
jne 0x1000a251
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop ebp
ret
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop ebp
ret
Function at 0x10006230
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006240
sub ecx, edx
mov esi, 0x417
mov edx, ecx
shr edx, 2
lea edi, [edi + edx*4]
neg edx
je 0x10006283
nop word [eax + eax]
imul eax, dword [edi + edx*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
add edx, 1
jne 0x10006260
mov eax, ecx
xor edx, edx
and eax, 3
sub eax, 1
je 0x100062a9
sub eax, 1
je 0x100062a0
sub eax, 1
jne 0x100062bf
movzx edx, byte [edi + 2]
shl edx, 0x10
movzx eax, byte [edi + 1]
shl eax, 8
xor edx, eax
movzx eax, byte [edi]
xor eax, edx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, ecx
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret 4
Function at 0x10080a74
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10080ab3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10080ab3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10080ab3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10080ab3
cmp dword [ecx + 0x74], 0xe
jbe 0x10080ab3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10088698
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008856c

Function at 0x1008a71d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a6fec
push 0x100a6fe4
push str.FlsAlloc
push 0x1f
call fcn.1008a3eb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008a751
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a318c]
call esi
jmp 0x1008a757
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1008a79b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a6ffc
push 0x100a6ff4
push str.FlsGetValue
push 0x21
call fcn.1008a3eb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008a7d2
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a318c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1008a7da
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a7004
push 0x100a6ffc
push str.FlsSetValue
push 0x22
call fcn.1008a3eb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008a814
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100a318c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1008bc91
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100c5008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x1008bcdc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.1008c069
test al, al
jne 0x1008bcd6
sub edx, 2
cmp edx, edi
jne 0x1008bcbc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x1008bcfe
lea eax, [edi + 2]
cmp edx, eax
je 0x1008bcfe
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.1008b958
add esp, 0x10
jmp 0x1008bdf8
push esi
lea ecx, [ebp - 0x255]
call fcn.1008c069
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1008bd41
push dword [ebp - 0x25c]
jmp 0x1008bcee
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x1008bd7e
cmp word [ebp - 0x226], 0
je 0x1008bd9f
cmp word [ebp - 0x226], ax
jne 0x1008bd7e
cmp word [ebp - 0x224], 0
je 0x1008bd9f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.1008b958
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x1008bdeb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x1008bd58
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x1008bdd3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x1008bdf8
push 0x1008b3a8
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.1007e350
add esp, 0x10
jmp 0x1008bdc8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004db21
leave
ret