joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d208
Capabilities:
Check os version
Contain obfuscated stackstrings
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
xor edi, edi
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x124], ebx
call fcn.1003e9c0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000d2a9
cmp dword [ebp - 0x11c], 5
jne 0x1000d2a9
cmp dword [ebp - 0x118], 1
jne 0x1000d2a9
push 3
pop eax
cmp word [ebp - 0xc], ax
jae 0x1000d2a9
push edi
push 0x80
push eax
push edi
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000d2a9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000d2bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret
push edi
call fcn.1003865f
push edi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x148], ebx
call fcn.1003e9c0
and dword [ebp - 0x14c], 0
lea eax, [ebp - 0x14c]
add esp, 0x10
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000d2fc
push ebx
call fcn.100389bf
pop ecx
jmp 0x1000d2a2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x124]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov word [ebp - 0x124], 0xe319
mov eax, dword [ebp - 0x148]
lea esi, [ebp - 0x144]
mov cx, word [ebp - 0x124]
xor edx, edx
push 7
mov dword [ebp - 0x12c], edx
mov word [eax + 0x150], cx
lea edi, [eax + 0x18f7]
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], edx
mov word [ebp - 0x124], 0x1818
mov cx, word [ebp - 0x124]
mov word [eax + 0x194], cx
pop ecx
mov dword [ebp - 0x144], 0x75646f4d
mov dword [ebp - 0x140], 0x6148656c
mov dword [ebp - 0x13c], 0x656c646e
mov dword [ebp - 0x138], 0x41
mov byte [ebp - 0x128], dl
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
push 0x1818
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x134], edx
lea edi, [eax + 0x3417f]
mov dword [ebp - 0x130], edx
lea esi, [ebp - 0x144]
mov word [ebp - 0x12c], dx
add eax, 0x37600
mov byte [ebp - 0x12a], dl
mov dword [ebp - 0x144], 0x75646f4d
mov dword [ebp - 0x140], 0x6148656c
mov dword [ebp - 0x13c], 0x656c646e
mov dword [ebp - 0x138], 0x41
rep movsd dword es:[edi], dword [esi]
push 0x10143b38
push eax
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.1003da60
mov edi, dword [ebp - 0x148]
lea eax, [ebp - 0x14c]
add esp, 0xc
push 0
push eax
push 0x38e18
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call fcn.100389bf
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1000d2ab
Function at 0x1000d44b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
push ebx
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000d4ff
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push 0x100ec538
push 0x15
push esi
push 0x100ec5f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1000d4ff
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1000d4ff
lea edx, [ebp - 8]
mov dword [ebp - 8], esi
mov eax, dword [ecx]
push edx
push 0x100ec608
push ecx
call dword [eax]
test eax, eax
js 0x1000d4f6
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x1000d4f6
mov eax, dword [ecx]
push esi
push ebx
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x1000d4e0
mov eax, dword [ebp - 4]
push 1
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
js 0x1000d4e0
mov eax, dword [ebp - 4]
push esi
push esi
push 0x208
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x1000d4e0
cmp word [edi], si
je 0x1000d4e0
inc esi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
jmp 0x1000d501
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d803
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x674
mov eax, dword [0x1013a420]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
push esi
mov dword [esp + 0x18], ebx
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000d83c
xor eax, eax
jmp 0x1000d976
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push esi
call ebx
test eax, eax
je 0x1000d835
xor eax, eax
push 0x206
push eax
mov word [esp + 0x478], ax
lea eax, [esp + 0x47a]
push eax
call fcn.1003e9c0
push esi
lea eax, [esp + 0x480]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x1000d960
xor eax, eax
push 0x206
push eax
mov word [esp + 0x270], ax
lea eax, [esp + 0x272]
push eax
call fcn.1003e9c0
lea eax, [esp + 0x50]
push eax
push esi
lea eax, [esp + 0x27c]
push 0x1012df4c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
test byte [esp + 0x18], 0x10
je 0x1000d910
push 0x1012df58
lea eax, [esp + 0x48]
push eax
call ebx
test eax, eax
je 0x1000d93f
push 0x1012df5c
lea eax, [esp + 0x48]
push eax
call ebx
test eax, eax
je 0x1000d93f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x268]
call fcn.1000d803
jmp 0x1000d93d
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
push str._.aac_.aa_.ac3_.aa_.aif_.aifc_.aiff_.ape_.au_.snd_.cue_.cda_.dts_dstwav_.flac_.fla_.kgm_.mid_.midi_.rmi_.mp3_.m4a_.mp4_0.mpc_.mp_.ogg_.wav_.wma_.db_.krc_
call fcn.10038cb5
pop ecx
pop ecx
test eax, eax
jne 0x1000d93f
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000d89e
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
je 0x1000d974
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
mov eax, edi
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1000d98b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ebp - 0xc], edx
push edi
push 0x80
push 3
push edi
push edi
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000da9c
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003865f
lea esi, [esi*2 + 2]
mov dword [ebp - 4], eax
push esi
push edi
push eax
call fcn.1003e9c0
add esp, 0x10
mov dword [ebp - 8], edi
lea eax, [ebp - 8]
push edi
push eax
push esi
mov esi, dword [ebp - 4]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000da8d
mov ecx, esi
call fcn.10011a1a
push str._channel_id_
push eax
mov dword [ebp - 0x14], eax
call fcn.10038cb5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1000da81
push str._channel_id_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x30
lea eax, [esi + eax*2]
pop esi
push 0x39
pop edx
mov dword [ebp - 0x10], edx
jmp 0x1000da4f
cmp cx, si
jb 0x1000da4c
cmp cx, dx
jbe 0x1000da57
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x1000da42
movzx ecx, word [eax]
test cx, cx
je 0x1000da81
mov edx, dword [ebp - 0xc]
cmp cx, si
jb 0x1000da81
cmp cx, word [ebp - 0x10]
ja 0x1000da81
add eax, 2
mov word [edx], cx
xor edi, edi
add edx, 2
inc edi
movzx ecx, word [eax]
test cx, cx
jne 0x1000da62
push dword [ebp - 0x14]
call fcn.100389bf
mov esi, dword [ebp - 4]
pop ecx
push esi
call fcn.100389bf
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000db67
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0xa674
call fcn.10041750
mov eax, dword [0x1013a420]
xor eax, esp
mov dword [esp + 0xa670], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x206
push eax
mov word [esp + 0x478], ax
mov esi, edx
lea eax, [esp + 0x47a]
mov dword [esp + 0x1c], esi
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
call fcn.1003e9c0
push esi
lea eax, [esp + 0x480]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
push 0x9ffe
push eax
mov word [esp + 0x698], ax
lea eax, [esp + 0x69a]
push eax
call fcn.1003e9c0
add esp, 0x24
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000dc99
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [esp + 0xc]
test byte [esp + 0x18], 0x10
jne 0x1000dc7c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x67c]
push eax
call ebx
push 0x1012de54
lea eax, [esp + 0x67c]
push eax
call ebx
xor eax, eax
push 0x206
push eax
mov word [esp + 0x270], ax
lea eax, [esp + 0x272]
push eax
call fcn.1003e9c0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, edi
lea ecx, [esp + 0x268]
call fcn.1000daa4
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000dc12
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call edi
mov ebx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x474]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000dd48
mov edi, dword [esp + 0xc]
test byte [esp + 0x18], 0x10
jne 0x1000dd2f
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x67c]
push eax
call fcn.10038cb5
pop ecx
pop ecx
test eax, eax
je 0x1000dd2f
xor eax, eax
push 0x206
push eax
mov word [esp + 0x270], ax
lea eax, [esp + 0x272]
push eax
call fcn.1003e9c0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push ebx
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, edi
lea ecx, [esp + 0x268]
call fcn.1000daa4
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000dcce
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call edi
mov ecx, dword [esp + 0xa67c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1000dd5d
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0xa670
call fcn.10041750
mov eax, dword [0x1013a420]
xor eax, esp
mov dword [esp + 0xa66c], eax
push esi
push edi
xor eax, eax
mov dword [esp + 0xc], edx
push 0x206
push eax
mov word [esp + 0x268], ax
mov esi, ecx
lea eax, [esp + 0x26a]
push eax
call fcn.1003e9c0
push esi
lea eax, [esp + 0x270]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
push 0x9ffe
push eax
mov word [esp + 0x690], ax
lea eax, [esp + 0x692]
push eax
call fcn.1003e9c0
add esp, 0x24
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000de30
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
test byte [esp + 0x10], 0x10
jne 0x1000de19
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x674]
push eax
call esi
push 0x1012de54
lea eax, [esp + 0x674]
push eax
call esi
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000ddf4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x260]
push edi
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000dedd
test byte [esp + 0x10], 0x10
jne 0x1000dec6
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x674]
push eax
call fcn.10038cb5
pop ecx
pop ecx
test eax, eax
je 0x1000dec6
xor eax, eax
push 0x206
push eax
mov word [esp + 0x470], ax
lea eax, [esp + 0x472]
push eax
call fcn.1003e9c0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push edi
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000de65
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xa674]
pop edi
pop esi
xor ecx, esp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1000df27
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareKuGoo6
push reloc.WS2_32.dll_accept
mov edi, ecx
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000dfe1
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x218], 1
call fcn.1003e9c0
add esp, 0xc
mov dword [ebp - 0x214], 0x208
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push str.AppFileName
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000dfe1
cmp word [ebp - 0x20c], si
je 0x1000dfe1
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
inc esi
cmp dword [ebp - 0x210], 0
je 0x1000dff6
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1003890f
mov esp, ebp
pop ebp
ret

Function at 0x1000e008
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1003e9c0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.1000df27
push str.KuGoo.exe
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1000e072
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x20c], ax
mov si, cx
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.1003e9c0
movzx eax, si
push eax
lea eax, [ebp - 0x20c]
push str.._c:
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push edi
push 3
push edi
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000e0e8
xor eax, eax
jmp 0x1000e192
push edi
lea eax, [ebp - 0x224]
mov dword [ebp - 0x218], edi
push eax
push 8
lea eax, [ebp - 0x220]
mov dword [ebp - 0x214], edi
push eax
push 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x224], edi
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000e189
push dword [ebp - 0x21c]
call fcn.1003865f
push dword [ebp - 0x21c]
mov esi, eax
push edi
push esi
call fcn.1003e9c0
add esp, 0x10
lea eax, [ebp - 0x224]
push edi
push eax
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push esi
push 0xc
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000e182
test esi, esi
je 0x1000e182
cmp dword [esi + 0x1c], 7
je 0x1000e182
xor edi, edi
inc edi
push esi
call fcn.100389bf
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1000ebc8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.10041750
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
test esi, esi
je 0x1000ed45
push edi
push 0xffe
mov word [ebp - 0x2004], ax
lea eax, [ebp - 0x2002]
push ebx
push eax
call fcn.1003e9c0
lea ecx, [esi + 8]
call fcn.10011a7f
mov edi, eax
lea eax, [ebp - 0x2004]
push edi
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push eax
call fcn.10039666
add esp, 0x18
mov dword [ebp - 0x2008], ebx
lea eax, [ebp - 0x2008]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x2004]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ed26
inc eax
mov dword [ebp - 0x200c], eax
xor eax, eax
push 0xffe
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push ebx
push eax
call fcn.1003e9c0
add esp, 0xc
mov dword [ebp - 0x2010], 0x1000
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x200c]
push eax
push ebx
push str.PnpInstanceID
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ed26
cmp word [ebp - 0x1004], 0x50
jne 0x1000ed26
cmp word [ebp - 0x1002], 0x43
jne 0x1000ed26
cmp word [ebp - 0x1000], 0x49
jne 0x1000ed26
call fcn.1000ee1c
test eax, eax
je 0x1000ece2
cmp dword [esi + 0x1a0], 6
sete bl
jmp 0x1000ed26
push 4
pop eax
mov dword [ebp - 0x200c], eax
mov dword [ebp - 0x2010], eax
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2014]
push eax
lea eax, [ebp - 0x200c]
push eax
push ebx
push str.MediaSubType
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ed26
inc eax
cmp dword [ebp - 0x2014], eax
cmove ebx, eax
push edi
call fcn.100389bf
cmp dword [ebp - 0x2008], 0
pop ecx
pop edi
je 0x1000ed43
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1000ed55
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, 0x288
mov dword [ebp - 8], ecx
push esi
xor ebx, ebx
call fcn.1003896e
mov edi, eax
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
pop ecx
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x1000ed97
push edi
call fcn.10038969
push dword [ebp - 4]
call fcn.1003865f
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
jne 0x1000ee08
mov esi, edi
test edi, edi
je 0x1000ee13
mov ecx, esi
call fcn.1000ebc8
test eax, eax
je 0x1000edbc
cmp dword [esi + 0x190], 6
jae 0x1000edc4
mov esi, dword [esi]
test esi, esi
jne 0x1000eda8
jmp 0x1000ee08
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X__02X__02X__02X__02X__02X
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_wsprintfW]
xor ebx, ebx
add esp, 0x20
inc ebx
test edi, edi
je 0x1000ee13
push edi
call fcn.10038969
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000ee1c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.1003e9c0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000ee79
cmp dword [ebp - 0x108], 2
jne 0x1000ee77
cmp dword [ebp - 0x114], 6
jb 0x1000ee77
xor esi, esi
inc esi
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1000eee3
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x288
mov dword [ebp - 0x90], ecx
push edi
call fcn.1003896e
mov esi, eax
mov dword [ebp - 0x8c], edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x8c]
pop ecx
push eax
push esi
mov dword [ebp - 0x94], esi
call edi
cmp eax, 0x6f
jne 0x1000ef49
push esi
call fcn.10038969
push dword [ebp - 0x8c]
call fcn.1003865f
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x8c]
push eax
push esi
call edi
test eax, eax
jne 0x1000f027
xor ecx, ecx
mov edi, esi
mov dword [ebp - 0x88], ecx
test esi, esi
je 0x1000f032
mov esi, ecx
cmp esi, 0x10
jge 0x1000f021
xor eax, eax
push 0x7e
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push ecx
push eax
call fcn.1003e9c0
mov eax, dword [edi + 0x190]
xor ecx, ecx
add esp, 0xc
mov ebx, ecx
test eax, eax
je 0x1000eff2
mov esi, dword [ebp - 0x90]
dec eax
cmp ebx, eax
movzx eax, byte [edi + ebx + 0x194]
push eax
lea eax, [ebp - 0x84]
jne 0x1000efc2
push str._02X
jmp 0x1000efc7
push str._02X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [edi + 0x190]
inc ebx
cmp ebx, eax
jb 0x1000efa7
mov esi, dword [ebp - 0x88]
xor ecx, ecx
mov edi, dword [edi]
inc esi
mov dword [ebp - 0x88], esi
test edi, edi
je 0x1000f021
mov ebx, dword [ebp - 0x90]
cmp word [ebx], cx
je 0x1000ef6f
push 0x1012b340
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor ecx, ecx
jmp 0x1000ef6f
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x1000f032
push esi
call fcn.10038969
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret

Function at 0x1000f16a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, ecx
cmp esi, 0x20
jl 0x1000f17d
or eax, 0xffffffff
jmp 0x1000f1ec
push ebx
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp esi, dword [ebp - 0x18]
cmovge esi, eax
xor edi, edi
inc edi
jmp 0x1000f1a8
add edi, edi
dec esi
test esi, esi
jg 0x1000f1a5
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
or esi, 0xffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x1000f1e8
cmp dword [ebp - 4], edi
je 0x1000f1e8
mov esi, dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, esi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret