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

Disassembly:
push ebp
mov ebp, esp
call fcn.100ed960
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.100947e0
push esi
call fcn.10061162
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000a69c
push esi
push ebx
push edi
call fcn.100947e0
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.1001afe2
add esp, 0x10
test eax, eax
je 0x1000a69c
push dword [ebp + 0xc]
call fcn.10094dc6
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 [0x1023d420]
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.100947e0
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.10095ea3
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.10095ea3
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.100946c1
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.10094dc6
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], ebx
je 0x1000e3e8
push dword [ebp + 0xc]
call fcn.10094dc6
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.10061162
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x1000e406
xor eax, eax
jmp 0x1000e475
push edi
push ebx
push esi
call fcn.100947e0
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.10094860
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.10094d7c
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.10094d7c
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, 0x101c28d0
call fcn.100946d0
mov ecx, dword [ebp + 0xc]
call fcn.100c9b80
mov edi, dword [ebp + 8]
push edi
call fcn.10094dc6
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 [0x10204778]
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.100caae0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.100cabb0
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.100caaa0
push 0x101de394
lea ecx, [ebp - 0x18]
call fcn.100c9670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100ca3b0
mov byte [ebp - 4], 2
push edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.100ca580
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
push eax
call fcn.100c9fa0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.100c9e10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100c9e10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100c9e10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100c9e10
xor eax, eax
inc eax
call fcn.100947a8
ret
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100c9e10
xor eax, eax
jmp 0x1000fa29

Function at 0x1000fb74
Capabilities:
Get file attributes

Disassembly:
push 4
mov eax, 0x101c2939
call fcn.100946d0
mov eax, dword [0x10204778]
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.100c9e10
mov eax, esi
call fcn.100947a8
ret
push dword [ebp - 0x10]
jmp 0x1000fba7

Function at 0x1000fbc8
Capabilities:
Set file attributes

Disassembly:
push 4
mov eax, 0x101c295c
call fcn.100946d0
mov eax, dword [0x10204778]
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.100c9e10
mov eax, esi
call fcn.100947a8
ret
push dword [ebp + 0xc]
push dword [ebp - 0x10]
jmp 0x1000fbfe
Function at 0x1000fdab
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x101c29f8
call fcn.100946d0
mov eax, dword [0x10204778]
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 [0x1025ce08], 0
je 0x1000fe02
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x1025cd9c
call fcn.10023e79
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.100c9e10
mov eax, esi
call fcn.100947a8
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 0x10013d4e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1023d420]
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 0x10013dad
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.100947e0
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.100ca090
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100946c1
leave
ret
Function at 0x10013e0b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0
mov eax, 0x101c35ac
call fcn.100946d0
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x10013eaa
cmp dword [ebp + 0x10], ebx
je 0x10013eaa
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.100c9670
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.100c9fa0
mov dword [ebp + 0x10], ebx
mov ebx, 0x3e8
cmp dword [ebp + 0x10], 0
push dword [ebp + 8]
jne 0x10013e68
push dword [edi]
push 0x101df4a4
push esi
call fcn.100ccd90
add esp, 0x10
jmp 0x10013e7b
push dword [ebp + 0x10]
push dword [edi]
push 0x101e0400
push esi
call fcn.100ccd90
add esp, 0x14
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10013e90
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], ebx
jb 0x10013e4d
xor eax, eax
cmp dword [ebp + 0x10], ebx
setne al
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100c9e10
mov eax, esi
jmp 0x10013eac
xor eax, eax
call fcn.100947a8
ret 0xc
Function at 0x1001b1a2
Capabilities:
Read .ini file

Disassembly:
push 0xe1c
mov eax, 0x101c48f9
call fcn.10094739
xor ebx, ebx
cmp dword [0x10254d54], ebx
jne 0x1001b3d9
push 0x3ff
lea eax, [ebp - 0x617]
push ebx
push eax
mov dword [0x10254d54], 1
mov byte [ebp - 0x618], bl
call fcn.100947e0
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.100947e0
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.100947e0
add esp, 0x24
push str.OAgent.ini
call fcn.10001f61
push eax
lea eax, [ebp - 0x218]
push 0x101db830
push eax
call fcn.10095ea3
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0xe18]
push eax
push 0x101dcc6c
push 0x101e0cc0
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x1001b292
cmp word [ebp - 0x61a], bx
jne 0x1001b292
push esi
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0xe18]
push eax
call fcn.100dbf10
add esp, 0xc
mov dword [ebp - 0xe1c], eax
cmp dword [ebp - 0xe1c], ebx
jne 0x1001b3a0
lea ecx, [ebp - 0xe24]
call fcn.100d7520
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.100d7690
mov edi, 0x101e0d54
test eax, eax
je 0x1001b31e
lea eax, [ebp - 0xe1c]
push eax
push edi
lea ecx, [ebp - 0xe24]
call fcn.100d7ab0
mov dword [ebp - 0xe28], eax
cmp eax, ebx
je 0x1001b31e
cmp dword [ebp - 0xe1c], esi
jae 0x1001b30c
push dword [ebp - 0xe1c]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.10094860
add esp, 0xc
jmp 0x1001b312
mov dword [ebp - 0xe1c], ebx
push dword [ebp - 0xe28]
call fcn.10061157
pop ecx
lea ecx, [ebp - 0xe24]
call fcn.100d76e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe24]
call fcn.100d7610
cmp dword [ebp - 0xe1c], ebx
jne 0x1001b3a0
push 0x800
lea eax, [ebp - 0xe18]
push ebx
push eax
call fcn.100947e0
add esp, 0xc
push esi
lea eax, [ebp - 0xe18]
push eax
push 0x101dcc6c
push edi
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x1001b398
cmp word [ebp - 0x61a], bx
jne 0x1001b398
push esi
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0xe18]
push eax
call fcn.100dbf10
add esp, 0xc
mov dword [ebp - 0xe1c], eax
cmp dword [ebp - 0xe1c], ebx
je 0x1001b3d9
cmp dword [ebp - 0xe1c], 4
jbe 0x1001b3d9
cmp dword [ebp - 0x618], 1
je 0x1001b3d9
movzx eax, word [ebp - 0x5fc]
lea eax, [eax + eax + 0x22]
cmp eax, ebx
je 0x1001b3d9
mov ecx, dword [ebp - 0xe1c]
add ecx, 0xfffffffc
cmp eax, ecx
ja 0x1001b3d9
mov eax, dword [ebp - 0x610]
mov dword [0x10254d50], eax
call fcn.100947bc
ret
Function at 0x1001bd3f
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 0x1001bd66
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bcda
add esp, 0xc
jmp 0x1001bd69
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x1001be37
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 0x1001be28
mov eax, dword [ebp - 8]
cmp eax, 4
jne 0x1001bdd5
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 0x1001be28
call fcn.1001b933
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 0x1001bdd1
push eax
call fcn.1001bd2b
pop ecx
mov al, 1
jmp 0x1001be39
cmp eax, 1
je 0x1001bdee
cmp eax, 2
je 0x1001bdee
cmp eax, 6
je 0x1001bdee
cmp eax, 7
je 0x1001bdee
cmp eax, 3
jne 0x1001be28
push dword [ebp - 4]
call fcn.10096e34
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1001be28
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 0x1001be21
call fcn.1001b933
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 4], ebx
jmp 0x1001bdc2
push ebx
call fcn.10096cdd
pop ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1001be37
push eax
call fcn.1001bd2b
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001be3e
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 0x1001be63
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bcda
add esp, 0xc
mov edi, eax
jmp 0x1001be66
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001beb9
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 0x1001bead
cmp dword [ebp + 0xc], 4
jne 0x1001bead
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 0x1001bead
cmp edi, dword [ebp + 8]
je 0x1001bea9
push edi
call fcn.1001bd2b
pop ecx
mov al, 1
jmp 0x1001bebb
cmp edi, dword [ebp + 8]
je 0x1001beb9
push edi
call fcn.1001bd2b
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001bec0
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 0x1001bee5
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bcda
add esp, 0xc
mov edi, eax
jmp 0x1001bee8
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001bf43
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 0x1001bf37
cmp dword [ebp - 4], 3
jne 0x1001bf37
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0xc]
jb 0x1001bf37
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 0x1001bf37
cmp edi, dword [ebp + 8]
je 0x1001bf33
push edi
call fcn.1001bd2b
pop ecx
mov al, 1
jmp 0x1001bf45
cmp edi, dword [ebp + 8]
je 0x1001bf43
push edi
call fcn.1001bd2b
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001bf4a
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 0x1001bf6f
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bcda
add esp, 0xc
mov ebx, eax
jmp 0x1001bf72
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001bfe8
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 0x1001bfdc
cmp dword [ebp - 4], 3
jne 0x1001bfdc
push dword [ebp + 0xc]
call fcn.10096e34
mov edi, eax
pop ecx
test edi, edi
je 0x1001bfdc
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push 0
push dword [ebp + 0x10]
push ebx
call esi
test eax, eax
jne 0x1001bfd5
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 0x1001bfd1
push ebx
call fcn.1001bd2b
pop ecx
mov al, 1
jmp 0x1001bfea
push edi
call fcn.10096cdd
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001bfe8
push ebx
call fcn.1001bd2b
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001bfef
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 0x1001c014
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bcda
add esp, 0xc
mov edi, eax
jmp 0x1001c017
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001c083
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 0x1001c077
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001c04c
cmp eax, 2
je 0x1001c04c
cmp eax, 6
je 0x1001c04c
cmp eax, 7
jne 0x1001c077
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0xc]
jb 0x1001c077
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 0x1001c077
cmp edi, dword [ebp + 8]
je 0x1001c073
push edi
call fcn.1001bd2b
pop ecx
mov al, 1
jmp 0x1001c085
cmp edi, dword [ebp + 8]
je 0x1001c083
push edi
call fcn.1001bd2b
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c08a
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 0x1001c0af
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bcda
add esp, 0xc
mov ebx, eax
jmp 0x1001c0b2
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001c141
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 0x1001c135
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001c0eb
cmp eax, 2
je 0x1001c0eb
cmp eax, 6
je 0x1001c0eb
cmp eax, 7
jne 0x1001c135
push dword [ebp + 0xc]
call fcn.10096e34
mov edi, eax
pop ecx
test edi, edi
je 0x1001c135
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push 0
push dword [ebp + 0x10]
push ebx
call esi
test eax, eax
jne 0x1001c12e
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1001c11e
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
cmp ebx, dword [ebp + 8]
je 0x1001c12a
push ebx
call fcn.1001bd2b
pop ecx
mov al, 1
jmp 0x1001c143
push edi
call fcn.10096cdd
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001c141
push ebx
call fcn.1001bd2b
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001c1dc
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 0x1001c201
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bcda
add esp, 0xc
mov ebx, eax
jmp 0x1001c204
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001c2ac
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 0x1001c2a0
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001c23d
cmp eax, 2
je 0x1001c23d
cmp eax, 6
je 0x1001c23d
cmp eax, 7
jne 0x1001c2a0
mov eax, dword [ebp + 0xc]
inc eax
push eax
call fcn.10061162
mov edi, eax
mov eax, dword [ebp + 0xc]
inc eax
push eax
push 0
push edi
call fcn.100947e0
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 0x1001c28c
mov ecx, dword [ebp + 0x14]
call fcn.100ca090
cmp ebx, dword [ebp + 8]
je 0x1001c281
push ebx
call fcn.1001bd2b
pop ecx
push edi
call fcn.1006116d
pop ecx
mov al, 1
jmp 0x1001c2ae
call fcn.1006116d
mov ecx, dword [ebp + 0x14]
mov dword [esp], 0x101dcc6c
call fcn.100ca090
cmp ebx, dword [ebp + 8]
je 0x1001c2ac
push ebx
call fcn.1001bd2b
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c2b3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, eax
je 0x1001c2d5
push 0x20006
push dword [ebp + 8]
push ebx
call fcn.1001bcfe
add esp, 0xc
mov edi, eax
jmp 0x1001c2d7
mov edi, ebx
test edi, edi
je 0x1001c333
mov eax, dword [esi]
cmp eax, 4
jne 0x1001c2e9
push eax
add esi, eax
push esi
push eax
jmp 0x1001c309
cmp eax, 1
je 0x1001c302
cmp eax, 2
je 0x1001c302
cmp eax, 6
je 0x1001c302
cmp eax, 7
je 0x1001c302
cmp eax, 3
jne 0x1001c328
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 0x1001c328
cmp edi, ebx
je 0x1001c324
push edi
call fcn.1001bd2b
pop ecx
mov al, 1
jmp 0x1001c335
cmp edi, ebx
je 0x1001c333
push edi
call fcn.1001bd2b
pop ecx
xor al, al
pop edi
pop esi
pop ebp
ret

Function at 0x1001c339
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1001c358
push 0x20006
push dword [ebp + 8]
push edi
call fcn.1001bcfe
add esp, 0xc
mov esi, eax
jmp 0x1001c35a
mov esi, edi
test esi, esi
je 0x1001c390
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 0x1001c385
cmp esi, edi
je 0x1001c381
push esi
call fcn.1001bd2b
pop ecx
mov al, 1
jmp 0x1001c392
cmp esi, edi
je 0x1001c390
push esi
call fcn.1001bd2b
pop ecx
xor al, al
pop esi
pop ebp
ret