joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cbc47
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4dddef
call fcn.004a8554
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004c58c0
mov eax, dword [0x518d38]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x4e7e24
mov ecx, 0x520240
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004cbacb
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004bfe67
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004a0e03
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004bfe17
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004bfcde
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4cbc53
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4dddef
call fcn.004a8554
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004c58c0
mov eax, dword [0x518d38]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x4e7e24
mov ecx, 0x520240
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004cbacb
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004bfe67
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004a0e03
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004bfe17
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004bfcde
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x52ffb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc2000]
push edi
jmp 0x52ffca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52ffd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52ffc0
mov eax, 1
add ebx, ebx
jne 0x52ffe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52fff4
jne 0x530013
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530013
dec eax
add ebx, ebx
jne 0x530000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52ffd8
add ebx, ebx
jne 0x53000f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x530065
xor ecx, ecx
sub eax, 3
jb 0x53002b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53009a
sar eax, 1
mov ebp, eax
jmp 0x530036
add ebx, ebx
jne 0x530036
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530004
inc ecx
add ebx, ebx
jne 0x530044
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530004
add ebx, ebx
jne 0x530051
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x530046
jne 0x530062
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x530046
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x530084
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x530076
jmp 0x52ffc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x530084
add edi, ecx
jmp 0x52ffc6
pop esi
mov edi, esi
mov ecx, 0x9630
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5300a2
cmp byte [edi], 0x5c
jne 0x5300a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5300a7
lea edi, [esi + 0x12c000]
mov eax, dword [edi]
or eax, eax
je 0x53011f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1374bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x137610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5300d4
mov ecx, edi
jns 0x530103
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x137614]
or eax, eax
je 0x530119
mov dword [ebx], eax
add ebx, 4
jmp 0x5300f1
call dword [esi + 0x137624]
mov ebp, dword [esi + 0x137618]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x530153
sub esp, 0xffffff80
jmp 0x4abc85
Function at 0x6400cff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x6400d059
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.6400cbce
push eax
push esi
push dword [ebp + 8]
call fcn.6400cb83
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.6400cbbe
xlatb
dec eax
push eax
dec esi
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.6400cbbe
in al, 0x4c
les esi, [esi - 0x73]
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x100ce4b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x260], 0
and dword [ebp - 0x25c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], eax
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1001770
cmp eax, esi
je 0x100ceb3
test byte [eax + 0x1c], 4
je 0x100ceb3
cmp byte [eax + 0x19], 5
jb 0x100ceb3
push edi
push 0xfa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x258], eax
cmp eax, 0xffffffff
jne 0x100cf10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x258], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100cf05
test byte [eax + 0x1c], 4
je 0x100cf05
cmp byte [eax + 0x19], 3
jb 0x100cf05
push ebx
push dword [ebp - 0x258]
push edi
push 0xfb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044210
mov eax, dword [ebp - 0x258]
jmp 0x100cfe0
mov edx, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
xor eax, eax
xor ebx, ebx
or eax, edx
or ecx, ebx
add dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
adc dword [ebp - 0x25c], ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100cf10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
je 0x100cf81
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100cf81
test byte [eax + 0x1c], 4
je 0x100cf81
cmp byte [eax + 0x19], 2
jb 0x100cf81
push dword [ebp - 0x264]
push ebx
push edi
push 0xfc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044210
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x100cfbe
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100cfbe
test byte [eax + 0x1c], 4
je 0x100cfbe
cmp byte [eax + 0x19], 2
jb 0x100cfbe
push dword [ebp - 0x264]
push ebx
push edi
push 0xfd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044210
cmp ebx, 0x12
jne 0x100cfde
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x260]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x25c]
mov dword [eax + 4], ecx
xor eax, eax
jmp 0x100cfe0
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret 8
Function at 0x100ed88
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x1001770
cmp eax, esi
je 0x100edda
test byte [eax + 0x1c], 4
je 0x100edda
cmp byte [eax + 0x19], 5
jb 0x100edda
push ebx
push 0xea
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
cmp dword [ebp + 0xc], 0
mov eax, 0x10019e0
jne 0x100edea
mov eax, 0x10019d4
push eax
push edi
push 0x10019a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01009acc
mov edi, eax
add esp, 0x14
test edi, edi
jge 0x100ee47
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100ee32
test byte [eax + 0x1c], 4
je 0x100ee32
cmp byte [eax + 0x19], 2
jb 0x100ee32
push edi
push ebx
push 0xeb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
movzx eax, di
je 0x100ee9d
mov eax, edi
jmp 0x100ee9d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100ee97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100ee97
test byte [eax + 0x1c], 4
je 0x100ee97
cmp byte [eax + 0x19], 2
jb 0x100ee97
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push 0xec
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret 8
Function at 0x100eeb3
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x210], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], eax
mov eax, dword [0x1075004]
mov esi, 0x1075004
cmp eax, esi
je 0x100ef16
test byte [eax + 0x1c], 4
je 0x100ef16
cmp byte [eax + 0x19], 5
jb 0x100ef16
push 0x1001770
push 0xed
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
cmp dword [ebp + 0xc], 0
mov eax, 0x10019e0
jne 0x100ef26
mov eax, 0x10019d4
push eax
push edi
push 0x10019a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01009acc
mov edi, eax
add esp, 0x14
test edi, edi
jge 0x100ef99
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100ef72
test byte [eax + 0x1c], 4
je 0x100ef72
cmp byte [eax + 0x19], 2
jb 0x100ef72
push edi
push 0x1001770
push 0xee
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x100ef8e
movzx eax, di
mov dword [ebp - 0x210], eax
jmp 0x100f09d
mov dword [ebp - 0x210], edi
jmp 0x100f09d
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100f08d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov dword [ebp - 0x210], eax
cmp eax, 0xb7
jne 0x100f054
and dword [ebp - 0x210], 0
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100f000
test byte [eax + 0x1c], 4
je 0x100f000
cmp byte [eax + 0x19], 5
jb 0x100f000
lea ecx, [ebp - 0x20c]
push ecx
push 0x1001770
push 0xef
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0100cdae
test eax, eax
jne 0x100f050
call edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100f09d
test byte [eax + 0x1c], 4
je 0x100f09d
cmp byte [eax + 0x19], 2
jb 0x100f09d
push dword [ebp - 0x210]
push 0x1001770
push 0xf0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x100f09d
xor ecx, ecx
jmp 0x100f090
mov eax, dword [0x1075004]
cmp eax, esi
je 0x100f09d
test byte [eax + 0x1c], 4
je 0x100f09d
cmp byte [eax + 0x19], 2
jb 0x100f09d
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
push 0x1001770
push 0xf1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
jmp 0x100f09d
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x218]
cmp dword [eax], 0
je 0x100f09d
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret 0x10
Function at 0x101133f
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1001a94
cmp eax, esi
je 0x1011374
test byte [eax + 0x1c], 4
je 0x1011374
cmp byte [eax + 0x19], 5
jb 0x1011374
push edi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push ebx
push 2
push 0
push dword [ebp + 8]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call fcn.010600a9
mov dword [ebp - 4], eax
test eax, eax
jne 0x10113c2
mov eax, dword [0x1075004]
cmp eax, esi
je 0x101140b
test byte [eax + 0x1c], 4
je 0x101140b
cmp byte [eax + 0x19], 3
jb 0x101140b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
mov eax, dword [0x1075004]
push edi
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
jmp 0x101140b
mov esi, 0x1001ab4
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10113fd
mov ecx, dword [0x1075004]
cmp ecx, 0x1075004
je 0x10113fd
test byte [ecx + 0x1c], 4
je 0x10113fd
cmp byte [ecx + 0x19], 3
jb 0x10113fd
push eax
push esi
push edi
push 0x22
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100a6e9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x1075004
push dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
call fcn.01060568
pop ebx
test eax, eax
jne 0x101144f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x101144f
test byte [eax + 0x1c], 4
je 0x101144f
cmp byte [eax + 0x19], 2
jb 0x101144f
push dword [ebp - 4]
push dword [ebp + 8]
push edi
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x1012d09
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x1012d3d
test byte [eax + 0x1c], 4
je 0x1012d3d
cmp byte [eax + 0x19], 5
jb 0x1012d3d
push 0x1001a94
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov eax, dword [ebx + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x1012d60
mov edi, dword [esi + 8]
push dword [edi + 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1012d69
mov esi, dword [esi]
cmp esi, dword [ebx + 4]
jne 0x1012d46
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1012d72
mov dword [eax], esi
mov eax, edi
jmp 0x1012d62

Function at 0x1015498
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
test dword [ebp + 0xc], eax
jne 0x10154ac
xor eax, eax
jmp 0x10154e5
cmp eax, 4
je 0x10154e2
cmp eax, 8
je 0x10154e2
cmp dword [ebp + 0x10], 0
jne 0x10154e2
cmp eax, 2
jne 0x10154c9
mov eax, dword [ecx + 0x15c]
jmp 0x10154cb
mov eax, ecx
push dword [eax + 0xf8]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x10154e5
xor eax, eax
inc eax
pop ebp
ret 0x10
Function at 0x1024266
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor eax, eax
push eax
push eax
push 1
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x1001d68
cmp eax, esi
je 0x10242ab
test byte [eax + 0x1c], 4
je 0x10242ab
cmp byte [eax + 0x19], 5
jb 0x10242ab
push ebx
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push edi
push 0xffffffffffffffff
push 0x1001da0
call fcn.01062e30
mov edi, 0x1077e90
push edi
call fcn.01024014
push 0x1001d78
mov dword [0x1077e8c], 0x1001638
mov dword [0x1075004], edi
call fcn.010240e5
mov eax, dword [0x1075004]
pop edi
cmp eax, esi
je 0x102430d
test byte [eax + 0x1c], 4
je 0x102430d
cmp byte [eax + 0x19], 5
jb 0x102430d
call dword [sym.imp.KERNEL32.dll_GetVersion]
push eax
mov eax, dword [0x1075004]
push ebx
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push 1
call sub.GDI32.dll_EnableEUDC
test eax, eax
je 0x1024358
push 0x107507c
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x102437b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102437b
test byte [eax + 0x1c], 4
je 0x102437b
cmp byte [eax + 0x19], 2
jb 0x102437b
push dword [ebp - 4]
push ebx
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x102437b
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102437b
test byte [eax + 0x1c], 4
je 0x102437b
cmp byte [eax + 0x19], 2
jb 0x102437b
push ebx
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
call fcn.01024133
call fcn.01062d58
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0x10
Function at 0x10243b9
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov eax, dword [0x1075004]
mov edi, 0x1075004
cmp eax, edi
je 0x10243ee
test byte [eax + 0x1c], 4
je 0x10243ee
cmp byte [eax + 0x19], 5
jb 0x10243ee
push 0x1001d68
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0x2001f
push 0
push 0x1001bb0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.010600a9
mov ebx, eax
test ebx, ebx
jne 0x102444e
mov eax, dword [0x1075004]
cmp eax, edi
je 0x102452a
test byte [eax + 0x1c], 4
je 0x102452a
cmp byte [eax + 0x19], 2
jb 0x102452a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push 0x1001d68
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x102452a
push esi
lea eax, [ebp - 4]
push eax
push 1
push 0
mov esi, 0x1001b9c
push esi
push ebx
call fcn.0106970c
cmp dword [ebp - 4], 1
mov dword [ebp - 8], eax
je 0x10244f5
cmp dword [ebp - 4], 0
je 0x10244c0
test eax, eax
jne 0x102447f
mov eax, 0x1001768
push 1
push eax
push esi
push ebx
call fcn.0106944f
test eax, eax
jne 0x10244f5
mov eax, dword [0x1075004]
cmp eax, edi
je 0x10244c0
test byte [eax + 0x1c], 4
je 0x10244c0
cmp byte [eax + 0x19], 2
jb 0x10244c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push 0x1001d68
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10244f5
mov ecx, dword [0x1075004]
cmp ecx, edi
je 0x10244f5
test byte [ecx + 0x1c], 4
je 0x10244f5
cmp byte [ecx + 0x19], 2
jb 0x10244f5
push eax
push 0x1001d68
push 0x2e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
test esi, esi
je 0x1024529
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1024508
sub eax, edx
sar eax, 1
add eax, eax
mov ecx, esi
je 0x1024523
mov byte [ecx], 0
inc ecx
dec eax
jne 0x102451c
push esi
call fcn.0105c5dc
pop esi
pop edi
pop ebx
leave
ret
Function at 0x1025438
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1001d68
cmp eax, esi
je 0x1025474
test byte [eax + 0x1c], 4
je 0x1025474
cmp byte [eax + 0x19], 5
jb 0x1025474
push edi
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push ebx
push ebx
push ebx
push 0x1024533
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10254c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1025542
test byte [eax + 0x1c], 4
je 0x1025542
cmp byte [eax + 0x19], 2
jb 0x1025542
push dword [ebp - 4]
push edi
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x1025542
push 0x1001e78
push eax
call fcn.01042b59
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1025508
call ebx
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1025508
test byte [eax + 0x1c], 4
je 0x1025508
cmp byte [eax + 0x19], 2
jb 0x1025508
push dword [ebp - 4]
push edi
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1025540
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1025540
test byte [eax + 0x1c], 4
je 0x1025540
cmp byte [eax + 0x19], 2
jb 0x1025540
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x1025550
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
pop esi
sete al
pop ebx
leave
ret