joyce8/EMBER2024-capa huggingface dataset:
Function at 0x38c105e6
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x2b4
push esi
push 0
push edi
mov dword [ebp - 0x210], ecx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x210]
add esp, 0xc
or eax, 0x10
push eax
push esi
push edi
push 0x10
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.38c100f2
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.38c02c4c
leave
ret 0xc

Function at 0x38c10e49
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x38c2834c]
sub esp, 0x10
cmp eax, 0xaaaaaaaa
jne 0x38c10ec6
push edi
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x38c10ee8
push 0x80000002
mov edi, 0x6400000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x38c10ebe
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x38c10ec8
push dword [ebp - 8]
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x38c10eb5
cmp dword [ebp - 4], 4
jne 0x38c10eb5
cmp dword [ebp - 0xc], 4
jne 0x38c10eb5
mov edi, dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov dword [0x38c2834c], eax
pop edi
leave
ret

Function at 0x38c11422
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x25c]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x270], ecx
mov ebx, 0x80004005
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x38c11511
cmp eax, esi
ja 0x38c11511
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov ebx, eax
test ebx, ebx
jl 0x38c11511
push 0x27
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [fcn.38c05984]
test eax, eax
je 0x38c1150c
mov eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
push 0x38c11524
add eax, 0x238
push esi
push eax
call fcn.38c06580
mov ebx, eax
add esp, 0x14
test ebx, ebx
jl 0x38c11511
mov esi, dword [ebp - 0x270]
mov eax, dword [edi]
push 0
push 0
add esi, 0x238
push esi
push 5
push edi
call dword [eax + 0x18]
mov ebx, eax
xor eax, eax
cmp ebx, eax
jl 0x38c11511
push eax
push 0x80
push 3
push eax
push eax
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x270]
mov dword [ecx + 0x440], eax
cmp eax, 0xffffffff
jne 0x38c11511
mov ebx, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.38c02c4c
leave
ret 4
Function at 0x38c11d88
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push dword [esi + 8]
call fcn.38c16ee3
mov dword [ebp - 0x4c4], eax
cmp eax, edi
je 0x38c11ecf
push 0x2b0
lea eax, [ebp - 0x4bc]
push edi
push eax
mov dword [ebp - 0x4c0], edi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x20f28
push 0x2b4
lea eax, [ebp - 0x4c0]
push eax
push edi
push dword [ebp - 0x4c4]
mov dword [ebp - 0x4b8], 0x10
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
je 0x38c11e5c
push ebx
lea eax, [ebp - 0x4b4]
push eax
mov ebx, 0x138
push ebx
push dword [esi + 4]
call edi
push dword [ebp - 0x4c0]
push 0x137
push dword [esi + 4]
call fcn.38c15cf1
lea eax, [ebp - 0x2ac]
push eax
push 0x13b
push dword [esi + 4]
call edi
test byte [ebp - 0x4b8], 0x10
jne 0x38c11e5b
push 0
push 1
push 0xcf
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
pop ebx
lea eax, [esi + 0x10]
push eax
push dword [ebp - 0x4c4]
call fcn.38c1649f
test eax, eax
jl 0x38c11e75
push esi
call fcn.38c11c62
push 0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xc000
push dword [ebp - 0x4c4]
call fcn.38c17642
test eax, eax
jl 0x38c11eb5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
push 0x13e
push dword [esi + 4]
call edi
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 4]
call fcn.38c11893
push dword [ebp - 0x4c4]
call dword [sym.imp.SHELL32.dll_ILFree]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.38c02c4c
leave
ret 4
Function at 0x38c123de
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4d0
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0x4d0]
push ecx
push eax
call fcn.38c16cff
mov esi, eax
test esi, esi
je 0x38c124cf
push 0
push esi
call fcn.38c16ee3
mov dword [ebp - 0x4c4], eax
test eax, eax
je 0x38c124c2
and dword [ebp - 0x4c0], 0
push 0x2b0
lea eax, [ebp - 0x4bc]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x208
push 0x2b4
lea eax, [ebp - 0x4c0]
push eax
push 0
push dword [ebp - 0x4c4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x38c124b6
cmp dword [esi], 1
jbe 0x38c124a6
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x14b
push dword [0x38c270d0]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push ebx
call fcn.38c06580
add esp, 0x10
jmp 0x38c124b6
lea eax, [ebp - 0x4b4]
push eax
push dword [ebp + 0x10]
push ebx
call fcn.38c074ef
push dword [ebp - 0x4c4]
call dword [sym.imp.SHELL32.dll_ILFree]
lea eax, [ebp - 0x4d0]
push eax
push esi
call fcn.38c16d61
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.38c02c4c
leave
ret 0xc

Function at 0x38c12b99
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x2bc], eax
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
call fcn.38c12a05
xor edi, edi
cmp eax, edi
je 0x38c12bea
push 1
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
xor eax, eax
jmp 0x38c12c45
push edi
push dword [ebp - 0x2bc]
call fcn.38c12917
mov dword [esi], eax
cmp eax, edi
je 0x38c12c42
cmp ebx, edi
je 0x38c12c42
push dword [ebp + 0xc]
push ebx
push eax
call fcn.38c12b0a
push 0x108
push 0x2b4
mov dword [esi + 4], eax
lea eax, [ebp - 0x2b8]
push eax
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x38c12c42
mov eax, dword [ebp - 0x2b8]
push edi
push eax
push 0x402
push dword [esi]
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.38c02c4c
leave
ret 0x10
Function at 0x38c12d9c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub esp, 0x10
push edi
xor edi, edi
cmp ecx, edi
je 0x38c12db6
xor edx, edx
mov word [eax], dx
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 8], 0x80070057
je 0x38c12e83
cmp dword [ebp + 8], edi
je 0x38c12e83
cmp eax, edi
je 0x38c12e83
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
add ecx, ecx
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x80004005
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
mov ebx, eax
mov eax, 0xea
cmp ebx, edi
je 0x38c12e0d
cmp ebx, eax
jne 0x38c12e81
xor ecx, ecx
cmp ebx, eax
sete cl
mov dword [ebp - 0x10], ecx
cmp ecx, edi
je 0x38c12e57
mov eax, dword [ebp - 0xc]
inc eax
xor ecx, ecx
push 2
shr eax, 1
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.38c019ed
pop ecx
mov dword [ebp - 4], eax
cmp eax, edi
je 0x38c12e50
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
jmp 0x38c12e57
mov dword [ebp - 8], 0x8007000e
cmp ebx, edi
jne 0x38c12e6e
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHLoadIndirectString]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], edi
je 0x38c12e81
cmp dword [ebp - 4], edi
je 0x38c12e81
push dword [ebp - 4]
call fcn.38c0216c
pop ecx
pop esi
pop ebx
mov eax, dword [ebp - 8]
pop edi
leave
ret 0x10

Function at 0x38c14805
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], 0x80004005
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x38c148d7
push 0x38c1492c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x38c148d7
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x38c148cf
push 0x38c14920
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x38c148cf
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x210], ecx
lea ecx, [ebp - 0x214]
push ecx
push edi
push esi
mov dword [ebp - 0x224], 0x38c1491c
mov dword [ebp - 0x220], 0x38c1490c
mov dword [ebp - 0x21c], 0x38c14908
mov dword [ebp - 0x218], 0x38c148f0
mov dword [ebp - 0x214], 2
call eax
mov dword [ebp - 0x210], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
xor ecx, ebp
pop esi
call fcn.38c02c4c
leave
ret 8
Function at 0x38c16389
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0x38c2712c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp dword [0x38c28354], 0xffffffff
jne 0x38c1643a
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push esi
push esi
push esi
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x38c1640c
push esi
push esi
push esi
push esi
call edi
mov dword [0x38c28208], eax
cmp eax, esi
je 0x38c16407
mov edi, dword [ebp - 4]
push esi
push esi
push edi
push 0x38c16241
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x38c28384], eax
cmp eax, esi
je 0x38c16407
push 0xffffffffffffffff
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0xc]
push eax
push 2
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 4]
call ebx
cmp dword [0x38c28354], 0xffffffff
jne 0x38c16439
mov eax, dword [0x38c28384]
cmp eax, esi
je 0x38c16427
push eax
call ebx
mov dword [0x38c28384], esi
mov eax, dword [0x38c28208]
cmp eax, esi
je 0x38c16439
push eax
call ebx
mov dword [0x38c28208], esi
pop ebx
cmp dword [0x38c28354], 0xffffffff
mov edi, 0x80004005
je 0x38c16487
lea eax, [ebp - 4]
push eax
push 0x38c05880
push 1
push esi
push 0x38c05850
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jl 0x38c16487
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0x38c056b8
push dword [0x38c28354]
push eax
call dword [ecx + 0x14]
mov edi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x38c2712c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x38c165b0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x38c27144]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x78], 0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x74]
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
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 5
lea eax, [ebp - 0x10]
push eax
push 0x10
mov esi, 0x400
push esi
call edi
test eax, eax
je 0x38c165ff
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 0x70], eax
jmp 0x38c16606
mov dword [ebp - 0x70], 3
push 5
lea eax, [ebp - 0x10]
push eax
push 0xf
push esi
call edi
test eax, eax
lea eax, [ebp - 0x10]
jne 0x38c1661d
mov eax, 0x38c16684
push dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
push dword [ebp + 8]
mov dword [ebp - 0x6c], eax
push 0x38c16678
lea eax, [ebp - 0x60]
push 0x28
push eax
call fcn.38c06580
add esp, 0x14
push dword [ebp + 0x14]
lea eax, [ebp - 0x78]
push ebx
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x38c16662
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x14]
push ebx
call fcn.38c074ef
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.38c02c4c
leave
ret 0x10
Function at 0x38c17982
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x38c27144]
push ebx
xor ebx, ebx
cmp dword [0x38c283a0], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ebx
jne 0x38c17aae
push esi
push 7
xor esi, esi
call fcn.38c17fa8
test eax, eax
je 0x38c17a09
call fcn.38c17870
cmp ax, bx
mov word [0x38c2839c], ax
je 0x38c17a99
push 0x10
lea ecx, [ebp - 0x30]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x38c17a99
test byte [ebp - 0x21], 8
je 0x38c17a99
xor eax, eax
mov ax, word [0x38c2839c]
push eax
call fcn.38c1790b
test eax, eax
jne 0x38c17a96
jmp 0x38c17a99
push 5
call fcn.38c17fa8
test eax, eax
je 0x38c17a99
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x38c17a99
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push 0x38c17ae0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x38c17a99
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x38c058c0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0xc
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x38]
mov byte [ebp - 5], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.38c177ad
test eax, eax
je 0x38c17a99
mov eax, dword [ebp - 0x34]
and eax, 0x3ff
cmp eax, 1
je 0x38c17a90
cmp eax, 0xd
jne 0x38c17a99
mov word [0x38c2839c], ax
xor esi, esi
inc esi
xor eax, eax
cmp esi, ebx
sete al
inc eax
push eax
push 0x38c283a0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
cmp dword [0x38c283a0], 1
jne 0x38c17ac4
cmp edi, ebx
je 0x38c17ac4
mov ax, word [0x38c2839c]
mov word [edi], ax
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x38c283a0], 1
pop edi
sete al
pop ebx
call fcn.38c02c4c
leave
ret 4
Function at 0x38c17b26
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp + 0xc]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x38c17b87
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x38c17b7e
cmp dword [ebp - 0xc], 4
je 0x38c17b7e
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x38c17bca
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x38c17bc1
cmp dword [ebp - 0xc], esi
je 0x38c17bc1
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x38c17bd9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x38c27144]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x10c]
push edx
push 1
xor esi, esi
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x38c17c4f
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push edi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
call fcn.38c02c4c
leave
ret 0xc

