joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409e22
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea ecx, [esi + 0x38]
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x417580
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor ecx, ecx
xor edx, edx
lea eax, [esi + 0x20]
inc edx
mov dword [eax + 4], ecx
mov dword [eax], 0x25
or eax, edx
mov edx, dword [ebp + 0x10]
push dword [edx + 4]
mov edi, edx
push ecx
push 0x455fc2
push eax
call fcn.00409670
add esp, 0x10
mov ebx, dword [edi + 4]
mov dword [esi + 0x10], esp
shr ebx, 9
xor eax, eax
inc eax
and ebx, eax
lea edi, [ebx + 0x16]
inc edi
sub esp, 0x18
lea eax, [esi + 0x28]
mov dword [esi + 8], esp
push eax
call fcn.00406762
add esp, 4
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x28]
push dword [eax + 4]
push dword [eax]
push edi
mov edi, dword [esi + 8]
push edi
call fcn.00418c09
add esp, 0x1c
mov ecx, edi
add eax, edi
push dword [ebp + 0x10]
push eax
mov edi, eax
push ecx
call fcn.004096da
add esp, 0xc
mov dword [esi + 0x14], eax
lea eax, [ebx + ebx + 0x2e]
and eax, 0xfffffffc
call fcn.00430010
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 4]
mov ebx, esp
push eax
call fcn.004031be
lea edx, [esi + 4]
lea eax, [esi + 0x38]
xor ecx, ecx
mov dword [eax + 8], ecx
lea eax, [esi + 0x18]
lea ecx, [esi + 0x1c]
push edx
push eax
push ecx
mov dword [esi + 0xc], ebx
push ebx
push edi
push dword [esi + 0x14]
push dword [esi + 8]
call fcn.00409726
add esp, 0x1c
mov ecx, dword [esi + 4]
xor eax, eax
mov edi, dword [ebp + 8]
mov dl, byte [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x409f3a
mov eax, dword [ecx]
call dword [eax + 4]
mov dl, byte [ebp + 0x14]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
movsx edx, dl
mov dword [esi + 0x40], 0xffffffff
push edx
push dword [ebp + 0x10]
push eax
push ecx
push dword [esi + 0xc]
push ebx
push edi
call fcn.004099a1
add esp, 0x1c
mov esp, dword [esi + 0x10]
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x40b3fc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea ecx, [esi + 0x38]
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x417610
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x20]
xor edi, edi
mov dword [ecx + 4], eax
mov dword [ecx], 0x25
mov eax, ecx
mov ecx, dword [ebp + 0x10]
inc edi
or eax, edi
push dword [ecx + 4]
mov ebx, ecx
push edi
push 0x455fc2
push eax
call fcn.00409670
add esp, 0x10
mov ebx, dword [ebx + 4]
mov dword [esi + 0x14], esp
shr ebx, 9
and ebx, edi
lea eax, [ebx + 0x17]
mov dword [esi + 4], eax
sub esp, 0x18
mov edi, esp
lea eax, [esi + 0x28]
mov dword [esi + 0xc], edi
push eax
call fcn.00406762
add esp, 4
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x28]
push dword [eax + 4]
push dword [eax]
push dword [esi + 4]
push edi
call fcn.00418c09
add esp, 0x1c
mov edi, eax
mov eax, dword [esi + 0xc]
add edi, eax
push dword [ebp + 0x10]
push edi
push eax
call fcn.004096da
add esp, 0xc
mov dword [esi + 4], eax
lea eax, [ebx*4 + 0x58]
call fcn.00430010
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 8]
mov ebx, esp
push eax
call fcn.004031be
lea edx, [esi + 8]
lea eax, [esi + 0x38]
xor ecx, ecx
mov dword [eax + 8], ecx
lea eax, [esi + 0x18]
lea ecx, [esi + 0x1c]
push edx
push eax
push ecx
mov dword [esi + 0x10], ebx
push ebx
push edi
push dword [esi + 4]
push dword [esi + 0xc]
call fcn.0040afb2
add esp, 0x1c
mov ecx, dword [esi + 8]
xor eax, eax
mov edi, dword [ebp + 8]
movzx edx, word [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x40b519
mov eax, dword [ecx]
call dword [eax + 4]
movzx edx, word [ebp + 0x14]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
movzx edx, dx
mov dword [esi + 0x40], 0xffffffff
push edx
push dword [ebp + 0x10]
push eax
push ecx
push dword [esi + 0x10]
push ebx
push edi
call fcn.0040b23f
add esp, 0x1c
mov esp, dword [esi + 0x14]
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x40b6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea ecx, [esi + 0x38]
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x417630
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor ecx, ecx
xor edx, edx
lea eax, [esi + 0x20]
inc edx
mov dword [eax + 4], ecx
mov dword [eax], 0x25
or eax, edx
mov edx, dword [ebp + 0x10]
push dword [edx + 4]
mov edi, edx
push ecx
push 0x455fc2
push eax
call fcn.00409670
add esp, 0x10
mov ebx, dword [edi + 4]
mov dword [esi + 0x10], esp
shr ebx, 9
xor eax, eax
inc eax
and ebx, eax
lea edi, [ebx + 0x16]
inc edi
sub esp, 0x18
lea eax, [esi + 0x28]
mov dword [esi + 8], esp
push eax
call fcn.00406762
add esp, 4
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x28]
push dword [eax + 4]
push dword [eax]
push edi
mov edi, dword [esi + 8]
push edi
call fcn.00418c09
add esp, 0x1c
mov ecx, edi
add eax, edi
push dword [ebp + 0x10]
push eax
mov edi, eax
push ecx
call fcn.004096da
add esp, 0xc
mov dword [esi + 0x14], eax
lea eax, [ebx*4 + 0x58]
call fcn.00430010
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 4]
mov ebx, esp
push eax
call fcn.004031be
lea edx, [esi + 4]
lea eax, [esi + 0x38]
xor ecx, ecx
mov dword [eax + 8], ecx
lea eax, [esi + 0x18]
lea ecx, [esi + 0x1c]
push edx
push eax
push ecx
mov dword [esi + 0xc], ebx
push ebx
push edi
push dword [esi + 0x14]
push dword [esi + 8]
call fcn.0040afb2
add esp, 0x1c
mov ecx, dword [esi + 4]
xor eax, eax
mov edi, dword [ebp + 8]
movzx edx, word [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x40b80a
mov eax, dword [ecx]
call dword [eax + 4]
movzx edx, word [ebp + 0x14]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
movzx edx, dx
mov dword [esi + 0x40], 0xffffffff
push edx
push dword [ebp + 0x10]
push eax
push ecx
push dword [esi + 0xc]
push ebx
push edi
call fcn.0040b23f
add esp, 0x1c
mov esp, dword [esi + 0x10]
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x40e114
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00416dfa
mov ebx, eax
test esi, esi
je 0x40e14d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x40e13a
movzx eax, word [eax]
jmp 0x40e141
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x40e14d
test bl, bl
jne 0x40e153
jmp 0x40e1b0
xor esi, esi
test bl, bl
jne 0x40e1a1
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x40e162
movzx eax, word [eax]
jmp 0x40e167
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
movzx eax, ax
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x40e192
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x40e18b
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x40e120
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x40e120
mov ecx, edi
call fcn.00416dfa
mov ebx, eax
test esi, esi
jne 0x40e1b9
jmp 0x40e1aa
mov ecx, edi
call fcn.00416dfa
mov ebx, eax
test bl, bl
jne 0x40e1d8
jmp 0x40e1de
mov ecx, edi
call fcn.00416dfa
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x40e1c6
movzx eax, word [eax]
jmp 0x40e1cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x40e1de
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x41a1e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.00430010
mov eax, dword [0x46510c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x465134]
cmp eax, 0xffffffff
je 0x41a32f
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x41a32f
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.00433350
add esp, 0xc
mov ecx, dword [0x465134]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.0041bac0
add esp, 8
test ebx, ebx
je 0x41a25b
push ebx
call fcn.0042fd35
add esp, 4
mov ecx, dword [0x4666ac]
mov edx, dword fs:[0x2c]
mov eax, dword [0x467624]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41a344
mov esi, dword [0x467620]
mov ecx, esi
call fcn.0041a6c0
lea eax, [ebp - 0x1410]
push 0xc00
push 0x466a20
push eax
call fcn.00433350
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_ReleaseSRWLockExclusive]
mov esi, 0x100
mov al, 1
test al, 1
jne 0x41a2cc
jmp 0x41a31f
cmp esi, 2
lea esi, [esi - 1]
jb 0x41a31f
test al, 1
je 0x41a31f
mov ebx, 0xfffff400
xor eax, eax
lea edi, [ebp - 0x810]
jmp 0x41a2e8
add edi, 8
add ebx, 0xc
je 0x41a2c0
mov ecx, dword [edi]
test ecx, ecx
je 0x41a2e0
cmp dword [ebp + ebx - 0x810], 0
je 0x41a2e0
mov edx, dword [edi + 4]
cmp edx, dword [ebp + ebx - 0x808]
jne 0x41a2e0
mov edx, dword [ebp + ebx - 0x80c]
test edx, edx
je 0x41a2e0
mov dword [edi], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x41a2e0
push 2
push dword [ebp - 0x1414]
call fcn.0041bac0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fd3a
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x467624
call fcn.0042fd72
add esp, 4
cmp dword [0x467624], 0xffffffff
jne 0x41a27c
push 4
call fcn.0042fcd4
add esp, 4
mov ecx, eax
mov esi, eax
call fcn.0041a6b0
mov dword [0x467620], esi
push 0x467624
call fcn.0042fde8
add esp, 4
jmp 0x41a27c

Function at 0x41a390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x465134]
cmp eax, 0xffffffff
je 0x41a3b0
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41a3c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x465134]
mov esi, ecx
cmp eax, 0xffffffff
je 0x41a3dd
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test al, 3
jne 0x41a3e2
call fcn.0041a4d0
mov ecx, dword [0x4666ac]
mov edx, dword fs:[0x2c]
mov eax, dword [0x467624]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41a482
mov edi, dword [0x467620]
mov ecx, edi
call fcn.0041a6c0
mov eax, dword [0x466a1c]
mov ecx, 0x100
inc eax
nop dword [eax + eax]
movzx edx, al
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x466a20], 0
je 0x41a436
inc eax
dec ecx
jne 0x41a420
jmp 0x41a466
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x466a20]
mov dword [0x466a1c], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x466a24], ecx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x466a28]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41a4c7
cmp eax, 0x100
jge 0x41a4ca
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x467624
call fcn.0042fd72
add esp, 4
cmp dword [0x467624], 0xffffffff
jne 0x41a403
push 4
call fcn.0042fcd4
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.0041a6b0
mov dword [0x467620], edi
push 0x467624
call fcn.0042fde8
add esp, 4
jmp 0x41a403
int3
int3

Function at 0x41a4d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x46510c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x465134]
cmp eax, 0xffffffff
mov dword [ebp - 0x810], eax
jne 0x41a56e
lea esi, [ebp - 0x810]
push esi
call fcn.0041ba90
add esp, 4
test al, al
je 0x41a5ef
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x41a545
push esi
call fcn.0041ba90
add esp, 4
test al, al
je 0x41a5f2
cmp dword [ebp - 0x810], 0xffffffff
je 0x41a5f2
push 0xffffffffffffffff
call fcn.0041bab0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x465134], ecx
mov eax, dword [ebp - 0x810]
je 0x41a56e
push eax
call fcn.0041bab0
add esp, 4
mov eax, dword [0x465134]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test al, 3
jne 0x41a5ec
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.00433e50
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.0041bac0
add esp, 8
push 0x800
call fcn.0042fd2c
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.00433350
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.0041bac0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042fd3a
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x41a600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push dword [0x465134]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov ecx, eax
and eax, 3
cmp eax, 2
jne 0x41a626
call fcn.0041bb00
xor eax, eax
jmp 0x41a63b
xor eax, eax
and ecx, 0xfffffffc
je 0x41a63b
mov edx, dword [esi]
mov edi, dword [ecx + edx*8 + 4]
cmp edi, dword [esi + 4]
jne 0x41a63b
mov eax, dword [ecx + edx*8]
pop esi
pop edi
pop ebp
ret
Function at 0x41bc80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
js 0x41bc8f
pop ebp
jmp fcn.0041bcc0
xor eax, eax
pop ebp
ret

