joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e3244
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5e3452
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406bfc
mov eax, dword [ebp - 4]
call fcn.005e2b30
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x5e3296
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004072dc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.005e40c8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5e336b
xor eax, eax
push ebp
push 0x5e3364
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005e2e68
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.005e34bc
test al, al
je 0x5e3342
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406ce4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x5e3342
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00406c34
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x5e333c
mov eax, dword [ebp - 8]
call fcn.00406c34
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00406d64
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.005e3244
dec ebx
cmp ebx, 0xffffffff
jne 0x5e32f5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e336b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005e2e68
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x6e286c], 0
je 0x5e340f
cmp dword [0x6e2874], 0
je 0x5e33b2
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005e2e54
push eax
call dword [0x6e2874]
test eax, eax
sete bl
jmp 0x5e342f
cmp dword [0x6e2874], 0
jne 0x5e340f
push 0x5e3460
push 0x5e3480
call sub.kernel32.dll_LoadLibraryW
push eax
call fcn.0040a198
mov dword [0x6e2874], eax
cmp dword [0x6e2874], 0
je 0x5e340f
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005e2e54
push eax
call dword [0x6e2874]
test eax, eax
sete bl
jmp 0x5e342f
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005e2e54
push eax
call sub.advapi32.dll_RegDeleteKeyW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e3459
lea eax, [ebp - 0x3c]
call fcn.00406b98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ba0
ret
Function at 0x5e35d4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5e3706
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x5e36e8
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406bfc
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5e3660
inc ebx
xor esi, esi
cmp dword [ebp - 4], 0
jne 0x5e3637
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x5e365c
push dword [ebp - 4]
push 0x5e3720
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040705c
inc esi
dec ebx
jne 0x5e3622
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5e3679
lea eax, [ebp - 4]
mov edx, 0x5e3720
call fcn.00406f0c
lea eax, [ebp - 4]
mov edx, 0x5e3720
call fcn.00406f0c
mov esi, 7
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x5e3697
sub ebx, 4
mov ebx, dword [ebx]
mov eax, ebx
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
push esi
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406c34
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x5e36e8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x699d8c]
mov dl, 1
mov eax, dword [0x5e29f4]
call fcn.004792a0
call fcn.00405328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e370d
lea eax, [ebp - 0x14]
call fcn.00406b98
lea eax, [ebp - 4]
call fcn.00406b98
ret
Function at 0x5e3758
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5e386c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, esi
xor edx, edx
call fcn.00406ba8
mov dword [ebp - 0x10], edi
mov eax, edi
sar eax, 1
jns 0x5e379e
adc eax, 0
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5e3724]
call fcn.004084ec
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, ebx
call fcn.00406c34
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5e3828
cmp dword [ebp - 0xc], 7
jne 0x5e3828
xor ebx, ebx
jmp 0x5e381a
mov eax, dword [ebp - 4]
cmp word [eax + ebx*2], 0
je 0x5e380d
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
movzx edx, word [edx + ebx*2]
call fcn.00406d24
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00406f0c
jmp 0x5e3819
mov eax, esi
mov edx, 0x5e3888
call fcn.00406f0c
inc ebx
mov eax, edi
sar eax, 1
jns 0x5e3823
adc eax, 0
dec eax
cmp ebx, eax
jl 0x5e37e8
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5e3724]
call fcn.004084ec
add esp, 4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e3873
lea eax, [ebp - 0x14]
call fcn.00406b98
lea eax, [ebp - 4]
mov edx, dword [0x5e3724]
call fcn.0040860c
ret
Function at 0x5e3af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5e3ca3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor ebx, ebx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406bfc
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406c34
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, eax
test edi, edi
jne 0x5e3c4c
cmp dword [ebp - 0x14], 4
jne 0x5e3bc5
mov dword [ebp - 0x1c], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406c34
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, eax
test edi, edi
jne 0x5e3ba6
mov eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov bl, 1
jmp 0x5e3c66
lea edx, [ebp - 0x2c]
mov eax, edi
call fcn.004712c8
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 0x5e3cc4
call fcn.00406f8c
jmp 0x5e3c66
cmp dword [ebp - 0x14], 0xb
jne 0x5e3c2b
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406c34
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, eax
test edi, edi
jne 0x5e3c0f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov bl, 1
jmp 0x5e3c66
lea edx, [ebp - 0x30]
mov eax, edi
call fcn.004712c8
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 0x5e3cf4
call fcn.00406f8c
jmp 0x5e3c66
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.004714d4
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 0x5e3d24
call fcn.00406f8c
jmp 0x5e3c66
lea edx, [ebp - 0x38]
mov eax, edi
call fcn.004712c8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 4]
mov edx, 0x5e3d4c
call fcn.00406f8c
test bl, bl
jne 0x5e3c80
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00406f8c
mov eax, dword [ebp - 0x3c]
call fcn.005e2b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e3caa
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00406ba0
lea eax, [ebp - 4]
call fcn.00406b98
ret
Function at 0x5e3dfc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.005e2b48
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00406c34
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x5e3e5b
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x699d8c]
mov dl, 1
mov eax, dword [0x5e29f4]
call fcn.004792a0
call fcn.00405328
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5e3e64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00406c34
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x5e3ebc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x69a54c]
mov dl, 1
mov eax, dword [0x5e29f4]
call fcn.004792a0
call fcn.00405328
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.005e2b78
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5e3f0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5e4058
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
call fcn.005e2b48
mov dword [ebp - 0xc], eax
mov eax, esi
xor edx, edx
call fcn.00406ba8
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x5e3f61
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
jmp 0x5e3f64
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5e3ed8]
call fcn.004084ec
add esp, 4
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.00403bd8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, edi
call fcn.00406c34
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov ebx, eax
test ebx, ebx
jne 0x5e3fba
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00406d64
mov edx, dword [esi]
mov eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5e3fcd
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x802
jle 0x5e4022
mov eax, edx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x5e3fe5
sub esi, 4
mov esi, dword [esi]
push 0x5e4074
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.004712c8
push dword [ebp - 0x1c]
push 0x5e40b4
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.004712c8
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040705c
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dl, 1
call fcn.005e2adc
mov eax, dword [ebp - 0xc]
call fcn.005e2b78
mov edx, dword [ebp + 0xc]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e405f
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00406ba0
lea eax, [ebp - 4]
mov edx, dword [0x5e3ed8]
call fcn.0040860c
ret
Function at 0x5e4310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5e4427
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005e2e68
xor eax, eax
push ebp
push 0x5e4402
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005e34bc
test al, al
je 0x5e43e6
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005e41f0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406ce4
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x5e43e6
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
test eax, eax
jne 0x5e43e2
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00406d64
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005e41f0
pop ecx
inc edi
dec ebx
jne 0x5e4397
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e4409
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.005e2e68
ret
Function at 0x5e4438
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5e4679
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.005e2e68
xor eax, eax
push ebp
push 0x5e464f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005e34bc
test al, al
je 0x5e4633
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406ce4
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x5e4633
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x5e4627
mov eax, dword [ebp - 4]
call fcn.00406c34
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00406d64
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005e40c8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5e4627
xor eax, eax
push ebp
push 0x5e4620
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.005e2e68
xor eax, eax
push ebp
push 0x5e4602
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406c34
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00406d64
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005e2e6c
mov eax, dword [ebp - 4]
call fcn.00406c34
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00406d64
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005e40c8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5e45df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.005e4310
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.005e4438
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e45e6
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x5e44c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e4656
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.005e2e68
ret
Function at 0x5ea558
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
mov dword [ebp - 4], 1
xor edx, edx
push ebp
push 0x5ea706
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x120]
xor ecx, ecx
mov edx, 0x11c
call fcn.00403bd8
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
lea eax, [ebp - 0x144]
xor ecx, ecx
mov edx, 0x24
call fcn.00403bd8
push 0x5ea71c
push 0x5ea744
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040a198
test eax, eax
je 0x5ea5d7
lea edx, [ebp - 0x144]
push edx
call eax
jmp 0x5ea5e3
lea eax, [ebp - 0x144]
push eax
call sub.kernel32.dll_GetSystemInfo_1
cmp dword [ebp - 0x110], 2
jne 0x5ea6fc
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffffd
sub eax, 2
jae 0x5ea605
mov dword [ebp - 4], 2
cmp dword [ebp - 0x11c], 5
jne 0x5ea623
cmp dword [ebp - 0x118], 0
jne 0x5ea623
mov dword [ebp - 4], 3
jmp 0x5ea6fc
cmp dword [ebp - 0x11c], 5
jne 0x5ea641
cmp dword [ebp - 0x118], 1
jne 0x5ea641
mov dword [ebp - 4], 4
jmp 0x5ea6fc
cmp dword [ebp - 0x11c], 5
jne 0x5ea67b
cmp dword [ebp - 0x118], 2
jne 0x5ea67b
cmp byte [ebp - 6], 1
jne 0x5ea66f
cmp word [ebp - 0x144], 9
jne 0x5ea66f
mov dword [ebp - 4], 4
jmp 0x5ea6fc
mov dword [ebp - 4], 5
jmp 0x5ea6fc
cmp dword [ebp - 0x11c], 6
jne 0x5ea696
cmp dword [ebp - 0x118], 0
jne 0x5ea696
mov dword [ebp - 4], 6
jmp 0x5ea6fc
cmp dword [ebp - 0x11c], 6
jne 0x5ea6b1
cmp dword [ebp - 0x118], 1
jne 0x5ea6b1
mov dword [ebp - 4], 7
jmp 0x5ea6fc
cmp dword [ebp - 0x11c], 6
jne 0x5ea6d3
mov eax, dword [ebp - 0x118]
cmp eax, 2
je 0x5ea6ca
cmp eax, 3
jne 0x5ea6d3
mov dword [ebp - 4], 8
jmp 0x5ea6fc
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x5ea6f0
cmp dword [ebp - 0x118], 4
jne 0x5ea6f0
mov dword [ebp - 4], 0xa
jmp 0x5ea6fc
cmp eax, 0xa
jne 0x5ea6fc
mov dword [ebp - 4], 0xa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ea710
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ef384
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5ef420
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 0x5ef438
call fcn.005ee9ec
mov eax, ebx
xor edx, edx
call fcn.00406ba8
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x5ef3e8
mov eax, ebx
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00406db8
mov ecx, dword [ebx]
lea eax, [ebp - 0x210]
mov edx, 0x5ef464
call fcn.00406f8c
mov eax, dword [ebp - 0x210]
xor edx, edx
call fcn.005ee9ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ef427
lea eax, [ebp - 0x210]
call fcn.00406b98
ret

Function at 0x617b04
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
xor ecx, ecx
push ebp
push 0x617c2a
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
push ebp
push 0x617ba7
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push edx
push eax
call sub.shell32.dll_ShellExecuteW
mov ebx, eax
cmp ebx, 0x20
ja 0x617b9d
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00405e24
push dword [ebp - 0xc]
push 0x617c48
lea eax, [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov ecx, 0
call fcn.00405e24
push dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040604c
push 1
lea eax, [ebp - 4]
call fcn.00406270
push eax
call sub.kernel32.dll_WinExec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x617c07
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x617c31
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00405b60
lea eax, [ebp - 4]
call fcn.00405b3c
ret