joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100075f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.100264e0
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.10043b10
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x100076e3
test edi, edi
je 0x100076e3
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x100076e3
cmp eax, 0x3fff
ja 0x100076e3
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100076e3
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x1006c52c
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100076e3
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.10043b10
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
push edi
call fcn.100078c0
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100264cc
mov esp, ebp
pop ebp
ret

Function at 0x10007950
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100079c1
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100079c1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100079c1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100079c1
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100079bb
push esi
push ebx
push edi
call fcn.10043010
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100079bb
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100099b0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069326
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 0
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x644]
mov dword [ebp - 4], 0
call fcn.100035b0
mov edi, dword [ebp - 0x644]
test eax, eax
jne 0x10009bde
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x420]
mov edx, 0x104
lea esi, [ebp - 0x218]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10009aa2
movzx eax, word [esi + ecx]
test ax, ax
je 0x10009aa2
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10009a84
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x629]
call fcn.100098d0
push eax
lea eax, [ebp - 0x420]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.100031c0
mov ecx, eax
test ecx, ecx
je 0x10009c08
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
push str._autorun
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x634]
push str.__s___s
push eax
call fcn.10002df0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10043b10
add esp, 0x1c
mov dword [ebp - 0x630], 0x208
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x638]
push eax
push 0
push str.Defragger
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10009b70
mov eax, dword [ebp - 0x638]
cmp eax, 1
je 0x10009b5e
cmp eax, 2
jne 0x10009b70
cmp dword [ebp - 0x630], 0
jne 0x10009b70
xor eax, eax
mov word [ebp - 0x628], ax
mov esi, dword [ebp - 0x634]
lea eax, [ebp - 0x628]
push eax
push esi
call fcn.10048418
add esp, 8
test eax, eax
je 0x10009bbb
test esi, esi
je 0x10009bbb
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009b93
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.Defragger
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009bd7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10009be0
xor esi, esi
test edi, edi
je 0x10009beb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002810
int3
Function at 0x1000b040
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10043b10
add esp, 0xc
mov dword [ebp - 0x418], 0x104
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.Defragger
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x20c], 0
jne 0x1000b12e
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.10043b10
add esp, 0xc
mov dword [ebp - 0x418], 0x104
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.Defragger
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x414], 0
jne 0x1000b12e
push str.Defragger
call fcn.1000ad80
add esp, 4
test eax, eax
jne 0x1000b12e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
Function at 0x1000b150
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100695eb
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x219]
call fcn.100097f0
mov esi, eax
call fcn.100031c0
mov ecx, eax
test ecx, ecx
je 0x1000b2f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.10002830
test al, al
jne 0x1000b22c
test esi, esi
jne 0x1000b20a
xor ecx, ecx
jmp 0x1000b21f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b210
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x220]
call fcn.100037a0
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push esi
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1006e35c
mov eax, 0x1006e358
cmove eax, ecx
push eax
push 0x1006c5dc
push 0x1006e360
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000b288
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 8], 0
je 0x1000b29e
call fcn.10009c20
test eax, eax
jne 0x1000b2d3
call fcn.100099b0
jmp 0x1000b2d8
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.Defragger
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call esi
push str.Defragger
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.Defragger
call fcn.1000ab30
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10002810
int3
Function at 0x1000f7f0
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069afb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
jne 0x1000f9a7
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x1008c308]
test al, 1
jne 0x1000f87a
or eax, 1
mov dword [0x1008c304], 0
mov dword [0x1008c308], eax
mov byte [ebp - 0x229], 0
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 0
push eax
call fcn.1001c340
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 1
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x229]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x240]
push eax
push 0x1000ee40
push 0x1008c304
call fcn.1001c7f6
add esp, 0x10
test eax, eax
je 0x1000f9c2
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 2
push eax
call fcn.1001c37a
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
push 0x1008c30c
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000f9a7
lea eax, [ebp - 0x228]
push eax
call fcn.10029bc0
add esp, 4
test eax, eax
je 0x1000f9a7
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1000f9a7
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x4c746547
push eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x1c], 0x78456175
mov dword [ebp - 0x18], 0x69616c70
mov word [ebp - 0x14], 0x6e
call fcn.1000f2b0
push dword [ebp - 0x230]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x230]
mov edi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000f995
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x1000f9a7
call edi
mov dword [esi], eax
test eax, eax
je 0x1000f9a7
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 3
push eax
call fcn.1001c39b
add esp, 4
mov byte [ebp - 4], 1
test al, al
jne 0x1000f9e2
call fcn.1001c80e
sub esp, 8
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.100024c0
call fcn.10004140
int3
Function at 0x10011b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100891f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x5c]
mov dword [edi], 0xb18c5a78
mov dword [edi + 4], 0x34f1cc93
mov dword [edi + 8], 0x26a862d
mov dword [edi + 0xc], 0xb47b5e45
mov dword [edi + 0x10], 0x8a1fb40b
mov dword [edi + 0x14], 0x96d88b7f
mov dword [edi + 0x18], 0x4f9fa12d
mov dword [edi + 0x1c], 0x89f60427
mov dword [edi + 0x20], 0x88328cf0
mov dword [edi + 0x24], 0xc8445ffd
mov dword [edi + 0x28], 0x43e99d4c
mov dword [edi + 0x2c], 0x7777fbd8
mov dword [edi + 0x30], 0xace3eeae
mov dword [edi + 0x34], 0xfbb86346
mov dword [edi + 0x38], 0x2eecb99
mov dword [edi + 0x3c], 0x4632ce24
mov dword [edi + 0x40], 0xd675abc6
mov dword [edi + 0x44], 0x5993d793
mov dword [edi + 0x48], 0xefae7b7d
mov dword [edi + 0x4c], 0x53821f02
mov dword [edi + 0x50], 0x13d3578e
mov word [edi + 0x54], 0x5633
mov byte [edi + 0x56], 0x35
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [edi + 0x58], 0
mov ecx, esi
mov eax, dword [esi]
push esi
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x736d6864
mov dword [ebp - 0x18], 0xc
mov dword [esi + 4], eax
call fcn.100119e0
mov eax, dword [esi]
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012180
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x127c
call fcn.100264e0
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1008c338]
test eax, eax
je 0x10012379
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10012379
push esi
push dword [0x1008c338]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x1008c338]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x1008c334]
call esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x1225]
call fcn.10011da0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call sym.nativeutils.dll_CheckSign
test eax, eax
je 0x10012378
xorps xmm0, xmm0
mov dword [ebp - 0x127c], 0x44
lea eax, [ebp - 0x127c]
movlpd qword [ebp - 0x1278], xmm0
push eax
movlpd qword [ebp - 0x1270], xmm0
movlpd qword [ebp - 0x1268], xmm0
movlpd qword [ebp - 0x1260], xmm0
movlpd qword [ebp - 0x1258], xmm0
movlpd qword [ebp - 0x1250], xmm0
movlpd qword [ebp - 0x1248], xmm0
movlpd qword [ebp - 0x1240], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x1250], 1
mov word [ebp - 0x124c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x1224]
push eax
movups xmmword [ebp - 0x1238], xmm0
call fcn.10012390
push 0x1000
lea eax, [ebp - 0x120c]
push 0
push eax
call fcn.10043b10
cmp dword [ebp - 0x1210], 0x10
lea eax, [ebp - 0x1224]
cmovae eax, dword [ebp - 0x1224]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x120c]
push str.__s___hs__fromdefragger
push eax
call fcn.10011b50
add esp, 0x20
lea eax, [ebp - 0x1238]
push eax
lea eax, [ebp - 0x127c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10012342
push dword [ebp - 0x1234]
call esi
push dword [ebp - 0x1238]
call esi
mov edx, dword [ebp - 0x1210]
cmp edx, 0x10
jb 0x10012378
mov ecx, dword [ebp - 0x1224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001236e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012387
push edx
push ecx
call fcn.1002615b
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
call fcn.10046ec3
int3
Function at 0x100127c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x127c
call fcn.100264e0
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x1225]
call fcn.10011da0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call sym.nativeutils.dll_CheckSign
test eax, eax
jne 0x10012845
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x127c], 0x44
push edi
lea eax, [ebp - 0x127c]
movlpd qword [ebp - 0x1278], xmm0
push eax
movlpd qword [ebp - 0x1270], xmm0
movlpd qword [ebp - 0x1268], xmm0
movlpd qword [ebp - 0x1260], xmm0
movlpd qword [ebp - 0x1258], xmm0
movlpd qword [ebp - 0x1250], xmm0
movlpd qword [ebp - 0x1248], xmm0
movlpd qword [ebp - 0x1240], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x1250], 1
mov word [ebp - 0x124c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x1224]
push eax
movups xmmword [ebp - 0x1238], xmm0
call fcn.10012390
push 0x1000
lea eax, [ebp - 0x120c]
push 0
push eax
call fcn.10043b10
cmp dword [ebp - 0x1210], 0x10
lea eax, [ebp - 0x1224]
cmovae eax, dword [ebp - 0x1224]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x120c]
push str.__s___hs__fromdefragger
push eax
call fcn.10011b50
add esp, 0x20
lea eax, [ebp - 0x1238]
push eax
lea eax, [ebp - 0x127c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
jne 0x10012953
push dword [ebp - 0x1234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1210]
cmp edx, 0x10
jb 0x10012989
mov ecx, dword [ebp - 0x1224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001297f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001299a
push edx
push ecx
call fcn.1002615b
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.100264cc
mov esp, ebp
pop ebp
ret
call fcn.10046ec3
int3
Function at 0x10012b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x20d]
call fcn.10012a70
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10012bd4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10012bfe
push 0x1006e8c4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012bfe
push 0x1006e1fc
call eax
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100264cc
mov esp, ebp
pop ebp
ret

Function at 0x10012c10
Capabilities:
Acquire debug privileges
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10012c71
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x1008c398], 0
je 0x10012c8b
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x10012ce0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x1008c398], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
Function at 0x10013130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x29c], 1
mov dword [ebp - 0x298], 0x104
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x298]
lea ecx, [ebp - 0x291]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x29c]
push eax
push 0x1006c600
call fcn.10012ef0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xfde9
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x290]
call fcn.10005220
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
test edi, edi
je 0x100131f2
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, ecx
jle 0x100131e5
xor esi, esi
jmp 0x100131f2
push dword [ebp - 0x290]
push ecx
push edi
call fcn.10013220
mov eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x28c]
cmp eax, ecx
je 0x1001320b
push eax
call fcn.10046fa0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100264cc
mov esp, ebp
pop ebp
ret 8