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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jne 0x100019f7
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push str.Common_Desktop
push eax
mov dword [esp + 0x2c], 0x208
call ebx
test eax, eax
jne 0x100019ec
push edi
lea ecx, [esp + 0x1c]
call fcn.10001560
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call esi
test eax, eax
jne 0x10001a4a
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.Desktop
push edx
mov dword [esp + 0x2c], 0x208
call ebx
test eax, eax
jne 0x10001a3f
push edi
lea ecx, [esp + 0x1c]
call fcn.10001560
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x74
push 0x100
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push edi
push 0x2005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.1002b6af
mov esp, ebp
pop ebp
ret 4
Function at 0x100026e0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x660
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x65c], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3fe
lea eax, [esp + 0x26e]
push ebx
push eax
mov word [esp + 0x274], bx
call fcn.1002fb20
mov eax, dword [0x1003e07c]
mov ecx, dword [str.AomeiBR]
mov edx, dword [0x1003e078]
mov dword [esp + 0x4c], eax
xor eax, eax
add esp, 0xc
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov word [esp + 0x5e], ax
lea eax, [esp + 0x268]
push eax
push ebx
push ebx
mov dword [esp + 0x44], ecx
mov ecx, dword [0x1003e080]
mov dword [esp + 0x48], edx
mov dx, word [0x1003e084]
push 0x23
push ebx
mov dword [esp + 0x58], ecx
mov word [esp + 0x5c], dx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x38]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10002780
lea edi, [esp + 0x268]
sub eax, edx
add edi, 0xfffffffe
jmp 0x100027a0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x100027a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x268]
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100027d7
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x26c]
push ecx
lea esi, [esp + 0x24]
call fcn.100031f0
push 0x13
push str.BackupRecovery.ini
mov ecx, esi
call fcn.10003120
push 0x206
lea edx, [esp + 0x66]
push ebx
push edx
mov word [esp + 0x6c], bx
call fcn.1002fb20
mov eax, dword [esp + 0x2c]
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x34], edi
jae 0x10002831
lea eax, [esp + 0x20]
push eax
push 0x104
lea eax, [esp + 0x68]
push eax
push 0x1003e0b0
push 0x1003e0b4
push str.Date
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x60]
push ecx
call fcn.1002b9d7
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10002891
cmp dword [esp + 0x34], edi
jb 0x10002877
mov edx, dword [esp + 0x20]
push edx
call fcn.1002b322
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x65c]
xor ecx, esp
call fcn.1002b6af
add esp, 0x660
ret
lea eax, [esp + 0xc]
push eax
call fcn.1002b665
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, esi
jle 0x100028ac
sub eax, esi
mov esi, eax
jmp 0x100028ae
sub esi, eax
mov eax, 0x2aaaaaab
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [esp + 0x34], edi
jb 0x100028f8
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1002b322
add esp, 4
mov ecx, dword [esp + 0x668]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1002b6af
add esp, 0x660
ret
Function at 0x10002920
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10039e16
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x644], eax
push esi
push edi
mov eax, dword [0x10043330]
xor eax, esp
push eax
lea eax, [esp + 0x654]
mov dword fs:[0], eax
mov edx, dword [esp + 0x664]
xor edi, edi
cmp edx, edi
jne 0x1000296d
xor al, al
jmp 0x10002b48
mov eax, edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10002983
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x34]
call fcn.100031f0
push 0x3fe
lea eax, [esp + 0x256]
push edi
mov dword [esp + 0x664], edi
push eax
mov word [esp + 0x25c], di
call fcn.1002fb20
add esp, 0xc
lea ecx, [esp + 0x250]
push ecx
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x250]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x100029e0
mov edx, dword [str.AomeiBR]
mov ecx, dword [0x1003e078]
mov dword [eax], edx
mov edx, dword [0x1003e07c]
mov dword [eax + 4], ecx
mov ecx, dword [0x1003e080]
mov dword [eax + 8], edx
mov dx, word [0x1003e084]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
push edi
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x250]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10002a44
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x254]
push ecx
lea esi, [esp + 0x18]
call fcn.100031f0
push 0x13
push str.BackupRecovery.ini
mov ecx, esi
mov byte [esp + 0x664], 1
call fcn.10003120
push 0x206
lea edx, [esp + 0x4e]
push edi
push edx
mov word [esp + 0x54], di
call fcn.1002fb20
mov eax, dword [esp + 0x20]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x28], esi
jae 0x10002aa6
lea eax, [esp + 0x14]
push eax
push 0x104
lea eax, [esp + 0x50]
push eax
push edi
push str.SourceID
push str.Marketing
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x48]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10002ad0
sub eax, edx
sar eax, 1
jne 0x10002b0f
cmp dword [esp + 0x28], esi
mov ecx, dword [esp + 0x14]
jae 0x10002aef
lea ecx, [esp + 0x14]
cmp dword [esp + 0x44], esi
mov eax, dword [esp + 0x30]
jae 0x10002afd
lea eax, [esp + 0x30]
push ecx
push eax
push str.SourceID
push str.Marketing
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x28], esi
jb 0x10002b22
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1002b322
add esp, 4
cmp dword [esp + 0x44], esi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jb 0x10002b46
mov edx, dword [esp + 0x30]
push edx
call fcn.1002b322
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x654]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x644]
xor ecx, esp
call fcn.1002b6af
add esp, 0x654
ret 4
Function at 0x100160b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10015190
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
Function at 0x10019b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10039eb8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10043330]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
push ecx
push 1
call fcn.1002c883
mov edx, dword [esp + 0x38]
mov edi, eax
add esp, 8
lea eax, [edx*4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x10019c07
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x10019c07
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x10019ba2
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x38]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push 0xffffffffffffffff
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10019bc0
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.100031f0
push edi
call fcn.1002c6d7
add esp, 4
cmp dword [esp + 0x34], 0x10
jb 0x10019bf3
mov eax, dword [esp + 0x20]
push eax
call fcn.1002b322
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
cmp dword [esp + 0x34], 0x10
jb 0x10019c1b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1002b322
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x1001f680
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x370
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x36c], eax
mov eax, dword [esp + 0x374]
push ebx
push ebp
push esi
push edi
mov ecx, 0x6c
lea esi, [esp + 0x388]
lea edi, [esp + 0x1c8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x6c
lea esi, [esp + 0x1c8]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], eax
mov ebx, 3
mov ebp, 4
mov edx, ecx
xor esi, esi
mov eax, 5
sub ebx, ecx
sub ebp, edx
sub eax, ecx
lea edi, [esi + 2]
mov dword [esp + 0x14], eax
mov edi, edi
mov eax, 0xba2e8ba3
mul esi
shr edx, 6
imul edx, edx, 0x58
lea ecx, [esp + esi + 0x1a]
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x1003e230]
xor byte [ecx - 2], dl
lea edx, [edi - 1]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x1003e231]
xor byte [ecx - 1], dl
mov eax, 0xba2e8ba3
mul edi
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x1003e232]
xor byte [ecx], dl
lea edx, [ecx + ebx]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x1003e233]
xor byte [ecx + 1], dl
lea edx, [ecx + ebp]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x1003e234]
xor byte [ecx + 2], dl
mov eax, dword [esp + 0x14]
lea edx, [ecx + eax]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x1003e235]
xor byte [ecx + 3], dl
add edi, 6
add esi, 6
cmp edi, 0x1b2
jb 0x1001f6f0
mov edi, dword [esp + 0x10]
mov ecx, 0x6c
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x37c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002b6af
add esp, 0x370
ret 0x1b4

