joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1279feb4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1279fed6
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1279fed6
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1279fed6
ret
cmp word [ebx + 4], 0x14c
jne 0x1279fed6
test word [ebx + 0x16], 2
je 0x1279fed6
test word [ebx + 0x16], 0x100
je 0x1279fed6
cmp word [ebx + 0x18], 0x10b
jne 0x1279fed6
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1279fed6
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1279ff62
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1279fef6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.12786e41
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1279fed6
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1279ff62
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1279fed6
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1279fed6
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1279fed6
ret
cmp word [ebx + 4], 0x14c
jne 0x1279fed6
test word [ebx + 0x16], 2
je 0x1279fed6
test word [ebx + 0x16], 0x100
je 0x1279fed6
cmp word [ebx + 0x18], 0x10b
jne 0x1279fed6
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1279fed6
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1279ff62
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1279fef6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.12786e41
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1279fed6
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x127a0019
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x127a0072
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x127a0019
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x127a0028
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x12ba5ccb
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x127a0079
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.12786eef
cmp eax, dword [ebp + 0xc]
pop eax
je 0x127a0118
add edi, 4
add eax, 2
dec ecx
jne 0x127a005e
call 0x127a00c5
loope 0x127a00bb
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x127a0115
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x127a0126
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x127a00d9
cmp eax, ecx
ja 0x127a00d9
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x127a0163
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x127a0159
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.127873ce
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x127a0028
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x127a0072
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x127a0019
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x127a0028
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x12ba5ccb
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x127a0079
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.12786eef
cmp eax, dword [ebp + 0xc]
pop eax
je 0x127a0118
add edi, 4
add eax, 2
dec ecx
jne 0x127a005e
call 0x127a00c5
loope 0x127a00bb
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x127a0115
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x127a0126
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x127a00d9
cmp eax, ecx
ja 0x127a00d9
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x127a0163
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x127a0159
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.127873ce
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x408925
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edi
add esi, 0xf9ea7480
sub esp, 4
mov dword [esp], 0x16cd25e9
pop esi
call fcn.00408957
and ecx, ecx
add esi, ecx
xor dword [eax], edi
inc eax
mov ecx, ecx
cmp eax, edx
jne fcn.00408925
ret
Function at 0x10007030
Capabilities:
Encode data using xor

Disassembly:
push es
cld
sahf
and al, 0xfe
out dx, al
xchg ecx, eax
je 0x10007018
jl 0x10007006
ror dword [esi - 0x3d], cl
mov byte [ebp - 0x13], al
in eax, dx
ja sym.Engine.dll_AddAccessDeniedAce
cmp byte [eax + 0x7f6dd014], 0xc
cmpsb byte [esi], byte es:[edi]
in eax, dx
inc edx
mov bl, 0xd8
push eax

Function at 0x10007aa0
Capabilities:
Encode data using xor

Disassembly:
outsd dx, dword [esi]
out 0xbc, al
inc ecx
jno 0x10007a1c
wait
fisubr word [esi + 0x40f75b95]
lodsb al, byte [esi]
xor dword [ecx], edi
cmp dword [ebx], ebx
mov edi, 0xdd293af6
sub eax, 0xd84644dc
xchg byte [ebx], cl
pop ebp
and ah, byte [esi + 0x3358b4fd]
sbb esi, eax
jle 0x10007a7f
outsd dx, dword [esi]
insb byte es:[edi], dx
shl cl, 0x2f
adc esi, dword [ebp + 0x2a]
movsd dword es:[edi], dword [esi]
jns 0x10007a4c
iretd

Function at 0x10008060
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x74605f32
insb byte es:[edi], dx
mov byte [0x6f147c3f], al
loopne 0x1000804f
add dword [esi + 0xc], ecx

Function at 0x10008e80
Capabilities:
Encode data using xor

Disassembly:
jne 0x10008e73
cmc
ret 0x9ca0
sbb dword [edx], esp
jp 0x10008e9c
mov al, 0xc
push ebp
imul ecx, dword [ebx + 0x36], 0xf9fd9d4a
stc
aaa
mov cl, 0x26
push ecx
xor al, ch
xchg ebp, eax
fsub dword [eax]
daa
cmp byte [0x2d71faf2], 0xf2
jno 0x10008ebf
and ecx, dword [esi - 0x11]
jno sym.Engine.dll_OpenBackupEventLogW
xor byte [ebx - 0x7d], ah
pop eax
add al, byte [edx + edx*2 + 0x30]

Function at 0x100093c0
Capabilities:
Encode data using xor

Disassembly:
ljmp 0x7e4a:0xf2543380
mov gs, word [esi - 0x7f]
adc eax, 0x3b05b180
in eax, 0x24
mov ch, ch
loop 0x100093a4
fcompi st(4)
out dx, eax
js 0x100093fd
and eax, 0xa6375cdc
mov al, 0xb4
outsd dx, dword [esi]
invalid

Function at 0x10009500
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0x42
cli
imul eax, dword [edi - 0x1db1d939], 0x98782411
dec esi
pop esi
and eax, 0x41af38b5
mov ch, 0x38
scasd eax, dword es:[edi]
inc ecx
scasd eax, dword es:[edi]
inc ecx
xor eax, 0x6ab67be3
xor ch, byte ds:[eax]
pushal
jnp 0x10009502
invalid
Function at 0x432b84
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56c158]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x432be1
cmp byte [esi + 0x3e], bl
je 0x432be1
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
cmp di, ax
je 0x432c1a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, ebx
je 0x432bf2
sub eax, 1
je 0x432bf5
dec eax
sub eax, 1
jne 0x432c1a
mov byte [esi + 0x3e], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00498089
leave
ret
mov byte [esi + 0x3e], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x432c12
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004b05b9
add esp, 0x10
cmp edi, eax
jne 0x432c1a
cmp byte [esi + 0x3e], bl
sete al
jmp 0x432be3
xor al, al
jmp 0x432be3

Function at 0x43431b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x56c158]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
mov esi, ecx
cmp bx, di
jne 0x434344
xor eax, eax
jmp 0x434412
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x434370
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x434370
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x434412
cmp dword [esi + 0x4c], 0
je 0x43440f
mov ecx, esi
call fcn.004336cc
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43439c
push dword [esi + 0x4c]
push edi
call fcn.004301fa
pop ecx
pop ecx
test al, al
je 0x43440f
movzx ebx, di
jmp 0x43440f
movzx eax, di
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x4343dd
sub eax, 1
je 0x4343dd
dec eax
sub eax, 1
jne 0x43440f
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x43438c
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x434400
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.004b05b9
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x43440f
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x34], eax
mov ax, di
jne 0x434412
mov ax, bx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00498089
leave
ret 4
Function at 0x47f120
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x56c158]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
je 0x47f178
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
cmp dword [ebp - 0x14], 1
sete bl
cmp dword [ebp - 0x10], 0
je 0x47f187
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00498089
leave
ret

Function at 0x47f355
Capabilities:
Get user security identifier

Disassembly:
push 0x54
mov eax, 0x50582f
call fcn.004980fc
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], eax
mov eax, 0x80
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x54], eax
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x28], esi
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 2
mov ebx, esi
lea ecx, [ebp - 0x49]
push ecx
push eax
mov ecx, edi
call fcn.0047f25b
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x18]
ja 0x47f3d9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x47f3e6
sub ecx, dword [ebp - 0x18]
push esi
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f9a4
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x48]
cmovae esi, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
call fcn.00401488
cmp dword [eax + 0x14], 8
jb 0x47f409
mov eax, dword [eax]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push esi
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x44]
push eax
push 0
call dword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupAccountNameW]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0040dc64
cmp esi, 1
je 0x47f44b
test ebx, ebx
jne 0x47f44b
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x47f44b
mov eax, dword [ebp - 0x54]
inc ebx
xor esi, esi
jmp 0x47f3af
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47f488
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x47f47f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040cc5d
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.00497ad0
pop ecx
pop ecx
mov eax, edi
call fcn.004980ab
ret
Function at 0x47f5be
Capabilities:
Get session user name

Disassembly:
push 0x40
mov eax, 0x505928
call fcn.004980fc
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x44], esi
inc ecx
xor ebx, ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x28], ebx
push 7
mov eax, ebx
xor edi, edi
pop edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], di
mov dword [ebp - 4], ecx
mov edi, ebx
cmp ecx, eax
ja 0x47f60a
cmp edx, 8
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x47f616
sub ecx, eax
push ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f9a4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push dword [ebp + 0xc]
call sub.SspiCli.dll_GetUserNameExW
cmp al, 1
je 0x47f64f
test edi, edi
jne 0x47f64f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xea
jne 0x47f64f
mov ecx, dword [ebp - 0x48]
inc edi
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x47f5f1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0047f207
push eax
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040cd60
lea ecx, [ebp - 0x40]
call fcn.0040dc3e
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47f6b4
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], ecx
cmp eax, 0x1000
jb 0x47f6ab
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040cc5d
mov eax, dword [ebp - 0x4c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
push eax
push ecx
call fcn.00497ad0
pop ecx
pop ecx
mov eax, esi
call fcn.004980ab
ret

Function at 0x4820cc
Capabilities:
Delete registry key

Disassembly:
push 0xac
mov eax, 0x505e23
call fcn.00498168
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp + 0xc]
push edx
mov ebx, dword [eax]
call fcn.00401488
cmp dword [eax + 0x14], 8
jb 0x4820f6
mov eax, dword [eax]
xor esi, esi
push esi
push ebx
push esi
push dword [ebp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyTransactedW]
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.0040dc64
cmp edi, 2
je 0x48219a
test edi, edi
jne 0x4821a2
jmp 0x48219a
call fcn.004980ba
ret 0xc
push 0x472
push 0x532d7c
push edi
push 4
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], esi
call fcn.00417422
push 0x5519c4
lea eax, [ebp - 0xa8]
push eax
call fcn.004a1a51
int3
Function at 0x4821d4
Capabilities:
Delete registry key

