joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa42ed0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa42f0f
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa5b481
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5b0fe

Function at 0xa61b25
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a6199b
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412cf0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412e9a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x61
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x47
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x86
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x59
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 9
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa0
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xfc
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x52
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5f
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xfd
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb6
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x84
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xee
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdd
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf3
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d10
pop ebx
pop edi
pop esi
ret

Function at 0x4035d5
Capabilities:
Terminate process

Disassembly:
jmp 0x451b59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451b6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058fd
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403706
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b002
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b013
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aee9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b03b
push ebx
push esi
push edi
call fcn.004056f0
add esp, 0xc
push 0
call fcn.0040623a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412cf0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412e9a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x58
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcf
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x98
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x85
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa7
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x48
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x20
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x14
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x54
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x34
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf9
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb7
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x3f
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2f
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x99
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d10
pop ebx
pop edi
pop esi
ret

Function at 0x4035d5
Capabilities:
Terminate process

Disassembly:
jmp 0x451b59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451b6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058fd
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403706
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b002
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b013
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aee9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b03b
push ebx
push esi
push edi
call fcn.004056f0
add esp, 0xc
push 0
call fcn.0040623a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x406de7
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0x2c
mov eax, 0x411448
call fcn.0040fb7e
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], esi
call dword [0x4127a8]
lea eax, [ebp - 0x18]
push eax
push 0x4128b0
push 1
push esi
push 0x4128d0
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x406e2e
mov ecx, dword [ebp + 8]
push esi
call dword [0x41271c]
jmp 0x406f0c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4128a0
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
cmp eax, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
jge 0x406e52
call dword [ecx + 8]
jmp 0x406e1f
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x14]
cmp word [ebp - 0x10], si
je 0x406eff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x24]
fldz
mov dword [ebp - 0x20], esi
fstp qword [ebp - 0x28]
lea ebx, [ebp - 0x28]
lea esi, [ebp - 0x38]
call fcn.00404ac1
neg eax
sbb eax, eax
inc eax
xor ebx, ebx
mov dword [ebp - 0x20], eax
cmp word [ebp - 0x38], bx
je 0x406eff
cmp word [ebp - 0x32], bx
je 0x406eff
cmp word [ebp - 0x36], bx
je 0x406eff
lea edi, [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.004066b0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov ecx, edi
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x4135a8
push str.IDS_HOURS
lea eax, [ebp + 0xc]
push eax
mov ecx, 0x41b8e8
call dword [sym.imp.UPCChelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp + 8]
call fcn.0040fc1d
ret 8
Function at 0x4071a9
Capabilities:
Check for time delay via gettickcount
Modify service
Query service status
Start service

Disassembly:
push 0x34
mov eax, 0x410669
call fcn.0040fb7e
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.UPCChelper.dll_int___cdecl_STIsCurrentUserLocalAdministrator_void_]
test eax, eax
je 0x4072f8
push 8
pop ecx
mov esi, 0xf003f
push esi
push ebx
xor eax, eax
mov dword [ebp - 0x40], ebx
lea edi, [ebp - 0x3c]
push ebx
mov dword [ebp - 0x1c], ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
je 0x4072f8
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x10], esi
cmp esi, ebx
jne 0x407213
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4072f8
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
call fcn.00407105
cmp eax, ebx
jne 0x4072ea
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x40724b
push dword [ebp - 0x18]
call edi
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xc], ebx
je 0x40726a
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
jmp 0x4072cc
mov eax, dword [ebp - 0x28]
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, 0x3e8
cmp eax, ecx
jb 0x407299
mov ecx, 0x2710
cmp eax, ecx
jbe 0x40729b
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1c]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4072d2
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x2c], eax
ja 0x407270
call esi
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
ja 0x4072d2
cmp dword [ebp - 0x3c], 2
je 0x40727d
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
inc eax
jmp 0x407303
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
call fcn.0040fc1d
ret 8
Function at 0x407ebf
Capabilities:
Check mutex on windows

