joyce8/EMBER2024-capa huggingface dataset:
Function at 0x759381b0
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x7594d0ac]
or dword [ebp - 0x4c], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, edi
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x759381e9
or eax, 0xffffffff
jmp 0x759382c9
push ebx
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor ecx, ecx
test edi, edi
mov dword [ebp - 0x48], ecx
jbe 0x759382bf
lea edi, [esi + 4]
jmp 0x75938206
mov ecx, dword [ebp - 0x48]
lea esi, [ebx + ecx*4]
mov eax, dword [esi]
mov dword [edi - 4], eax
mov eax, dword [esi]
cmp eax, dword [ebp + 0xc]
jne 0x75938218
mov dword [ebp - 0x4c], ecx
shr eax, 0x10
and ax, 0xf000
cmp ax, 0xe000
jne 0x759382a0
cmp dword [0x7594e2c4], 0
jne 0x75938257
push str.imm32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x7593824e
push 0x75938300
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7594e2c4], eax
cmp dword [0x7594e2c4], 0
je 0x759382a0
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [esi]
call dword [0x7594e2c4]
test eax, eax
je 0x759382a0
push 0x759382e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x759382ad
push 0x759382d8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x75938297
push 1
push edi
push 0
push 0
lea ecx, [ebp - 0x44]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x759382ad
xor eax, eax
mov ax, word [esi]
push eax
call fcn.75937eed
mov dword [edi], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
add edi, 8
cmp eax, dword [ebp + 0x10]
jb 0x75938203
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.75921930
leave
ret 0xc
Function at 0x759383aa
Capabilities:
Access the windows event log
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
inc dword [esi + 0x538]
mov eax, dword [esi + 0x538]
cmp eax, 5
push edi
mov edi, dword [esi + 0x53c]
jbe 0x75938498
push ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
xor ebx, ebx
cmp dword [eax + 0x1d4], ebx
je 0x75938448
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [0x7ffe02d8]
cmp ecx, dword [eax + 0x1d4]
je 0x75938448
push 0x75925d10
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x7593843a
push ebx
lea ecx, [esi + 0x98c]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push ebx
push 1
push ebx
push 0x400003f4
push ebx
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.ntdll.dll_RtlTimeToSecondsSince1980]
lea eax, [ebp - 4]
push eax
lea eax, [esi + edi*8 + 0x540]
push eax
mov dword [esi + 0x538], 6
call ebx
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x4d0]
push eax
call ebx
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
pop ebx
cmp eax, 0x3c
jae 0x75938498
push 1
call fcn.75927b51
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call fcn.75927b51
mov eax, dword [esi + 0x4d0]
mov dword [esi + edi*8 + 0x540], eax
mov eax, dword [esi + 0x4d4]
mov dword [esi + edi*8 + 0x544], eax
mov eax, dword [esi + 0x53c]
push 5
add eax, 6
pop ecx
xor edx, edx
div ecx
xor eax, eax
pop edi
inc eax
mov dword [esi + 0x53c], edx
pop esi
leave
ret 4

Function at 0x75938577
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x75925ec0
push 0x80000002
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x759385d1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x759385e4
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
cmp eax, 2
je 0x759385e1
cmp eax, 3
je 0x759385e1
xor eax, eax
inc eax
leave
ret
Function at 0x7593862d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0x6c
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x75938748
push esi
push 4
pop esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x75938750
push dword [0x7594d180]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7593873c
cmp dword [ebp - 8], 3
jne 0x7593873c
cmp dword [ebp - 4], esi
jne 0x7593873c
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x7594d250]
mov dword [0x7594f4f0], eax
mov eax, 0x10001
cmp ecx, eax
je 0x759386b5
jbe 0x759386bc
cmp ecx, 0x10004
ja 0x759386bc
mov dword [ebp - 4], 0x48
jmp 0x759386bc
mov dword [ebp - 4], 0x44
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x75a38fb0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 4
Function at 0x75938906
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x7594d0ac]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x6c], eax
xor eax, eax
lea edi, [ebp - 0x84]
stosd dword es:[edi], eax
xor ebx, ebx
cmp byte [ebp + 0x14], bl
stosd dword es:[edi], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x64], ebx
mov dword [esi], ebx
stosd dword es:[edi], eax
jne 0x75938a85
push 0xf
pop ecx
push 0x13
xor eax, eax
mov dword [ebp - 0xe0], ebx
lea edi, [ebp - 0xdc]
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x5c], ebx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x75938a91
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x5c]
xor edi, edi
mov dword [ebp - 0x68], eax
lea esi, [ebp - 0xdc]
push dword [ebp + edi*4 - 0x8c]
lea eax, [esi + 8]
push ebx
push ebx
push dword [ebp - 0x68]
mov dword [esi - 4], 0x10000000
push eax
mov dword [esi], 1
mov dword [esi + 4], 3
call dword [sym.imp.ADVAPI32.dll_BuildTrusteeWithObjectsAndSidW]
add dword [ebp - 0x68], 0x28
inc edi
add esi, 0x20
cmp edi, 2
jl 0x759389bf
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp - 0xe0]
push eax
push 2
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
cmp eax, ebx
mov esi, dword [ebp - 0x74]
mov dword [esi], eax
jne 0x75938a99
push 1
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x75938a91
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0xa0]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x75938a91
jmp 0x75a39aa0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x75938a9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov byte [ebp - 0x5d], bl
jmp 0x75938aa2
mov byte [ebp - 0x5d], 1
cmp dword [ebp - 0x64], ebx
pop edi
pop esi
pop ebx
je 0x75938ab3
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x5d]
call fcn.75921930
leave
ret 0x10
Function at 0x75938ac7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x782]
mov cx, word [edi]
xor ebx, ebx
cmp cx, bx
je 0x75938b3e
mov ax, word [esi + 0x784]
cmp ax, 0x3a
jne 0x75938b00
cmp word [esi + 0x786], 0x5c
jne 0x75938b00
mov byte [ebp + 8], 1
jmp 0x75938b0e
cmp cx, 0x5c
jne 0x75938b4a
cmp ax, cx
jne 0x75938b4a
mov byte [ebp + 8], bl
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x75938b3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov dword [ebp - 4], eax
jne 0x75938b42
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [esi + 0x60]
push edi
call fcn.75938906
jmp 0x75938b44
test al, 0x10
je 0x75938b42
mov al, 1
jmp 0x75938b56
xor al, al
cmp al, bl
je 0x75938b4c
jmp 0x75938b56
xor al, al
mov word [edi], bx
mov word [esi + 0x984], bx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x75938b62
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x9c4]
push edi
xor ecx, ecx
push 2
inc ecx
xor edi, edi
cmp eax, edi
pop ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ebx
je 0x75938cf0
cmp dword [ebp + 0xc], 6
jne 0x75938cf0
cmp dword [esi + 0x9c0], edi
je 0x75938cf5
dec eax
je 0x75938c39
dec eax
je 0x75938bb4
mov dword [ebp - 0x14], ebx
jmp 0x75938ceb
push esi
call fcn.75923741
test eax, eax
je 0x75938c2d
lea eax, [ebp - 8]
push eax
push 0x20019
push edi
push 0x759344e8
push dword [esi + 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x75938c1e
push 4
pop ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x759344d0
push dword [ebp - 8]
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75938c0a
cmp dword [ebp - 0x10], ebx
je 0x75938c0d
mov dword [ebp + 0xc], edi
cmp dword [ebp + 0xc], edi
je 0x75938c15
mov dword [ebp - 0xc], edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.75923abb
cmp dword [ebp - 0xc], edi
je 0x75938ceb
mov dword [ebp - 0x14], 9
jmp 0x75938ceb
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp + 0xc], edi
mov edi, 0x7592db38
push edi
push dword [0x7594d180]
mov dword [ebp - 4], ebx
call esi
cmp dword [ebp + 0xc], 0
je 0x75938c6d
and dword [ebp - 0xc], 0
push dword [ebp + 8]
call fcn.75923741
test eax, eax
je 0x75938cde
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0x20019
push 0
push 0x75925ec0
push dword [eax + 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x75938cd6
and dword [ebp + 0xc], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x75938cbf
cmp dword [ebp - 0x10], ebx
je 0x75938cc3
and dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x75938ccd
and dword [ebp - 0xc], 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call fcn.75923abb
cmp dword [ebp - 0xc], 0
je 0x75938ceb
mov dword [ebp - 0x14], 3
mov eax, dword [ebp - 0x14]
jmp 0x75938d5e
cmp dword [ebp + 0xc], ecx
je 0x75938cf9
mov eax, ebx
jmp 0x75938d5e
push esi
call fcn.7593d07c
mov ecx, eax
and ecx, 0xffff01ff
sub ecx, 0x6e
je 0x75938d5b
sub ecx, 3
je 0x75938d57
dec ecx
je 0x75938d53
dec ecx
je 0x75938d1e
dec ecx
jne 0x75938cf5
push 9
jmp 0x75938d5d
test ah, 0x40
je 0x75938d27
push 0xb
jmp 0x75938d5d
test ah, 0x10
je 0x75938d30
push 0xa
jmp 0x75938d5d
test ah, 8
je 0x75938d39
push 0xc
jmp 0x75938d5d
test ah, 4
je 0x75938d42
push 0xd
jmp 0x75938d5d
and eax, 0x200
neg eax
sbb eax, eax
and eax, 9
add eax, 5
jmp 0x75938d5e
push 7
jmp 0x75938d5d
push 4
jmp 0x75938d5d
push 3
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7593a298
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x7594d0ac]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x9cc]
cmp ecx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], eax
je 0x7593a395
cmp dword [edi + 0x9f0], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x7593a34a
lea ecx, [ebp - 0x6c]
push ecx
push 0x7a2
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call edi
lea eax, [ebp - 0x5c]
push eax
push 0x7a4
push dword [ebp - 0x48]
call esi
push eax
call edi
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp + 0x10]
sub eax, dword [ebp - 0x60]
test edi, edi
jne 0x7593a310
neg eax
push 1
push eax
push 0
push 4
push 0x7594df98
push dword [ebp - 0x48]
call fcn.759266c5
neg edi
sbb edi, edi
and edi, 5
push edi
push 0x7a5
push dword [ebp - 0x48]
call esi
push eax
call ebx
push edi
push 0x7a4
push dword [ebp - 0x48]
call esi
push eax
call ebx
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x966
push dword [ebp - 0x48]
call esi
push eax
call ebx
push 0x20
lea eax, [ebp - 0x44]
push eax
xor eax, eax
cmp dword [ebp + 0x10], eax
setne al
add eax, 0x708
push eax
push dword [0x7594d0b8]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x44]
push eax
push 0x961
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop ebx
mov eax, dword [ebp + 0x10]
push 0x7a4
push dword [ebp - 0x48]
mov dword [edi + 0x9cc], eax
call esi
push eax
push 0x7a1
push dword [ebp - 0x48]
call esi
push eax
call fcn.7592a07b
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.75921930
leave
ret 0xc
Function at 0x7593d07c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x7594d0ac]
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 0x78
call fcn.75923741
test eax, eax
je 0x7593d1a6
and dword [ebp - 0x2c], 0
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x20]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x7593d280
push dword [esi + 0x8c]
call edi
test eax, eax
jne 0x7593d124
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x7593d25c
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0x16
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7593d11b
cmp dword [ebp - 0x28], 1
jne 0x7593d11b
mov eax, dword [ebp - 0x24]
cmp eax, 1
jbe 0x7593d11b
shr eax, 1
cmp word [ebp + eax*2 - 0x1e], 0
jne 0x7593d11b
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20]
push eax
push ebx
xor ebx, ebx
push ebx
push 0x7593d1e8
push dword [esi + 0x8c]
call edi
test eax, eax
jne 0x7593d191
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x7593d25c
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0x16
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7593d188
cmp dword [ebp - 0x28], 1
jne 0x7593d188
mov eax, dword [ebp - 0x24]
cmp eax, 1
jbe 0x7593d188
shr eax, 1
cmp word [ebp + eax*2 - 0x1e], bx
jne 0x7593d188
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2c], 0x78
pop edi
pop ebx
ja 0x7593d1a0
mov dword [ebp - 0x30], 0x1e
push esi
call fcn.75923abb
push dword [ebp - 0x30]
mov eax, dword [0x7594d0fc]
push dword [esi + 4]
call dword [eax + 0xc]
mov eax, dword [0x7594d0fc]
push esi
push 0x7593ce37
push 0
push 0x708
push dword [0x7594d0b8]
push dword [esi + 4]
call dword [eax + 0x1c]
cmp eax, 0x66
pop esi
jne 0x7593d1db
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
call fcn.75921930
leave
ret 4
Function at 0x7593d83f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
inc ebx
xor esi, esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
call fcn.75923741
test eax, eax
je 0x7593d8bf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push 0x75922eb0
push dword [edi + 0x8c]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x7593d8ba
push 4
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x7593d9c8
push dword [ebp - 8]
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7593d8b5
cmp dword [ebp - 0x14], edi
je 0x7593d8c2
mov dword [ebp - 4], ebx
jmp 0x7593d8c2
mov dword [ebp - 8], esi
jmp 0x7593d8c2
mov dword [ebp - 0xc], esi
cmp dword [ebp - 4], esi
je 0x7593d939
push esi
push 0x7593d9bc
push 0x7593d98c
push 0x75922808
call fcn.75922f21
mov edi, eax
cmp edi, esi
je 0x7593d8ff
push 0x7593d980
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
neg eax
sbb eax, eax
inc eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x7593d902
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], esi
je 0x7593d939
mov edi, dword [ebp + 8]
mov eax, dword [0x7594d0fc]
push 0x78
push dword [edi + 4]
call dword [eax + 0xc]
mov eax, dword [0x7594d0fc]
push esi
push 0x7593d70b
push esi
push 0x640
push dword [0x7594d0b8]
push dword [edi + 4]
call dword [eax + 0x1c]
mov dword [ebp - 4], eax
jmp 0x7593d93c
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], esi
je 0x7593d96c
xor eax, eax
cmp dword [ebp - 4], ebx
push 4
setne al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x7593d9c8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], esi
pop edi
pop esi
pop ebx
je 0x7593d97c
push dword [ebp + 8]
call fcn.75923abb
leave
ret 4
Function at 0x7593e68d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
xor esi, esi
mov ebx, 0x20019
push ebx
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push 0x80000002
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
call edi
test eax, eax
jne 0x7593e70a
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp + 0x14], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7593e6fc
cmp dword [ebp - 8], esi
mov dword [ebp - 0x14], 1
setne al
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], esi
jne 0x7593e752
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x7593e752
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp + 0x14], 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7593e749
cmp dword [ebp - 8], esi
setne al
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7593e761
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push edi
mov dword [esi], edi
mov dword [eax], edi
lea eax, [ebp - 8]
push eax
push edi
push 0x20019
push edi
push edi
push edi
push 0x75923bf8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x7593e7dd
push 4
pop ebx
lea eax, [ebp - 4]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
push eax
push edi
push 0x759346a4
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push edi
push 0x75934684
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
mov ebx, 0x100
test dword [ebp + 0xc], ebx
je 0x7593e800
push edi
push 0x7593e808
push 0x75934618
push dword [ebp + 8]
call fcn.7593e68d
test eax, eax
jne 0x7593e800
mov dword [esi], ebx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x7593e845
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x75923bf8
push dword [ebp + 8]
call ebx
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jne 0x7593e8b1
cmp dword [ebp + 0xc], 0x100
je 0x7593e895
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push 0x759346a4
push dword [ebp - 4]
call edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push esi
push 0x75934684
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea eax, [ebp - 8]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x759346f0
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x7593e8f6
cmp dword [ebp + 0xc], 0x100
push 4
sete al
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x759346c8
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 0xc