Disassembly:
push 0xac
mov eax, 0x505e4d
call fcn.00498168
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00401488
cmp dword [eax + 0x14], 8
jb 0x4821f9
mov eax, dword [eax]
push 0
push dword [ebp + 0xc]
push eax
push dword [esi]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0040dc64
cmp esi, 2
je 0x48229a
test esi, esi
jne 0x4822a2
jmp 0x48229a
call fcn.004980ba
ret 8
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
push 0x452
push 0x532d7c
push esi
push 4
call fcn.00417422
push 0x5519c4
lea eax, [ebp - 0xa8]
push eax
call fcn.004a1a51
int3

Function at 0x482dd8
Capabilities:
Delete registry value

Disassembly:
push 0xac
mov eax, 0x505f99
call fcn.00498168
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xac], ebx
test eax, eax
je 0x482e0c
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401488
inc ebx
cmp dword [eax + 0x14], 8
jb 0x482e0e
mov eax, dword [eax]
jmp 0x482e0e
xor eax, eax
push eax
push dword [esi]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
test bl, 1
je 0x482e26
lea ecx, [ebp - 0x2c]
call fcn.0040dc64
cmp esi, 2
je 0x482eaf
test esi, esi
jne 0x482eb7
jmp 0x482eaf
call fcn.004980ba
ret 4
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
push 0x437
push 0x532d7c
push esi
push 4
call fcn.00417422
push 0x5519c4
lea eax, [ebp - 0xa8]
push eax
call fcn.004a1a51
int3
Function at 0x4837bc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xe4
mov eax, 0x50616a
call fcn.00498168
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xa4], eax
xor ebx, ebx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], ebx
call fcn.00488bb1
xor eax, eax
mov dword [ebp - 4], ebx
mov dl, bl
mov dword [ebp - 0xc8], ebx
inc eax
mov byte [ebp - 0x99], dl
mov edi, ebx
mov dword [ebp - 0xb8], eax
mov esi, ebx
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc4], esi
mov ecx, ebx
mov byte [ebp - 4], al
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xa0], 2
cmp dword [ebp - 0xa0], 0
jle 0x483981
lea ecx, [ebp - 0xa9]
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0047f25b
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x48387f
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401488
or dword [ebp - 0xa8], 1
cmp dword [eax + 0x14], 8
jb 0x483881
mov eax, dword [eax]
jmp 0x483881
mov eax, ebx
mov edi, dword [ebp - 0xcc]
lea ecx, [ebp - 0xb8]
push ecx
push edi
lea ecx, [ebp - 0xbc]
push ecx
push ebx
push eax
mov eax, dword [ebp - 0xb0]
push dword [eax]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0xa8]
test al, 1
je 0x4838c3
and eax, 0xfffffffe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xa8], eax
call fcn.0040dc64
cmp esi, 0xea
je 0x48395e
test esi, esi
jne 0x483a1e
jmp 0x483954
mov dl, 1
mov byte [ebp - 0x99], dl
jmp 0x483964
mov dl, byte [ebp - 0x99]
dec dword [ebp - 0xa0]
mov eax, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xbc]
jmp 0x48383b
test dl, dl
je 0x4839b1
push eax
push edi
push ecx
lea ecx, [ebp - 0x34]
call fcn.00488b88
mov ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0xf0], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0xec]
call fcn.00485688
lea ecx, [ebp - 0x30]
call fcn.0040cf8d
mov ebx, dword [ebp - 0xc0]
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.00481579
test edi, edi
je 0x483a09
sub esi, edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], esi
cmp esi, 0x1000
jb 0x483a00
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040cc5d
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa4]
pop ecx
pop ecx
push esi
push edi
call fcn.00497ad0
pop ecx
pop ecx
lea ecx, [ebp - 0xec]
call fcn.0040cf8d
mov eax, ebx
call fcn.004980ba
ret 8
push 0x5a2
push 0x532d7c
push esi
push 4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00417422
push 0x5519c4
lea eax, [ebp - 0x98]
push eax
call fcn.004a1a51
int3