joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1f1e24
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x2162f2
call fcn.0020501e
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
mov esi, edx
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x1f1ea2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.001f1cfa
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.001e60a2
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.001e7285
push 0x22234c
mov eax, esi
push eax
call fcn.00204705
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.001ee897
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.001fe580
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.002050a1
ret

Function at 0x1f1f4b
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x2162bd
call fcn.0020501e
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 0xc], ecx
jne 0x1f1f7a
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0x1f2073
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea edx, [ebp - 0x68]
push edx
push ecx
mov ebx, 0x40000001
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
push eax
call esi
test eax, eax
jne 0x1f1fd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.001f1cfa
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.001e60a2
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.001e7285
push 0x22234c
mov eax, esi
push eax
call fcn.00204705
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.001f22ca
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1f2005
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x1f2047
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.001f1cfa
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.001e60a2
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0x1f1fc3
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.001f22ca
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.001e5ce9
push 0
push 1
mov ecx, esi
call fcn.001e5dcc
mov eax, edi
call fcn.002050a1
ret
Function at 0x1f207b
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0x21626d
call fcn.0020501e
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x84], ebx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x88], eax
cmp ecx, ebx
jne 0x1f20b1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x1f21eb
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0x1f20c1
mov eax, dword [edi]
jmp 0x1f20c3
mov eax, edi
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push ebx
push 1
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1f211c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.001f1cfa
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.001e60a2
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.001e7285
push 0x22234c
mov eax, esi
push eax
call fcn.00204705
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call fcn.001ee897
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x1f2151
mov edi, dword [edi]
push ebx
push ebx
lea ecx, [ebp - 0x84]
push ecx
push dword [ebp - 0x98]
push 1
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1f21af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.001f1cfa
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.001e60a2
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.001e7285
push 0x22234c
mov eax, esi
jmp 0x1f2116
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.001ee897
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.001f22ed
cmp dword [ebp - 0x98], ebx
je 0x1f21e5
push dword [ebp - 0x98]
call fcn.001fe562
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.002050a1
ret
Function at 0x1f396b
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x217267
call fcn.0020501e
cmp dword [0x22b6cc], 1
mov ebx, ecx
jg 0x1f39c6
lea eax, [ebp - 0x30]
push str.Executor.exec__:
lea edi, [ebx + 0x38]
push eax
call fcn.001f0b38
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Executor::startExecution
push 0x93
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_Executor.cpp
push 1
mov edx, eax
mov ecx, 0x22b6cc
call fcn.001f2fce
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.001e5dcc
push 0x44
pop esi
push esi
lea edi, [ebx + 0x7c]
push 0
push edi
call fcn.001ff900
add esp, 0xc
push 0x10
lea eax, [ebx + 0x6c]
push 0
push eax
mov dword [edi], esi
call fcn.001ff900
add esp, 0xc
cmp dword [ebx + 0xc0], 1
jne 0x1f3a0a
or dword [ebx + 0xa8], 1
xor eax, eax
mov word [ebx + 0xac], ax
mov dword [ebx + 0x60], 0x8000000
cmp byte [ebx + 0xcd], 0
je 0x1f3a1a
mov esi, ebx
call fcn.001f3eab
lea eax, [ebx + 0x38]
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0x1f3a29
mov esi, dword [eax]
jmp 0x1f3a2b
mov esi, eax
mov ecx, dword [eax + 0x10]
add ecx, esi
cmp edx, 0x10
jb 0x1f3a37
mov eax, dword [eax]
push dword [ebp - 0x35]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
call fcn.001ecc48
mov dword [ebp - 4], 1
lea eax, [ebp - 0x31]
lea esi, [ebp - 0x24]
mov byte [ebp - 0x31], 0
call fcn.001ea1c4
cmp dword [ebx + 0x14], 0x10
jb 0x1f3a70
mov ecx, dword [ebx]
jmp 0x1f3a72
mov ecx, ebx
lea eax, [ebx + 0x6c]
push eax
push edi
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne bl
cmp dword [ebp - 0x24], 0
je 0x1f3aa7
push dword [ebp - 0x24]
call fcn.001fe562
pop ecx
mov al, bl
call fcn.002050a1
ret
Function at 0x1f422e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x216bd4
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x228630]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x228630]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x1f42d2
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], str.Destination_buffer_cant_be_NULL
call fcn.001feced
mov dword [esp + 0x20], vtable.std::invalid_argument.0
mov dword [esp + 0x80], ebx
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_common_share_tstrings.cpp
mov dword [esp + 0x1c], str.tstrings::format
mov dword [esp + 0x20], 0x1b
call fcn.001f4b88
lea eax, [esp + 0x4c]
mov dword [esp], 0x2224ec
push eax
call fcn.00204705
push 0xf
pop esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x80], 1
mov eax, dword [esp + 0x3c]
add eax, 0x100
lea ecx, [esp + 0x2c]
call fcn.001f22ca
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x1f430d
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [esp + 0x48]
push eax
call fcn.002043f2
add esp, 0x14
cmp eax, 0xffffffff
je 0x1f42ec
lea ecx, [esp + 0x2c]
call fcn.001f22ca
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
lea esi, [esp + 0x2c]
mov byte [edi], bl
call fcn.001e5ce9
push ebx
push 1
mov ecx, esi
call fcn.001e5dcc
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.001fe56d
mov esp, ebp
pop ebp
ret

Function at 0x1f5c78
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.001ff900
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [ebp - 0x24], 9
sete al
leave
ret
Function at 0x1f5fab
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x215ca3
call fcn.0020501e
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x30], eax
mov esi, 0x104
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.001f40a7
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
sub edi, esi
push edi
call ebx
cmp eax, edi
jbe 0x1f6007
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.001f40a7
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
push esi
sub eax, esi
push eax
call ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.001e5ac0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.001fbda5
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.001e5dcc
test esi, esi
je 0x1f6036
push esi
call fcn.001fe562
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.002050a1
ret

Function at 0x1f603f
Capabilities:
Get common file path

Disassembly:
push 0x18c
mov eax, 0x2177b4
call fcn.0020501e
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x118]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x18c], ebx
call fcn.001ff900
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp eax, ebx
je 0x1f616f
cmp dword [0x22b6cc], 3
jg 0x1f6138
push eax
lea edi, [ebp - 0x188]
call fcn.001f336d
mov esi, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x16c]
mov dword [esp], str.GetSystem32Dir
call fcn.001e5ac0
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x1f60c3
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x1f60cb
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x150]
call fcn.001f422e
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1f60ec
mov eax, dword [eax]
push eax
push 0xd6
push 3
mov ebx, str.SysInfo::getSystem32Dir
mov edi, str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_SysInfo.cpp
mov esi, 0x22b6cc
call fcn.001e102d
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x150]
call fcn.001e5dcc
push esi
push 1
lea ecx, [ebp - 0x16c]
call fcn.001e5dcc
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x188]
call fcn.001e5dcc
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x18c], str.SHGetFolderPath_CSIDL_SYSTEM__failed
call fcn.001feced
push 0x22234c
lea eax, [ebp - 0x198]
push eax
mov dword [ebp - method.std::logic_error.virtual_0], vtable.std::runtime_error.0
call fcn.00204705
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.001e5ac0
lea edx, [ebp - 0x134]
mov eax, esi
mov dword [ebp - 4], 3
call fcn.001fbda5
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.001e5dcc
mov eax, esi
call fcn.002050a1
ret
Function at 0x1f65b9
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x21583a
call fcn.00204fb3
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.001f658d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.001f658d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.001f658d
mov eax, esi
mov dword [esp], 0x409
call fcn.001f658d
pop ecx
mov eax, esi
call fcn.0020508d
ret
Function at 0x1fc28f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x64
mov eax, 0x2168b9
call fcn.0020501e
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], ebx
mov esi, edx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x54], eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], 1
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x50], eax
mov eax, ecx
sub eax, edx
neg eax
sbb eax, eax
and eax, ecx
cmp dword [esi + 0x14], 0x10
jb 0x1fc2eb
mov ecx, dword [esi]
mov dword [ebp - 0x4c], ecx
jmp 0x1fc2ee
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
lea edx, [ebp - 0x50]
push edx
push eax
push dword [ebp - 0x54]
push ebx
push dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x4c], eax
cmp eax, 0xea
je 0x1fc320
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
jne 0x1fc32f
cmp eax, ebx
jne 0x1fc333
cmp dword [ebp - 0x50], ebx
jbe 0x1fc371
mov esi, dword [ebp - 0x50]
mov eax, edi
call fcn.001ee897
mov esi, dword [ebp - 0x60]
jmp 0x1fc2c8
cmp eax, ebx
je 0x1fc371
push str.query_value
lea ecx, [ebp - 0x2c]
call fcn.001e5ac0
push dword [ebp - 0x4c]
lea edi, [ebp - 0x2c]
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.001fc6cc
pop ecx
pop ecx
lea esi, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.001e7285
push 0x22234c
mov eax, esi
push eax
call fcn.00204705
mov esi, dword [ebp - 0x50]
mov eax, edi
call fcn.001ee897
mov eax, edi
call fcn.002050a1
ret 8

Function at 0x1fc479
Capabilities:
Set registry value

Disassembly:
push 0x48
mov eax, 0x216836
call fcn.0020501e
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [esi + 0x14], 0x10
jb 0x1fc49b
mov edi, dword [esi]
jmp 0x1fc49d
mov edi, esi
mov edx, dword [edx]
push eax
push ecx
push 3
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test edi, edi
je 0x1fc4ec
push str.set_binary_value
lea ecx, [ebp - 0x2c]
call fcn.001e5ac0
and dword [ebp - 4], 0
push edi
push esi
lea edi, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.001fc6cc
pop ecx
pop ecx
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.001e7285
push 0x22234c
mov eax, esi
push eax
call fcn.00204705
call fcn.002050a1
ret 4
Function at 0x1fc4f4
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x198
mov eax, 0x216d79
call fcn.0020501e
mov eax, dword [ebp + 8]
mov esi, pe_nt_image_headers32
xor ebx, ebx
push esi
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x110]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x190], ebx
call fcn.001ff900
add esp, 0xc
mov dword [ebp - 0x184], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x190], 1
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push dword [ebp - 0x184]
mov dword [ebp - 0x194], esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
cmp eax, ebx
jne 0x1fc5c1
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.001e5ac0
lea ebx, [ebp - 0x12c]
mov dword [ebp - 4], 1
call fcn.001fc733
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.001e5dcc
xor ebx, ebx
jmp 0x1fc54d
cmp eax, 0x103
je 0x1fc628
push str.enum_subkeys
lea ecx, [ebp - 0x148]
call fcn.001e5ac0
push dword [ebp - 0x184]
lea eax, [ebp - 0x180]
push eax
mov dword [ebp - 4], 2
call fcn.001f46a9
push dword [ebp - 0x188]
lea edi, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x164]
call fcn.001fc6cc
add esp, 0x10
lea esi, [ebp - 0x1a4]
mov byte [ebp - 4], 4
call fcn.001e7285
push 0x22234c
mov eax, esi
push eax
call fcn.00204705
mov eax, edi
call fcn.002050a1
ret 4

Function at 0x1fe56d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x228630]
jne 0x1fe577
repz ret
jmp fcn.00207446
Function at 0x211c8c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x228630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.002099b2
and dword [ebp - 0x14], 0
cmp dword [0x22b3c4], 0
mov dword [ebp - 0x18], eax
jne 0x211d3f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x211de7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x211de7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x22b3c4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x22b3c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x22b3cc], eax
call edi
push eax
call esi
mov dword [0x22b3d4], eax
test eax, eax
je 0x211d3f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x22b3d0], eax
mov eax, dword [0x22b3d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x211d98
cmp dword [0x22b3d4], ecx
je 0x211d98
push eax
call esi
push dword [0x22b3d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x211d98
test ebx, ebx
je 0x211d98
call edi
test eax, eax
je 0x211d8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x211d8f
test byte [ebp - 8], 1
jne 0x211d98
or dword [ebp + 0x10], 0x200000
jmp 0x211dcb
mov eax, dword [0x22b3c8]
cmp eax, dword [ebp - 0x18]
je 0x211dcb
push eax
call esi
test eax, eax
je 0x211dcb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x211dcb
mov eax, dword [0x22b3cc]
cmp eax, dword [ebp - 0x18]
je 0x211dcb
push eax
call esi
test eax, eax
je 0x211dcb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x22b3c4]
call esi
test eax, eax
je 0x211de7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x211de9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.001fe56d
leave
ret
Function at 0x10c0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x10ce7
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x1a8a0]
xor edx, dword [esi*4 + 0x1a0a0]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x1a4a0]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x19ca0]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x1a8a0]
xor edx, dword [esi*4 + 0x1a4a0]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x1a0a0]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x19ca0]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x1a8a0]
xor edx, dword [esi*4 + 0x1a4a0]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x1a0a0]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x19ca0]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x1a8a0]
xor edx, dword [esi*4 + 0x1a4a0]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x1a0a0]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x19ca0]
dec ecx
mov dword [eax - 6], edx
jne 0x10c21
pop esi
pop ebp
ret 4
Function at 0x13f6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x68]
mov dword [ebp - 4], 8
mov ebx, 0x100
push ebx
push esi
call fcn.000131a8
or al, 4
mov byte [edi], al
inc edi
dec dword [ebp - 4]
jne 0x13f85
push 3
push esi
call fcn.000131a8
push ebx
push esi
movzx edi, ax
call fcn.000131a8
and al, 0xab
mov bl, byte [esi + 0x28]
or al, 0x23
push 8
mov byte [ebp + edi - 0x68], al
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
mov al, byte [eax + 0x114]
mov byte [ebp + edi - 0x67], al
pop edi
mov al, byte [ecx]
mov dl, al
xor dl, bl
mov byte [ecx], dl
mov dl, al
sub edx, 0x52
add al, 0x2e
sar edx, 7
and dl, 1
shl al, 1
xor dl, al
inc ecx
dec edi
mov bl, dl
jne 0x13fc5
mov byte [esi + 0x28], bl
xor edi, edi
movzx eax, di
lea eax, [ebp + eax*8 - 0x68]
push eax
push dword [esi + 0x29]
call dword [esi + 0xa]
test eax, eax
jne 0x14009
inc edi
cmp di, 1
jb 0x13fe9
pop edi
pop esi
pop ebx
leave
ret 4
push 1
pop eax
jmp 0x14002

Function at 0x1400e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xa
push esi
call fcn.000131a8
mov cx, ax
push 8
add ecx, 0x14
pop edi
movzx eax, cx
cdq
idiv edi
push edi
mov ebx, 0x100
pop eax
sub eax, edx
add ecx, eax
test cx, cx
mov dword [ebp - 0x10], ecx
jbe 0x1405e
movzx eax, cx
lea edi, [ebp - 0x74]
mov dword [ebp + 8], eax
push ebx
push esi
call fcn.000131a8
or al, 4
mov byte [edi], al
inc edi
dec dword [ebp + 8]
jne 0x1404d
push 3
push esi
call fcn.000131a8
push ebx
push esi
mov dword [ebp - 4], eax
movzx edi, ax
call fcn.000131a8
and al, 0xab
mov byte [ebp + 0xb], 0x9b
or al, 0x23
and dword [ebp - 8], 0
mov byte [ebp + edi - 0x74], al
mov eax, dword [esi]
mov dword [ebp - 0xc], 4
mov al, byte [eax + 0x114]
mov byte [ebp + edi - 0x73], al
push 3
push esi
call fcn.000131a8
mov ecx, dword [ebp - 4]
push 8
lea eax, [ecx + eax + 2]
pop ecx
mov dword [ebp - 4], eax
movzx eax, ax
cdq
idiv ecx
cmp edx, 7
jne 0x140b9
inc dword [ebp - 4]
movzx edi, word [ebp - 4]
push ebx
push esi
call fcn.000131a8
or al, 0x7f
mov ecx, dword [ebp - 8]
and al, byte [ebp + 0xb]
add byte [ebp + 0xb], 0x10
add dword [ebp - 8], 8
mov byte [ebp + edi - 0x74], al
mov eax, dword [esi]
mov eax, dword [eax + 0x110]
shr eax, cl
dec dword [ebp - 0xc]
mov byte [ebp + edi - 0x73], al
jne 0x14096
mov ebx, dword [ebp - 0x10]
test bx, bx
jbe 0x1411a
lea ecx, [ebp - 0x74]
movzx edi, bx
mov al, byte [ecx]
mov dl, byte [esi + 0x28]
xor dl, al
mov byte [ecx], dl
mov dl, al
sub edx, 0x52
add al, 0x2e
sar edx, 7
and dl, 1
shl al, 1
xor dl, al
inc ecx
dec edi
mov byte [esi + 0x28], dl
jne 0x140f9
xor edi, edi
shr bx, 3
je 0x1413a
movzx eax, di
lea eax, [ebp + eax*8 - 0x74]
push eax
push dword [esi + 0x29]
call dword [esi + 0xa]
test eax, eax
jne 0x14143
inc edi
cmp di, bx
jb 0x14122
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 1
pop eax
jmp 0x1413c