Disassembly:
push 0xc
mov eax, 0x410645
call fcn.0040fb7e
lea ecx, [ebp - 0x10]
xor ebx, ebx
call dword [0x4127a8]
mov dword [ebp - 4], ebx
call dword [sym.imp.UPCChelper.dll_unsigned_long_int___cdecl__winmajor_void_]
push str.UPCC_
lea ecx, [ebp - 0x14]
call dword [0x41271c]
lea eax, [ebp - 0x18]
push str.CG_Scheduler_92C5B423_76D6_4e85_A186_DCC74D1B3071
push eax
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404d03
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp - 0x10]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x128], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x407f4c
cmp eax, 5
je 0x407f4c
push dword [edi + 0x128]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x407f4f
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
call fcn.0040fc1d
ret
Function at 0x40b8b2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x41b028]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
mov ecx, edi
call sub.mfc90u.dll_CWnd::CWnd
lea esi, [edi + 0x78]
mov dword [edi], vtable.CMJHeaderCtrl.0
call fcn.0040bf8f
lea esi, [edi + 0xa8]
call fcn.0040bf8f
lea esi, [edi + 0xd8]
call fcn.0040bf8f
lea esi, [edi + 0x108]
call fcn.0040bf8f
xor ecx, ecx
lea eax, [edi + 0x140]
mov dword [eax + 4], ecx
mov dword [eax], vtable.CFont.0
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], ecx
mov eax, dword [0x41b82c]
mov dword [edi + 0x138], eax
lea eax, [ebp - 0x80]
push eax
mov byte [edi + 0x148], 1
mov byte [edi + 0x149], cl
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
pop esi
jne 0x40b967
cmp dword [ebp - 0x78], 1
jne 0x40b967
mov dword [edi + 0x150], 7
mov dword [edi + 0x158], 0x12
jmp 0x40b97b
mov dword [edi + 0x150], 3
mov dword [edi + 0x158], 0x10
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
mov dword [edi + 0x154], 0x15
mov dword [edi + 0x14c], 0xa
mov eax, edi
call fcn.0040f372
add ebp, 0xa0
leave
ret

Function at 0x40f372
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b028]
jne 0x40f37c
repz ret
jmp fcn.0040f89e

Function at 0x43b63b
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
add ecx, 0x16fad81e
and ecx, ecx
or ecx, ecx
call fcn.0043b67c
sub ecx, edi
xor dword [ebx], edx
sub ecx, ecx
sub edi, 0x4f460cc9
inc ebx
add ecx, edi
sub ecx, 0xc1a83b32
cmp ebx, esi
jne fcn.0043b63b
or edi, ecx
sub edi, 0x7d5a4322
and ecx, ecx
ret
Function at 0x100026c5
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.10032058
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.10032058
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x10002741
mov eax, dword [0x100f75a4]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 3
call fcn.10032076
cmp dword [ebp - 0x18], esp
je 0x10002777
push 0x72
push 0x401b834
push 6
call fcn.10032070
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 8
call fcn.10032076
cmp dword [ebp - 0x18], esp
je 0x100027af
push 0x9f
push 0x401b834
push 6
call fcn.10032070
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 9
call fcn.10032076
cmp dword [ebp - 0x18], esp
je 0x100027e5
push 0xc9
push 0x401b834
push 6
call fcn.10032070
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xa
call fcn.10032076
cmp dword [ebp - 0x18], esp
je 0x1000287e
push 0x1d9
push 0x401b834
push 6
call fcn.10032070
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0xb
call fcn.10032076
cmp dword [ebp - 0x18], esp
je 0x100028ad
push 0x219
push 0x401b834
push 6
call fcn.10032070
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x100028b5
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1003204c
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.1003204c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10032d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bb510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100b0904
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10035450
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10032d94
jmp dword [ecx*4 + 0x10032efc]
mov al, byte [esi]
test al, al
je 0x10032dc2
cmp al, 0x20
je 0x10032dae
cmp al, 0xa1
jne 0x10032dc2
cmp byte [esi + 1], al
jne 0x10032dc2
test al, 0x80
je 0x10032dba
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10032dc2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10032da1
test ecx, ecx
je case.default.0x10032d94
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10032d94
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10032e08
cmp dl, 0xa1
jne 0x10032dfc
cmp byte [eax + 1], 0xa1
jne 0x10032dfc
test ecx, ecx
jne 0x10032df4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10032e1c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10032e36
jmp 0x10032e1c
cmp dl, 0x20
jne 0x10032e1a
test ecx, ecx
jne 0x10032e13
mov edi, eax
mov ecx, 1
jmp 0x10032e1c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10032ddc
cmp ecx, 1
jne case.default.0x10032d94
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10032d94
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10032d94
mov al, byte [esi]
test al, al
je 0x10032e8e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10032e74
mov cl, byte [esi + 1]
test cl, cl
je 0x10032e8e
cmp al, 0xa1
jne 0x10032e64
cmp cl, al
je 0x10032e71
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100356e0
inc esi
jmp 0x10032e86
cmp al, 0x20
je 0x10032e86
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10035720
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10032e4d
push 0
lea ecx, [esp + 0x14]
call fcn.10035720
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100476e0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10032ec1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100cbd18
call fcn.10035650
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100b0896
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret