joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037660
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x100bc1b4]
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
push 0x208
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.100592a0
add esp, 0xc
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x2b0]
push 0x20119
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x4f0053
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x94], 0x540046
mov dword [ebp - 0x90], 0x410057
mov dword [ebp - 0x8c], 0x450052
mov dword [ebp - 0x88], 0x4d005c
mov dword [ebp - 0x84], 0x630069
mov dword [ebp - 0x80], 0x6f0072
mov dword [ebp - 0x7c], 0x6f0073
mov dword [ebp - 0x78], 0x740066
mov dword [ebp - 0x74], 0x57005c
mov dword [ebp - 0x70], 0x6e0069
mov dword [ebp - 0x6c], 0x6f0064
mov dword [ebp - 0x68], 0x730077
mov dword [ebp - 0x64], 0x43005c
mov dword [ebp - 0x60], 0x720075
mov dword [ebp - 0x5c], 0x650072
mov dword [ebp - 0x58], 0x74006e
mov dword [ebp - 0x54], 0x650056
mov dword [ebp - 0x50], 0x730072
mov dword [ebp - 0x4c], 0x6f0069
mov dword [ebp - 0x48], 0x5c006e
mov dword [ebp - 0x44], 0x6e0055
mov dword [ebp - 0x40], 0x6e0069
mov dword [ebp - 0x3c], 0x740073
mov dword [ebp - 0x38], 0x6c0061
mov dword [ebp - 0x34], 0x5c006c
mov dword [ebp - 0x30], 0x750048
mov dword [ebp - 0x2c], 0x72006f
mov dword [ebp - 0x28], 0x6e006f
mov dword [ebp - 0x24], 0x530067
mov dword [ebp - 0x20], 0x730079
mov dword [ebp - 0x1c], 0x690064
mov dword [ebp - 0x18], 0x670061
call fcn.100222f0
mov edi, dword [ebp - 0x2b0]
test eax, eax
jne 0x1003784a
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0x208
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2b4]
push eax
push 0
push str.UninstallString
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003784a
mov eax, dword [ebp - 0x2b4]
cmp eax, 1
je 0x1003782f
cmp eax, 2
jne 0x1003784a
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x10037890
test al, 1
jne 0x1003784a
shr eax, 1
cmp word [ebp + eax*2 - 0x2a2], 0
je 0x10037899
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10037868
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2b0], 0
mov eax, esi
mov dword [ebp - 0x2ac], 0
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.100536aa
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x2a0], ax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
jmp 0x1003784c
Function at 0x10037d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a322
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x100bc1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100592a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100bdfa8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x21d]
call fcn.10035120
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10037eb7
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x10037ed2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 1
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x10037edc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1001e690
test al, al
jne 0x10037e37
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037e15
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10012540
mov byte [ebp - 4], 3
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10023b20
add esp, 8
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x21c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037e75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x10037e91
js 0x10037ee6
cmp word [eax], 0x36
jb 0x10037e91
mov edi, 1
jmp 0x10037e93
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10037eb5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100536aa
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000b090
push 0x80004005
call fcn.1000b090
push 0x80070057
call fcn.1000b090
int3
Function at 0x100380e0
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 0x10038151
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1003811f
cmp eax, 2
jne 0x1003813b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1003814b
test ecx, ecx
je 0x10038146
test cl, 1
jne 0x1003813b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1003814b
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

Function at 0x100381a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a413
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100bc1b4]
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 dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], 0
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x1003831c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
cmp edi, reloc.WS2_32.dll_accept
jne 0x1003827d
push dword [ebp - 0x21c]
lea eax, [ebp - 0x21c]
push ebx
push edi
push eax
call fcn.10037020
add esp, 0x10
mov dword [ebp - 4], 2
mov ecx, esi
push eax
call fcn.10017690
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100382fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100382fe
cmp edi, reloc.WS2_32.dll_bind
jne 0x100382fe
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100592a0
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x21c]
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100382e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10012540
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.100536aa
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000b090
int3
Function at 0x1003ddf0
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 0x1003deb7
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 0x1003de05
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x1003ea60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x100bc1b4]
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.100592a0
add esp, 0xc
lea eax, [ebp - 0x23c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1003eb9e
mov ecx, esi
call fcn.1003ee80
mov dword [ebp - 0x34], 0x790053
test eax, eax
jne 0x1003eb2c
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.100536aa
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.100536aa
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
xor ecx, ebp
pop esi
call fcn.100536aa
mov esp, ebp
pop ebp
ret 4
Function at 0x1003f6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ab83
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100bc1b4]
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 [0x100bc190]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_bind
call fcn.100222f0
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x1003f8b1
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.100592a0
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 0x100977b4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003f8b1
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x1003f7a5
cmp eax, 2
jne 0x1003f8b1
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1003f7c6
test cl, 1
jne 0x1003f8b1
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x1003f7cc
jmp 0x1003f8b1
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x1003f8b1
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x1003f8dc
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.1003d920
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x100977bc
push eax
call fcn.1003fd60
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.1003ddf0
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x1003f895
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1003f836
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.1003f8f0
push dword [0x100bc198]
lea eax, [ebp - 0x74]
push dword [0x100bc194]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1003f872
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 0x1003f88e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1003f8b3
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003f8b1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x1003f8be
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.100536aa
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000b090
int3
Function at 0x1003fa50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008abb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100bc1b4]
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 [0x100bc190]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_bind
call fcn.100222f0
test eax, eax
je 0x1003fb78
mov esi, dword [ebp - 0x18]
mov edi, dword [0x100bc190]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x1003fb23
cmp dword [esi], 0
je 0x1003fb16
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1003fae3
mov eax, 1
jmp 0x1003fb44
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003fb1c
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 reloc.WS2_32.dll_bind
call eax
jmp 0x1003fb44
cmp dword [esi + 4], 0
jne 0x1003fb23
mov eax, 1
jmp 0x1003fb44
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 reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1003fb6e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1003fb56
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 0x1003fb7b
xor ebx, ebx
jmp 0x1003fc1f
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x1003fc1f
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 0x1003fbd8
mov ecx, dword [ebx]
test ecx, ecx
je 0x1003fc3e
push ecx
push eax
call fcn.10060d4f
add esp, 8
test eax, eax
je 0x1003fbd8
mov edx, dword [edi]
test edx, edx
je 0x1003fbd8
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003fbb0
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 0x1003fbe3
lea eax, [edx + 0xd]
jmp 0x1003fc18
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003fbf0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x100977b4
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x1003fc2a
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.1000b090
int3
Function at 0x10044df0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100bc1b4]
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]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], 0x610048
mov dword [ebp - 0x60], 0x6f006c
mov dword [ebp - 0x5c], 0x700077
mov dword [ebp - 0x58], 0x6f0043
mov dword [ebp - 0x54], 0x66006e
mov dword [ebp - 0x50], 0x670069
mov dword [ebp - 0x4c], 0x650043
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x740053
mov dword [ebp - 0x3c], 0x620075
mov dword [ebp - 0x38], 0x720050
mov dword [ebp - 0x34], 0x660065
mov dword [ebp - 0x30], 0x780069
mov dword [ebp - 0x2c], 0x6e0057
mov dword [ebp - 0x28], 0x430064
mov dword [ebp - 0x24], 0x61006c
mov dword [ebp - 0x20], 0x730073
mov dword [ebp - 0x1c], 0x61004e
mov dword [ebp - 0x18], 0x65006d
mov dword [ebp - 0x14], 0x5f
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x10044f20
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1001e690
test al, al
jne 0x10044f00
lea ecx, [ebp - 0x64]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10044ee5
sub ecx, edx
lea eax, [ebp - 0x64]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10012540
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.100536aa
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000b090
int3
Function at 0x10045000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b118
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x100bc1b4]
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]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0x740068
mov dword [ebp - 0x70], 0x700074
mov dword [ebp - 0x6c], 0x2f003a
mov dword [ebp - 0x68], 0x69002f
mov dword [ebp - 0x64], 0x74006e
mov dword [ebp - 0x60], 0x2d0066
mov dword [ebp - 0x5c], 0x630070
mov dword [ebp - 0x58], 0x73002e
mov dword [ebp - 0x54], 0x610068
mov dword [ebp - 0x50], 0x68006e
mov dword [ebp - 0x4c], 0x740075
mov dword [ebp - 0x48], 0x630065
mov dword [ebp - 0x44], 0x2e0068
mov dword [ebp - 0x40], 0x6e0063
mov dword [ebp - 0x3c], 0x63002f
mov dword [ebp - 0x38], 0x670066
mov dword [ebp - 0x34], 0x62002f
mov dword [ebp - 0x30], 0x7a0069
mov dword [ebp - 0x2c], 0x690068
mov dword [ebp - 0x28], 0x64005f
mov dword [ebp - 0x24], 0x740065
mov dword [ebp - 0x20], 0x690061
mov dword [ebp - 0x1c], 0x2e006c
mov dword [ebp - 0x18], 0x680070
mov dword [ebp - 0x14], 0x70
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x1004514c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1001e690
test al, al
jne 0x1004512c
lea ecx, [ebp - 0x74]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10045111
sub ecx, edx
lea eax, [ebp - 0x74]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10012540
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.100536aa
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000b090
int3
Function at 0x100455e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b1bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x100bc1b4]
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]
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], 0x740068
mov dword [ebp - 0xac], 0x700074
mov dword [ebp - 0xa8], 0x2f003a
mov dword [ebp - 0xa4], 0x63002f
mov dword [ebp - 0xa0], 0x6e0064
mov dword [ebp - 0x9c], 0x61002d
mov dword [ebp - 0x98], 0x69006c
mov dword [ebp - 0x94], 0x66002d
mov dword [ebp - 0x90], 0x6c0069
mov dword [ebp - 0x8c], 0x2d0065
mov dword [ebp - 0x88], 0x680073
mov dword [ebp - 0x84], 0x2e0063
mov dword [ebp - 0x80], 0x690079
mov dword [ebp - 0x7c], 0x67006e
mov dword [ebp - 0x78], 0x610079
mov dword [ebp - 0x74], 0x6b006e
mov dword [ebp - 0x70], 0x6e0061
mov dword [ebp - 0x6c], 0x750074
mov dword [ebp - 0x68], 0x63002e
mov dword [ebp - 0x64], 0x6d006f
mov dword [ebp - 0x60], 0x63002f
mov dword [ebp - 0x5c], 0x73006d
mov dword [ebp - 0x58], 0x70002f
mov dword [ebp - 0x54], 0x6f0072
mov dword [ebp - 0x50], 0x65006a
mov dword [ebp - 0x4c], 0x740063
mov dword [ebp - 0x48], 0x31005f
mov dword [ebp - 0x44], 0x360030
mov dword [ebp - 0x40], 0x63002f
mov dword [ebp - 0x3c], 0x670066
mov dword [ebp - 0x38], 0x63005f
mov dword [ebp - 0x34], 0x6e0065
mov dword [ebp - 0x30], 0x650074
mov dword [ebp - 0x2c], 0x2f0072
mov dword [ebp - 0x28], 0x6f006d
mov dword [ebp - 0x24], 0x5f0064
mov dword [ebp - 0x20], 0x69006c
mov dword [ebp - 0x1c], 0x740073
mov dword [ebp - 0x18], 0x6a002e
mov dword [ebp - 0x14], 0x73
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x100457ce
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1001e690
test al, al
jne 0x100457ae
lea ecx, [ebp - 0xb0]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10045790
sub ecx, edx
lea eax, [ebp - 0xb0]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10012540
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.100536aa
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000b090
int3