joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000589b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x63]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], bl
call fcn.1000c3a0
add esp, 0xc
push 0x20019
push 0x10024384
push SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100150de
lea ecx, [ebp - 0x74]
test eax, eax
je 0x10005913
call fcn.1000133f
lea ecx, [ebp - 0x80]
call fcn.1000133f
jmp 0x1000599e
push 0x2001f
push str.Classes
push dword [ebp - 0x80]
call fcn.100150de
test eax, eax
je 0x1000592e
lea ecx, [ebp - 0x74]
jmp 0x10005901
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x400
push esi
lea eax, [ebp - 0x64]
push eax
push ebx
jmp 0x10005983
push 0xa
lea eax, [ebp - 0x64]
push str.JavaPlugin
push eax
call fcn.100150de
add esp, 0xc
test eax, eax
jne 0x1000596a
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.10002cb1
test eax, eax
je 0x1000596d
inc dword [ebp - 0x68]
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.1000c3a0
add esp, 0xc
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x74]
call edi
test eax, eax
je 0x10005943
lea ecx, [ebp - 0x74]
call fcn.1000133f
lea ecx, [ebp - 0x80]
call fcn.1000133f
pop edi
pop esi
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x3a0
leave
ret
Function at 0x10007107
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x390], eax
push esi
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10024484
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007207
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], esi
push esi
jmp 0x100071e9
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x100071d7
cmp byte [ebp + eax - 0x70], 0x2e
jne 0x10007179
inc ecx
cmp ecx, 1
jg 0x10007184
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x1000716c
cmp ecx, 1
jle 0x100071d7
push 0x100244b0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x100071d7
lea eax, [ebp - 0x70]
push eax
call fcn.100086c1
pop ecx
test eax, eax
je 0x100071d7
mov eax, dword [ebp - 0x74]
inc eax
push eax
call fcn.100150de
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x74]
push 0x100244b8
inc ecx
push ecx
push eax
mov dword [ebp - 0x80], eax
call fcn.100150de
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x1002c65c
call fcn.10007e7d
inc dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x400
call edi
test eax, eax
je 0x10007163
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
pop esi
call fcn.1000c2c7
add ebp, 0x394
leave
ret

Function at 0x100085b9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x100085c6
xor eax, eax
pop ebp
ret
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateProcessA]
pop ebp
ret
Function at 0x100086c1
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1794]
mov eax, 0x1814
call fcn.1000c370
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x1790], eax
push ebx
push esi
mov esi, dword [ebp + 0x179c]
push edi
xor ebx, ebx
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x6f]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x70], bl
call fcn.1000c3a0
push esi
push 0x1002502c
push 0x10025058
lea esi, [edi + 1]
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.100150de
add esp, 0x20
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000881f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x790]
push eax
push ebx
push ebx
push 0x10025060
push dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x1000881f
push edi
lea eax, [ebp + 0xf91]
push ebx
push eax
mov byte [ebp + 0xf90], bl
call fcn.1000c3a0
push str.binjava.exe
lea eax, [ebp + 0x790]
push eax
push 0x1002507c
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.100150de
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x20
lea eax, [ebp + 0xf90]
push eax
call edi
test eax, eax
je 0x1000881f
push str.binclientjvm.dll
lea eax, [ebp + 0x790]
push eax
push 0x10025098
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.100150de
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
mov dword [ebp - 0x74], eax
push str.bin_serverjvm.dll
lea eax, [ebp + 0x790]
push eax
push 0x100250b4
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.100150de
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
cmp dword [ebp - 0x74], ebx
jne 0x10008818
cmp eax, ebx
je 0x1000881f
mov dword [ebp - 0x7c], 1
mov ecx, dword [ebp + 0x1790]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x1794
leave
ret
Function at 0x100088c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
mov ebx, dword [ebp + 0x798]
push esi
mov esi, dword [ebp + 0x79c]
push edi
mov edi, dword [ebp + 0x794]
push 0x3ff
lea eax, [ebp + 0x389]
push 0
push eax
mov byte [ebp + 0x388], 0
call fcn.1000c3a0
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
mov edi, 0x400
lea eax, [ebp + 0x388]
push edi
push eax
call fcn.100150de
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
neg esi
push 0
lea eax, [ebp + 0x388]
sbb esi, esi
push eax
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000895c
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
jmp 0x1000899e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x100247fa
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
test eax, eax
je 0x10008986
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1000899e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.100150de
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x78c
leave
ret

