joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50a170
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b03c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x629688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x50a1aa
mov byte [esi + 0xc], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ebx, [esi + 8]
push ebx
push 0x5c92ec
push 1
push 0
push 0x5c928c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x50a255
cmp dword [ebx], 0
je 0x50a22f
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.004c1820
mov eax, dword [eax]
mov dword [ebp - 4], 0
test eax, eax
je 0x50a203
mov edi, dword [eax]
jmp 0x50a205
xor edi, edi
mov ecx, dword [ebx]
lea eax, [esi + 4]
mov edx, dword [ecx]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push ecx
call dword [edx + 0xc]
lea ecx, [ebp - 0x10]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004c18c0
test edi, edi
js 0x50a255
mov eax, dword [esi + 4]
test eax, eax
je 0x50a251
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test edi, edi
jns 0x50a28b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x50a262
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebx]
test ecx, ecx
je 0x50a26e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [esi + 0xc], 0
je 0x50a27a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi + 4], 0
mov dword [ebx], 0
mov byte [esi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50ae90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
pop ebp
ret
Function at 0x50b980
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b06ac
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x629688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.LicenseUtilityManager.0
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x44], 0xf
mov dword [edi + 0x40], 0
mov dword [ebp - 4], 0
mov byte [edi + 0x30], 0
mov dword [edi + 0x5c], 0xf
mov dword [edi + 0x58], 0
mov byte [edi + 0x48], 0
mov dword [edi + 0x74], 0xf
mov dword [edi + 0x70], 0
mov byte [edi + 0x60], 0
mov dword [edi + 0x8c], 0xf
mov dword [edi + 0x88], 0
mov byte [edi + 0x78], 0
mov dword [edi + 0xa4], 0xf
mov dword [edi + 0xa0], 0
mov byte [edi + 0x90], 0
mov dword [edi + 0xbc], 0xf
mov dword [edi + 0xb8], 0
mov byte [edi + 0xa8], 0
mov dword [edi + 0xd4], 0xf
mov dword [edi + 0xd0], 0
mov byte [edi + 0xc0], 0
mov dword [edi + 0xec], 0xf
mov dword [edi + 0xe8], 0
mov byte [edi + 0xd8], 0
mov dword [edi + 0x104], 0xf
mov dword [edi + 0x100], 0
mov byte [edi + 0xf0], 0
mov dword [edi + 0x11c], 0xf
mov dword [edi + 0x118], 0
mov byte [edi + 0x108], 0
mov dword [edi + 0x138], 0xf
mov dword [edi + 0x134], 0
mov byte [edi + 0x124], 0
mov dword [edi + 0x154], 0xf
mov dword [edi + 0x150], 0
mov byte [edi + 0x140], 0
mov dword [edi + 0x16c], 0xf
mov dword [edi + 0x168], 0
mov byte [edi + 0x158], 0
mov dword [edi + 0x184], 0xf
mov dword [edi + 0x180], 0
mov byte [edi + 0x170], 0
lea ecx, [edi + 0x188]
mov byte [ebp - 4], 0xe
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
call fcn.00415720
mov dword [edi + 0x188], eax
push str.LEID_Goes_Here
mov byte [ebp - 4], 0xf
call fcn.00525de0
push 0
mov dword [edi + 4], eax
call fcn.00526760
mov dword [edi + 8], eax
call fcn.00526f00
push 0xb8
mov dword [edi + 0xc], eax
call fcn.00585fec
add esp, 0xc
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x50bb97
mov ecx, eax
call fcn.0050bc10
mov ecx, eax
jmp 0x50bb99
xor ecx, ecx
mov byte [ebp - 4], 0xf
mov dword [edi + 0x10], ecx
test ecx, ecx
je 0x50bbb4
mov eax, dword [0x62f8f0]
mov dword [ecx], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
push dword [0x62f8f0]
call fcn.00505a80
add esp, 4
call fcn.00504050
push str.adobe_licutil_p7
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
mov dword [edi + 0x14], eax
push 0x5e0874
lea ecx, [edi + 0x170]
mov byte [edi + 0x13c], 0
mov byte [edi + 0x120], 0
call fcn.004082e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50cea0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b081b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x80
lea eax, [ebp - 0x110]
push 0
push eax
mov dword [ebp - 0x144], 0x80
mov byte [esi], 0
call fcn.005877c0
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x110]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x50cf89
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.005111b0
push 1
push eax
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 4], 0
call fcn.0050ac30
add esp, 0x14
cmp dword [ebp - 0x12c], 8
jb 0x50cf4f
push dword [ebp - 0x140]
call fcn.0058603b
add esp, 4
movzx eax, word [ebp + 0xc]
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x128]
cmovae ecx, dword [ebp - 0x128]
push eax
push ecx
push esi
call fcn.005255c0
add esp, 0xc
cmp dword [ebp - 0x114], 0x10
jb 0x50cf89
push dword [ebp - 0x128]
call fcn.0058603b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 8
Function at 0x521300
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.005877c0
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.004019d0
push 1
push 0x5e0864
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.004012a0
push 0xb
push str.oobelib.log
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.004012a0
lea eax, [ebp - 0x404]
push eax
push 0x400
push 0x62f900
call fcn.004011c0
inc dword [0x62f8f8]
add esp, 0x40
cmp byte [0x62f8f4], 0
jne 0x521472
push dword [0x61acd4]
push dword [0x61acd0]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x404]
push eax
call fcn.00521480
add esp, 4
test al, al
jne 0x5213e1
lea eax, [ebp - 0x404]
push eax
call fcn.004018d0
add esp, 4
test eax, eax
je 0x5213e1
lea eax, [ebp - 0x404]
push eax
call fcn.00401a70
add esp, 4
lea eax, [ebp - 0x404]
push 0x61a8000
push eax
call fcn.00525cb0
add esp, 8
mov dword [0x62f8fc], eax
test eax, eax
je 0x52146b
push 0
call fcn.00525d40
add esp, 4
mov dword [0x62f8f0], eax
test eax, eax
je 0x521420
push dword [0x62f8fc]
push eax
call fcn.00525cc0
add esp, 8
lea eax, [ebp - 0x404]
push eax
call fcn.00521480
add esp, 4
test al, al
jne 0x521453
push str.__OOBELIB_LOG_FILE__
push dword [0x61acf8]
push 4
push str.Adobe_Silent_Activator
push dword [0x62f8f0]
call fcn.00525c50
add esp, 0x14
push dword [0x62f8fc]
call fcn.005264f0
add esp, 4
mov dword [0x62f8fc], 0
mov byte [0x62f8f4], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret
Function at 0x525af0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00587f10
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ecx
push eax
test esi, esi
jne 0x525b65
lea eax, [ebp - 0x1004]
push 0xffd
push eax
call fcn.0058aeb2
add esp, 0x10
test eax, eax
jle 0x525b38
lea eax, [ebp + eax - 0x1004]
jmp 0x525b40
cmp eax, 0xffffffff
jne 0x525b74
lea eax, [ebp - 7]
mov word [eax], 0xa0d
mov byte [eax + 2], 0
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret
push esi
call fcn.0058ae95
push esi
call fcn.00589c82
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00586d1b
mov esp, ebp
pop ebp
ret

Function at 0x536650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5f98
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x629688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0054ae30
push 0x536810
push 0x536760
push 0x3fd
push 0xc
lea eax, [esi + 0x38]
push eax
mov dword [ebp - 4], 0
mov dword [esi], vtable.devtech_private::FastArray.0
mov byte [esi + 8], 1
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00587943
mov dword [esi + 0x3014], 0
mov dword [esi + 0x3018], 0
mov dword [esi + 0x301c], 0
mov dword [esi + 0x3020], 0
mov dword [esi + 0x3024], 0
mov byte [esi + 0x3028], 1
mov dword [esi + 0x302c], 0
mov byte [esi + 0x3030], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x537170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x14]
mov esi, ecx
call fcn.0054ce60
add esp, 4
test al, al
mov eax, dword [ebp + 0xc]
je 0x5371e8
test al, al
je 0x5371e8
push edi
lea ecx, [esi + 0x14]
call fcn.0054a770
lea ecx, [esi + 0x14]
mov edi, eax
call fcn.0054a760
xor esi, esi
mov dword [ebp + 0x14], eax
test edi, edi
jle 0x5371df
push ebx
mov ebx, dword [ebp + 8]
lea esp, [esp]
movzx ecx, word [eax + esi*2]
mov ax, cx
shr ax, 8
shl ecx, 8
xor ax, cx
movzx eax, ax
push 0
mov dword [ebp + 8], eax
push 2
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00421ee0
mov eax, dword [ebp + 0x14]
inc esi
cmp esi, edi
jl 0x5371b0
pop ebx
lea eax, [edi + edi]
pop edi
pop esi
pop ebp
ret 0x10
push dword [ebp + 0x10]
lea ecx, [esi + 0x14]
push eax
push dword [ebp + 8]
call fcn.0054a790
pop esi
pop ebp
ret 0x10
Function at 0x5394b0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push 8
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x53952e
call esi
cmp eax, 0x3f0
jne 0x53950f
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x53952e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x539518
call esi
cmp eax, 0x7a
jne 0x539518
mov esi, dword [ebp - 0x18]
mov eax, esi
call fcn.0058c520
mov ebx, esp
test ebx, ebx
je 0x539518
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x539518
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x222
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x539518
xor esi, esi
mov byte [ebp - 0xd], 0
cmp dword [ebx], esi
jbe 0x5395c0
lea edi, [ebx + 4]
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5395bc
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x5395a3
jmp 0x5395c0
mov byte [ebp - 0xd], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret
Function at 0x53c800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x10]
mov edi, ecx
call fcn.00587a78
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x53c835
push str.Ran_out_of_memory_trying_to_write_a_license_file
push 1
call fcn.0052cc40
add esp, 8
lea eax, [ebx + 0x10]
pop edi
pop esi
pop ebx
pop ebp
ret 8
push ebx
push esi
mov ecx, edi
call fcn.00538e70
test eax, eax
je 0x53c85d
push str.Encryption_failed_while_writing_a_license_file
push 2
call fcn.0052cc40
add esp, 8
mov eax, 0xd
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 0x10
jb 0x53c86a
mov eax, dword [edi]
jmp 0x53c86c
mov eax, edi
push eax
call fcn.00401a70
add esp, 4
cmp dword [edi + 0x14], 0x10
jb 0x53c87f
mov eax, dword [edi]
jmp 0x53c881
mov eax, edi
push 0x5e1cec
push eax
call fcn.004017f0
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x53c8b7
push ebx
call fcn.005864b7
push str.Couldnt_open_a_license_file_for_write
push 2
call fcn.0052cc40
add esp, 0xc
mov eax, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret 8
push eax
push dword [esi + 0x10]
push 1
push ebx
call fcn.0058a2cd
push ebx
mov esi, eax
call fcn.005864b7
push dword [ebp + 8]
call fcn.005890ae
add esp, 0x18
cmp esi, 1
jae 0x53c8f6
push str.Writing_a_license_file_failed
push 2
call fcn.0052cc40
add esp, 8
mov eax, 3
pop edi
pop esi
pop ebx
pop ebp
ret 8
cmp dword [edi + 0x14], 0x10
jb 0x53c8fe
mov edi, dword [edi]
push edi
call fcn.0054fd10
add esp, 4
xor ecx, ecx
test al, al
pop edi
mov edx, 0x16
cmove ecx, edx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret 8
Function at 0x54f990
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0058c478
add esp, 8
test eax, eax
jne 0x54f9f6
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
je 0x54f9f6
and eax, 0xfffffffd
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret

Function at 0x54fa10
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
jne 0x54fa61
or eax, 2
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret

Function at 0x550890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x30c]
push eax
push 0x20219
push 0
lea eax, [ecx + 0x20]
push eax
push SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x55095e
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x308]
push eax
push 0
push 0
push 0
push dword [ebp - 0x30c]
mov dword [ebp - 0x310], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x550952
mov ecx, dword [ebp - 0x310]
lea eax, [ecx - 1]
cmp eax, 0xff
ja 0x550952
add ecx, ecx
cmp ecx, 0x202
jae 0x550972
xor eax, eax
push eax
push eax
push 0x100
mov word [ebp + ecx - 0x308], ax
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x308]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.004080a0
mov bl, 1
push dword [ebp - 0x30c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 4
call fcn.005862b0
int3
Function at 0x550980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x202
push 0
push 0
push 0
lea eax, [ecx + 0x20]
push eax
push SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x550a26
cmp dword [edi + 0x14], 0x10
jb 0x5509cd
mov eax, dword [edi]
jmp 0x5509cf
mov eax, edi
push esi
push 0x100
lea ecx, [ebp - 0x204]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [esi + esi]
push eax
lea eax, [ebp - 0x204]
push eax
push 1
push 0
push 0
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x208]
lea eax, [esi - 1]
cmp eax, dword [edi + 0x10]
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 4

Function at 0x550c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push eax
xor bl, bl
call fcn.00550bd0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push 0x5e0860
push eax
mov dword [ebp - 4], 0
call fcn.004017f0
mov esi, eax
add esp, 8
test esi, esi
je 0x550d19
push esi
push 0x100
lea eax, [ebp - 0x114]
push 1
push eax
call fcn.00589b23
mov edx, eax
add esp, 0x10
lea eax, [edx - 1]
cmp eax, 0xff
ja 0x550d10
cmp edx, 0x101
jae 0x550d50
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
mov byte [ebp + edx - 0x114], bl
call fcn.004080a0
mov bl, 1
push esi
call fcn.005890ae
add esp, 4
cmp dword [ebp - 0x118], 0x10
jb 0x550d30
push dword [ebp - 0x12c]
call fcn.0058603b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 4
call fcn.005862b0
int3
Function at 0x550d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5e08
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x78], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
xor bl, bl
call fcn.00550bd0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x69], bl
call fcn.00401830
test eax, eax
movzx ecx, bl
mov edx, 1
cmove ecx, edx
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x70], ecx
call fcn.0054f990
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x5e1cec
push eax
call fcn.004017f0
add esp, 0x14
mov dword [ebp - 0x74], eax
test eax, eax
je 0x550e3f
cmp dword [esi + 0x14], 0x10
lea edi, [esi + 0x10]
jb 0x550e0b
mov esi, dword [esi]
push eax
push dword [edi]
push 1
push esi
call fcn.0058a2cd
cmp eax, dword [edi]
push dword [ebp - 0x74]
movzx ebx, bl
mov eax, 1
cmove ebx, eax
call fcn.005890ae
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0054fd10
add esp, 0x18
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0054fa10
mov eax, dword [ebp - 0x78]
add esp, 4
cmp byte [eax + 0x38], 0
je 0x550e92
cmp byte [ebp - 0x70], 0
je 0x550e92
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.00401860
add esp, 8
cmp dword [ebp - 0x14], 0x10
jb 0x550ea3
push dword [ebp - 0x28]
call fcn.0058603b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 4
Function at 0x552240
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x552252
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x5522bd
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x20]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
push ebx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0x5522bc
push edi
xor edi, edi
mov eax, dword [esi + 0x20]
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x552292
mov eax, dword [eax]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x20]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x18
cmp ebx, eax
jb 0x552285
pop edi
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x55f1a0
Capabilities:
Hash data using sha1

Disassembly:
call fcn.0056dec0
add eax, 0xfffffffd
cmp eax, 0x25
ja case.0x55f1b4.8
movzx eax, byte [eax + 0x55f23c]
jmp dword [eax*4 + 0x55f228]
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x56c918
jmp 0x55f1fa
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x56b7e0
jmp 0x55f1fa
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x56a730
jmp 0x55f1fa
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x55f170
jmp 0x55f1fa
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x559690
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret