joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2888
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x610032
mov dword [ebp - 0x50], 0x320036
mov dword [ebp - 0x4c], 0x350061
mov dword [ebp - 0x48], 0x350038
mov dword [ebp - 0x44], 0x310036
mov dword [ebp - 0x40], 0x340061
mov dword [ebp - 0x3c], 0x350032
mov dword [ebp - 0x38], 0x640037
mov dword [ebp - 0x34], 0x350064
mov dword [ebp - 0x30], 0x310065
mov dword [ebp - 0x2c], 0x660033
mov dword [ebp - 0x28], 0x350030
mov dword [ebp - 0x24], 0x310039
mov dword [ebp - 0x20], 0x380036
mov dword [ebp - 0x1c], 0x650062
mov dword [ebp - 0x18], 0x310035
mov word [ebp - 0x14], ax
call fcn.1002bc10
mov ecx, eax
test ecx, ecx
je 0x10036edb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1002b2d0
test al, al
jne 0x10036ebb
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10036ea0
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1002c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002a68c
int3
Function at 0x10036ef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2888
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x310039
mov dword [ebp - 0x50], 0x390039
mov dword [ebp - 0x4c], 0x350036
mov dword [ebp - 0x48], 0x320045
mov dword [ebp - 0x44], 0x380046
mov dword [ebp - 0x40], 0x410037
mov dword [ebp - 0x3c], 0x340030
mov dword [ebp - 0x38], 0x300037
mov dword [ebp - 0x34], 0x330042
mov dword [ebp - 0x30], 0x310030
mov dword [ebp - 0x2c], 0x410035
mov dword [ebp - 0x28], 0x430042
mov dword [ebp - 0x24], 0x300042
mov dword [ebp - 0x20], 0x350038
mov dword [ebp - 0x1c], 0x300036
mov dword [ebp - 0x18], 0x450046
mov word [ebp - 0x14], ax
call fcn.1002bc10
mov ecx, eax
test ecx, ecx
je 0x1003700b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1002b2d0
test al, al
jne 0x10036feb
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10036fd0
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1002c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002a68c
int3
Function at 0x100371c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2888
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x410035
mov dword [ebp - 0x50], 0x340032
mov dword [ebp - 0x4c], 0x360036
mov dword [ebp - 0x48], 0x430032
mov dword [ebp - 0x44], 0x330044
mov dword [ebp - 0x40], 0x440039
mov dword [ebp - 0x3c], 0x430034
mov dword [ebp - 0x38], 0x410044
mov dword [ebp - 0x34], 0x390038
mov dword [ebp - 0x30], 0x410042
mov dword [ebp - 0x2c], 0x390031
mov dword [ebp - 0x28], 0x390036
mov dword [ebp - 0x24], 0x310045
mov dword [ebp - 0x20], 0x410045
mov dword [ebp - 0x1c], 0x430030
mov dword [ebp - 0x18], 0x360045
mov word [ebp - 0x14], ax
call fcn.1002bc10
mov ecx, eax
test ecx, ecx
je 0x100372db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1002b2d0
test al, al
jne 0x100372bb
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100372a0
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1002c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002a68c
int3
Function at 0x10037550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2888
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x380038
mov dword [ebp - 0x50], 0x360032
mov dword [ebp - 0x4c], 0x660062
mov dword [ebp - 0x48], 0x380065
mov dword [ebp - 0x44], 0x330062
mov dword [ebp - 0x40], 0x660065
mov dword [ebp - 0x3c], 0x300038
mov dword [ebp - 0x38], 0x330039
mov dword [ebp - 0x34], 0x620032
mov dword [ebp - 0x30], 0x340034
mov dword [ebp - 0x2c], 0x380033
mov dword [ebp - 0x28], 0x370066
mov dword [ebp - 0x24], 0x380030
mov dword [ebp - 0x20], 0x360066
mov dword [ebp - 0x1c], 0x630032
mov dword [ebp - 0x18], 0x360065
mov word [ebp - 0x14], ax
call fcn.1002bc10
mov ecx, eax
test ecx, ecx
je 0x1003766b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1002b2d0
test al, al
jne 0x1003764b
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037630
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1002c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002a68c
int3
Function at 0x10037680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2888
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x340031
mov dword [ebp - 0x50], 0x330032
mov dword [ebp - 0x4c], 0x450031
mov dword [ebp - 0x48], 0x380043
mov dword [ebp - 0x44], 0x460039
mov dword [ebp - 0x40], 0x420034
mov dword [ebp - 0x3c], 0x460034
mov dword [ebp - 0x38], 0x380037
mov dword [ebp - 0x34], 0x440039
mov dword [ebp - 0x30], 0x410034
mov dword [ebp - 0x2c], 0x450037
mov dword [ebp - 0x28], 0x420033
mov dword [ebp - 0x24], 0x430034
mov dword [ebp - 0x20], 0x360042
mov dword [ebp - 0x1c], 0x450043
mov dword [ebp - 0x18], 0x310039
mov word [ebp - 0x14], ax
call fcn.1002bc10
mov ecx, eax
test ecx, ecx
je 0x1003779b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1002b2d0
test al, al
jne 0x1003777b
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037760
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1002c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002a68c
int3
Function at 0x100377b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2888
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x450038
mov dword [ebp - 0x50], 0x310032
mov dword [ebp - 0x4c], 0x300035
mov dword [ebp - 0x48], 0x450031
mov dword [ebp - 0x44], 0x390033
mov dword [ebp - 0x40], 0x320046
mov dword [ebp - 0x3c], 0x310034
mov dword [ebp - 0x38], 0x380030
mov dword [ebp - 0x34], 0x340039
mov dword [ebp - 0x30], 0x450038
mov dword [ebp - 0x2c], 0x300044
mov dword [ebp - 0x28], 0x420039
mov dword [ebp - 0x24], 0x380041
mov dword [ebp - 0x20], 0x370031
mov dword [ebp - 0x1c], 0x390046
mov dword [ebp - 0x18], 0x360031
mov word [ebp - 0x14], ax
call fcn.1002bc10
mov ecx, eax
test ecx, ecx
je 0x100378cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1002b2d0
test al, al
jne 0x100378ab
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037890
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1002c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002a68c
int3
Function at 0x1003a440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2df3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x1003a4fb
cmp word [esi], di
je 0x1003a4fb
test eax, eax
je 0x1003a4ac
cmp word [eax], di
je 0x1003a4ac
push edi
push edi
push eax
push esi
push edi
call fcn.10087930
push eax
call fcn.1003b3d0
add esp, 4
call eax
test eax, eax
js 0x1003a4fb
jmp 0x1003a4f6
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1003c6e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call fcn.10087890
push eax
call fcn.1003b3d0
add esp, 4
call eax
test eax, eax
js 0x1003a4fb
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1003a572
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x1003a55d
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x1003a52b
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x1003a54c
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x1003a592
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x1003a55d
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1003a572
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 0x30
call fcn.100251e7
int3
Function at 0x100597c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005946b

Function at 0x100597cf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100595f5

Function at 0x1005e0a6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005e028

Function at 0x10064e9d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1007a210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor al, al
push edi
xor edi, edi
test esi, esi
je 0x1007a2d7
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [edi + ecx]
xor dl, al
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
movzx ecx, cl
xor al, 0x8c
and bl, 1
movzx eax, al
cmove eax, ecx
inc edi
cmp edi, esi
jb 0x1007a225
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x1007ae20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x23c]
push 0x208
push 0
push eax
mov esi, ecx
call fcn.1003c6e0
add esp, 0xc
lea eax, [ebp - 0x23c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1007af5e
mov ecx, esi
call fcn.1007b240
mov dword [ebp - 0x34], 0x790053
test eax, eax
jne 0x1007aeec
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x740073
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x2c], 0x6d0065
push eax
push edi
mov dword [ebp - 0x28], 0x320033
mov dword [ebp - 0x24], 0x6e005c
mov dword [ebp - 0x20], 0x6f0074
mov dword [ebp - 0x1c], 0x6b0073
mov dword [ebp - 0x18], 0x6e0072
mov dword [ebp - 0x14], 0x2e006c
mov dword [ebp - 0x10], 0x780065
mov dword [ebp - 0xc], 0x65
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [ebp - 0x30], 0x4e0073
mov word [ebp - 8], ax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x2c], 0x740061
push eax
push edi
mov dword [ebp - 0x28], 0x760069
mov dword [ebp - 0x24], 0x5c0065
mov dword [ebp - 0x20], 0x74006e
mov dword [ebp - 0x1c], 0x73006f
mov dword [ebp - 0x18], 0x72006b
mov dword [ebp - 0x14], 0x6c006e
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
xor ecx, ebp
pop esi
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
Function at 0x1007ba90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3e73
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x100cda94]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push 0x80000002
call fcn.100792f0
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x1007bc71
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.1003c6e0
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x100bb504
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007bc71
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x1007bb65
cmp eax, 2
jne 0x1007bc71
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1007bb86
test cl, 1
jne 0x1007bc71
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x1007bb8c
jmp 0x1007bc71
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x1007bc71
call fcn.1002bc10
mov ecx, eax
test ecx, ecx
je 0x1007bc9c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.10079cf0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x100bb50c
push eax
call fcn.1007c030
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.1007a210
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x1007bc55
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1007bbf6
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.1002c4c0
push dword [0x100cda9c]
lea eax, [ebp - 0x74]
push dword [0x100cda98]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1007bc32
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1007bc4e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1007bc73
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1007bc71
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x1007bc7e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1002a68c
int3
Function at 0x1007bd30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100cd004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x202
push dword [0x100cda94]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push 0x80000002
call fcn.100792f0
test eax, eax
je 0x1007be58
mov esi, dword [ebp - 0x18]
mov edi, dword [0x100cda94]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x1007be03
cmp dword [esi], 0
je 0x1007bdf6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1007bdc3
mov eax, 1
jmp 0x1007be24
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007bdfc
push 0
push dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push edi
push 0x80000002
call eax
jmp 0x1007be24
cmp dword [esi + 4], 0
jne 0x1007be03
mov eax, 1
jmp 0x1007be24
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1007be4e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1007be36
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x200
test eax, eax
je 0x1007be5b
xor ebx, ebx
jmp 0x1007beff
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x1007beff
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1007beb8
mov ecx, dword [ebx]
test ecx, ecx
je 0x1007bf1e
push ecx
push eax
call fcn.10044ffd
add esp, 8
test eax, eax
je 0x1007beb8
mov edx, dword [edi]
test edx, edx
je 0x1007beb8
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007be90
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.m2_old
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebx]
test edx, edx
jne 0x1007bec3
lea eax, [edx + 0xd]
jmp 0x1007bef8
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007bed0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x100bb504
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x1007bf0a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1002a68c
int3
Function at 0x1007d6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007d741
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1007d70f
cmp eax, 2
jne 0x1007d72b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1007d73b
test ecx, ecx
je 0x1007d736
test cl, 1
jne 0x1007d72b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1007d73b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc