joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11673a2a
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x1176cf9c
call fcn.116bf770
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x78]
call fcn.11669067
mov eax, dword [0x11773dfc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
call fcn.116d2960
test eax, eax
je 0x11673a99
call fcn.116aab40
push eax
lea ecx, [ebp - 0x18]
call fcn.11684ee0
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._sSysWOW64
push eax
call fcn.11688600
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.11685680
jmp 0x11673aa7
call fcn.116aaff0
push eax
lea ecx, [ebp - 0x10]
call fcn.11685900
push str.sdfattr.dll
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push 0x1178f20c
push eax
call fcn.11688600
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 8], eax
call fcn.116d2ca0
test eax, eax
je 0x11673af2
call fcn.116d2960
test eax, eax
je 0x11673af2
lea ecx, [ebp - 0x2c]
call fcn.11658fa7
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.11658fea
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x11673bb5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetSecurityRegion
push eax
call esi
push str.SetGlobalInfo
mov dword [0x117be21c], eax
push dword [edi + 8]
call esi
push str.SetPolicyInfo
mov dword [0x117be220], eax
push dword [edi + 8]
call esi
push str.SetUserCfgInfo
mov dword [0x117be224], eax
push dword [edi + 8]
call esi
push str.SetUserLib
mov dword [0x117be228], eax
push dword [edi + 8]
call esi
push str.SetUGroupLib
mov dword [0x117be22c], eax
push dword [edi + 8]
call esi
push str.SetAgentLib
mov dword [0x117be230], eax
push dword [edi + 8]
call esi
push str.SetAGroupLib
mov dword [0x117be234], eax
push dword [edi + 8]
call esi
push str.SetGroupIDInfo
mov dword [0x117be238], eax
push dword [edi + 8]
call esi
push str.SetRelationship
mov dword [0x117be23c], eax
push dword [edi + 8]
call esi
push str.PopupSDPropertyDlg
mov dword [0x117be240], eax
push dword [edi + 8]
call esi
push str.IsCompresHasEncryFile
mov dword [0x117be244], eax
push dword [edi + 8]
call esi
mov dword [0x117be248], eax
cmp dword [0x117be21c], ebx
je 0x11673c1a
cmp dword [0x117be220], ebx
je 0x11673c1a
cmp dword [0x117be224], ebx
je 0x11673c1a
cmp dword [0x117be228], ebx
je 0x11673c1a
cmp dword [0x117be22c], ebx
je 0x11673c1a
cmp dword [0x117be230], ebx
je 0x11673c1a
cmp dword [0x117be234], ebx
je 0x11673c1a
cmp dword [0x117be238], ebx
je 0x11673c1a
cmp dword [0x117be23c], ebx
je 0x11673c1a
cmp dword [0x117be240], ebx
je 0x11673c1a
cmp dword [0x117be244], ebx
je 0x11673c1a
cmp dword [0x117be248], ebx
je 0x11673c1a
push 1
pop esi
jmp 0x11673c1c
xor esi, esi
mov dword [edi + 4], esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.11685680
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.11685680
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.116690fc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x116777eb
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x1176d603
call fcn.116bf770
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
call fcn.1166b4ea
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x34], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi], 0x11773ba8
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x11677b06
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x117be350
jmp 0x11677b26
mov eax, 0x1176d691
call fcn.116bf770
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.11679b81
mov byte [ebp - 4], 3
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.11692fc0
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 5
call fcn.11677c08
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 6
call fcn.11679346
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 7
call fcn.11677cf3
lea ecx, [esi + 0x1f4]
mov byte [ebp - 4], 8
call fcn.11677e68
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x21c], edi
mov dword [esi], 0x11773bac
mov dword [esi + 0x144], esi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x11678a24
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x1176d8ef
call fcn.116bf770
sub esp, 0x84
push esi
push edi
push 0xffffffffffffffff
xor edi, edi
push 0xffffffffffffffff
push edi
mov esi, ecx
push edi
push edi
push edi
lea ecx, [ebp - 0x54]
call fcn.116777eb
lea eax, [esi + 0x5c]
push 1
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.116934f0
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + ecx*4]
cmp dword [ecx + 0xc], edi
jne 0x11678a8a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.11693550
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.11677876
jmp 0x11678bac
push ebx
call fcn.11679e6f
mov edi, eax
lea ecx, [ebp - 0x54]
lea eax, [edi + 8]
push eax
call fcn.11678966
push edi
lea ecx, [esi + 0x34]
call fcn.11679bd3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.11693550
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x3c], ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.11678bbc
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebp - 4], 2
call edi
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x90]
lea ecx, [esi + 0x140]
push eax
mov dword [ebp + 0xc], ecx
call fcn.116798f0
call edi
mov dword [ebp + 8], eax
mov eax, dword [0x117bf470]
test eax, eax
mov ebx, str.CTaskMgr2
mov esi, 0x117bebdc
je 0x11678b29
mov eax, dword [ebp - 0x24]
push dword [eax]
push dword [eax + 4]
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push str.CTaskMgr2::_Dispose_start__Type__lu__Level__lu__Dispose_0x_x__0x_x_
push ebx
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x20
lea ecx, [ebp - 0x54]
call fcn.116778b5
call edi
sub eax, dword [ebp + 8]
cmp eax, 0x3e8
jb 0x11678b56
cmp dword [0x117bf470], 0
je 0x11678b79
push eax
mov eax, dword [ebp - 0x24]
push dword [eax]
push dword [eax + 4]
push str.CTaskMgr2::_Dispose_end__Dispose_0x_x__0x_x__span__lu__
jmp 0x11678b6d
cmp dword [0x117bf470], 0
je 0x11678b79
push eax
mov eax, dword [ebp - 0x24]
push dword [eax]
push dword [eax + 4]
push str.CTaskMgr2::_Dispose_end__Dispose_0x_x__0x_x__span__lu_
push ebx
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x1c
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x90]
push eax
call fcn.1167996f
lea ecx, [ebp - 0x54]
call fcn.11677a0d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.11677876
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.11677876
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x11678bbc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x1176d907
call fcn.116bf770
push ecx
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x11773800
mov edx, dword [ecx + 0x14]
and dword [ebp - 4], 0
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [ecx + 0x34]
or dword [ebp - 4], 0xffffffff
mov dword [eax + 0x34], edx
mov ecx, dword [ecx + 0x38]
mov dword [eax], 0x11773ba8
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1167977a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 0xa4]
call ebp
cmp dword [esi - 0x10], 0
jg 0x116797a5
mov ecx, dword [esi]
test ecx, ecx
je 0x116797a5
sub eax, ecx
cmp eax, 0x493e0
ja 0x116797b0
inc ebx
add esi, 4
cmp ebx, 4
jb 0x1167978e
jmp 0x116797c1
call ebp
push eax
lea eax, [edi + ebx*4 + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1167ac61
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1176db74
call fcn.116bf770
sub esp, 0xe18
xor edx, edx
push ebx
cmp dword [0x117be574], edx
push esi
push edi
jne 0x1167ae68
and byte [ebp - 0x41c], dl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x41b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xe22]
mov word [ebp - 0xe24], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x622]
mov word [ebp - 0x624], dx
rep stosd dword es:[edi], eax
push str.OAgent.ini
mov dword [0x117be574], 1
mov dword [ebp - 0x10], edx
stosw word es:[edi], ax
call fcn.1165370a
push eax
lea eax, [ebp - 0x624]
push 0x1178f20c
push eax
call fcn.116bfe81
add esp, 0x10
lea eax, [ebp - 0x624]
mov esi, 0x400
mov ebx, 0x117b2844
push eax
lea eax, [ebp - 0xe24]
push esi
push eax
push ebx
push 0x11773c44
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edi, edi
cmp eax, edi
jbe 0x1167ad49
cmp word [ebp - 0x626], di
jne 0x1167ad49
lea eax, [ebp - 0x41c]
push esi
push eax
lea eax, [ebp - 0xe24]
push eax
call fcn.1169a1b0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], edi
jne 0x1167ae2b
lea ecx, [ebp - 0x18]
call fcn.11694100
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push SysStringLen
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.11694270
test eax, eax
mov edi, 0x11773c4c
je 0x1167adb8
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
push edi
call fcn.11694690
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x1167adb8
cmp dword [ebp - 0x10], esi
jae 0x1167adab
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.116bf960
add esp, 0xc
jmp 0x1167adaf
and dword [ebp - 0x10], 0
push dword [ebp - 0x1c]
call fcn.116bf300
pop ecx
lea ecx, [ebp - 0x18]
call fcn.116942c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.116941f0
cmp dword [ebp - 0x10], 0
jne 0x1167ae2b
push 0x800
lea eax, [ebp - 0xe24]
push 0
push eax
call fcn.116bf310
add esp, 0xc
lea eax, [ebp - 0xe24]
push esi
push eax
push ebx
push edi
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x1167ae25
cmp word [ebp - 0x626], 0
jne 0x1167ae25
lea eax, [ebp - 0x41c]
push esi
push eax
lea eax, [ebp - 0xe24]
push eax
call fcn.1169a1b0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1167ae68
cmp dword [ebp - 0x10], 4
jbe 0x1167ae68
lea eax, [ebp - 0x41c]
test eax, eax
je 0x1167ae68
cmp dword [ebp - 0x41c], 1
je 0x1167ae68
movzx eax, word [ebp - 0x400]
lea eax, [eax + eax + 0x22]
test eax, eax
je 0x1167ae68
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffffc
cmp eax, ecx
ja 0x1167ae68
mov eax, dword [ebp - 0x414]
mov dword [0x117be570], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1167be67
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
call fcn.116d29f0
test eax, eax
je 0x1167be87
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x1167be8e
mov dword [0x117be578], 0x57
xor eax, eax
jmp 0x1167bf20
push esi
push edi
push 0xf003f
push ebx
push ebx
mov dword [ebp - 4], ebx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1167becb
push 0x10
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
je 0x1167becb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov dword [0x117be578], ebx
jne 0x1167bf04
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x117bf470], ebx
mov dword [0x117be578], eax
je 0x1167bf04
push eax
push eax
push str.CTSDEncryptDrv:_StartService___failed__error_ld_0x_08x__n
push str.TSDEncryptDrv
push 4
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x18
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, ebx
je 0x1167bf11
push edi
call esi
cmp dword [ebp - 8], ebx
je 0x1167bf1b
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x11683d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x11683d9e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x11683d9e
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x11683da3
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x11683d89
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x11683db3
test esi, esi
jne 0x11683dd1
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x11683dcf
mov byte [eax + esi - 1], 0
jne 0x11683dd8
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x116894c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x11689510
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x11689510
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x11689515
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x116894fb
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x11689522
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x11694340
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x11694381
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11694383
mov esi, edi
test esi, esi
je 0x116943f8
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x116943ed
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x116943ed
cmp dword [esp + 0x1c], eax
jbe 0x116943be
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x116943ed
cmp esi, edi
je 0x116943df
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x116943f8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x11694410
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
mov dword [esp + 0xc], 0
je 0x11694475
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x11694475
mov ecx, dword [esp + 0x10]
mov eax, 4
cmp ecx, eax
jne 0x11694475
cmp dword [esp + 0x18], eax
jbe 0x1169445b
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push edi
push esi
call ebx
test eax, eax
mov eax, dword [esp + 0xc]
je 0x11694479
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x11694550
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
je 0x116945af
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x116945af
cmp dword [esp + 0xc], 3
jne 0x116945af
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x116945af
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
push 0
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x116945af
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x11694690
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
test esi, esi
push edi
je 0x11694704
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11694704
cmp dword [esp + 0x10], 3
jne 0x11694704
mov edx, dword [esp + 0x18]
push edx
call fcn.116bf368
mov edi, eax
add esp, 4
test edi, edi
je 0x11694704
lea eax, [esp + 0x18]
push eax
push edi
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x116946fb
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret 8
push edi
call fcn.116bf300
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8

Function at 0x11694710
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1176e76f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11773dfc]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x1169477b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x1169477d
mov esi, edi
test esi, esi
je 0x11694847
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1169483c
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x116947bf
cmp eax, 2
je 0x116947bf
cmp eax, 6
je 0x116947bf
cmp eax, 7
jne 0x1169483c
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.116bf368
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
jne 0x11694822
lea ecx, [esp + 0x14]
call fcn.11685900
cmp esi, dword [esp + 0x14]
je 0x11694817
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.116bf300
add esp, 4
jmp 0x11694859
call fcn.116bf300
add esp, 4
lea ecx, [esp + 0x10]
push 0x117b2844
call fcn.11685900
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x11694847
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x11694859
push eax
lea ecx, [esp + 0x14]
call fcn.11685900
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.11684c80
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.11685680
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x11694df0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
call fcn.1168b010
test esi, esi
je 0x11694ed2
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x11694ed2
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x11694e49
cmp eax, 2
je 0x11694e49
cmp eax, 6
je 0x11694e49
cmp eax, 7
jne 0x11694ed2
mov edx, dword [esp + 0x14]
push edi
add edx, 2
push edx
call fcn.116bf368
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edi, ebx
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push ebx
push 0
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop edi
jne 0x11694ec9
cmp word [ebx], ax
mov esi, ebx
je 0x11694eb4
mov ecx, dword [esp + 0x18]
push esi
mov edx, dword [ecx + 4]
push edx
call fcn.1168b4c0
push esi
call fcn.116bf887
lea esi, [esi + eax*2 + 2]
add esp, 4
cmp word [esi], 0
jne 0x11694e93
push ebx
call fcn.116bf300
add esp, 4
mov eax, 1
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push ebx
call fcn.116bf300
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8