Function at 0x423587
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov ecx, dword [0x46510c]
mov eax, dword [ebp + 0xc]
xor ecx, ebp
cmp eax, 3
mov dword [ebp - 0xc], ecx
jne 0x42361b
push 0x42362e
push 0x467740
call fcn.0042353c
add esp, 8
cmp dword [0x467744], 0
jne 0x42361b
push dword [0x467748]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x42361b
mov esi, eax
mov edi, 0x46774c
push edi
call dword [sym.imp.KERNEL32.DLL_AcquireSRWLockExclusive]
mov eax, dword [0x467758]
movsd xmm0, qword [0x467750]
mov dword [ebp - 0x10], eax
movsd qword [ebp - 0x18], xmm0
push edi
call dword [sym.imp.KERNEL32.DLL_ReleaseSRWLockExclusive]
mov edi, 0xfffffff4
mov eax, dword [ebp + edi - 0xc]
test eax, eax
je 0x42360d
push dword [esi + edi + 0xc]
call eax
add esp, 4
add edi, 4
jne 0x4235fc
push esi
call fcn.004225ac
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042fd3a
add esp, 0x10
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x44f864
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044f86f
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push 0x208
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.004120b0
push 0x1e3
push 5
push str._04d._03dU
lea edx, [esp + 0x24]
push 0x104
push edx
call fcn.0040b0af
add esp, 0x20
lea eax, [esp + 4]
push eax
push str.SOFTWARERISINGilc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40109d
mov eax, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push esi
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x401092
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040b0a0
add esp, 0x218
ret

Function at 0x4010c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push 0x208
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.004120b0
mov edx, dword [esp + 0x230]
mov eax, dword [esp + 0x22c]
push edx
push eax
push str._04d._03dS
lea ecx, [esp + 0x24]
push 0x104
push ecx
call fcn.0040b0af
mov edx, dword [esp + 0x248]
add esp, 0x20
lea eax, [esp + 4]
push eax
push str.SOFTWARERISINGilc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x401169
mov eax, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push esi
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40115e
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040b0a0
add esp, 0x218
ret
Function at 0x401190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
push 0x1a
push 1
push 1
push str._d._d._d
mov esi, ecx
xor edi, edi
call fcn.004044e0
add esp, 0x10
test esi, esi
je 0x4012e3
lea eax, [esp + 0xc]
push eax
push 1
push edi
push str.SOFTWARERisingRAV
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401216
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x29
push 1
call fcn.004010c0
add esp, 0xc
push esi
push 0x2d
push 1
push 0x1000
push str._d._d._d._d
call fcn.004044e0
add esp, 0x14
jmp 0x4012f9
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x104
mov word [esp + 0x24], cx
call fcn.004120b0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.installpath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40128f
push 0x38
push 1
push 1
push str._d._d._d
call fcn.004044e0
lea ecx, [esp + 0x28]
push ecx
push 0x104
push esi
call fcn.0040b0d8
add esp, 0x1c
mov edi, 1
jmp 0x4012bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x41
push 1
call fcn.004010c0
add esp, 0xc
push esi
push 0x45
push 1
push 0x1000
push str._d._d._d._d
call fcn.004044e0
add esp, 0x14
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4012ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0040b0a0
add esp, 0x224
ret
push 0x1f
push 1
push 0x1000
push str._d._d._d
call fcn.004044e0
add esp, 0x10
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040b0a0
add esp, 0x224
ret
Function at 0x401320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
push edi
push 0x58
push 2
push 1
push str._d._d._d
mov esi, ecx
xor edi, edi
call fcn.004044e0
add esp, 0x10
test esi, esi
je 0x401475
lea eax, [esp + 8]
push eax
push 1
push edi
push str.SOFTWARERisingRAV
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4013a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x67
push 2
call fcn.004010c0
add esp, 0xc
push esi
push 0x6b
push 2
push 0x1000
push str._d._d._d._d
call fcn.004044e0
add esp, 0x14
jmp 0x40148b
push 0x103
lea ecx, [esp + 0x19]
push 0
push ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x104
mov byte [esp + 0x20], 0
call fcn.004120b0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x42318c
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40141e
push 0x76
push 2
push 1
push str._d._d._d
call fcn.004044e0
lea eax, [esp + 0x24]
push eax
push 0x104
push esi
call fcn.0040b147
add esp, 0x1c
mov edi, 1
jmp 0x40144d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x7f
push 2
call fcn.004010c0
add esp, 0xc
push esi
push 0x83
push 2
push 0x1000
push str._d._d._d._d
call fcn.004044e0
add esp, 0x14
mov eax, dword [esp + 8]
test eax, eax
je 0x40145c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0040b0a0
add esp, 0x11c
ret
push 0x5d
push 2
push 0x1000
push str._d._d._d
call fcn.004044e0
add esp, 0x10
mov ecx, dword [esp + 0x120]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040b0a0
add esp, 0x11c
ret
Function at 0x4014b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x427074]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebx
xor ebx, ebx
push esi
mov esi, edx
test eax, eax
je 0x40160a
test esi, esi
je 0x40160a
test edi, edi
je 0x40160a
lea edx, [esp + 0xc]
push edx
push 1
push ebx
push eax
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401538
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xa9
push 3
call fcn.004010c0
add esp, 0xc
push esi
push 0xad
push 3
push 0x1000
push str._d._d._d._d
call fcn.004044e0
add esp, 0x14
jmp 0x401623
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x104
mov word [esp + 0x24], ax
call fcn.004120b0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4015b0
push 0xb8
push 3
push 1
push str._d._d._d
call fcn.004044e0
lea eax, [esp + 0x28]
push eax
push 0x104
push edi
call fcn.0040b0d8
add esp, 0x1c
mov ebx, 1
jmp 0x4015e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xc1
push 3
call fcn.004010c0
add esp, 0xc
push esi
push 0xc5
push 3
push 0x1000
push str._d._d._d._d
call fcn.004044e0
add esp, 0x14
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4015f1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0040b0a0
add esp, 0x220
ret
push 0x9f
push 3
push 0x1000
push str._d._d._d
call fcn.004044e0
add esp, 0x10
mov ecx, dword [esp + 0x224]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040b0a0
add esp, 0x220
ret
Function at 0x401640
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
mov esi, eax
xor edi, edi
test esi, esi
je 0x401741
lea eax, [esp + 8]
push eax
push 2
push edi
push str.SOFTWARERisinglockie
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4016a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xea
push 4
call fcn.004010c0
add esp, 0xc
push esi
push 0xee
push 4
push 0x1000
push str._d._d._d._d
call fcn.004044e0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ecx
ret
mov eax, esi
lea edx, [eax + 2]
jmp 0x4016b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4016b0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 8]
push edx
push esi
push 1
push 0
push str.exectime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4016fa
push pe_nt_image_headers32
push 4
push 1
push str._d._d._d
call fcn.004044e0
add esp, 0x10
mov edi, 1
jmp 0x40172c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xff
push 4
call fcn.004010c0
add esp, 0xc
push esi
push 0x103
push 4
push 0x1000
push str._d._d._d._d
call fcn.004044e0
add esp, 0x14
mov eax, dword [esp + 8]
test eax, eax
je 0x40173b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ecx
ret
push 0xe0
push 4
push 0x1000
push str._d._d._d
call fcn.004044e0
add esp, 0x10
pop edi
xor eax, eax
pop esi
pop ecx
ret