joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68023892
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x68031884]
mov edx, dword [ebp + 0xc]
and dword [ebp - 0x2a0], 0
or dword [ebp - 0x2a4], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
or dword [esi], 0xffffffff
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2a8], eax
xor eax, eax
push 0x11
mov ecx, 0x94
lea edi, [ebp - 0x29c]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x4c]
push eax
push edx
call fcn.6802231d
xor edi, edi
cmp eax, edi
jne 0x6802394c
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
mov word [ebp - 0xc], 0x5f
mov word [ebp - 0xa], 0x2a
call fcn.68023630
cmp eax, edi
jne 0x6802394c
push edi
push edi
push edi
lea eax, [ebp - 0x29c]
push eax
push edi
push dword [ebp - 0x2a0]
call dword [sym.imp._CKERNEL.DLL_FindFirstFileExW]
cmp eax, 0xffffffff
mov dword [ebp - 0x2a4], eax
jne 0x68023953
call dword [sym.imp._CKERNEL.DLL_GetLastError]
cmp eax, 2
jne 0x6802394c
mov esi, 0x80090016
jmp 0x680239d3
mov esi, eax
jmp 0x680239d3
push dword [ebp - 0x2a0]
call fcn.68021f03
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x270]
push eax
push ebx
mov dword [ebp - 0x2a0], edi
call fcn.68023630
cmp eax, edi
jne 0x680239b1
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x2a0]
call dword [sym.imp._CKERNEL.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x680239b5
call dword [sym.imp._CKERNEL.DLL_GetLastError]
cmp eax, 2
jne 0x680239b1
mov esi, 0x80090016
jmp 0x680239cb
mov esi, eax
jmp 0x680239cb
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x2a8]
call sub._Cmvrt.DLL_wcscpy
pop ecx
pop ecx
xor esi, esi
cmp dword [ebp - 0x2a4], edi
je 0x680239df
push dword [ebp - 0x2a4]
call dword [sym.imp._CKERNEL.DLL_FindClose]
cmp dword [ebp - 0x2a0], edi
je 0x680239f2
push dword [ebp - 0x2a0]
call fcn.68021f03
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.68014cb9
leave
ret 0x10
Function at 0x68023a08
Capabilities:
Check if file exists
Get file size
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push 4
push 3
push esi
push esi
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp._CKERNEL.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x68023a48
call dword [sym.imp._CKERNEL.DLL_GetLastError]
cmp eax, 2
jne 0x68023a44
mov edi, 0x80090016
jmp 0x68023aa7
mov edi, eax
jmp 0x68023aa7
push esi
push eax
call dword [sym.imp._CKERNEL.DLL_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x68023a61
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov edi, eax
jmp 0x68023a9e
push ebx
push edi
call fcn.68021ec0
mov ebx, eax
cmp ebx, esi
jne 0x68023a73
push 8
pop edi
jmp 0x68023a93
push esi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp._CKERNEL.DLL_WriteFile]
test eax, eax
jne 0x68023a91
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov edi, eax
jmp 0x68023a93
xor edi, edi
cmp ebx, esi
je 0x68023a9d
push ebx
call fcn.68021f03
pop ebx
push dword [ebp + 8]
call dword [sym.imp._CKERNEL.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x68023ab4
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call sub._Cmvrt.DLL_wcslen
push dword [ebp + 0xc]
mov ebx, eax
shl ebx, 1
call sub._Cmvrt.DLL_wcslen
shl eax, 1
mov dword [ebp - 4], eax
pop ecx
add eax, ebx
pop ecx
lea eax, [eax + eax + 2]
push eax
call fcn.68021ec0
test eax, eax
mov dword [ebp + 8], eax
jne 0x68023af0
push 8
pop esi
jmp 0x68023b49
push edi
mov ecx, ebx
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 ecx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
add ecx, 2
mov edx, ecx
shr ecx, 2
lea edi, [ebx + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.68023a08
test eax, eax
pop edi
jne 0x68023b3b
push dword [ebp + 8]
call dword [sym.imp._CKERNEL.DLL_DeleteFileW]
test eax, eax
jne 0x68023b3f
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov esi, eax
jmp 0x68023b41
xor esi, esi
push dword [ebp + 8]
call fcn.68021f03
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x68024304
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
push esi
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0x80000000
push dword [ebp + 8]
call fcn.680237c4
xor esi, esi
cmp eax, esi
je 0x6802433c
cmp eax, 2
jne 0x68024354
mov edi, 0x80090016
jmp 0x68024403
push esi
push dword [ebp - 4]
call dword [sym.imp._CKERNEL.DLL_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x6802435b
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov edi, eax
jmp 0x68024403
cmp eax, 0x20
jae 0x6802436a
mov edi, 0x8009001a
jmp 0x68024403
push esi
push esi
push esi
push 2
push esi
push dword [ebp - 4]
call dword [sym.imp._CKERNEL.DLL_CreateFileMappingA]
cmp eax, esi
mov dword [ebp + 0xc], eax
jne 0x6802438a
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov edi, eax
jmp 0x680243f5
push ebx
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp._CKERNEL.DLL_MapViewOfFile]
mov ebx, eax
cmp ebx, esi
jne 0x680243a7
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov edi, eax
jmp 0x680243e9
cmp dword [ebx], 2
jne 0x680243cd
mov edi, dword [ebp + 0x14]
cmp edi, esi
mov eax, dword [ebp + 0x18]
jne 0x680243be
mov dword [eax], 0x105
jmp 0x680243e7
mov ecx, dword [ebx + 8]
cmp dword [eax], ecx
jb 0x680243b6
lea eax, [ecx + 0x28]
cmp eax, dword [ebp + 0x10]
jbe 0x680243d4
mov edi, 0x8009001a
jmp 0x680243e9
mov eax, ecx
shr ecx, 2
lea esi, [ebx + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
xor edi, edi
cmp ebx, esi
je 0x680243f4
push ebx
call dword [sym.imp._CKERNEL.DLL_UnmapViewOfFile]
pop ebx
cmp dword [ebp + 0xc], esi
je 0x68024403
push dword [ebp + 0xc]
call dword [sym.imp._CKERNEL.DLL_CloseHandle]
cmp dword [ebp - 4], 0xffffffff
je 0x68024412
push dword [ebp - 4]
call dword [sym.imp._CKERNEL.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret 0x14
Function at 0x68024569
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x68031884]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x26c], eax
xor eax, eax
mov ecx, 0x94
lea edi, [ebp - 0x254]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x258]
push eax
xor ebx, ebx
lea eax, [ebp - 0x264]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x258], ebx
push dword [ebp + 8]
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x25c], ebx
call fcn.680233db
cmp eax, ebx
jne 0x6802468b
test byte [ebp + 0x10], 1
mov edi, dword [sym.imp._CKERNEL.DLL_FindNextFileW]
je 0x68024692
push dword [ebp - 0x258]
or dword [esi], 0xffffffff
call sub._Cmvrt.DLL_wcslen
pop ecx
lea eax, [eax + eax + 4]
push eax
call fcn.68021ec0
cmp eax, ebx
mov dword [ebp - 0x260], eax
jne 0x6802461a
push 8
pop esi
jmp 0x6802473c
push dword [ebp - 0x258]
push eax
call sub._Cmvrt.DLL_wcscpy
push dword [ebp - 0x258]
call sub._Cmvrt.DLL_wcslen
mov ecx, dword [ebp - 0x260]
add esp, 0xc
push ebx
push ebx
push ebx
mov word [ecx + eax*2], 0x2a
lea eax, [ebp - 0x254]
push eax
push ebx
push ecx
call dword [sym.imp._CKERNEL.DLL_FindFirstFileExW]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x68024681
lea ecx, [ebp - 0x254]
push ecx
push eax
call edi
test eax, eax
je 0x68024676
lea eax, [ebp - 0x254]
push eax
push dword [esi]
call edi
test eax, eax
jne 0x680246a5
call dword [sym.imp._CKERNEL.DLL_GetLastError]
cmp eax, 0x12
jne 0x6802468b
mov esi, 0x103
jmp 0x6802473c
mov esi, eax
jmp 0x6802473c
lea eax, [ebp - 0x254]
push eax
push dword [esi]
call edi
test eax, eax
je 0x68024773
cmp dword [ebp + 0xc], ebx
jne 0x680246b2
cmp dword [ebp - 0x264], ebx
je 0x680246fe
lea eax, [ebp - 0x25c]
push eax
call fcn.680223ca
cmp eax, ebx
jne 0x68024785
cmp dword [ebp - 0x25c], ebx
jne 0x680246e8
mov esi, 0x80090020
jmp 0x6802473c
lea eax, [ebp - 0x254]
push eax
push dword [esi]
call edi
test eax, eax
je 0x68024773
push dword [ebp - 0x25c]
lea eax, [ebp - 0x228]
push eax
call fcn.6802451c
test eax, eax
je 0x680246d5
push dword [ebp - 0x26c]
lea eax, [ebp - 0x228]
push dword [ebp - 0x268]
push dword [ebp - 0x258]
push eax
push dword [ebp + 0xc]
call fcn.68024304
cmp eax, ebx
jne 0x68024692
xor esi, esi
cmp dword [ebp - 0x25c], ebx
je 0x6802473c
push dword [ebp - 0x25c]
call fcn.68021f03
cmp dword [ebp - 0x258], ebx
je 0x6802474f
push dword [ebp - 0x258]
call fcn.68021f03
cmp dword [ebp - 0x260], ebx
je 0x68024762
push dword [ebp - 0x260]
call fcn.68021f03
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.68014cb9
leave
ret 0x18
call dword [sym.imp._CKERNEL.DLL_GetLastError]
cmp eax, 0x12
jne 0x68024785
mov esi, 0x103
jmp 0x68024729
mov esi, eax
jmp 0x68024729
Function at 0x680248b2
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x68031884]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp._CKERNEL.DLL_MultiByteToWideChar]
push edi
xor edx, edx
push edx
push edx
push 0xffffffffffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x424], eax
push 2
xor eax, eax
mov ecx, 0x105
lea edi, [ebp - 0x418]
push edx
mov dword [ebp - 0x420], edx
rep stosd dword es:[edi], eax
call esi
mov edi, eax
test edi, edi
jne 0x6802490e
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov esi, eax
jmp 0x68024996
lea eax, [edi + 1]
cmp eax, 0x20a
jbe 0x6802493d
lea eax, [edi + edi + 2]
push eax
call fcn.68021ec0
test eax, eax
mov dword [ebp - 0x41c], eax
jne 0x68024931
push 8
pop esi
jmp 0x68024996
mov dword [ebp - 0x420], 1
jmp 0x68024949
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], eax
push edi
push dword [ebp - 0x41c]
push 0xffffffffffffffff
push ebx
push 2
push 0
call esi
test eax, eax
jne 0x68024965
call dword [sym.imp._CKERNEL.DLL_GetLastError]
jmp 0x68024977
push dword [ebp - 0x41c]
push dword [ebp - 0x424]
call dword [sym.imp._CADVAPI.DLL_RegDeleteKeyW]
cmp dword [ebp - 0x420], 0
mov esi, eax
je 0x68024996
cmp dword [ebp - 0x41c], 0
je 0x68024996
push dword [ebp - 0x41c]
call fcn.68021f03
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.68014cb9
leave
ret 8
Function at 0x68024fae
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xf4], ebx
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
je 0x68024fd9
xor edi, edi
jmp 0x6802510d
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x40]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.680249ac
cmp eax, ebx
jne 0x68025116
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.6802478e
cmp eax, ebx
je 0x6802502f
cmp eax, 0x80090016
jne 0x68025116
mov edi, 0x103
jmp 0x680250d8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegQueryInfoKeyA]
cmp eax, ebx
jne 0x68025116
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x680250d6
mov eax, dword [ebp + 0x10]
inc eax
mov dword [esi + 0xf0], eax
imul eax, ecx
push eax
mov dword [esi + 0xec], ecx
call fcn.68021ec0
cmp eax, ebx
mov dword [esi + 0xf4], eax
jne 0x68025092
push 8
pop edi
jmp 0x680250d8
xor edi, edi
cmp dword [esi + 0xec], ebx
jbe 0x680250c6
mov ecx, dword [esi + 0xf0]
mov eax, ecx
imul eax, edi
add eax, dword [esi + 0xf4]
push ecx
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegEnumKeyA]
cmp eax, ebx
jne 0x68025116
inc edi
cmp edi, dword [esi + 0xec]
jb 0x6802509c
cmp dword [ebp + 0x14], ebx
jne 0x6802511a
mov eax, dword [esi + 0xf0]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, ebx
mov esi, dword [sym.imp._CADVAPI.DLL_RegCloseKey]
je 0x680250f6
cmp eax, 0x80000001
je 0x680250f6
cmp eax, 0x80000002
je 0x680250f6
push eax
call esi
cmp dword [ebp - 8], ebx
je 0x68025103
push dword [ebp - 8]
call fcn.68021f03
cmp dword [ebp - 4], ebx
je 0x6802510d
push dword [ebp - 4]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
mov edi, eax
jmp 0x680250d8
mov esi, dword [esi + 0xf0]
mov eax, dword [ebp + 0x18]
cmp dword [eax], esi
mov dword [eax], esi
jae 0x680250d6
mov edi, 0xea
jmp 0x680250d8
Function at 0x68025750
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x134
push 0x68006378
call fcn.68014f74
mov eax, dword [0x68031884]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], eax
xor ebx, ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x12c]
push eax
push 0x20019
push ebx
push 0x68006350
push 0x80000002
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
mov dword [ebp - 0x138], eax
cmp eax, ebx
jne 0x6802589f
mov dword [ebp - 0x130], 0x105
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push ebx
mov edi, 0x68006344
push edi
push dword [ebp - 0x12c]
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExA]
call esi
mov dword [ebp - 0x138], eax
cmp eax, ebx
je 0x68025842
cmp eax, 0xea
jne 0x6802589f
push dword [ebp - 0x130]
call fcn.68021ec0
mov dword [ebp - 0x128], eax
cmp eax, ebx
je 0x6802589f
mov dword [ebp - 0x13c], 1
lea ecx, [ebp - 0x130]
push ecx
push eax
push ebx
push ebx
push edi
push 0x80000002
call esi
mov dword [ebp - 0x138], eax
cmp eax, ebx
je 0x6802584e
jmp 0x6802589f
lea eax, [ebp - 0x124]
mov dword [ebp - 0x128], eax
push 0xc
pop edi
push edi
call fcn.68021ec0
mov esi, eax
mov dword [ebp - 0x140], esi
cmp esi, ebx
je 0x6802589f
mov dword [esi], edi
push ebx
push ebx
push dword [ebp - 0x128]
call dword [sym.imp._CKERNEL.DLL_LoadLibraryExA]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x6802589f
push 0x68006334
push eax
call dword [sym.imp._CKERNEL.DLL_GetProcAddress]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x6802589f
mov eax, dword [ebp - 0x144]
mov dword [eax], esi
mov dword [ebp - 0x134], 1
or dword [ebp - 4], 0xffffffff
jmp 0x680258b2
cmp dword [ebp - 0x12c], ebx
je 0x680258c6
push dword [ebp - 0x12c]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
cmp dword [ebp - 0x13c], ebx
je 0x680258e1
cmp dword [ebp - 0x128], ebx
je 0x680258e1
push dword [ebp - 0x128]
call fcn.68021f03
cmp dword [ebp - 0x134], ebx
jne 0x680258f4
push dword [ebp - 0x140]
call fcn.68025725
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x1c]
call fcn.68014cb9
call fcn.68014faf
ret 4
Function at 0x68026417
Capabilities:
Check if file exists
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x68031884]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x8c]
push eax
push ebx
call dword [sym.imp._CKERNEL.DLL_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x6802645c
call dword [sym.imp._CKERNEL.DLL_GetLastError]
cmp eax, 2
jne 0x68026458
mov ebx, 0x8009001e
jmp 0x680264a6
mov ebx, eax
jmp 0x680264a6
push esi
push 0
push edi
call dword [sym.imp._CKERNEL.DLL_GetFileSize]
cmp eax, 0xffffffff
mov esi, dword [sym.imp._CKERNEL.DLL__lclose]
mov dword [ebp - 0x90], eax
jne 0x68026481
call dword [sym.imp._CKERNEL.DLL_GetLastError]
mov ebx, eax
jmp 0x6802649d
push edi
call esi
push dword [ebp - 0x90]
or edi, 0xffffffff
push ebx
call fcn.68026050
test eax, eax
je 0x6802649b
mov ebx, eax
jmp 0x680264a5
xor ebx, ebx
cmp edi, 0xffffffff
je 0x680264a5
push edi
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
pop ebx
call fcn.68014cb9
leave
ret 4

Function at 0x68026578
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
push 0x68006408
call fcn.68014f74
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
push 0x30
call fcn.68021ec0
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, edi
jne 0x680265ab
mov dword [ebp - 0x24], 8
jmp 0x680266b0
call dword [sym.imp._CKERNEL.DLL_GetTickCount]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0x20119
push edi
push 0x68006098
push 0x80000002
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
test eax, eax
jne 0x6802664f
push 4
pop ebx
mov dword [ebp - 0x1c], ebx
lea eax, [esi + 0x20]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push edi
push edi
push 0x680063f0
push dword [ebp - 0x20]
mov edi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExA]
call edi
test eax, eax
je 0x680265fd
mov dword [esi + 0x20], 0x14
mov dword [ebp - 0x1c], ebx
lea ebx, [esi + 0x28]
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0
push 0
push 0x680063cc
push dword [ebp - 0x20]
call edi
test eax, eax
je 0x68026620
mov dword [ebx], 0x15180
mov dword [ebp - 0x1c], 4
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0
push 0
push 0x680063b0
push dword [ebp - 0x20]
call edi
test eax, eax
jne 0x6802665f
mov eax, dword [esi + 0x2c]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
jmp 0x68026663
mov dword [esi + 0x20], 0x14
lea ebx, [esi + 0x28]
mov dword [ebx], 0x15180
or dword [esi + 0x2c], 0xffffffff
mov eax, dword [ebx]
imul eax, eax, 0x3e8
mov dword [ebx], eax
and dword [ebp - 4], 0
push esi
call dword [sym.imp._CKERNEL.DLL_InitializeCriticalSection]
or dword [ebp - 4], 0xffffffff
mov dword [0x68031b08], esi
jmp 0x680266ae
xor edi, edi
cmp dword [ebp - 0x20], edi
je 0x680266be
push dword [ebp - 0x20]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov eax, dword [ebp - 0x24]
call fcn.68014faf
ret
Function at 0x68028460
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x680284ad
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], esi
mov esi, dword [edi + edx]
mov ecx, dword [edx]
lea ebx, [ecx + esi]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + edx], eax
mov ebx, ecx
xor ebx, esi
and ebx, eax
or ecx, esi
xor ebx, ecx
shr ebx, 0x1f
add edx, 4
dec dword [ebp + 0x14]
mov eax, ebx
jne 0x68028484
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x6802853d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x68028598
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
sub edi, esi
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + esi]
mov edx, dword [esi]
mov eax, ecx
sub eax, edx
sub eax, ebx
xor eax, ecx
mov dword [ebp + 0x10], edx
xor dword [ebp + 0x10], ecx
or eax, dword [ebp + 0x10]
add esi, 4
xor eax, ecx
shr eax, 0x1f
mov ebx, eax
mov eax, edx
sub eax, ecx
sub eax, dword [ebp - 4]
xor eax, edx
or eax, dword [ebp + 0x10]
xor eax, edx
shr eax, 0x1f
dec dword [ebp + 0xc]
mov dword [ebp - 4], eax
jne 0x6802855d
pop edi
pop esi
mov eax, dword [ebp - 4]
sub eax, ebx
pop ebx
leave
ret 0xc
Function at 0x6802883e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x14]
and dword [ebp - 4], 0
test edx, edx
je 0x68028890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
sub eax, esi
sub ecx, esi
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
mov edi, dword [eax + esi]
mov edx, dword [esi]
mov ebx, dword [ebp + 0xc]
mov ecx, edi
sub ecx, edx
sub ecx, dword [ebp - 4]
xor edx, edi
mov dword [ebx + esi], ecx
xor ecx, edi
or ecx, edx
xor ecx, edi
shr ecx, 0x1f
add esi, 4
dec dword [ebp + 0x14]
mov dword [ebp - 4], ecx
jne 0x68028865
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 4]
leave
ret 0x10

Function at 0x6802889c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
mov dword [ebp - 8], 1
je 0x680288e7
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
sub esi, ecx
mov edx, dword [esi + ecx]
mov eax, dword [ecx]
mov ebx, edx
sub ebx, eax
sub ebx, dword [ebp - 4]
xor eax, edx
xor ebx, edx
or ebx, eax
xor ebx, edx
shr ebx, 0x1f
add ecx, 4
dec edi
mov dword [ebp - 4], ebx
jne 0x680288c0
cmp dword [ebp - 4], edi
pop esi
pop ebx
jne 0x680288f7
push dword [ebp + 0x18]
and dword [ebp - 8], 0
push 0
push 7
call fcn.6801458f
mov eax, dword [ebp - 8]
pop edi
leave
ret 0x14
Function at 0x68028904
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x1c], eax
xor eax, eax
push esi
mov esi, dword [ebx + 0x14]
inc eax
xor ecx, ecx
cmp dword [0x68031fd8], ecx
push edi
mov dword [ebp - 8], eax
je 0x68028994
movd mm0, eax
or eax, 0xffffffff
cmp esi, ecx
movd mm3, eax
movq mm1, mm0
je 0x6802898a
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
sub ecx, eax
sub edx, eax
mov edi, dword [ecx + eax]
movd mm2, edi
mov edi, dword [eax]
movq mm4, mm3
pxor mm2, mm4
movd mm4, edi
mov edi, dword [edx + eax]
paddq mm0, mm4
movq mm4, mm2
paddq mm0, mm4
psrlq mm0, 0x20
movd mm4, edi
paddq mm1, mm4
add eax, 4
dec esi
paddq mm1, mm2
psrlq mm1, 0x20
jne 0x68028956
por mm0, mm1
movd eax, mm0
emms
jmp 0x68028a04
cmp esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
je 0x680289fc
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
sub ecx, eax
sub edx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], esi
jmp 0x680289b9
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [eax + ecx]
mov esi, edx
sub esi, ecx
sub esi, dword [ebp - 4]
mov edi, edx
xor esi, edx
xor edi, ecx
or esi, edi
xor esi, edx
mov edx, dword [ebp - 0x18]
mov edx, dword [eax + edx]
shr esi, 0x1f
mov dword [ebp - 4], esi
mov esi, edx
sub esi, ecx
sub esi, dword [ebp - 0x10]
mov edi, edx
xor esi, edx
xor edi, ecx
or esi, edi
xor esi, edx
shr esi, 0x1f
mov ecx, esi
add eax, 4
dec dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
jne 0x680289b6
and ecx, dword [ebp - 4]
xor eax, eax
inc eax
sub eax, ecx
test eax, eax
je 0x68028a18
push dword [ebp - 0x1c]
and dword [ebp - 8], 0
push 0
push 7
call fcn.6801458f
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18