joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002f360
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adcab
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x46c], edi
mov eax, ecx
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x480], edi
xor esi, esi
mov dword [ebp - 0x478], esi
cmp dword [eax + 0x10], esi
je 0x1002f3f3
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x470], ebx
cmp ebx, 0xffffffff
je 0x1002f3f3
mov dword [ebp - 0x468], 0x22c
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1002f403
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1002f448
mov ebx, dword [ebp - 0x470]
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1002f43f
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x474]
call fcn.1000eb30
push eax
call fcn.10081e9e
add esp, 8
test eax, eax
jne 0x1002f403
cmp dword [edi + 0x10], eax
jne 0x1002f464
mov esi, dword [ebp - 0x460]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x460]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1002f3fd
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push eax
lea eax, [ebp - 0x21e]
push eax
call fcn.1007f340
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1002f3fd
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.1000fb40
mov byte [ebp - 4], 1
push 0
push dword [ebp - 0x46c]
mov ecx, eax
call fcn.1001a070
cmp eax, 0xffffffff
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100103e0
test bl, bl
je 0x1002f509
mov dword [ebp - 4], 0xffffffff
jmp 0x1002f3f7
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x460]
mov dword [ebp - 0x478], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002f3f7
Function at 0x1002f600
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, eax
mov dword [ebp - 0x80], ecx
test ecx, ecx
jne 0x1002f645
or eax, 0xffffffff
jmp 0x1002f7ed
mov eax, 0x10
mov dword [ebp - 0x84], 0
jmp 0x1002f660
add eax, eax
mov dword [ebp - 0x88], eax
lea esi, [eax*4]
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x7c], edi
test edi, edi
je 0x1002f7e8
lea eax, [ebp - 0x84]
push eax
push esi
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x1002f7e1
mov ebx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x80]
cmp ebx, esi
je 0x1002f660
shr ebx, 2
xor esi, esi
test ebx, ebx
jle 0x1002f7ba
lea ecx, [ecx]
mov edi, dword [edi + esi*4]
test edi, edi
je 0x1002f7ae
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1002f7ae
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ecx
push ecx
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.10030750
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x1002f782
lea ecx, [ebp - 0x74]
call fcn.1002f2c0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x74], edi
call fcn.1002dac0
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x70]
call fcn.10004bb0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 8
jb 0x1002f756
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
call fcn.10030c30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.1002f560
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x1002f79a
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov edi, dword [ebp - 0x7c]
inc esi
cmp esi, ebx
jl 0x1002f6c0
push edi
push 0
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1002f7ed
mov eax, 0xfffffffd
jmp 0x1002f7ed
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
Function at 0x1002f810
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
push 0
push eax
mov dword [ebp - 0x10], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], 0
call fcn.1007f340
mov esi, dword [ebp + 8]
xor eax, eax
cmp byte [ebp + 0x14], al
mov ecx, 5
cmovne eax, ecx
mov word [ebp - 0x24], ax
mov eax, dword [esi + 0x10]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
neg ecx
or ecx, eax
push ecx
call fcn.1007d096
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1002f888
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
inc eax
push eax
push 0
push edi
call fcn.1007f340
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1002f8a0
mov esi, dword [esi]
push ebx
push esi
push 0x100bdce0
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ecx + 0x10], 0
mov bl, 1
ja 0x1002f8c0
xor esi, esi
jmp 0x1002f8c7
call fcn.1000eb30
mov esi, eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x10], 0
ja 0x1002f8d4
xor ecx, ecx
jmp 0x1002f8db
call fcn.1000eb30
mov ecx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
cmp byte [ebp + 0x18], al
push esi
push 0
setne al
push 0x20
push eax
push 0
push 0
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1002f905
xor bl, bl
jmp 0x1002f952
cmp byte [ebp + 0x1c], 0
je 0x1002f920
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002f920
push dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1002f901
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x1002f93a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002f93a
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1002f901
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x1002f946
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x1002f952
mov eax, dword [ebp - 8]
mov dword [ecx], eax
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
call esi
push edi
mov dword [ebp - 0xc], 0
call fcn.1007f59b
add esp, 4
mov al, bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10030370
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10033480
test eax, eax
jne 0x10030399
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100303ed
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret

Function at 0x10030400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ade98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x10030449
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
call fcn.100304d0
mov dword [esp + 0x38], 0
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push str.system
push eax
call fcn.10081e9e
add esp, 8
test eax, eax
sete bl
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x1003049a
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [esp + 0x10], ax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
Function at 0x100304d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100add5d
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x100d65e8]
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
mov dword [ebp - 0x444], 0
mov edi, dword [edx]
mov dword [ebp - 0x454], esi
test edi, edi
jne 0x1003051d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.1007f340
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.1007f340
add esp, 0x18
xor eax, eax
push 0x10
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.SeDebugPrivilege
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x44c], 0x104
mov dword [ebp - 0x448], 0x104
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.1000f9f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.10030120
mov byte [ebp - 4], 0
cmp dword [ebp - 0x424], 8
jb 0x100305ee
push dword [ebp - 0x438]
call fcn.1007d9ed
add esp, 4
xor eax, eax
push edi
push eax
push 0x400
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100306ce
lea ecx, [ebp - 0x440]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100306ce
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
push 0
push 1
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x10030664
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100306ce
push dword [ebp - 0x43c]
call fcn.1007f5f5
mov edi, eax
add esp, 4
test edi, edi
je 0x100306ce
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
push edi
push 1
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x100306c5
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [edi]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push edi
call fcn.1007f5bd
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x100306ee
xor ecx, ecx
jmp 0x10030706
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100306f7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.1000f9f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x444], 1
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.1007e654
mov esp, ebp
pop ebp
ret
Function at 0x10030750
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
push 0
mov esi, ecx
push 0x100bd6c4
mov ecx, edi
call fcn.1000f9f0
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1007f340
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x105
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x100307e0
cmp word [ebp - 0x210], 0
jne 0x100307b2
xor eax, eax
jmp 0x100307cf
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
jmp 0x100307c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100307c0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.1000f9f0
mov edi, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007e654
mov esp, ebp
pop ebp
ret
Function at 0x10030950
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adc25
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov esi, ecx
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x464], 0
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x454], ebx
mov dword [ebp - 4], 1
test eax, eax
jne 0x100309bf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x460], eax
test eax, eax
jne 0x100309f1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
jmp 0x10030b5f
push 0x424
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.1007f340
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x460]
mov dword [ebp - 0x450], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x10030a4d
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x10030b41
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x10030b33
mov esi, dword [ebp - 0x460]
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x10030a80
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x230], ax
je 0x10030ac3
lea eax, [ebp - 0x230]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10030ab4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000f9f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x45c]
call fcn.10025e40
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x10030afb
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x450]
push eax
push esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call edi
test eax, eax
jne 0x10030a80
mov ebx, dword [ebp - 0x458]
mov edi, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x468]
mov eax, dword [ebp - 0x454]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x464], 1
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
Function at 0x10033480
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.1007f340
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1003353a
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x100334e8
cmp dword [ebp - 0x110], 1
jne 0x1003353a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x1003353a
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x1003350a
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10033522
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1003353a
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
call fcn.1007e654
mov esp, ebp
pop ebp
ret

Function at 0x10034780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 8
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
jb 0x100347a6
mov eax, dword [eax]
lea edx, [ebp - 0x418]
push edx
push 0x20019
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100347d5
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 0x10
push ebx
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
xor bl, bl
call fcn.1007f340
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
mov ecx, edi
mov dword [ebp - 0x41c], 0x410
call fcn.1000eb30
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10034842
cmp dword [ebp - 0x420], 4
jne 0x10034842
mov ecx, dword [ebp - 0x414]
mov bl, 1
mov dword [esi], ecx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.1007e654
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10034ab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x10034ac6
mov edx, dword [edx]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x18]
push 0
or eax, 0x2001b
push eax
push 0
push 0
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10034af2
xor al, al
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x10034b00
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x14], 8
jb 0x10034b0b
mov edx, dword [edx]
push ebx
lea eax, [eax*2 + 2]
push eax
push ecx
push dword [ebp + 0x14]
mov bl, 1
push 0
push edx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x10034b50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x10034b66
mov eax, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x2001b
push 0
push 0
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10034b8e
xor al, al
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x10034b99
mov eax, dword [eax]
push ebx
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
push eax
push dword [ebp - 4]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10036890
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100aec1b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.1000feb0
mov dword [esp + 0xa8], 0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10036930
push 0x14
push str.dwIr23Cew_T_R471_
lea ecx, [esp + 0x14]
call fcn.10010240
mov ecx, dword [esp + 0x1c]
test esi, esi
je 0x100369bb
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push ecx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], 0x67452301
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
call fcn.10037a60
cmp byte [esp + 0x8c], 0
jne 0x100369a4
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 1
call fcn.10037b10
push ecx
lea eax, [esp + 0x80]
push eax
mov edx, esi
mov ecx, edi
call fcn.10036680
add esp, 8
mov esi, eax
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x100369d9
push dword [esp + 0xc]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret