joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdbfe00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0xdd58f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0xdbfed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00dbc7a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0xdbfe61
mov edx, dword [eax]
jmp 0xdbfe63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00dbe050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0xdbfebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xdbfebf
cmp esi, edi
je 0xdbfebf
mov ecx, esi
call fcn.00db7a00
push esi
call fcn.00dc51c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00dbc990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0xdbfef5
mov eax, dword [eax]
jmp 0xdbfef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00dbb640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0xdbff25
mov eax, dword [eax]
jmp 0xdbff27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0xdbff76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xdbff76
cmp esi, edi
je 0xdbff76
mov eax, dword [esi]
cmp eax, edi
je 0xdbff5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0xdbff6d
push eax
call fcn.00dc51c8
add esp, 4
push esi
call fcn.00dc51c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xdbff90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xdbfffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xdc0035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00dbfe00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xdbffc5
mov edi, 0xdda8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xdc0035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00dbfe00
add edi, 4
add esp, 0xc
cmp edi, 0xdda8c0
jb 0xdc0000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xdc0070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00dc6082
mov esi, eax
add esp, 8
test esi, esi
je 0xdc0107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xdc0102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00dc5946
add esp, 8
test eax, eax
je 0xdc00e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xdc00e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00dc5946
add esp, 8
test eax, eax
jne 0xdc00c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xdc0102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xdc0f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xdd59fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xdc1002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00dc4dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xdc1002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00dbc6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00dc520b
push 0x10
call fcn.00dc51d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xdc0fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00db11c0
jmp 0xdc0fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00dc0b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xdc0ff0
mov ecx, edi
call fcn.00db12c0
push edi
call fcn.00dc51c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xdc1021
inc ebx
cmp ebx, 0x20
jb 0xdc0f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xdc2250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdd6808
push 0xdc6288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xdc2329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xdc2329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00dc51d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xdc2329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xdc2329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xdc232c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00dc2351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xdc2d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xdc2d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xdc2d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xdc2d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xdc2d94
push eax
push esi
call fcn.00dc520b
add esp, 8
pop esi
ret 0x10

Function at 0xdc2da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xdc2e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xdc2e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xddb320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00dc4dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xdc2dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xdc2e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xdc2ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xdc2eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xddb320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00dc4dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xdc2eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xdc2e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xdc3000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xdc3131
push esi
call fcn.00dc6145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00db5080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xdc3131
push 0
push ebp
call fcn.00db53a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00db5260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xdc308b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00db52f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xdc3121
push 0xddb918
push edi
call fcn.00dc43f0
push eax
push ebx
push esi
call fcn.00dc2f60
push 0xddb8f8
push edi
call fcn.00dc43f0
push eax
push ebx
push esi
call fcn.00dc2f60
push 0xddb8d8
push edi
call fcn.00dc43f0
push eax
push ebx
push esi
call fcn.00dc2f60
push 0xddb8c0
push edi
call fcn.00dc43f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00dc2f60
push 0xddb8a0
push edi
call fcn.00dc43f0
push eax
push ebx
push esi
call fcn.00dc2f60
push 0xddb888
push edi
call fcn.00dc43f0
push eax
push ebx
push esi
call fcn.00dc2f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xdc41b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00dc4140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00dc4140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00dc4140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00dc4140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xdc4bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xdc4c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xdd687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xdc4c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xdc4c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1c22fc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x1c234e0
test edx, edx
je 0x1c234e0
call fcn.01c22fd7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x1c26cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.01c26cc9

Function at 0x1c32060
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x24
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x1cf4ecc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySection
push eax
call edi
mov dword [0x1d0ce88], eax
push str.NtQueryVirtualMemory
push esi
call edi
mov dword [0x1d0ce80], eax
push str.NtUnmapViewOfSection
push esi
call edi
mov dword [0x1d0ce84], eax
cmp dword [0x1d0ce88], 0
mov esi, 0xd
je 0x1c32166
cmp dword [0x1d0ce80], 0
je 0x1c32166
test eax, eax
je 0x1c32166
pcmpeqd xmm0, xmm0
lea esi, [ebp - 0x28]
movdqu xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi], fcn.01cbda20
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], edi
mov ecx, esi
call fcn.01c431b0
lea esi, [ebp - 0x2c]
mov dword [esi], edi
mov eax, 0x40
push esi
push eax
push eax
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1c32179
push 0x1cf4ecc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebp - 0x28]
push edi
push 0x40
push section..crthunk
push 0x1c31bb0
push edi
push str.NtMapViewOfSection
push 0x1c20000
push eax
call fcn.01c42db0
test eax, eax
js 0x1c32180
push esi
push 0x20
push 0x40
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebp
ret
mov esi, 0xf
jmp 0x1c32166
mov dword [0x1d0ce8c], eax
mov esi, 0x10
jmp 0x1c32166
Function at 0x1c34e50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x1c34ea0
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x1c34eae
mov edx, dword [ecx]
xor eax, eax
test edx, edx
je 0x1c34ea0
mov dword [ecx + 0xc], edx
mov esi, dword [ecx + 4]
cmp esi, 0x40
jb 0x1c34ea5
movzx edi, word [edx]
cmp edi, 0x5a4d
jne 0x1c34ea5
mov edi, dword [edx + 0x3c]
lea ebx, [edi + 0x18]
xor eax, eax
cmp ebx, esi
ja 0x1c34ea0
add edx, edi
cmp dword [edx], 0x4550
jne 0x1c34ea0
add edx, 4
mov dword [ecx + 0x10], edx
mov eax, edx
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ecx + 0xc], 0
jmp 0x1c34ea0
mov esi, dword [ecx + 4]
jmp 0x1c34e82

Function at 0x1c34ec0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x1c34ed8
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
test esi, esi
jne 0x1c34f28
test edi, edi
jne 0x1c34fab
mov edi, dword [ecx]
xor eax, eax
test edi, edi
je 0x1c34ed0
mov dword [ecx + 0xc], edi
mov ebx, dword [ecx + 4]
cmp ebx, 0x40
jb 0x1c34f78
movzx edx, word [edi]
cmp edx, 0x5a4d
jne 0x1c34f78
mov esi, dword [edi + 0x3c]
lea edx, [esi + 0x18]
xor eax, eax
cmp edx, ebx
ja 0x1c34ed0
add esi, edi
cmp dword [esi], 0x4550
jne 0x1c34ed0
add esi, 4
mov dword [ecx + 0x10], esi
jne 0x1c34f2b
jmp 0x1c34ed0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x14], esi
lea edx, [esi + 0x14]
mov esi, ebx
mov ebx, edx
sub ebx, edi
lea edi, [ebx + 2]
xor eax, eax
mov dword [ebp - 0x10], esi
cmp edi, esi
ja 0x1c34ed0
movzx edi, word [edx]
cmp edi, 0x10b
jne 0x1c34f84
mov dword [ecx + 8], 1
add ebx, 0xe0
mov edi, dword [ebp - 0x10]
cmp ebx, edi
mov esi, dword [ebp - 0x14]
ja 0x1c34ed0
cmp edi, 0xffffffff
je 0x1c34fa3
mov dword [ecx + 0x14], edx
mov eax, edx
jmp 0x1c34ed0
mov dword [ecx + 0xc], 0
jmp 0x1c34ed0
cmp edi, 0x20b
jne 0x1c34fb3
mov dword [ecx + 8], 2
lea edi, [ebx + 0xf0]
cmp edi, dword [ebp - 0x10]
jbe 0x1c34f55
jmp 0x1c34ed0
mov eax, dword [esi + 0x4c]
mov dword [ecx + 4], eax
jmp 0x1c34f6e
mov ebx, dword [ecx + 4]
jmp 0x1c34f08
mov dword [ecx + 8], 0
jmp 0x1c34ed0
Function at 0x1c3ecf0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0x220]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
test eax, eax
js 0x1c3ee3d
mov dword [ebp - 0x224], eax
mov ebx, 0xff
mov edi, 0x1d0dede
push ebx
push dword [ebp - 0x21c]
push edi
call fcn.01caba87
add esp, 0xc
push edi
call fcn.01cab194
add esp, 4
sub ebx, eax
push ebx
push 0x1cf7d56
push edi
call fcn.01caba87
add esp, 0xc
push esi
call sub.ntdll.dll_RtlFreeUnicodeString
lea esi, [ebp - 0x218]
push 0x208
push 0
push esi
call fcn.01c96880
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
push 0x104
push esi
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c3edaf
push eax
push esi
push edi
call fcn.01cabacc
add esp, 0xc
test eax, eax
je 0x1c3ee59
push 0x104
push esi
push str.PROGRAMFILES_X86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c3edda
push eax
push esi
push edi
call fcn.01cabacc
add esp, 0xc
test eax, eax
je 0x1c3ee59
xor eax, eax
mov byte [0x1d0dadd], al
mov dword [ebp - 0x218], 0
push 0x1cf5b1e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1cf7d98
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1c3ee60
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
mov ecx, edi
call dword [section..00cfg]
push esi
push ebx
call edi
test eax, eax
je 0x1c3ee60
cmp dword [ebp - 0x218], 0
setne cl
mov eax, dword [ebp - 0x224]
mov byte [0x1d0e0de], cl
mov byte [0x1d0dadc], 1
test eax, eax
setns bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 1
jmp 0x1c3eddc
xor ecx, ecx
jmp 0x1c3ee2a
Function at 0x1c3f060
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x1c3f085
mov eax, dword [ecx + 4]
test eax, eax
je 0x1c3f1dc
bt ebx, 8
jae 0x1c3f0a0
mov eax, ebx
and eax, 0x200
jne 0x1c3f1dc
cmp edi, 2
mov eax, 0x1d0dade
mov ecx, 0x1d0dcde
cmove ecx, eax
cmp word [ecx], 0
jne 0x1c3f1dc
xorps xmm0, xmm0
lea esi, [ebp - 0x34]
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x1c3f1dc
cmp byte [0x1d0e0de], 0
setne al
bt ebx, 8
jb 0x1c3f1dc
shr ebx, 9
and ebx, 1
or bl, al
je 0x1c3f1dc
cmp edi, 2
mov eax, 0x1cf7ddc
mov edx, 0x1cf7df0
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x1c3f1ee
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x4c], ecx
xor esi, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov edi, dword [edx + 4]
mov ebx, eax
sub ebx, edi
jb 0x1c3f16c
push edi
push dword [edx]
push dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], eax
call fcn.01ca7b28
mov edx, dword [ebp - 0x50]
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x48]
je 0x1c3f177
add edx, 0x14
inc esi
cmp esi, dword [ebp - 0x4c]
jb 0x1c3f145
jmp 0x1c3f1d6
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + edi*2]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x5c
jne 0x1c3f218
mov eax, dword [ebp - 0x38]
lea eax, [eax + edi*2]
mov esi, dword [edx + 8]
cmp esi, 2
jne 0x1c3f1a4
mov dword [ebp - 0x40], str.WOW6432Node
mov dword [ebp - 0x3c], eax
jmp 0x1c3f1a9
cmp esi, 1
je 0x1c3f225
cmp cx, 0x5c
mov dword [ebp - 0x44], esi
jne 0x1c3f1c4
lea ecx, [eax + 2]
dec ebx
cmp word [eax + 2], 0x5c
mov dword [ebp - 0x38], ecx
mov eax, ecx
je 0x1c3f1b2
jmp 0x1c3f1c7
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4c], eax
mov edx, dword [edx + 0xc]
xor esi, esi
mov eax, ebx
jmp 0x1c3f170
cmp dword [ebp - 0x44], 0
jne 0x1c3f1f8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x38], eax
mov eax, ecx
jmp 0x1c3f128
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x1c3f203
mov eax, dword [eax]
mov edx, dword [ebp - 0x3c]
sub edx, eax
sar edx, 1
mov ecx, dword [ebp + 8]
push dword [ebp - 0x40]
push edx
call fcn.01cd1d20
jmp 0x1c3f1dc
test ecx, ecx
jne 0x1c3f16c
jmp 0x1c3f18a
mov dword [ebp - 0x40], str.WOW6432Node_
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edi
jmp 0x1c3f1a9