Function at 0x38c17dff
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x38c17e78
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x38c17e51
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x38c17e58
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]
leave
ret
Function at 0x38c17ef5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x38c28364]
cmp eax, 0xffffffff
jne 0x38c17f79
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x38c17f88
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x38c17f68
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x38c17f7c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x38c17f5f
cmp dword [ebp - 0xc], 4
jne 0x38c17f5f
cmp dword [ebp - 0x10], eax
je 0x38c17f5f
mov dword [0x38c28364], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x38c28364]
cmp eax, 0xffffffff
jne 0x38c17f79
xor eax, eax
mov dword [0x38c28364], eax
leave
ret
Function at 0x38c184e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [ebp + 8], edi
je 0x38c185e1
cmp ecx, edi
je 0x38c185e1
cmp dword [ebp + 0xc], edi
jbe 0x38c185e1
cmp dword [ebp + 0x10], 1
je 0x38c18519
cmp dword [ebp + 0x10], 2
jne 0x38c185e1
movzx eax, byte [ecx + 0xffe]
movzx esi, byte [ecx + 0xfff]
shl eax, 8
add esi, eax
mov dword [ebp - 0x10], esi
je 0x38c185e1
cmp dword [ebp + 0xc], esi
jne 0x38c185e1
xor edx, edx
mov eax, 0xffe
div esi
push ebx
movzx ebx, byte [ecx + 0xffd]
mov dword [ebp - 8], 2
mov dword [ebp - 4], 0xffb
mov esi, eax
movzx eax, byte [ecx + 0xffc]
shl eax, 8
mov dword [ebp - 0x14], esi
add ebx, eax
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
sar ebx, 0x10
and ebx, 0x7fff
cmp dword [ebp - 8], esi
jl 0x38c185bb
cmp edi, dword [ebp - 0x10]
jae 0x38c185bb
mov eax, dword [ebp - 0x14]
lea esi, [eax - 2]
mov eax, ebx
cdq
idiv esi
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov al, byte [eax + ecx]
mov esi, edx
mov edx, dword [ebp + 8]
inc esi
inc esi
cmp dword [ebp + 0x10], 1
jne 0x38c185b3
not al
jmp 0x38c185b5
xor al, bl
mov byte [edi + edx], al
inc edi
jmp 0x38c185d9
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jne 0x38c185d9
dec dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, ebx
sar eax, 8
mov byte [edx + ecx], al
mov dword [ebp - 8], 2
dec dword [ebp - 4]
jns 0x38c1856e
pop ebx
jmp 0x38c185e8
mov dword [ebp - 0xc], 0x80070057
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
Function at 0x38c1a9f4
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push dword [ebp + 0x10]
push 0x50
call fcn.38c1a2cc
test eax, eax
mov dword [ebp - 4], eax
jne 0x38c1aa0f
leave
ret
push ebx
push esi
push edi
cld
mov edi, dword [ebp - 4]
mov eax, 0
mov ecx, 0x50
or ecx, ecx
je 0x38c1aa26
rep stosb byte es:[edi], al
mov eax, dword [ebp - 4]
push 0x14
xor esi, esi
pop ebx
mov eax, esi
shr eax, 2
mov edx, eax
mov eax, dword [ebp - 4]
shl edx, 2
add eax, edx
mov ecx, esi
sub ecx, edx
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
shl ecx, 3
shl edx, cl
or dword [eax], edx
inc esi
cmp esi, ebx
jb 0x38c1aa2e
and dword [ebp - 0x24], 0
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x4c], 0x123174bb
mov dword [ebp - 0x48], 0x86521ff8
mov dword [ebp - 0x44], 0x98d2438b
mov dword [ebp - 0x40], 0x7966ce12
mov dword [ebp - 0x3c], 0xc5d92014
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0xc]
mov esi, 0x38c274bc
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x38c1aaa1
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0x4c]
xor dword [ebp + ecx*4 - 0x24], eax
inc ecx
cmp ecx, esi
jb 0x38c1aaa3
lea eax, [ebp - 0x24]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cld
or ecx, ecx
je 0x38c1aada
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push dword [ebp + 0xc]
push 0
push 0x38c27f4c
push dword [0x38c274d0]
push eax
push ebx
push dword [ebp - 4]
call fcn.38c20a80
lea eax, [ebp - 0x38]
mov byte [eax], 0
inc eax
dec ebx
jne 0x38c1aafd
mov eax, dword [ebp - 4]
push 0x50
pop ecx
pop edi
pop esi
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x38c1ab0d
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.38c1a2ec
xor eax, eax
inc eax
leave
ret
Function at 0x38c1cb19
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 0x38c1cb66
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 0x38c1cb3d
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x38c1cd5e
Capabilities:
Encode data using xor

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