joyce8/EMBER2024-capa huggingface dataset:
Function at 0x95b5d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x534
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x52c], eax
mov eax, dword [esp + 0x538]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x207
mov esi, ecx
lea ecx, [esp + 0x25]
push ebx
push ecx
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], bl
call fcn.00a7ffb0
add esp, 0xc
push esi
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x20]
push 0x25
push eax
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0x95b63d
push 1
lea ecx, [esp + 0x24]
push ecx
call fcn.00977760
push 0x80
push 4
push 3
push 4
lea edi, [esp + 0x30]
call fcn.0094db00
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x95b7f8
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x20
jne 0x95b78b
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x95b675
mov dx, word [0xae71fc]
push 0x80
push 4
mov word [edi], dx
push 3
push 4
lea edi, [esp + 0x30]
call fcn.0094db00
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x95b7f8
call ebp
cmp eax, 0x20
jne 0x95b78b
mov eax, edi
dec eax
jmp 0x95b6c0
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x95b6c0
mov cx, word [0xaea5f4]
mov dl, byte [0xaea5f6]
push 0x80
push 4
push 3
mov word [eax], cx
push 4
lea edi, [esp + 0x30]
mov byte [eax + 2], dl
call fcn.0094db00
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x95b7f8
call ebp
cmp eax, 0x20
jne 0x95b78b
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x95b710
mov eax, dword [0xae8f74]
push 0x80
push 4
mov dword [edi], eax
push 3
push 4
lea edi, [esp + 0x30]
call fcn.0094db00
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x95b7f8
call ebp
cmp eax, 0x20
jne 0x95b78b
mov eax, edi
dec eax
nop
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x95b750
mov ecx, dword [str.____]
mov dl, byte [0xaea5fc]
push 0x80
push 4
push 3
mov dword [eax], ecx
push 4
lea edi, [esp + 0x30]
mov byte [eax + 4], dl
call fcn.0094db00
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x95b7f8
push 0x207
lea eax, [esp + 0x335]
push ebx
push eax
mov byte [esp + 0x33c], bl
call fcn.00a7ffb0
push 0x103
lea ecx, [esp + 0x239]
push ebx
push ecx
mov byte [esp + 0x240], bl
call fcn.00a7ffb0
add esp, 0x18
call ebp
push 0x104
mov edi, eax
lea esi, [esp + 0x22c]
call fcn.00960a40
mov edx, esi
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x33c]
push str.Unable_to_open_file__s__Reason:__s
push ecx
call fcn.00a78f30
add esp, 0x14
xor eax, eax
jmp 0x95b830
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x95b822
mov eax, dword [esp + 0x54c]
mov ecx, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
push edx
call fcn.00985290
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x53c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x534
ret
Function at 0x95b850
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, ecx
mov ebx, 1
test edi, edi
je 0x95b98c
test ebp, ebp
je 0x95b98c
cmp byte [edi], 0
je 0x95b98c
push 0xaea600
push edi
call fcn.00a7932f
mov esi, eax
add esp, 8
test esi, esi
jne 0x95b8b2
push 0xaa1578
push edi
call fcn.00a7932f
mov esi, eax
add esp, 8
test esi, esi
je 0x95b98c
push 2
push 0
push esi
call fcn.00a79da2
add esp, 0xc
push esi
call fcn.00a7d201
add esp, 4
test eax, eax
je 0x95b95f
push 2
push 0xffffffffffffffff
push esi
xor edi, edi
call fcn.00a79da2
add esp, 0xc
push esi
push 1
lea eax, [esp + 0x1b]
push 1
push eax
call fcn.00a799fb
add esp, 0x10
test eax, eax
jne 0x95b927
push 2
push 0xfffffffffffffffe
push esi
call fcn.00a79da2
add esp, 0xc
test eax, eax
jne 0x95b921
push esi
push 1
lea ecx, [esp + 0x1b]
push 1
push ecx
call fcn.00a799fb
add esp, 0x10
cmp byte [esp + 0x13], 0xa
je 0x95b921
mov edi, ebx
push 2
push 0xffffffffffffffff
jmp 0x95b934
cmp byte [esp + 0x13], 0xa
je 0x95b930
mov edi, ebx
push 2
push 0
push esi
call fcn.00a79da2
add esp, 0xc
test edi, edi
je 0x95b95f
push 0xaa17f8
push esi
call fcn.00a79a18
add esp, 8
mov eax, 0xaa17f8
mov ecx, ebp
call fcn.0094c330
test eax, eax
je 0x95b96e
push ebp
push 0xaa1544
push esi
call fcn.00a79a18
add esp, 0xc
push esi
call fcn.00a79e9e
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00a78f21
add esp, 8
ret
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 8
ret

Function at 0x95c080
Capabilities:
Delete directory
Set file attributes

Disassembly:
xor eax, eax
test esi, esi
je 0x95c09d
cmp byte [esi], al
je 0x95c09d
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
ret
Function at 0x95c9e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb10638
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x95caeb
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x95caeb
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x95ca33
sub eax, edx
sar eax, 1
mov esi, eax
mov dword [ebp - 0x24], esi
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x95ca50
sub eax, edx
sar eax, 1
mov ebx, eax
cmp esi, ebx
jl 0x95caeb
movzx eax, word [edi]
push eax
call fcn.00a7d35b
add esp, 4
movzx ecx, ax
mov dword [ebp - 0x1c], ecx
xor edi, edi
mov dword [ebp - 0x20], edi
sub esi, ebx
cmp edi, esi
jg 0x95caeb
mov edx, dword [ebp + 8]
lea esi, [edx + edi*2]
movzx eax, word [esi]
push eax
call fcn.00a7d35b
add esp, 4
movzx ecx, ax
cmp dword [ebp - 0x1c], ecx
jne 0x95cacd
push ebx
push esi
mov edx, dword [ebp + 0xc]
push edx
call fcn.00a7c368
add esp, 0xc
test eax, eax
jne 0x95cacd
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
mov esi, dword [ebp - 0x24]
jmp 0x95ca7d
mov dword [ebp - 4], 0xfffffffe
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x95d590
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push ebx
push ebp
push 0
push eax
push ecx
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
jne 0x95d602
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
je 0x95d5d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x95d600
push 0x118
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edi
push ebx
push ebp
push 0
push eax
push ecx
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop esi
pop ebp
ret
mov eax, esi
pop esi
pop ebp
ret
Function at 0x95d610
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 8]
push esi
push edi
push ebx
push ebp
push 0
push eax
push 0
push 0
push 0
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov esi, eax
test esi, esi
jne 0x95d686
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
je 0x95d654
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x95d684
push 0x118
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edi
push ebx
push ebp
push 0
push eax
push 0
push 0
push 0
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
pop esi
pop ebp
ret
mov eax, esi
pop esi
pop ebp
ret
Function at 0x95e560
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
push 0x3c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00a7ffb0
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x95e5b9
test esi, esi
je 0x95e5a6
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
shrd edx, eax, 0xa
shr eax, 0xa
mov dword [esi], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
shrd eax, ecx, 0xa
shr ecx, 0xa
mov esp, ebp
pop ebp
ret
xor eax, eax
lea edx, [esp]
push edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
test esi, esi
je 0x95e5f6
mov eax, dword [esp + 0xc]
shr eax, 0xa
mov dword [esi], eax
mov eax, dword [esp + 8]
shr eax, 0xa
mov esp, ebp
pop ebp
ret

Function at 0x95e610
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00a7ffb0
add esp, 0xc
push 0xae4a98
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, byte [esp]
test al, al
je 0x95e669
cmp byte [esp + 1], 0x3a
jne 0x95e669
mov byte [esi], al
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00a78f21
add esp, 0x108
ret

Function at 0x95e7e0
Capabilities:
Create directory

Disassembly:
sub esp, 0x410
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebx
push edi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x19]
push ebx
push eax
mov edi, ecx
mov byte [esp + 0x20], bl
call fcn.00a7ffb0
xor eax, eax
add esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
cmp esi, ebx
je 0x95e8c6
cmp edi, ebx
je 0x95e8c6
cmp byte [esi], bl
jne 0x95e83b
cmp byte [edi], bl
je 0x95e8c6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
mov byte [esp + 0x1c], bl
call edi
cmp byte [esi], bl
je 0x95e876
lea ecx, [esp + 0x14]
call fcn.00960910
push esi
lea edx, [esp + 0x18]
push edx
call edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
jne 0x95e8a2
pop edi
pop ebx
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.00a78f21
add esp, 0x410
ret
lea edx, [esp + 0x14]
push edx
call fcn.00974cb0
add esp, 4
pop edi
pop ebx
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.00a78f21
add esp, 0x410
ret
mov ecx, dword [esp + 0x414]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00a78f21
add esp, 0x410
ret
Function at 0x95e8e0
Capabilities:
Create directory

Disassembly:
sub esp, 0x810
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
xor eax, eax
push 0x7fe
mov esi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00a7ffb0
xor eax, eax
add esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
test esi, esi
je 0x95e9ff
cmp word [esi], ax
je 0x95e9ff
push edi
xor edx, edx
lea edi, [esp + 0x14]
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov word [esp + 0x14], dx
add edi, 0xfffffffe
jmp 0x95e960
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x95e960
mov ax, word [0xaa8704]
mov word [edi], ax
lea eax, [esp + 0x14]
call fcn.00972cd0
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x95e982
lea edi, [esp + 0x14]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x95e996
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
cmp eax, 1
jne 0x95e9dc
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.00a78f21
add esp, 0x810
ret
lea eax, [esp + 0x10]
push eax
call fcn.00974c70
add esp, 4
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.00a78f21
add esp, 0x810
ret
mov ecx, dword [esp + 0x810]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00a78f21
add esp, 0x810
ret
Function at 0x95ea20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.00a7ffb0
xor eax, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
cmp esi, ebx
je 0x95eb62
cmp byte [esi], bl
je 0x95eb62
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0xaa1543
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 1
mov byte [esp + 0x20], bl
call edi
push esi
lea edx, [esp + 0x1c]
push edx
call edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jle 0x95eb16
mov al, 0x5c
cmp byte [esp + 0x18], al
jne 0x95eac7
cmp byte [esp + 0x19], al
je 0x95eb16
push 0x103
lea ecx, [esp + 0x125]
push ebx
push ecx
mov byte [esp + 0x12c], bl
call fcn.00a7ffb0
add esp, 0xc
lea edi, [esp + 0x120]
lea ecx, [esp + 0x18]
call fcn.00959920
mov esi, edi
call fcn.00960950
xor ecx, ecx
call fcn.0095a6d0
test eax, eax
jne 0x95eb16
mov edx, edi
push 0xaa1543
push edx
call fcn.0095ea20
add esp, 8
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
jne 0x95eb40
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x18]
push edx
call fcn.00974cb0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x95eb80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x258
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
push 0x103
lea eax, [esp + 0x155]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov byte [esp + 0x15c], 0
call fcn.00a7ffb0
add esp, 0xc
test ebx, ebx
je 0x95ed2b
test esi, esi
je 0x95ed2b
cmp byte [ebx], 0
je 0x95ed2b
cmp byte [esi], 0
je 0x95ed2b
push ebx
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x150]
call fcn.00960910
push esi
lea edx, [esp + 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
lea eax, [esp + 0x154]
push eax
call fcn.00977760
lea esi, [esp + 0x10]
lea ecx, [esp + 0x150]
mov edi, 1
call fcn.0094df40
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x95ed13
test edi, edi
je 0x95ed08
test byte [esp + 0x10], 0x10
jne 0x95ecf4
push ebx
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x150]
call fcn.00960910
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
lea ecx, [esp + 0x154]
push ecx
call fcn.00977760
test byte [esp + 0x10], 7
je 0x95ecac
push 0x80
lea edx, [esp + 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea edi, [esp + 0x154]
call fcn.009627b0
add esp, 4
test eax, eax
jne 0x95ecec
cmp dword [ebp + 8], 1
jne 0x95ecf4
call fcn.0095bfa0
test eax, eax
jne 0x95ecf4
push eax
mov ecx, edi
call fcn.00957a90
mov ecx, dword [esp + 0xc]
lea esi, [esp + 0x10]
call fcn.0094e160
mov edi, eax
jmp 0x95ec42
mov dword [esp + 8], 1
mov ecx, dword [esp + 0xc]
lea esi, [esp + 0x10]
call fcn.0094e160
mov edi, eax
jmp 0x95ec42
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00a78f21
mov esp, ebp
pop ebp
ret

Function at 0x95f680
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x408
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
push 0x3ff
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.00a7ffb0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 9
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x95f6ea
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.00a78f21
add esp, 0x408
ret
mov eax, dword [esp + 4]
push 0x400
lea edx, [esp + 0xc]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x408]
xor eax, eax
test esi, esi
sete al
pop esi
xor ecx, esp
call fcn.00a78f21
add esp, 0x408
ret
Function at 0x95f730
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x113c
call fcn.00a91950
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x1138], eax
push ebx
mov ebx, dword [esp + 0x114c]
push esi
mov esi, dword [esp + 0x1148]
push edi
mov edi, dword [esp + 0x1150]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
test edi, edi
je 0x95f8e7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x95f8e7
push ebp
lea eax, [esp + 0x10]
push eax
push 0x10008
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, eax
push ebp
call esi
test ebp, ebp
jne 0x95f89d
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x138]
push edx
push 0
push eax
mov byte [esp + 0x144], 0
mov dword [esp + 0x38], 0x1024
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebp, eax
cmp ebp, 0x103
je 0x95f80c
test ebp, ebp
jne 0x95f877
mov edx, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x128]
push ecx
push edx
call fcn.0095f730
add esp, 0xc
mov ebp, eax
push ebp
call esi
test ebp, ebp
je 0x95f7a7
jmp 0x95f877
test ebx, ebx
je 0x95f81d
push 0
push edi
push str.Deleting_Registry_Hive__s
call ebx
add esp, 0xc
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebp, eax
push ebp
call esi
test ebp, ebp
je 0x95f877
test ebx, ebx
je 0x95f877
push 0x103
lea ecx, [esp + 0x25]
push 0
push ecx
call fcn.00a7ffb0
add esp, 0xc
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x103
mov edi, eax
lea esi, [esp + 0x24]
call fcn.00960a40
mov eax, dword [esp + 0x18]
mov edx, esi
push edx
push eax
push str.ERROR____Unable_to_delete_the_key__s__Reason:__s
call ebx
add esp, 0x10
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1138]
xor ecx, esp
call fcn.00a78f21
add esp, 0x113c
ret
push ebp
call esi
test ebx, ebx
je 0x95f882
push 0x103
lea edx, [esp + 0x25]
push 0
push edx
call fcn.00a7ffb0
add esp, 0xc
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x103
mov edi, eax
lea esi, [esp + 0x24]
call fcn.00960a40
mov ecx, dword [esp + 0x18]
mov eax, esi
push eax
push ecx
push str.MyRegOpenKey_fails_on_key__s____Reason__s
call ebx
add esp, 0x10
jmp 0x95f882
mov ecx, dword [esp + 0x1144]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x3f2
call fcn.00a78f21
add esp, 0x113c
ret

Function at 0x95f910
Capabilities:
Check if file exists

Disassembly:
push esi
call fcn.0094c180
cmp al, 1
je 0x95f938
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x95f93e
push esi
call fcn.00989f40
cmp eax, 1
jne 0x95f93e
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
ret
xor eax, eax
ret
Function at 0x95f950
Capabilities:
Check if file exists
Delete registry value

Disassembly:
push ecx
push esi
mov esi, eax
mov dword [esp + 4], 0
call fcn.00968110
test eax, eax
jne 0x95f9a9
push str.QuicAllowed
mov ecx, esi
mov edx, 0x80000002
call fcn.0094c180
cmp al, 1
je 0x95f99c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x95f9a4
push str.QuicAllowed
call fcn.00989f40
cmp eax, 1
jne 0x95f9a4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0x102
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call edi
test esi, esi
jne 0x95fa12
mov ecx, dword [esp + 8]
push str.QuicAllowed
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 8]
test esi, esi
je 0x95fa1b
test eax, eax
je 0x95f9fe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
cmp esi, 2
jne 0x95fa12
push str.QuicAllowed
call fcn.00989f40
cmp eax, 1
je 0x95fa2e
push esi
call edi
pop edi
xor al, al
pop esi
pop ecx
ret
test eax, eax
je 0x95fa2e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
push 0
call edi
pop edi
mov al, 1
pop esi
pop ecx
ret
Function at 0x95fa40
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0xa983ee
mov eax, dword fs:[0]
push eax
mov eax, 0x1038
call fcn.00a91950
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x1034], eax
push ebp
push esi
push edi
mov eax, dword [0xb196ec]
xor eax, esp
push eax
lea eax, [esp + 0x1048]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1058]
mov esi, dword [esp + 0x105c]
mov eax, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
test byte [0xc0ea38], al
jne 0x95fac7
or dword [0xc0ea38], eax
mov dword [esp + 0x1050], 0
call fcn.00968110
mov dword [0xc0ea34], eax
mov dword [esp + 0x1050], 0xffffffff
cmp dword [0xc0ea34], 0
je 0x95fbab
test esi, esi
je 0x95fba2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x95fba2
lea eax, [esp + 0x10]
push eax
push 0x10108
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call edi
test esi, esi
jne 0x95fb9b
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push eax
mov byte [esp + 0x40], 0
mov dword [esp + 0x3c], 0x1024
call ebp
mov esi, eax
cmp esi, 0x103
je 0x95fb78
test esi, esi
jne 0x95fb8c
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.0095fa40
add esp, 8
mov esi, eax
push esi
call edi
test esi, esi
je 0x95fb18
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x95fbb8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0097ed20
mov esi, eax
push esi
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x95fbb8
push esi
call edi
mov eax, esi
jmp 0x95fbb8
mov esi, 0x3f2
mov eax, esi
jmp 0x95fbb8
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0x57
mov ecx, dword [esp + 0x1048]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1034]
xor ecx, esp
call fcn.00a78f21
add esp, 0x1044
ret