Function at 0x1001f7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov ecx, 0x14
lea esi, [ebp + 8]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x14
lea esi, [esp + 0x60]
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, 1
lea eax, [esp + 8]
xor ecx, ecx
sub edi, eax
lea ebx, [ebx]
mov eax, 0xba2e8ba3
mul ecx
shr edx, 6
imul edx, edx, 0x58
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x1003e230]
xor byte [esp + ecx + 8], dl
lea esi, [esp + ecx + 8]
lea edx, [edi + esi]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x1003e231]
xor byte [esi + 1], dl
add ecx, 2
cmp ecx, 0x52
jb 0x1001f840
mov ecx, 0x14
lea esi, [esp + 8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xbc]
movsw word es:[edi], word [esi]
pop edi
pop esi
xor ecx, esp
call fcn.1002b6af
mov esp, ebp
pop ebp
ret 0x54
Function at 0x10021410
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1003a91b
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push ebp
push esi
mov eax, dword [0x10043330]
xor eax, esp
push eax
lea eax, [esp + 0x454]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x464]
xor ebx, ebx
push 0x3fe
lea eax, [esp + 0x52]
push ebx
push eax
mov word [esp + 0x58], bx
call fcn.1002fb20
add esp, 0xc
push 0x400
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea eax, [esp + 0x4c]
mov dword [esp + 0x45c], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100214a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x50]
push edx
lea esi, [esp + 0x1c]
call fcn.100031f0
cmp dword [esp + 0x28], ebx
jne 0x100214df
cmp dword [esp + 0x2c], 8
jb 0x100214d8
mov eax, dword [esp + 0x18]
push eax
call fcn.1002b322
add esp, 4
xor al, al
jmp 0x1002163d
cmp byte [edi + 0x6c], bl
mov word [esp + 0x30], 0x5c
mov word [esp + 0x32], 0x77
mov word [esp + 0x34], 0x69
mov word [esp + 0x36], 0x6e
mov word [esp + 0x38], 0x73
mov word [esp + 0x3a], 0x65
mov word [esp + 0x3c], 0x76
mov word [esp + 0x3e], 0x72
mov word [esp + 0x40], 0x2e
mov word [esp + 0x42], 0x64
mov word [esp + 0x44], 0x61
mov word [esp + 0x46], 0x74
mov word [esp + 0x48], bx
je 0x10021563
lea edx, [edi + 0xee]
mov eax, edx
lea esi, [eax + 2]
jmp 0x10021550
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10021550
sub eax, esi
sar eax, 1
push eax
push edx
jmp 0x10021585
lea eax, [esp + 0x30]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10021570
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10003120
push ebx
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x40]
mov word [ecx + 4], bx
call fcn.10003860
lea ecx, [esp + 0x34]
call fcn.10028120
cmp al, bl
jne 0x100215dd
cmp dword [esp + 0x2c], 8
jb 0x100214d8
mov edx, dword [esp + 0x18]
push edx
call fcn.1002b322
add esp, 4
xor al, al
jmp 0x1002163d
push ebp
lea eax, [esp + 0x14]
push eax
mov ebx, 0x52
call fcn.10028620
test al, al
mov eax, dword [esp + 0x10]
jne 0x1002161c
test eax, eax
je 0x10021600
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x2c], 8
jb 0x100214d8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1002b322
add esp, 4
xor al, al
jmp 0x1002163d
test eax, eax
je 0x10021627
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x2c], 8
jb 0x1002163b
mov edx, dword [esp + 0x18]
push edx
call fcn.1002b322
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x454]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.1002b6af
add esp, 0x450
ret 4
Function at 0x10021670
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x48
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x44], eax
mov al, 0x72
push ebx
push esi
mov byte [esp + 0x2c], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], al
mov byte [esp + 0x44], al
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov al, 0x61
mov esi, ecx
mov cl, 0x6f
mov bl, 0x57
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x24], bl
mov byte [esp + 0x33], bl
mov bl, 0x6e
lea eax, [esp + 8]
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x37], cl
mov byte [esp + 0x47], cl
mov byte [esp + 0x16], cl
push eax
lea ecx, [esp + 0x24]
mov dl, 0x74
mov byte [esp + 0x39], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x4c], bl
xor ebx, ebx
push ecx
push 0x80000002
mov byte [esp + 0x2c], 0x53
mov byte [esp + 0x2d], 0x4f
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x54
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x52
mov byte [esp + 0x33], 0x45
mov byte [esp + 0x34], 0x5c
mov byte [esp + 0x35], 0x4d
mov byte [esp + 0x36], 0x69
mov byte [esp + 0x37], 0x63
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3c], 0x66
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], 0x5c
mov byte [esp + 0x40], 0x69
mov byte [esp + 0x42], 0x64
mov byte [esp + 0x44], 0x77
mov byte [esp + 0x45], 0x73
mov byte [esp + 0x46], 0x5c
mov byte [esp + 0x47], 0x43
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x4b], 0x65
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], 0x56
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x51], 0x73
mov byte [esp + 0x52], 0x69
mov byte [esp + 0x55], bl
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x23], 0x67
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x44
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100217e2
cmp byte [esi + 0x6c], bl
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 0x1b0
je 0x100217f5
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x14]
push eax
push ebx
add esi, 0x6e
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10021833
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1002b6af
add esp, 0x48
ret
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10021833
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1002b6af
add esp, 0x48
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.1002b6af
add esp, 0x48
ret
Function at 0x10021860
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x48
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x44], eax
mov al, 0x72
push ebx
push esi
mov byte [esp + 0x2c], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], al
mov byte [esp + 0x44], al
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov al, 0x61
mov esi, ecx
mov cl, 0x6f
mov bl, 0x57
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x24], bl
mov byte [esp + 0x33], bl
mov bl, 0x6e
lea eax, [esp + 8]
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x37], cl
mov byte [esp + 0x47], cl
mov byte [esp + 0x16], cl
push eax
lea ecx, [esp + 0x24]
mov dl, 0x74
mov byte [esp + 0x39], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x4c], bl
xor ebx, ebx
push ecx
push 0x80000002
mov byte [esp + 0x2c], 0x53
mov byte [esp + 0x2d], 0x4f
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x54
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x52
mov byte [esp + 0x33], 0x45
mov byte [esp + 0x34], 0x5c
mov byte [esp + 0x35], 0x4d
mov byte [esp + 0x36], 0x69
mov byte [esp + 0x37], 0x63
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3c], 0x66
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], 0x5c
mov byte [esp + 0x40], 0x69
mov byte [esp + 0x42], 0x64
mov byte [esp + 0x44], 0x77
mov byte [esp + 0x45], 0x73
mov byte [esp + 0x46], 0x5c
mov byte [esp + 0x47], 0x43
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x4b], 0x65
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], 0x56
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x51], 0x73
mov byte [esp + 0x52], 0x69
mov byte [esp + 0x55], bl
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x23], 0x67
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x44
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100219d2
cmp byte [esi + 0x6c], bl
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 0x52
je 0x100219e5
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x14]
push eax
push ebx
add esi, 0x6e
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10021a23
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1002b6af
add esp, 0x48
ret
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10021a23
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1002b6af
add esp, 0x48
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.1002b6af
add esp, 0x48
ret
Function at 0x10027050
Capabilities:
Read .ini file

Disassembly:
push ecx
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp], eax
push 0x400
push 0x10058c20
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x10058c20
call fcn.1002cb34
add esp, 8
test eax, eax
je 0x10027085
mov word [eax], 0
push esi
push edi
mov edi, 0x10058c20
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10027090
mov ecx, 6
mov esi, str.Version.ini
rep movsd dword es:[edi], dword [esi]
push 0x10058c20
push 0
push 0x1003e008
push 0x1003e00c
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
pop edi
pop esi
jne 0x100270cc
mov eax, 3
mov ecx, dword [esp]
xor ecx, esp
call fcn.1002b6af
pop ecx
ret