joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7d00
Capabilities:
Encode data using xor
Get disk information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0xca]
push edx
mov word [ebp - 0x48], ax
mov dword [ebp - 0x46], eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov word [ebp - 0x32], ax
mov word [ebp - 0xcc], cx
call fcn.004e8ba0
mov eax, dword [0x526214]
mov ecx, dword [0x526218]
movzx edx, byte [ebp + 8]
add esp, 0xc
push 0x18
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x48]
push eax
mov word [ebp - 0x30], dx
lea ecx, [ebp - 0xe0]
push ecx
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xd4]
push eax
push 0x80
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4b7ead
lea eax, [ebp - 0xd0]
push eax
push 0x2001f
push 0
push str.SystemCurrentcontrolsetServicesWin_Win
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xd0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b7ead
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, dword [ebp - 0xd0]
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 0x28], al
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
lea eax, [ebp - 0xd8]
push eax
push 0
push 0x51d110
push ecx
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xdc], 0x1f
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0xd0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx eax, byte [ebp - 0x28]
movsx ecx, byte [ebp - 0x27]
lea eax, [eax + eax*4]
add eax, eax
add ecx, eax
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2]
movsx eax, byte [ebp - 0x26]
add eax, ecx
lea edx, [eax + eax*4]
movsx eax, byte [ebp - 0x25]
lea ecx, [ecx + edx*2]
add eax, ecx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
movsx eax, byte [ebp - 0x24]
add eax, ecx
lea edx, [eax + eax*4]
movsx eax, byte [ebp - 0x23]
lea ecx, [ecx + edx*2]
add eax, ecx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
movsx eax, byte [ebp - 0x22]
add eax, ecx
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*2]
mov eax, 1
shr ecx, 8
xor ecx, eax
inc eax
cmp eax, 0x2710
jb 0x4b7e85
cmp ecx, dword [ebp - 0xd4]
jne 0x4b7ead
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor ecx, ebp
xor eax, eax
call fcn.004e4746
mov esp, ebp
pop ebp
ret
Function at 0x4b7ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x18e
push eax
lea ecx, [ebp - 0x192]
push ecx
mov word [ebp - 0x194], ax
call fcn.004e8ba0
add esp, 0xc
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push edi
push esi
mov dword [ebp - 0x198], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4b7f2e
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4b7f1b
lea edx, [ebp - 0x194]
push ebx
push edx
call fcn.004f2bd4
mov ecx, dword [ebp - 4]
add esp, 8
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004e4746
mov esp, ebp
pop ebp
ret
Function at 0x4ba190
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x228
lea ecx, [ebp - 0x22c]
push 0
push ecx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], 0x22c
call fcn.004e8ba0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea edx, [ebp - 0x230]
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4ba23c
mov edi, dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004f2bd4
add esp, 8
test eax, eax
jne 0x4ba22a
lea edx, [ebp - 0x234]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x228]
push edx
push eax
call edi
cmp dword [ebp - 0x234], ebx
je 0x4ba255
lea ecx, [ebp - 0x230]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4ba1f2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
pop edi
xor ecx, ebp
pop esi
call fcn.004e4746
mov esp, ebp
pop ebp
ret
Function at 0x4badf0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x230], 0x22c
call fcn.004e8ba0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4bae72
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea esp, [esp]
lea edx, [ebp - 0x20c]
push edi
push edx
call fcn.004f2bd4
add esp, 8
test eax, eax
je 0x4bae8f
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x4bae50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 0x62
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x228]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
lea edx, [ebp - 0x234]
push edx
push eax
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4baef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x400
push 0x56828c
call esi
push 0x400
push 0x568274
call esi
push 0x400
push 0x56825c
call esi
push 0x400
push 0x568240
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x565dd4]
mov eax, dword [0x565cb4]
push 0x56d7ec
push 1
push 0
push 0x4bb2e0
push 0
push 0
mov dword [0x56d7f8], 1
mov dword [0x568238], ecx
mov dword [0x56823c], edx
mov dword [0x568258], eax
call fcn.004e564c
push 0x56d7f4
push 1
push 0
push 0x4bb870
push 0
push 0
mov dword [0x56d7e8], eax
call fcn.004e564c
add esp, 0x30
mov dword [0x56d7f0], eax
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4bafa0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x56828c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x14
call fcn.004e5379
add esp, 4
test eax, eax
je 0x4bafd1
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov esi, eax
jmp 0x4bafd3
xor esi, esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push esi
mov dword [esi + 0x10], eax
call dword [0x5662e0]
mov eax, dword [ebp + 8]
push esi
push eax
call dword [0x56631c]
add esp, 0xc
cmp dword [0x56d7c8], 0
jne 0x4bb009
mov dword [0x56d7c8], esi
jmp 0x4bb012
mov ecx, dword [0x56d7cc]
mov dword [ecx + 4], esi
push 0x56828c
mov dword [0x56d7cc], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x56d7e8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4bb040
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x56828c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x56d7c8]
mov eax, dword [0x56d7d8]
test edx, edx
jne 0x4bb06b
test eax, eax
je 0x4bb0bf
test edx, edx
je 0x4bb092
mov esi, dword [edi]
mov edi, dword [esi + 0x30]
mov ecx, dword [edx]
cmp dword [ecx + 0x30], edi
jne 0x4bb088
mov ebx, dword [ecx + 0x34]
cmp ebx, dword [esi + 0x34]
jne 0x4bb088
cmp dword [ecx + 0x88], 0
je 0x4bb0ef
mov edx, dword [edx + 4]
test edx, edx
jne 0x4bb070
mov edi, dword [ebp + 8]
test eax, eax
je 0x4bb0bf
mov edx, dword [edi]
mov esi, dword [edx + 0x30]
jmp 0x4bb0a0
mov ecx, dword [eax]
cmp dword [ecx + 0x30], esi
jne 0x4bb0b8
mov ebx, dword [ecx + 0x34]
cmp ebx, dword [edx + 0x34]
jne 0x4bb0b8
cmp dword [ecx + 0x88], 0
je 0x4bb0e1
mov eax, dword [eax + 4]
test eax, eax
jne 0x4bb0a0
push 0x14
call fcn.004e5379
add esp, 4
test eax, eax
je 0x4bb104
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov esi, eax
jmp 0x4bb106
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4bb0ef
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x56828c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 0x1001
pop ebx
pop ebp
ret
xor esi, esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push esi
mov dword [esi + 0x10], eax
call dword [0x5662e0]
push esi
push edi
call dword [0x56631c]
add esp, 0xc
cmp dword [0x56d7c8], 0
jne 0x4bb139
mov dword [0x56d7c8], esi
jmp 0x4bb141
mov eax, dword [0x56d7cc]
mov dword [eax + 4], esi
mov ecx, dword [0x56d7e8]
push ecx
mov dword [0x56d7cc], esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x56828c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4bb920
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x4bb985
cmp dword [ebp - 0x118], 0
jne 0x4bb985
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bb9a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x4bb9f6
mov eax, 1
cmp dword [ebp - 0x118], eax
je 0x4bb9f8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
Function at 0x4bba10
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, 2
cmp dword [ebp - 0x88], eax
jne 0x4bba82
cmp dword [ebp - 0x94], 5
jne 0x4bba82
cmp dword [ebp - 0x90], eax
jne 0x4bba82
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0xbc], 9
jne 0x4bba82
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbaa0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x4bbb11
cmp dword [ebp - 0x118], 2
jne 0x4bbb11
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x4bbb11
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbb30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x4bbba1
cmp dword [ebp - 0x118], 2
jne 0x4bbba1
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4bbba1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbbc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bbc1c
cmp dword [ebp - 0x118], 0
jne 0x4bbc1c
mov eax, 1
cmp byte [ebp - 6], al
je 0x4bbc1e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
Function at 0x4bbc30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bbc8b
mov eax, 1
cmp dword [ebp - 0x118], eax
jne 0x4bbc8b
cmp byte [ebp - 6], al
je 0x4bbc8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbca0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bbcfc
cmp dword [ebp - 0x118], 0
jne 0x4bbcfc
mov eax, 1
cmp byte [ebp - 6], al
jne 0x4bbcfe
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbd10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bbd6b
mov eax, 1
cmp dword [ebp - 0x118], eax
jne 0x4bbd6b
cmp byte [ebp - 6], al
jne 0x4bbd6d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbd80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bbddc
cmp dword [ebp - 0x118], 2
jne 0x4bbddc
mov eax, 1
cmp byte [ebp - 6], al
je 0x4bbdde
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbdf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bbe4c
cmp dword [ebp - 0x118], 3
jne 0x4bbe4c
mov eax, 1
cmp byte [ebp - 6], al
je 0x4bbe4e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
Function at 0x4bbe60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bbebc
cmp dword [ebp - 0x118], 2
jne 0x4bbebc
mov eax, 1
cmp byte [ebp - 6], al
jne 0x4bbebe
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbed0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bbf2c
cmp dword [ebp - 0x118], 3
jne 0x4bbf2c
mov eax, 1
cmp byte [ebp - 6], al
jne 0x4bbf2e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbf40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
jne 0x4bbf9c
cmp dword [ebp - 0x118], 0
jne 0x4bbf9c
mov eax, 1
cmp byte [ebp - 6], al
je 0x4bbf9e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bbfb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
jne 0x4bc00c
cmp dword [ebp - 0x118], 0
jne 0x4bc00c
mov eax, 1
cmp byte [ebp - 6], al
jne 0x4bc00e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret

Function at 0x4bc020
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4bc078
cmp dword [ebp - 0x118], 1
jne 0x4bc078
cmp byte [ebp - 6], 1
jne 0x4bc0b3
call fcn.004bbb30
test eax, eax
jne 0x4bc0b3
call fcn.004bbe60
test eax, eax
jne 0x4bc0b3
call fcn.004bbca0
test eax, eax
jne 0x4bc0b3
call fcn.004bbaa0
test eax, eax
jne 0x4bc0b3
call fcn.004bb920
test eax, eax
jne 0x4bc0b3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.004e4746
mov esp, ebp
pop ebp
ret
Function at 0x4bc150
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004e4746
mov esp, ebp
pop ebp
ret
Function at 0x4bc630
Capabilities:
Enumerate device drivers on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x110], 0
call fcn.004e8ba0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x103
lea edx, [ebp - 0x4ef]
push 0
push edx
mov byte [ebp - 0x4f0], 0
call fcn.004e8ba0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x4f0]
push str._sdriverquery.exe
push ecx
call fcn.004e5b0c
push 0xc7
lea edx, [ebp - 0x2df]
push 0
push edx
mov dword [ebp - 0x644], 0
call fcn.004e8ba0
mov ecx, 9
mov esi, str.SYSTEMCurrentControlSet_servicesSmrf
lea edi, [ebp - 0x2e0]
rep movsd dword es:[edi], dword [esi]
add esp, 0x24
lea eax, [ebp - 0x644]
push eax
push 1
push 0
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x2e0]
push ecx
push reloc.WS2_32.dll_bind
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4bc830
mov edx, dword [ebp - 0x644]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x103
lea eax, [ebp - 0x217]
push 0
push eax
mov byte [ebp - 0x218], 0
call fcn.004e8ba0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x218]
push str._sdriversSmrf.sys
push edx
call fcn.004e5b0c
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e6b4b
add esp, 0x20
test eax, eax
jne 0x4bc803
lea ecx, [ebp - 0x640]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea eax, [ebp - 0x64c]
push eax
lea ecx, [ebp - 0x62c]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [ebp - 0x500]
push edx
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x103
lea ecx, [ebp - 0x3e7]
push 0
push ecx
mov byte [ebp - 0x3e8], 0
call fcn.004e8ba0
movzx edx, word [ebp - 0x4fa]
movzx eax, word [ebp - 0x4fe]
movzx ecx, word [ebp - 0x500]
push edx
push eax
push ecx
lea edx, [ebp - 0x3e8]
push str._04u_02u_02u
push edx
call fcn.004e5b0c
push ebx
lea ebx, [ebp - 0x3e8]
call fcn.004b76c0
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov eax, 0x51fd14
mov edx, ebx
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4bc810
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov eax, 0x51fd14
mov edx, ebx
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4bc840
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret