joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a616
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
call fcn.100ef4d0
test eax, eax
je 0x1000a633
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop ebp
ret
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x1000a69e
push esi
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x1000a69d
push edi
lea eax, [esi + esi]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.10094bd0
push esi
call fcn.10061556
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000a69c
push esi
push ebx
push edi
call fcn.10094bd0
add esp, 0xc
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, eax
test ebx, ebx
je 0x1000a69c
push esi
push dword [ebp + 0xc]
xor ebx, ebx
push 0xffffffffffffffff
push edi
call fcn.1001aff0
add esp, 0x10
test eax, eax
je 0x1000a69c
push dword [ebp + 0xc]
call fcn.100951b6
pop ecx
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x1000b718
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1023f420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov edi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], ebx
call esi
mov dword [ebp - 0x408], eax
cmp eax, 0xffffffff
jne 0x1000b75e
push dword [ebp + 0x10]
push ebx
push edi
jmp 0x1000b830
test al, 1
je 0x1000b773
and eax, 0xfffffffe
push eax
push ebx
mov dword [ebp - 0x408], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x408], 0x10
je 0x1000b826
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.10094bd0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call edi
push eax
push ebx
mov ebx, str._s.bak_08X
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.10096293
and dword [ebp - 0x408], 0
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
jmp 0x1000b808
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
push eax
push dword [ebp - 0x40c]
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.10096293
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
inc dword [ebp - 0x408]
cmp dword [ebp - 0x408], 0xa
jge 0x1000b850
cmp eax, 0xffffffff
jne 0x1000b7cf
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [ebp - 0x40c]
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
mov esi, eax
call fcn.1000ae89
mov eax, esi
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10094ab7
leave
ret
xor eax, eax
jmp 0x1000b841
Function at 0x1000e3b1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [ebp + 8], ebx
je 0x1000e3d7
push dword [ebp + 8]
call fcn.100951b6
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], ebx
je 0x1000e3e8
push dword [ebp + 0xc]
call fcn.100951b6
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
lea edi, [eax + ecx]
lea edi, [edi + edi + 0x10]
push edi
call fcn.10061556
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x1000e406
xor eax, eax
jmp 0x1000e475
push edi
push ebx
push esi
call fcn.10094bd0
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.10094c50
add esp, 0x18
cmp dword [ebp - 0x10], ebx
jbe 0x1000e433
push dword [esi]
lea eax, [esi + 0xc]
push dword [ebp + 8]
push eax
call fcn.1009516c
add esp, 0xc
cmp dword [ebp - 0xc], ebx
jbe 0x1000e44d
push dword [esi + 4]
mov eax, dword [esi]
push dword [ebp + 0xc]
lea eax, [esi + eax*2 + 0xe]
push eax
call fcn.1009516c
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x1000e386
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
je 0x1000e475
mov edx, dword [ebp - 4]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000f8e3
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x101c538e
call fcn.10094ac6
mov ecx, dword [ebp + 0xc]
call fcn.100c9f70
mov edi, dword [ebp + 8]
push edi
call fcn.100951b6
cmp eax, 1
pop ecx
movzx ecx, word [edi]
jl 0x1000fa26
cmp cx, 0x5c
je 0x1000fa26
cmp cx, 0x2e
jne 0x1000f935
cmp eax, 1
je 0x1000fa26
cmp eax, 2
jne 0x1000f935
cmp word [edi + 2], cx
je 0x1000fa26
mov edx, dword [0x102069b8]
mov dword [ebp - 0x10], edx
and dword [ebp - 4], 0
cmp eax, 3
jle 0x1000f96a
cmp word [edi + 2], 0x3a
jne 0x1000f96a
cmp word [edi + 4], 0x5c
jne 0x1000f96a
cmp cx, 0x61
jb 0x1000f961
cmp cx, 0x7a
jbe 0x1000f9bb
add ecx, 0xffffffbf
cmp cx, 0x19
jbe 0x1000f9bb
mov esi, 0x105
push esi
lea ecx, [ebp - 0x10]
call fcn.100caed0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.100cafa0
test esi, esi
je 0x1000fa2f
cmp esi, 0x104
ja 0x1000fa2f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
movzx eax, word [eax + ecx*2 - 2]
cmp ax, 0x5c
je 0x1000f9bb
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.100cae90
push 0x101e0394
lea ecx, [ebp - 0x18]
call fcn.100c9a60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100ca7a0
mov byte [ebp - 4], 2
push edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.100ca970
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
push eax
call fcn.100ca390
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.100ca200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100ca200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100ca200
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100ca200
xor eax, eax
inc eax
call fcn.10094b9e
ret
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100ca200
xor eax, eax
jmp 0x1000fa29

Function at 0x1000fb74
Capabilities:
Get file attributes

Disassembly:
push 4
mov eax, 0x101c53f7
call fcn.10094ac6
mov eax, dword [0x102069b8]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1000fba4
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1000fa3f
pop ecx
pop ecx
test eax, eax
jne 0x1000fbc3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100ca200
mov eax, esi
call fcn.10094b9e
ret
push dword [ebp - 0x10]
jmp 0x1000fba7

Function at 0x1000fbc8
Capabilities:
Set file attributes

Disassembly:
push 4
mov eax, 0x101c541a
call fcn.10094ac6
mov eax, dword [0x102069b8]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1000fbf8
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1000fa3f
pop ecx
pop ecx
test eax, eax
jne 0x1000fc1a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100ca200
mov eax, esi
call fcn.10094b9e
ret
push dword [ebp + 0xc]
push dword [ebp - 0x10]
jmp 0x1000fbfe
Function at 0x1000fdab
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x101c54b6
call fcn.10094ac6
mov eax, dword [0x102069b8]
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x1000fddc
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1000fa3f
pop ecx
pop ecx
test eax, eax
je 0x1000fddc
inc esi
cmp dword [0x1025ee48], 0
je 0x1000fe02
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x1025eddc
call fcn.10023e87
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x1000fe28
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100ca200
mov eax, esi
call fcn.10094b9e
ret
push dword [ebp - 0x10]
jmp 0x1000fe0c

Function at 0x10010224
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10010233
xor eax, eax
jmp 0x10010281
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010259
test al, 0x10
jne 0x10010271
push 0x80
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10010271
push edi
call fcn.1000fed5
pop ecx
test eax, eax
je 0x10010280
cmp dword [ebp + 0xc], 0
je 0x1001027d
push dword [ebp + 0xc]
push edi
call esi
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret

Function at 0x10013d5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1023f420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
lea esi, [eax + 0x18]
mov eax, dword [esi]
cmp dword [eax - 8], 0
jne 0x10013dbb
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10094bd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.100ca480
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10094ab7
leave
ret
Function at 0x10013e19
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0
mov eax, 0x101c606a
call fcn.10094ac6
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x10013eb8
cmp dword [ebp + 0x10], ebx
je 0x10013eb8
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.100c9a60
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.100ca390
mov dword [ebp + 0x10], ebx
mov ebx, 0x3e8
cmp dword [ebp + 0x10], 0
push dword [ebp + 8]
jne 0x10013e76
push dword [edi]
push 0x101e14a4
push esi
call fcn.100cd180
add esp, 0x10
jmp 0x10013e89
push dword [ebp + 0x10]
push dword [edi]
push 0x101e2400
push esi
call fcn.100cd180
add esp, 0x14
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10013e9e
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], ebx
jb 0x10013e5b
xor eax, eax
cmp dword [ebp + 0x10], ebx
setne al
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100ca200
mov eax, esi
jmp 0x10013eba
xor eax, eax
call fcn.10094b9e
ret 0xc
Function at 0x1001b1b0
Capabilities:
Read .ini file

Disassembly:
push 0xe1c
mov eax, 0x101c73b7
call fcn.10094b2f
xor ebx, ebx
cmp dword [0x10256d94], ebx
jne 0x1001b3e7
push 0x3ff
lea eax, [ebp - 0x617]
push ebx
push eax
mov dword [0x10256d94], 1
mov byte [ebp - 0x618], bl
call fcn.10094bd0
xor eax, eax
push 0x7fe
mov word [ebp - 0xe18], ax
lea eax, [ebp - 0xe16]
push ebx
push eax
mov dword [ebp - 0xe1c], ebx
call fcn.10094bd0
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.10094bd0
add esp, 0x24
push str.OAgent.ini
call fcn.10001f61
push eax
lea eax, [ebp - 0x218]
push 0x101dd830
push eax
call fcn.10096293
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0xe18]
push eax
push 0x101dec6c
push 0x101e2cc0
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x1001b2a0
cmp word [ebp - 0x61a], bx
jne 0x1001b2a0
push esi
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0xe18]
push eax
call fcn.100dda80
add esp, 0xc
mov dword [ebp - 0xe1c], eax
cmp dword [ebp - 0xe1c], ebx
jne 0x1001b3ae
lea ecx, [ebp - 0xe24]
call fcn.100d9090
mov dword [ebp - 4], ebx
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xe24]
call fcn.100d9200
mov edi, 0x101e2d54
test eax, eax
je 0x1001b32c
lea eax, [ebp - 0xe1c]
push eax
push edi
lea ecx, [ebp - 0xe24]
call fcn.100d9620
mov dword [ebp - 0xe28], eax
cmp eax, ebx
je 0x1001b32c
cmp dword [ebp - 0xe1c], esi
jae 0x1001b31a
push dword [ebp - 0xe1c]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.10094c50
add esp, 0xc
jmp 0x1001b320
mov dword [ebp - 0xe1c], ebx
push dword [ebp - 0xe28]
call fcn.1006154b
pop ecx
lea ecx, [ebp - 0xe24]
call fcn.100d9250
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe24]
call fcn.100d9180
cmp dword [ebp - 0xe1c], ebx
jne 0x1001b3ae
push 0x800
lea eax, [ebp - 0xe18]
push ebx
push eax
call fcn.10094bd0
add esp, 0xc
push esi
lea eax, [ebp - 0xe18]
push eax
push 0x101dec6c
push edi
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x1001b3a6
cmp word [ebp - 0x61a], bx
jne 0x1001b3a6
push esi
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0xe18]
push eax
call fcn.100dda80
add esp, 0xc
mov dword [ebp - 0xe1c], eax
cmp dword [ebp - 0xe1c], ebx
je 0x1001b3e7
cmp dword [ebp - 0xe1c], 4
jbe 0x1001b3e7
cmp dword [ebp - 0x618], 1
je 0x1001b3e7
movzx eax, word [ebp - 0x5fc]
lea eax, [eax + eax + 0x22]
cmp eax, ebx
je 0x1001b3e7
mov ecx, dword [ebp - 0xe1c]
add ecx, 0xfffffffc
cmp eax, ecx
ja 0x1001b3e7
mov eax, dword [ebp - 0x610]
mov dword [0x10256d90], eax
call fcn.10094bb2
ret
Function at 0x1001bd4d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov esi, eax
cmp dword [ebp + 0xc], ebx
je 0x1001bd74
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
jmp 0x1001bd77
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x1001be45
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x1001be36
mov eax, dword [ebp - 8]
cmp eax, 4
jne 0x1001bde3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x1001be36
call fcn.1001b941
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1001bddf
push eax
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001be47
cmp eax, 1
je 0x1001bdfc
cmp eax, 2
je 0x1001bdfc
cmp eax, 6
je 0x1001bdfc
cmp eax, 7
je 0x1001bdfc
cmp eax, 3
jne 0x1001be36
push dword [ebp - 4]
call fcn.10097224
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1001be36
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x1001be2f
call fcn.1001b941
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 4], ebx
jmp 0x1001bdd0
push ebx
call fcn.100970cd
pop ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1001be45
push eax
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001be4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0xc], ebx
je 0x1001be71
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
mov edi, eax
jmp 0x1001be74
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001bec7
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001bebb
cmp dword [ebp + 0xc], 4
jne 0x1001bebb
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001bebb
cmp edi, dword [ebp + 8]
je 0x1001beb7
push edi
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001bec9
cmp edi, dword [ebp + 8]
je 0x1001bec7
push edi
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001bece
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0xc], ebx
je 0x1001bef3
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
mov edi, eax
jmp 0x1001bef6
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001bf51
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001bf45
cmp dword [ebp - 4], 3
jne 0x1001bf45
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0xc]
jb 0x1001bf45
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001bf45
cmp edi, dword [ebp + 8]
je 0x1001bf41
push edi
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001bf53
cmp edi, dword [ebp + 8]
je 0x1001bf51
push edi
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001bf58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x1001bf7d
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
mov ebx, eax
jmp 0x1001bf80
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001bff6
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
call esi
test eax, eax
jne 0x1001bfea
cmp dword [ebp - 4], 3
jne 0x1001bfea
push dword [ebp + 0xc]
call fcn.10097224
mov edi, eax
pop ecx
test edi, edi
je 0x1001bfea
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push 0
push dword [ebp + 0x10]
push ebx
call esi
test eax, eax
jne 0x1001bfe3
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
cmp ebx, dword [ebp + 8]
je 0x1001bfdf
push ebx
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001bff8
push edi
call fcn.100970cd
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001bff6
push ebx
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001bffd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0xc], ebx
je 0x1001c022
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
mov edi, eax
jmp 0x1001c025
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001c091
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001c085
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001c05a
cmp eax, 2
je 0x1001c05a
cmp eax, 6
je 0x1001c05a
cmp eax, 7
jne 0x1001c085
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0xc]
jb 0x1001c085
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001c085
cmp edi, dword [ebp + 8]
je 0x1001c081
push edi
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001c093
cmp edi, dword [ebp + 8]
je 0x1001c091
push edi
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c098
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x1001c0bd
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
mov ebx, eax
jmp 0x1001c0c0
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001c14f
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
call esi
test eax, eax
jne 0x1001c143
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001c0f9
cmp eax, 2
je 0x1001c0f9
cmp eax, 6
je 0x1001c0f9
cmp eax, 7
jne 0x1001c143
push dword [ebp + 0xc]
call fcn.10097224
mov edi, eax
pop ecx
test edi, edi
je 0x1001c143
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push 0
push dword [ebp + 0x10]
push ebx
call esi
test eax, eax
jne 0x1001c13c
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1001c12c
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
cmp ebx, dword [ebp + 8]
je 0x1001c138
push ebx
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001c151
push edi
call fcn.100970cd
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001c14f
push ebx
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001c1ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x1001c20f
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
mov ebx, eax
jmp 0x1001c212
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001c2ba
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
call esi
test eax, eax
jne 0x1001c2ae
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001c24b
cmp eax, 2
je 0x1001c24b
cmp eax, 6
je 0x1001c24b
cmp eax, 7
jne 0x1001c2ae
mov eax, dword [ebp + 0xc]
inc eax
push eax
call fcn.10061556
mov edi, eax
mov eax, dword [ebp + 0xc]
inc eax
push eax
push 0
push edi
call fcn.10094bd0
add esp, 0x10
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push 0
push dword [ebp + 0x10]
push ebx
call esi
push edi
test eax, eax
jne 0x1001c29a
mov ecx, dword [ebp + 0x14]
call fcn.100ca480
cmp ebx, dword [ebp + 8]
je 0x1001c28f
push ebx
call fcn.1001bd39
pop ecx
push edi
call fcn.10061561
pop ecx
mov al, 1
jmp 0x1001c2bc
call fcn.10061561
mov ecx, dword [ebp + 0x14]
mov dword [esp], 0x101dec6c
call fcn.100ca480
cmp ebx, dword [ebp + 8]
je 0x1001c2ba
push ebx
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c2c1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, eax
je 0x1001c2e3
push 0x20006
push dword [ebp + 8]
push ebx
call fcn.1001bd0c
add esp, 0xc
mov edi, eax
jmp 0x1001c2e5
mov edi, ebx
test edi, edi
je 0x1001c341
mov eax, dword [esi]
cmp eax, 4
jne 0x1001c2f7
push eax
add esi, eax
push esi
push eax
jmp 0x1001c317
cmp eax, 1
je 0x1001c310
cmp eax, 2
je 0x1001c310
cmp eax, 6
je 0x1001c310
cmp eax, 7
je 0x1001c310
cmp eax, 3
jne 0x1001c336
push dword [esi + 8]
push dword [esi + 4]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001c336
cmp edi, ebx
je 0x1001c332
push edi
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001c343
cmp edi, ebx
je 0x1001c341
push edi
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebp
ret

Function at 0x1001c347
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1001c366
push 0x20006
push dword [ebp + 8]
push edi
call fcn.1001bd0c
add esp, 0xc
mov esi, eax
jmp 0x1001c368
mov esi, edi
test esi, esi
je 0x1001c39e
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001c393
cmp esi, edi
je 0x1001c38f
push esi
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001c3a0
cmp esi, edi
je 0x1001c39e
push esi
call fcn.1001bd39
pop ecx
xor al, al
pop esi
pop ebp
ret