joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69b1e295
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
add dword [ebp + 0x14], 4
push ebx
mov ebx, dword [eax]
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], 0
add dword [ebp + 0x10], 0xffff
xor edi, edi
cmp dword [esi + 0x20], edi
jne 0x69b450cd
lea eax, [ebx + 8]
mov byte [esi + 0x2c], 0
cmp dword [eax], 0x1f
mov dword [ebp - 0xc], eax
je 0x69b2e4a6
push edi
push edi
push edi
push edi
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
mov ecx, esi
call fcn.69b1e25a
mov ecx, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
push 0xf
call fcn.69b1b0bf
mov edi, eax
mov dword [ebx + 0x1c], edi
and byte [edi + 0xa], 0xfe
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x69b450ee
cmp word [ebp + 0x10], 0
je 0x69b1e33f
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
add dword [ebp + 0x14], 4
cmp dword [ebx + 4], 2
je 0x69b1e33f
push ebx
push edi
mov ecx, esi
call fcn.69b1b1c9
add dword [ebp + 0x10], 0xffff
jmp 0x69b1e317
cmp dword [esi + 0x28], 0
ja 0x69b45108
cmp dword [esi + 0x20], 0
je 0x69b1e358
push 0
mov ecx, esi
call fcn.69b1e3c9
xor eax, eax
cmp dword [esi + 0x80], eax
mov byte [esi + 0x2c], 0
jne 0x69b1e389
mov ecx, dword [esi + 0x6c]
cmp ecx, eax
jne 0x69b45114
cmp dword [esi + 0x78], 0
push eax
setg al
mov ecx, edi
push eax
push 1
push 0
call fcn.69b1b9a5
or byte [edi + 0xa], 1
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x20
je 0x69b4512e
cmp byte [esi + 0x2e], 0
je 0x69b1e3ad
mov eax, dword [edi + 8]
shr eax, 4
and eax, 0x3f
cmp eax, 2
jge 0x69b45146
cmp word [ebp + 0x10], 0
jne 0x69b1e2af
cmp byte [ebp - 1], 0
jne 0x69b45187
pop edi
pop esi
pop ebx
leave
ret 0x10
mov eax, dword [ebx + 0x18]
cmp eax, edi
je 0x69b450da
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [0x69bd725c]
push 1
push eax
push eax
push edi
push dword [ebp - 8]
push edx
push ecx
jmp 0x69b1e2e1
push edi
mov ecx, esi
call fcn.69b1e3c9
jmp 0x69b1e2c1
push 6
mov ecx, 0x69b4b3c8
pop edx
mov dword [ebp - 8], 5
jmp 0x69b2e4ba
cmp dword [esi + 0x80], 0
jne 0x69b1e317
push dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 0x58]
jmp 0x69b1e317
mov ecx, esi
call fcn.69bc7844
jmp 0x69b1e349
mov eax, dword [ebp + 8]
lea edx, [esi + 0x3c]
push edx
push dword [ebp - 8]
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], eax
mov eax, dword [ecx]
call dword [eax + 0x5c]
jmp 0x69b1e371
cmp byte [esi + 0x30], 0
push 0
push edi
sete byte [ebp - 1]
call fcn.69bc6e97
mov byte [ebp - 2], al
jmp 0x69b1e395
cmp eax, 6
jle 0x69b45154
cmp eax, 9
jne 0x69b1e3ad
push 0
mov ecx, edi
call fcn.69b1dfa4
test eax, eax
je 0x69b1e3ad
push 0
push 0x3a
mov ecx, eax
call fcn.69b4fc3b
test eax, eax
jl 0x69b1e3ad
push 0xc00ce00c
call fcn.69b4fab2
jmp 0x69b1e3ad
mov al, byte [ebp - 2]
mov byte [esi + 0x2f], al
jmp 0x69b1e3c2
Function at 0x69b2cc25
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
cmp eax, ecx
push esi
push edi
je 0x69b377bc
xor edi, edi
cmp eax, edi
je 0x69b42ba5
cmp eax, 2
jne 0x69b2d00f
mov edx, 0x8c
call fcn.69b2df64
mov esi, eax
cmp esi, edi
je 0x69b3997d
push esi
push dword [0x69bdaac8]
call dword [0x69bdab4c]
test eax, eax
push esi
je 0x69b42bd7
call fcn.69b2d3a3
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0xc
cmp eax, 3
jne 0x69b2cc89
push edi
call fcn.69b2cfd8
pop ecx
jmp 0x69b2cc89
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x94
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x69b3997d
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
push esi
push 0
je 0x69b42b7a
mov eax, dword [esi + 0x10]
mov dword [0x69bdecd0], eax
mov eax, dword [esi + 4]
mov dword [0x69bdecdc], eax
mov eax, dword [esi + 8]
mov dword [0x69bdece0], eax
mov eax, dword [esi + 0xc]
and eax, 0x7fff
mov dword [0x69bdecd4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x69bdecd0], 2
jne 0x69b42b88
mov eax, dword [0x69bdecdc]
shl eax, 8
add eax, dword [0x69bdece0]
push 1
mov dword [0x69bdecd8], eax
call fcn.69b37a6a
test eax, eax
pop ecx
je 0x69b3997d
call fcn.69b36234
test eax, eax
je 0x69b42b94
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x69bdf650], eax
call fcn.69b32c05
mov dword [0x69bdeccc], eax
call fcn.69b32cb8
test eax, eax
jl 0x69b42b9e
call fcn.69b36f4d
test eax, eax
jl 0x69b39973
call fcn.69b378b3
test eax, eax
jl 0x69b39973
call fcn.69b37771
test eax, eax
jne 0x69b39973
inc dword [0x69bdecc8]
jmp 0x69b2cc89
call fcn.69bb8f07
call fcn.69bb8fef
jmp 0x69b2cc89
call fcn.69b43187
jmp 0x69b42b9e
xor eax, eax
jmp 0x69b2cc8c
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x69b3997d
or byte [0x69bdecd5], 0x80
jmp 0x69b3782f
call fcn.69bb8fef
jmp 0x69b3997d
call fcn.69bb8f07
jmp 0x69b42b94
cmp dword [0x69bdecc8], edi
jle 0x69b3997d
dec dword [0x69bdecc8]
cmp dword [0x69be32f8], edi
jne 0x69b42bc4
call fcn.69b42ebc
cmp dword [ebp + 0x10], edi
jne 0x69b2cc89
call fcn.69b43187
jmp 0x69b39964
call fcn.69b2ce57
pop ecx
jmp 0x69b3997d
Function at 0x69b2fd31
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x5c], ebx
jne 0x69b44d45
push edi
push ebx
lea ecx, [esi + 0x44]
mov dword [esi + 0x78], ebx
mov byte [esi + 0x80], bl
mov dword [esi + 0x84], ebx
call fcn.69b1538d
mov eax, dword [esi + 0x50]
cmp eax, ebx
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x58], ebx
jne 0x69b44d50
mov eax, dword [esi + 0x4c]
cmp eax, ebx
jne 0x69b44d5b
mov eax, dword [esi + 0x48]
cmp eax, ebx
jne 0x69b44d66
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
pop edi
jne 0x69b2fda1
mov eax, dword [esi + 0x68]
cmp eax, ebx
jne 0x69b44d86
pop esi
pop ebx
ret
test byte [esi + 0x64], 2
jne 0x69b44d71
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 0x54], 0xffffffff
jmp 0x69b2fd93
push eax
call fcn.69b1131d
jmp 0x69b2fd47
push eax
call edi
mov dword [esi + 0x50], ebx
jmp 0x69b2fd74
push eax
call edi
mov dword [esi + 0x4c], ebx
jmp 0x69b2fd7f
push eax
call edi
mov dword [esi + 0x48], ebx
jmp 0x69b2fd8a
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x69b2fdab
push eax
call fcn.69b1131d
mov dword [esi + 0x68], ebx
jmp 0x69b2fd9e
Function at 0x69b32c05
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x69bdee08]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jne 0x69b32cae
call esi
mov edi, eax
cmp edi, ebx
je 0x69b43282
mov dword [0x69bdee08], 1
cmp edi, ebx
je 0x69b432a4
cmp word [edi], bx
mov eax, edi
je 0x69b32c5a
inc eax
inc eax
cmp word [eax], bx
jne 0x69b32c4c
inc eax
inc eax
cmp word [eax], bx
jne 0x69b32c4c
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, edi
push ebx
sar eax, 1
inc eax
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call esi
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 8], ecx
je 0x69b32ca0
call fcn.69b359a3
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x69b32ca0
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push ebx
push ebx
call esi
test eax, eax
je 0x69b432b2
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
cmp eax, 1
je 0x69b32c3d
jmp 0x69b432c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x69b4329a
push 2
pop eax
mov dword [0x69bdee08], eax
jmp 0x69b32cae
mov eax, dword [0x69bdee08]
jmp 0x69b32cae
call esi
mov edi, eax
cmp edi, ebx
jne 0x69b32c45
jmp 0x69b432cc
push dword [ebp - 4]
call fcn.69b2ce57
pop ecx
mov dword [ebp - 4], ebx
jmp 0x69b32c9d
cmp eax, 2
je 0x69b432d3
cmp eax, ebx
je 0x69b432d3
xor eax, eax
jmp 0x69b32ca9
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x69b432cc
cmp byte [esi], bl
je 0x69b432f0
inc eax
cmp byte [eax], bl
jne 0x69b432e6
inc eax
cmp byte [eax], bl
jne 0x69b432e6
sub eax, esi
inc eax
mov edi, eax
mov ecx, edi
call fcn.69b359a3
cmp eax, ebx
je 0x69b43317
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x69b32ca7
Function at 0x69b36a14
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x69bdb1e0]
and dword [ebp - 0x38], 0
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], eax
push 4
xor eax, eax
mov dword [ebp - 0x40], 0x69b36aec
pop ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], 0x69b36ae4
mov dword [ebp - 0x24], ebx
mov edx, reloc.SHLWAPI.dll_ParseURLW
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x30], edx
mov ecx, 0x69b376a8
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], ecx
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
call fcn.69b367d0
push 0x69bdec30
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x69bdec44]
cmp eax, esi
mov dword [0x69bdb1d8], eax
seta al
cmp dword [0x69bdcbe0], esi
mov byte [0x69bd31d0], al
mov eax, dword [0x69bdec34]
mov dword [0x69bdcc04], eax
je 0x69b3b47b
mov eax, dword [0x69bdec54]
cmp eax, 0xffffffff
je 0x69b3b486
push eax
push 0
push dword [0x69bdec58]
call fcn.69b36903
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x69bd5218], eax
mov dword [0x69bd31d8], esi
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret
mov dword [0x69bd7244], ebx
jmp 0x69b36aad
and dword [0x69bd5218], 0
and dword [0x69bd31d8], 0
mov eax, esi
jmp 0x69b36add
Function at 0x69b36b47
Capabilities:
Allocate thread local storage
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x69bd7228]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
xor edi, edi
cmp dword [0x69bdcbe8], edi
mov dword [ebp - 4], eax
jne 0x69b36ca0
push edi
call dword [sym.imp.SHLWAPI.dll_Ordinal_83]
mov ebx, eax
test ebx, ebx
mov dword [0x69bdcbe8], 1
je 0x69b36ca0
push 0x69b36d28
push ebx
call esi
push 0x69b36d10
push ebx
mov dword [ebp - 0xa0], eax
call esi
push 0x69b36cf4
push ebx
mov dword [ebp - 0x9c], eax
call esi
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x69b3a6dd
and dword [0x69bd31c4], 0
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
and dword [0x69bdcbec], 0
mov dword [0x69bd31c8], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x69bdab48], eax
mov dword [0x69bd31e8], fcn.69b153ba
mov dword [0x69bd31ec], 0x69b15516
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x69bd31c0], eax
je 0x69b36cb2
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x69b3a734
mov eax, dword [ebp - 0x88]
cmp eax, 1
mov ecx, dword [ebp - 0x94]
mov dword [0x69bdcbe0], eax
mov dword [0x69bdcbdc], ecx
je 0x69b3a73e
push 0x69b36d40
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
je 0x69b36cb2
push 0x69b36cd8
push ebx
call esi
test eax, eax
mov dword [0x69bd31f4], eax
je 0x69b36cb2
push 0x69b36cc0
push ebx
call esi
test eax, eax
mov dword [0x69bd31f8], eax
je 0x69b36cb2
call fcn.69b2dc9c
test eax, eax
mov dword [0x69bdcbe4], eax
je 0x69b3a757
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
pop edi
pop esi
setge al
pop ebx
call fcn.69b1718c
leave
ret
cmp dword [0x69bd31c4], 0
je 0x69b36bc5
jmp 0x69b36be0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
jmp 0x69b3a761
mov edx, dword [ebp - 0x9c]
test edx, edx
jne 0x69b3a6ef
test eax, eax
je 0x69b36bbe
test eax, eax
mov dword [0x69bd31c4], 1
mov dword [0x69bd31c8], ecx
mov dword [0x69bdab48], 0x69b4df14
jne 0x69b3a713
mov dword [0x69bdab48], edx
push 0x69b3a784
push ebx
mov dword [0x69bdcbec], eax
call esi
test eax, eax
je 0x69b36ca0
push 0x69bd31f0
call eax
jmp 0x69b36ca0
call fcn.69b4faef
jmp 0x69b36c27
mov dword [0x69bd31f4], 0x69b4de4c
mov dword [0x69bd31f8], 0x69b4de5e
jmp 0x69b36c7a
mov edi, 0x8007000e
jmp 0x69b36c8c
test eax, eax
jg 0x69b3a76e
call esi
mov edi, eax
jmp 0x69b36c8c
call esi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
jmp 0x69b36c8c
Function at 0x69b372ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push 0x10
push 1
push dword [ebp + 8]
xor bl, bl
call dword [sym.imp.SHLWAPI.dll_Ordinal_66]
test eax, eax
je 0x69b37334
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x69b37334
movzx edx, word [eax + 0x32]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
movzx edx, word [eax + 0x30]
mov dword [ecx + 4], edx
movzx edx, word [eax + 0x36]
mov dword [ecx + 8], edx
movzx eax, word [eax + 0x34]
mov dword [ecx + 0xc], eax
inc bl
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x69b522f7
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x69bdcbe0], 1
mov eax, dword [0x69bd7228]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push eax
je 0x69b52324
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x69b5234b
lea ecx, [ebp - 0x218]
call fcn.69b521ef
push dword [ebp - 0x214]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.69b52060
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
call fcn.69b1718c
leave
ret 8

Function at 0x69b52358
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x69bdcbe0], 1
mov eax, dword [0x69bd7228]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push eax
je 0x69b52385
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x69b523ac
lea ecx, [ebp - 0x218]
call fcn.69b521ef
push dword [ebp - 0x214]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.69b52060
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
call fcn.69b1718c
leave
ret 8
Function at 0x69b52477
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44c
cmp dword [0x69bdcbe0], 1
mov eax, dword [0x69bd7228]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x448], edi
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x43c], esi
je 0x69b524d1
push esi
push edx
push ecx
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x69b525f4
push eax
lea ecx, [ebp - 0x430]
call fcn.69b521ef
neg esi
sbb esi, esi
lea eax, [ebp - 0x438]
and esi, eax
push esi
push 0
lea eax, [ebp - 0x444]
push eax
push edi
push dword [ebp - 0x42c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
call edi
test eax, eax
mov dword [ebp - 0x434], eax
jne 0x69b525e3
cmp dword [ebp - 0x444], eax
jbe 0x69b525bc
cmp dword [ebp - 0x444], 2
ja 0x69b525bc
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x69b5253a
mov eax, dword [eax]
shr eax, 1
jmp 0x69b5253c
xor eax, eax
push eax
push dword [ebp - 0x440]
lea ecx, [ebp - 0x21c]
call fcn.69b5220f
mov eax, dword [ebp - 8]
push esi
push dword [ebp - 0x218]
add eax, eax
push dword [ebp - 0x44c]
mov dword [ebp - 0x438], eax
push dword [ebp - 0x448]
push dword [ebp - 0x42c]
push ebx
call edi
test eax, eax
mov dword [ebp - 0x434], eax
je 0x69b5258c
lea ecx, [ebp - 0x21c]
call fcn.69b522e5
jmp 0x69b525e3
cmp dword [ebp - 0x218], 0
je 0x69b525a6
lea ecx, [ebp - 0x21c]
call fcn.69b52230
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x69b5257f
mov ecx, dword [ebp - 0x438]
add ecx, ecx
mov dword [eax], ecx
jmp 0x69b5257f
push dword [ebp - 0x43c]
push dword [ebp - 0x440]
push dword [ebp - 0x44c]
push dword [ebp - 0x448]
push dword [ebp - 0x42c]
push ebx
call edi
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x430]
call fcn.69b52060
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.69b1718c
leave
ret 0x18
Function at 0x69b52603
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0x69bdcbe0], 1
mov eax, dword [0x69bd7228]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x69b5263e
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x69b526af
push eax
lea ecx, [ebp - 0x42c]
call fcn.69b521ef
cmp dword [ebp + 0x14], 1
je 0x69b5265a
cmp dword [ebp + 0x14], 2
je 0x69b5265a
xor eax, eax
jmp 0x69b5265c
mov eax, esi
push eax
lea ecx, [ebp - 0x218]
call fcn.69b521ef
cmp dword [ebp - 0x214], 0
je 0x69b5267d
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x214]
inc eax
jmp 0x69b52680
mov eax, dword [ebp + 0x1c]
push eax
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.69b52060
lea ecx, [ebp - 0x42c]
call fcn.69b52060
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.69b1718c
leave
ret 0x18

Function at 0x69b526bd
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
cmp dword [0x69bdcbe0], 1
mov edx, dword [ebp + 0x1c]
mov eax, dword [0x69bd7228]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x220], edx
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x21c], edx
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x228], edx
mov edx, dword [ebp + 0x28]
mov dword [ebp - 0x224], edx
mov edx, dword [ebp + 0x2c]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x22c], edx
mov edx, dword [ebp + 0x30]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x230], edx
mov edx, dword [ebp + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], edx
je 0x69b52762
push edx
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push ecx
push ebx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x69b527bc
push eax
lea ecx, [ebp - 0x218]
call fcn.69b521ef
push dword [ebp - 0x234]
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x238]
push ebx
push edi
push dword [ebp - 0x214]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.69b52060
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.69b1718c
leave
ret 0x30
Function at 0x69b527cb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x69bdcbe0], 1
mov eax, dword [0x69bd7228]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
je 0x69b527fd
push dword [ebp + 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
jmp 0x69b5285a
push eax
lea ecx, [ebp - 0x430]
call fcn.69b521ef
push dword [ebp + 0x10]
lea ecx, [ebp - 0x21c]
push esi
call fcn.69b5220f
mov eax, dword [ebp - 8]
add eax, eax
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.69b52230
cmp esi, dword [ebp + 0x10]
ja 0x69b52844
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.69b522e5
lea ecx, [ebp - 0x430]
call fcn.69b52060
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.69b1718c
leave
ret 0xc

Function at 0x69b52869
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x444
cmp dword [0x69bdcbe0], 1
mov edx, dword [ebp + 0x1c]
mov eax, dword [0x69bd7228]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x438], edx
mov edx, dword [ebp + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x43c], edx
je 0x69b528c9
push edx
push esi
push dword [ebp - 0x438]
push ecx
push edi
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x69b5295d
and dword [ebp - 0x440], 0
test esi, esi
jne 0x69b528da
lea esi, [ebp - 0x440]
push dword [edi]
lea ecx, [ebp - 0x434]
push eax
call fcn.69b5220f
push dword [esi]
lea ecx, [ebp - 0x21c]
push dword [ebp - 0x438]
call fcn.69b5220f
push dword [ebp - 0x43c]
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x444]
push edi
push dword [ebp - 0x430]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ecx, [ebp - 0x434]
mov ebx, eax
call fcn.69b52230
test eax, eax
jle 0x69b52931
dec eax
lea ecx, [ebp - 0x21c]
mov dword [edi], eax
call fcn.69b52230
test eax, eax
jle 0x69b52943
dec eax
lea ecx, [ebp - 0x21c]
mov dword [esi], eax
call fcn.69b522e5
lea ecx, [ebp - 0x434]
call fcn.69b522e5
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.69b1718c
leave
ret 0x20
Function at 0x69b5296c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x444
cmp dword [0x69bdcbe0], 1
mov eax, dword [0x69bd7228]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x444], esi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x440], edx
je 0x69b529ce
push esi
push ebx
push dword [ebp - 0x444]
push edx
push edi
push eax
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
jmp 0x69b52aa1
push dword [edi]
lea ecx, [ebp - 0x21c]
push eax
call fcn.69b5220f
test ebx, ebx
je 0x69b52a46
mov eax, dword [esi]
shr eax, 1
push eax
push ebx
lea ecx, [ebp - 0x434]
call fcn.69b5220f
push esi
push dword [ebp - 0x430]
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x440]
push edi
push dword [ebp - 0x218]
push dword [ebp + 0xc]
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, eax
test ebx, ebx
jne 0x69b52a39
cmp dword [ebp - 0x438], 1
jne 0x69b52a39
lea ecx, [ebp - 0x434]
call fcn.69b52230
shl eax, 1
mov dword [esi], eax
lea ecx, [ebp - 0x434]
call fcn.69b522e5
jmp 0x69b52a6e
push esi
push 0
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x440]
push edi
push dword [ebp - 0x218]
push dword [ebp + 0xc]
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, eax
test ebx, ebx
jne 0x69b52a84
lea ecx, [ebp - 0x21c]
call fcn.69b52230
test eax, eax
jle 0x69b52a82
dec eax
mov dword [edi], eax
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x69b52a96
mov ecx, dword [ebp - 0x438]
mov dword [eax], ecx
lea ecx, [ebp - 0x21c]
call fcn.69b522e5
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.69b1718c
leave
ret 0x20