Function at 0x10008b93
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x10008bb4
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x10008bb4
inc esi
mov eax, esi
pop esi
ret
Function at 0x10008e86
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3c0]
sub esp, 0x440
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
mov eax, dword [ebp + 0x3c8]
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x10024f38
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
call fcn.100150de
test eax, eax
je 0x10008f2d
lea ecx, [ebp - 0x70]
call fcn.1000133f
lea ecx, [ebp - 0x54]
call fcn.1000133f
lea ecx, [ebp - 0x7c]
call fcn.1000133f
lea ecx, [ebp - 0x64]
call fcn.1000133f
xor eax, eax
mov ecx, dword [ebp + 0x3bc]
pop edi
xor ecx, ebp
pop esi
call fcn.1000c2c7
add ebp, 0x3c0
leave
ret
push esi
push 0x10024f44
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.100150de
test eax, eax
jne 0x10008ef4
push esi
push 0x10024f50
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x54]
call fcn.100150de
test eax, eax
je 0x10008f7b
lea ecx, [ebp - 0x70]
call fcn.1000133f
lea ecx, [ebp - 0x54]
call fcn.1000133f
lea ecx, [ebp - 0x7c]
call fcn.1000133f
lea ecx, [ebp - 0x64]
call fcn.1000133f
mov eax, edi
jmp 0x10008f16
push ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.1000c3a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push edi
jmp 0x10008fc8
push dword [ebp - 0x80]
inc dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.100150de
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x44]
je 0x10008fd3
push esi
push edi
push eax
call fcn.1000c3a0
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x54]
call ebx
test eax, eax
je 0x10008f9d
jmp 0x1000900a
push 0x20019
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
call fcn.100150de
test eax, eax
jne 0x1000900a
lea eax, [ebp - 0x48]
push eax
push str.UseNewJavaPlugin
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], edi
call fcn.100150de
test eax, eax
jne 0x1000900a
cmp dword [ebp - 0x48], 1
sete al
mov dword [ebp - 0x58], eax
mov edi, dword [ebp - 0x58]
pop ebx
jmp 0x10008f57
Function at 0x100095fd
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x1002253e
call fcn.1000cca3
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x10009657
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.1000bb01
pop ecx
pop ecx
push ebx
push edi
call fcn.100150de
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007afa
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10009674
call fcn.100079eb
jmp 0x10009676
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.100150de
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x100096c1
call fcn.10007c8c
jmp 0x100096c1
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1000c2c7
add ebp, 0x20c
leave
ret

Function at 0x100096eb
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x1002256e
call fcn.1000cca3
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x10009745
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.1000bb01
pop ecx
pop ecx
push ebx
push edi
call fcn.100150de
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007afa
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10009762
call fcn.100079eb
jmp 0x10009764
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.100150de
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x100097af
call fcn.10007c8c
jmp 0x100097af
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1000c2c7
add ebp, 0x20c
leave
ret
Function at 0x10009e9e
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x100225ce
call fcn.1000cca3
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.100150de
test eax, eax
je 0x10009ec9
call fcn.10009e8f
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x10023938
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x10009f24
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1000bb01
pop ecx
pop ecx
push edi
push esi
call fcn.100150de
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1000a299
push eax
push esi
push 0x100249ec
call fcn.1000bb01
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x10009f1d
ret
cmp ebx, edi
je 0x10009f2f
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10009fe0
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x10009f8c
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10009ee8
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10009fe0
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x10009fe0
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10009ee8
mov eax, esi
call fcn.1000cd0f
ret
Function at 0x1000a7a8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.1000c370
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xfa0]
xor ebx, ebx
mov esi, 0x7ff
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x795]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], 1
mov byte [ebp + 0x794], bl
call fcn.1000c3a0
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.1000c3a0
push edi
call fcn.1000ecb7
add esp, 0x1c
cmp eax, ebx
je 0x1000a838
push eax
push dword [ebp + 0xfa8]
push dword [ebp - 0x78]
call fcn.100150de
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1000a99a
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push dword [0x1002b174]
push SysReAllocString
call edi
test eax, eax
je 0x1000a860
xor eax, eax
jmp 0x1000a99a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xfa8]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
je 0x1000a891
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1000a99a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x10025608
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
je 0x1000a8bb
xor ebx, ebx
inc ebx
jmp 0x1000a881
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1000a8b6
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.deployment.modified.timestamp
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
jne 0x1000a8b6
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], 0x800
call fcn.100150de
pop ecx
pop ecx
test eax, eax
js 0x1000a997
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x1000a8b6
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
call fcn.100150de
test eax, eax
jne 0x1000a997
lea eax, [ebp - 0x70]
push eax
push 0x20006
push ebx
push dword [0x1002b174]
push SysReAllocString
call edi
test eax, eax
jne 0x1000a859
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 1
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000a881
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.100150de
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0xf98
leave
ret
Function at 0x1000c2c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002b19c]
jne 0x1000c2d1
repz ret
jmp fcn.10011efc

Function at 0x100150de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x100150ed
pop dword [ebp - 0x50]
mov eax, 0x88dc9e53
sub eax, 0x78db4d66
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3e1eb
push 0
mov eax, 0x44eb5874
add eax, 0xcb16d8c8
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xc0901b73
sub ecx, 0xc08fd1ab
mov ebx, eax
mov esi, 0xa7412272
sub esi, 0x973dfa72
add esi, dword [ebp - 0x50]
mov edx, 0x335198b2
xor dword [ebp - 0x10], esi
mov edi, dword [esi]
xor dword [ebp - 0x24], 0x3da9272e
xor edi, edx
add dword [ebp - 0x48], edi
mov dword [ebx], edi
add ebx, 0x8aecf2e8
add ebx, 0x75130d1c
add esi, 0xdc82cb9e
add esi, 0x237d3466
loop 0x10015146
add eax, 0x119f3
mov ebx, eax
add eax, 5
mov ecx, 0x686ab387
sub ecx, 0x586ab387
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401443
pop dword [ebp - 0x10]
mov eax, 0x3c015308
sub eax, 0x3bc13ec5
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xc7fff987
add dword [ebp - 0x20], 0x86524bc4
mov dword [ebp - 0x1c], 0x6f4a1ee6
add dword [ebp - 0x1c], 0xc2e92d5f
mov dword [ebp - 0x18], 0x236149f3
add dword [ebp - 0x18], 0x28eafa3b
mov dword [ebp - 0x14], 0xa61e2bb1
add dword [ebp - 0x14], 0x59e1d44f
lea eax, [ebp - 0x20]
push eax
mov eax, 0xd3ec505d
sub eax, 0xd3abcf59
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xe6f24c7c
sub dword [ebp - 0x20], 0x727fe326
mov dword [ebp - 0x1c], 0xa5738149
add dword [ebp - 0x1c], 0x9bf8e02c
mov dword [ebp - 0x18], 0xf5ff64c6
sub dword [ebp - 0x18], 0x928ff85a
mov dword [ebp - 0x14], 0x3318a797
sub dword [ebp - 0x14], 0x3318a797
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3821a
push 0
call eax
mov ecx, 0x128f92c3
add ecx, 0xed70b49a
mov ebx, eax
mov esi, 0xc484ca6d
add esi, 0x3bc21993
add esi, dword [ebp - 0x10]
mov edx, 0x6a2e48ea
sub edx, 0xaa66e937
sub dword [ebp - 8], ecx
mov edi, dword [esi]
mov dword [ebp - 4], 0x2ea92444
sub edi, edx
xor dword [ebp - 8], esi
mov dword [ebx], edi
add dword [ebp - 4], edx
add ebx, 0x4d8b229d
add ebx, 0xb274dd67
add esi, 0x9f1e85db
add esi, 0x60e17a29
loop 0x401560
add eax, 0x3f5eae81
add eax, 0xc0a261c6
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6388ef5f
sub ecx, 0x6348ef5f
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x7003e2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x7003e39
pop dword [ebp - 0x10]
mov eax, 0xc5bef298
add eax, 0x41414ba1
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x1a779252
add dword [ebp - 0x20], 0x33dab2f9
mov dword [ebp - 0x1c], 0x1e1d7943
add dword [ebp - 0x1c], 0x1415d302
mov dword [ebp - 0x18], 0xb8c19f28
add dword [ebp - 0x18], 0x938aa506
mov dword [ebp - 0x14], 0x9e570fe2
sub dword [ebp - 0x14], 0x9e570fe2
lea eax, [ebp - 0x20]
push eax
mov eax, 0x73603a97
sub eax, 0x6c5f0a67
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x3a7aff28
add dword [ebp - 0x20], 0x39f76a2e
mov dword [ebp - 0x1c], 0xeb12c8e6
sub dword [ebp - 0x1c], 0xa9a66771
mov dword [ebp - 0x18], 0x2eef32cf
sub dword [ebp - 0x18], 0xcb7fc663
mov dword [ebp - 0x14], 0x6b9efdf8
sub dword [ebp - 0x14], 0x6b9efdf8
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3d071
push 0
call eax
mov ecx, 0x51a3
xor edx, edx
add edx, eax
mov ebx, 0xb1b018f8
sub ebx, 0xaaae16f8
add ebx, dword [ebp - 0x10]
mov edi, 0x20ee75
add dword [ebp - 0xc], eax
mov esi, dword [ebx]
mov dword [ebp - 8], 0xfad462d0
sub esi, edi
xor dword [ebp - 4], 0xacae58e8
mov dword [edx], esi
add dword [ebp - 0xc], 0x36e987f4
add edx, 0xb065c814
add edx, 0x4f9a37f0
add ebx, 0x365a6d02
add ebx, 0xc9a59302
loop 0x7003f4c
add eax, 0x936f33d4
add eax, 0x6c92058b
xor ebx, ebx
add ebx, eax
add eax, 0xf5ae49db
add eax, 0xa51b62a
mov ecx, 0xc69f4ac2
sub ecx, 0xbf9f4ac2
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003e2a
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003e2a
int3