joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a744
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push ebx
add esp, 4
jmp 0x40a610
sub edi, 0x17a63
and edi, 0x17fd7
and edi, 0x5653
out 0x53, eax
push esi
add byte [eax], al
pop edi
lea ecx, [ebp - 0x16c0]
mov dword [ebp - 0xcec], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xce8], eax
xor ecx, ecx
mov word [ebp - 0x1c8], cx
xor edx, edx
mov word [ebp - 0x28], dx
push edx
xor edx, 0x105d6
sub edx, 0x2941
pop edx
push eax
sub eax, 0x17c3e
jmp 0x40a66a
pop eax
push edi
xor edi, 0x13006
pop edi
push esi
push ecx
add esp, 4
sub esi, 0x2277
pop esi
mov eax, dword [ebp - 0xce8]
mov cx, word [eax]
mov word [ebp - 0x10a2], cx
mov edx, dword [ebp - 0xce8]
add edx, 2
mov dword [ebp - 0xce8], edx
mov ax, word [ebp - 0x10a2]
mov word [ebp - 0x1c8], ax
mov ecx, dword [ebp - 0xcec]
mov dx, word [ecx]
mov word [ebp - 0x10a4], dx
mov eax, dword [ebp - 0xcec]
add eax, 2
mov dword [ebp - 0xcec], eax
mov cx, word [ebp - 0x10a4]
mov word [ebp - 0x28], cx
push edx
push ecx
add esp, 4
call 0x40a6e7
add byte [eax + 0x46], al
dec ebx
cmp ecx, dword [esi + 0x4d]
add esp, 4
call 0x40a6f8
add byte [ecx + 0x34], al
push eax
inc eax
aas
aas
dec ecx
add esp, 4
xor edx, 0x12d8d
or edx, 0x4c4f
pop edx
movzx edx, word [ebp - 0x28]
test edx, edx
jne 0x40a725
movzx eax, word [ebp - 0x1c8]
movzx edx, word [ebp - 0x1c8]
movzx eax, word [ebp - 0x28]
mov bh, 0x45
fdivr dword [ebx]
ror byte [edi], 1
invalid
invalid
invalid
invalid
invalid
movzx ecx, word [ebp - 0x1c8]
xor ecx, 0x20
movzx edx, word [ebp - 0x28]
push ebp
fdivr dword [ebx]
retf 0x840f
invalid
invalid
invalid
invalid
movzx eax, word [ebp - 0x1c8]
movzx ecx, word [ebp - 0x28]
cmp eax, ecx
jge 0x40a769
mov dword [ebp - 0x161c], 0xffffffff
jmp 0x40a773
mov dword [ebp - 0x161c], 1
mov edx, dword [ebp - 0x161c]
mov dword [ebp - 0x1620], edx
cmp dword [ebp - 0x1620], 0
jne 0x40a7c8
push ecx
push ebx
add esp, 4
and ecx, 0x10063
sub ecx, 0x14c3c
sub ecx, 0x11eb7
and ecx, 0x4be8
pop ecx
push edx
invalid

Function at 0x40a835
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and eax, 0x150d7
pop eax
push edi
add edi, 0x12fb4
call 0x40a852
add byte [edi], dh
inc ebp
inc edx
cmp eax, 0x3d4d3d4f
inc esi
add esp, 4

Function at 0x40a852
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and eax, 0x150d7
pop eax
push edi
add edi, 0x12fb4
call 0x40a852
add byte [edi], dh
inc ebp
inc edx
cmp eax, 0x3d4d3d4f
inc esi
add esp, 4

Function at 0x40a855
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and edi, 0x108b7
or edi, 0x9cdb
pop edi
mov edx, dword [ebp - 0x2bc]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x33c], eax
push eax
push ebx
add esp, 4
sub eax, 0xa17
sub eax, 0xe9c3
sub eax, 0x255f
pop eax
push eax
sub eax, 0x8222
pop eax
push edx
push ecx
add esp, 4
add edx, 0x12918
sbb byte [ecx], ch
add dword [eax], eax
or edx, 0x8fae
pop edx
mov dword [ebp - 0x7a0], 0
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x1624], ecx
cmp dword [ebp - 0x1624], 0
jmp 0x7541a8c0
invalid
mov edx, dword [ebp - 0x7a0]
mov dword [ebp - 0x508], edx
invalid
int1
Function at 0x40b3cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0xd04], eax
mov cx, word [ebp - 0x10aa]
mov word [ebp - 0x1d0], cx
mov edx, dword [ebp - 0xd08]
mov ax, word [edx]
mov word [ebp - 0x10ac], ax
mov ecx, dword [ebp - 0xd08]
add ecx, 2
mov dword [ebp - 0xd08], ecx
mov dx, word [ebp - 0x10ac]
mov word [ebp - 0x30], dx
push ebp
rcl byte [ebx + 0x52]
add esp, 4
and ebx, 0xd13c
jmp 0x40b41b
pop ebx
push esi
push ebx
add esp, 4
jmp 0x40b426
call 0x40b434
add byte [edx], dh
dec edi
cmp eax, 0x3450324f
add esp, 4
jmp method.std::_Iostream_error_category.virtual_16
pop esi
movzx eax, word [ebp - 0x30]
test eax, eax
jne 0x40b45a
movzx ecx, word [ebp - 0x1d0]
movzx edx, word [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x1644], ecx
jmp 0x40b4b4
movzx eax, word [ebp - 0x1d0]
movzx ecx, word [ebp - 0x30]
cmp eax, ecx
je 0x40b382
movzx edx, word [ebp - 0x1d0]
xor edx, 0x20
movzx eax, word [ebp - 0x30]
cmp edx, eax
je 0x40b382
movzx ecx, word [ebp - 0x1d0]
movzx edx, word [ebp - 0x30]
cmp dword [ebp - 0x1644], 0
jne 0x40b4fd
push eax
push esi
add esp, 4
sub eax, 0x11d5c
pop eax
push eax
and eax, 0xfafa
call 0x40b4df
add byte [0x36344c36], dh
dec esi
cmp dword [eax + 0x4d], eax
add esp, 4
push ecx
and ecx, 0x94b5
sub ecx, 0x7a01
add ecx, 0x1615f
sub ecx, 0x2821
pop ecx
push eax
push edx
add esp, 4
and eax, 0x18422
jmp 0x40b528
invalid

Function at 0x40b434
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0xd04], eax
mov cx, word [ebp - 0x10aa]
mov word [ebp - 0x1d0], cx
mov edx, dword [ebp - 0xd08]
mov ax, word [edx]
mov word [ebp - 0x10ac], ax
mov ecx, dword [ebp - 0xd08]
add ecx, 2
mov dword [ebp - 0xd08], ecx
mov dx, word [ebp - 0x10ac]
mov word [ebp - 0x30], dx
push ebp
rcl byte [ebx + 0x52]
add esp, 4
and ebx, 0xd13c
jmp 0x40b41b
pop ebx
push esi
push ebx
add esp, 4
jmp 0x40b426
call 0x40b434
add byte [edx], dh
dec edi
cmp eax, 0x3450324f
add esp, 4
jmp method.std::_Iostream_error_category.virtual_16
pop esi
movzx eax, word [ebp - 0x30]
test eax, eax
jne 0x40b45a
movzx ecx, word [ebp - 0x1d0]
movzx edx, word [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x1644], ecx
jmp 0x40b4b4
movzx eax, word [ebp - 0x1d0]
movzx ecx, word [ebp - 0x30]
cmp eax, ecx
je 0x40b382
movzx edx, word [ebp - 0x1d0]
xor edx, 0x20
movzx eax, word [ebp - 0x30]
cmp edx, eax
je 0x40b382
movzx ecx, word [ebp - 0x1d0]
movzx edx, word [ebp - 0x30]
cmp dword [ebp - 0x1644], 0
jne 0x40b4fd
push eax
push esi
add esp, 4
sub eax, 0x11d5c
pop eax
push eax
and eax, 0xfafa
call 0x40b4df
add byte [0x36344c36], dh
dec esi
cmp dword [eax + 0x4d], eax
add esp, 4
push ecx
and ecx, 0x94b5
sub ecx, 0x7a01
add ecx, 0x1615f
sub ecx, 0x2821
pop ecx
push eax
push edx
add esp, 4
and eax, 0x18422
jmp 0x40b528
invalid

Function at 0x40b4a3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc dword [ecx]
add byte [eax], al
add byte [ebx - 0x163f7b], cl
dec dword [ecx - 0x16437b]
Function at 0x40b4df
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0xd04], eax
mov cx, word [ebp - 0x10aa]
mov word [ebp - 0x1d0], cx
mov edx, dword [ebp - 0xd08]
mov ax, word [edx]
mov word [ebp - 0x10ac], ax
mov ecx, dword [ebp - 0xd08]
add ecx, 2
mov dword [ebp - 0xd08], ecx
mov dx, word [ebp - 0x10ac]
mov word [ebp - 0x30], dx
push ebp
rcl byte [ebx + 0x52]
add esp, 4
and ebx, 0xd13c
jmp 0x40b41b
pop ebx
push esi
push ebx
add esp, 4
jmp 0x40b426
call 0x40b434
add byte [edx], dh
dec edi
cmp eax, 0x3450324f
add esp, 4
jmp method.std::_Iostream_error_category.virtual_16
pop esi
movzx eax, word [ebp - 0x30]
test eax, eax
jne 0x40b45a
movzx ecx, word [ebp - 0x1d0]
movzx edx, word [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x1644], ecx
jmp 0x40b4b4
movzx eax, word [ebp - 0x1d0]
movzx ecx, word [ebp - 0x30]
cmp eax, ecx
je 0x40b382
movzx edx, word [ebp - 0x1d0]
xor edx, 0x20
movzx eax, word [ebp - 0x30]
cmp edx, eax
je 0x40b382
movzx ecx, word [ebp - 0x1d0]
movzx edx, word [ebp - 0x30]
cmp dword [ebp - 0x1644], 0
jne 0x40b4fd
push eax
push esi
add esp, 4
sub eax, 0x11d5c
pop eax
push eax
and eax, 0xfafa
call 0x40b4df
add byte [0x36344c36], dh
dec esi
cmp dword [eax + 0x4d], eax
add esp, 4
push ecx
and ecx, 0x94b5
sub ecx, 0x7a01
add ecx, 0x1615f
sub ecx, 0x2821
pop ecx
push eax
push edx
add esp, 4
and eax, 0x18422
jmp 0x40b528
invalid

Function at 0x40b4e2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub eax, 0x12edc
sub eax, 0xa1b0
pop eax
mov ecx, dword [ebp - 0x510]
mov dword [ebp - 0x7a4], ecx
jmp 0x40b565
invalid

Function at 0x40b581
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
push eax
push edx
add esp, 4
sub eax, 0x1223e
sub eax, 0x10337
pop eax
cmp dword [ebp - 0x7a4], 0
jne 0x40b5e1
push esi
push ebx
add esp, 4
add esi, 0x9ae6
or esi, 0x16ff9
add byte [ecx + 0x151a4f6], al
add byte [esi + 0x52], bl
push esi
jmp 0x40b5e7
or esi, 0x39f3
jmp 0x40b5f6
pop esi
push edx
push eax
add esp, 4
xor edx, 0x8ecb
jmp 0x40b60b
jmp 0x40b612
pop edx
mov eax, dword [ebp - 0x7a4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x7b4], 0
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x1648], edx
cmp dword [ebp - 0x1648], 0
jne 0x40b652
mov eax, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], eax
jmp 0x40b943
add byte [eax], al
mov ecx, dword [ebp - 0x1648]
mov edx, dword [ebp - 0x37c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x164c], edx
invalid
push dword [ebp + 0x11]
mov eax, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], eax
jmp 0x40b943
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x164c]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1650], ecx
cmp dword [ebp - 0x1650], 0
jne 0x40b6ac
mov edx, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], edx
xor ah, bh
invalid
invalid
mov eax, dword [ebp - 0x37c]
add eax, dword [ebp - 0x1650]
mov dword [ebp - 0x7a8], eax
jne 0x40b6d1
mov ecx, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], ecx
jmp 0x40b943
mov edx, dword [ebp - 0x7a8]
mov eax, dword [ebp - 0x37c]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1d6c], eax
invalid
lea ebx, [eax - 8]
Function at 0x40b794
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add dword [ecx - 0x16773], ecx
dec dword [ebx - 0x7276b]
inc dword [ebx]
xchg ebp, eax
cwde
invalid
Function at 0x40bae1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xd1c], eax
push edx
call 0x40bae1
add byte [esi + esi + 0x45], al
push eax
aas
cmp al, byte ss:[ebx - 0x3d7efb3c]
pop eax
add byte [eax], al
or edx, 0x1119
retf 0x1119
add byte [eax], al
pop edx
push edx
xor edx, 0x2efe
add edx, 0x1549
jmp 0x40bb04
pop edx
cmp dword [ebp - 0xd1c], 0

Function at 0x40bc22
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
sub ecx, 0x8b08
sub ecx, 0x1310d
pop ecx
push edx
push esi
add esp, 4
xor edx, 0xc9ea
add edx, 0x95a
ret 0x95a
add byte [eax], al
add edx, 0x11e00
push ds
add dword [eax], eax
pop edx
push edx
push eax
add esp, 4
xor edx, 0xc56a
pop edx
mov ecx, dword [ebp - 0xd14]
mov dx, word [ecx]
mov word [ebp - 0x10ae], dx
mov eax, dword [ebp - 0xd14]
add eax, 2
mov dword [ebp - 0xd14], eax
mov cx, word [ebp - 0x10ae]
mov word [ebp - 0x1d4], cx
mov edx, dword [ebp - 0xd18]
mov ax, word [edx]
mov word [ebp - 0x10b0], ax
mov ecx, dword [ebp - 0xd18]
add ecx, 2
mov dword [ebp - 0xd18], ecx
mov dx, word [ebp - 0x10b0]
mov word [ebp - 0x34], dx
push edx
xor edx, 0x21cf
call fcn.0040bc22
add byte [eax], bh
cmp edi, dword [0x3a334149]
add esp, 4
or edx, 0xdb36
pop edx
push ebx
xor ebx, 0x10051
and ebx, 0xbd4b
xor ebx, 0x88e5
pop ebx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x40bc5d
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x165c], ecx
jmp 0x40bcb7
movzx eax, word [ebp - 0x1d4]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x40bb85
movzx edx, word [ebp - 0x1d4]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x40bb85
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x40bca1
mov dword [ebp - 0x1658], 0xffffffff
jmp 0x40bcab
mov dword [ebp - 0x1658], 1
mov eax, dword [ebp - 0x1658]
mov dword [ebp - 0x165c], eax
cmp dword [ebp - 0x165c], 0
jne 0x40bd00
push ebx
add ebx, 0xb663
add byte [ecx + 0x1740bf3], al
add byte [ebx + 0x50], bl
push edi
add edi, 0x1828
and edi, 0x15c2a
jmp 0x40bd15
pop edi
push edx
or edx, 0x18404
add edx, 0xda83
sub edx, 0xcb38
pop edx
push esi
xor esi, 0x447a
pop esi
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xd1c]
je 0x40bd5e
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x40bb29
mov dword [ebp - 0x2c0], 0
Function at 0x40e0da
Capabilities:
Encode data using xor

Disassembly:
lock add dword [ecx], eax
xor eax, 0x8f8b68cb
sal al, 1
add dword [ecx], eax
pop eax
push ebp
test esi, eax
push es
adc eax, 0xffffff9b
jp 0x40e0f2
add al, byte [edx]
ljmp 0x5002
add ch, dl
or al, 2
add al, byte [edx]
add dl, byte [eax + 0x3f]
cmp cl, byte [ebp + 0x43]
dec ecx
cmp dword [eax + 0x3d], edx
test esi, eax
push es
xor eax, 0x63
or byte [edx], al
add al, byte [ebx + 0x28291f8]
add ah, byte [eax + 0x55]
xor ebp, 0xfffffff2
add dword [edx], eax
invalid
cmc
add dword [edx], eax
add bl, byte [ebp - 0x38]
xchg esi, esp
test byte [ecx], 1
push esp
enter 0xffffffffffffe787, 0xfffffffffffffff6
add dword [ecx], eax
xchg edi, esp
test byte [ecx], 1
jbe 0x40e0ef
xchg eax, ebp
test byte [ecx], 1
outsb dx, byte [esi]
enter 0xffffffffffffe987, 0xfffffffffffffff6
add dword [ecx], eax
dec ebx
enter 0xffffffffffffea87, 0xfffffffffffffff6
add dword [ecx], eax
jo 0x40e104
xchg ebx, ebp
test byte [ecx], 1
imul ecx, eax, 0xffffff87
in al, dx
test byte [ecx], 1
jbe 0x40e112
xchg ebp, ebp
test byte [ecx], 1
push edi
enter 0xffffffffffffee87, 0xfffffffffffffff6
add dword [ecx], eax
jo 0x40e120
xchg edi, ebp
test byte [ecx], 1
imul ecx, eax, 0xffffff87
invalid

Function at 0x427500
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x4275be
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitTelemetry
push ebx
call esi
push str.UnInitTelemetry
push ebx
mov dword [edi], eax
call esi
push str.InitCATelemetry
push ebx
mov dword [edi + 4], eax
call esi
push str.UnInitCATelemetry
push ebx
mov dword [edi + 8], eax
call esi
push str.GetMetricsID
push ebx
mov dword [edi + 0xc], eax
call esi
push str.GetCAMetricsID
push ebx
mov dword [edi + 0x10], eax
call esi
push str.AddMetricValueString
push ebx
mov dword [edi + 0x14], eax
call esi
push str.AddMetricValueLong
push ebx
mov dword [edi + 0x18], eax
call esi
push str.SendMetrics
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.SendCAMetrics
push ebx
mov dword [edi + 0x20], eax
call esi
xor ecx, ecx
mov dword [edi + 0x24], eax
pop esi
cmp dword [edi], ecx
je 0x4275be
cmp dword [edi + 4], ecx
je 0x4275be
cmp dword [edi + 8], ecx
je 0x4275be
cmp dword [edi + 0xc], ecx
je 0x4275be
cmp dword [edi + 0x10], ecx
je 0x4275be
cmp dword [edi + 0x14], ecx
je 0x4275be
cmp dword [edi + 0x18], ecx
je 0x4275be
cmp dword [edi + 0x1c], ecx
je 0x4275be
cmp dword [edi + 0x20], ecx
je 0x4275be
test eax, eax
je 0x4275be
xor eax, eax
inc eax
jmp 0x4275c0
xor eax, eax
pop edi
pop ebx
pop ebp
ret 4

Function at 0x427e15
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x15555555
ja fcn.0040a744
imul eax, eax, 0xc
pop ebp
ret
Function at 0x4283e0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push esi
push edi
je 0x428449
cmp dword [ebp + 0xc], 0
je 0x428449
cmp dword [ebp + 0x10], 0
je 0x428449
mov esi, dword [ebp + 0x14]
cmp esi, 0x20
jb 0x428449
push 0xf0000000
push 0x18
xor edi, edi
lea eax, [ebp - 8]
push edi
push edi
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x428449
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push edi
push edi
push 0x800c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push edi
test eax, eax
jne 0x42844f
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop edi
pop esi
leave
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x428477
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x428449
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
inc eax
jmp 0x42844b

Function at 0x429dd2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x7ffffff
ja fcn.0040a744
shl eax, 5
pop ebp
ret
Function at 0x42aabe
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.0049fd90
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x42abb1
test edi, edi
je 0x42abb1
push esi
lea eax, [ebp - 0x1008]
xor esi, esi
push eax
mov eax, dword [ebp + 0x10]
or eax, 0x2001f
mov dword [ebp - 0x1008], esi
push eax
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ab97
push 0x1000
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], 0x800
push esi
push eax
call fcn.004c4160
add esp, 0xc
jmp 0x42ab5c
push esi
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call fcn.0042bf76
add esp, 0xc
test eax, eax
je 0x42ab97
mov dword [ebp - 0x100c], 0x800
lea eax, [ebp - 0x1014]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
push esi
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42ab38
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor esi, esi
xor ecx, ecx
inc esi
test eax, eax
cmovne esi, ecx
cmp dword [ebp - 0x1008], 0
je 0x42abac
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x42abb3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0049fb26
leave
ret

Function at 0x42abc1
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x42ac23
cmp dword [ebp + 0xc], 0
je 0x42ac23
cmp dword [ebp + 0x10], 0
je 0x42ac23
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x2001f
mov dword [ebp - 4], esi
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ac0f
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
inc esi
xor ecx, ecx
test eax, eax
cmovne esi, ecx
cmp dword [ebp - 4], 0
je 0x42ac1e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
xor eax, eax
leave
ret
Function at 0x42ac27
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d0fc
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.0049fd90
mov eax, dword [0x59cd24]
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 ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test ecx, ecx
je 0x42add1
test eax, eax
je 0x42add1
xor edi, edi
lea edx, [ebp - 0x2014]
mov dword [ebp - 0x2014], edi
push edx
cmp dword [ebp + 0x14], edi
jne 0x42ac8d
push 0x20019
jmp 0x42ac92
push 0x20119
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42add1
mov esi, 0x1000
lea eax, [ebp - 0x2010]
push esi
push edi
push eax
call fcn.004c4160
add esp, 0xc
mov dword [ebp - 0x201c], 0x800
lea eax, [ebp - 0x2040]
mov dword [ebp - 0x2018], edi
push eax
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x202c]
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x2034]
push eax
lea eax, [ebp - 0x2038]
push eax
lea eax, [ebp - 0x2018]
push eax
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push esi
mov edi, eax
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.004c4160
mov eax, dword [ebp - 0x2018]
add esp, 0xc
test eax, eax
je 0x42adb3
xor esi, esi
test eax, eax
je 0x42adb3
lea eax, [ebp - 0x2040]
mov dword [ebp - 0x2020], 0x800
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x2020]
push eax
lea eax, [ebp - 0x1010]
push eax
push esi
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
jne 0x42adaa
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x204c]
call fcn.0042ee23
and dword [ebp - 4], edi
lea eax, [ebp - 0x204c]
push eax
mov ecx, ebx
call fcn.0042a969
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204c]
call fcn.0042ee5d
inc esi
cmp esi, dword [ebp - 0x2018]
jb 0x42ad40
cmp dword [ebp - 0x2014], 0
je 0x42adc8
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x42add1
xor eax, eax
inc eax
jmp 0x42add3
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.0049fb26
leave
ret
Function at 0x42aded
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d136
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.0049fd90
mov eax, dword [0x59cd24]
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 edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test edx, edx
je 0x42af8a
test ecx, ecx
je 0x42af8a
lea eax, [ebp - 0x2014]
xor edi, edi
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20019
mov dword [ebp - 0x2014], edi
push eax
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42af8a
mov esi, 0x1000
lea eax, [ebp - 0x2010]
push esi
push edi
push eax
call fcn.004c4160
add esp, 0xc
mov dword [ebp - 0x2020], 0x800
lea eax, [ebp - 0x204c]
mov dword [ebp - 0x201c], edi
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x202c]
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2034]
push eax
lea eax, [ebp - 0x2038]
push eax
lea eax, [ebp - 0x201c]
push eax
push edi
lea eax, [ebp - 0x2020]
push eax
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push esi
mov edi, eax
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.004c4160
mov eax, dword [ebp - 0x2018]
add esp, 0xc
test eax, eax
je 0x42af6c
xor esi, esi
test eax, eax
je 0x42af6c
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2024]
mov dword [ebp - 0x2024], 0x800
push eax
lea eax, [ebp - 0x1010]
push eax
push esi
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test edi, edi
jne 0x42af63
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x2044]
call fcn.0042ee23
and dword [ebp - 4], edi
lea eax, [ebp - 0x2044]
push eax
mov ecx, ebx
call fcn.0042a969
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2044]
call fcn.0042ee5d
inc esi
cmp esi, dword [ebp - 0x2018]
jb 0x42aefe
cmp dword [ebp - 0x2014], 0
je 0x42af81
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x42af8a
xor eax, eax
inc eax
jmp 0x42af8c
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.0049fb26
leave
ret

Function at 0x42afc4
Capabilities:
Get session user name

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5a5354]
push edi
mov edi, 0x5a0fd4
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5a0fe0]
cmp eax, dword [ecx + 4]
jg 0x42aff1
jmp 0x42afe9
pop esi
mov ecx, edi
pop edi
jmp fcn.0042b494
push esi
mov esi, 0x5a0fe0
push esi
call fcn.0049fa38
pop ecx
cmp dword [0x5a0fe0], 0xffffffff
jne 0x42afe8
mov ecx, edi
call fcn.0042a4fa
push 0x53eaaa
call fcn.0049f8f0
push esi
call fcn.0049f9ee
pop ecx
pop ecx
jmp 0x42afe8