joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58f420
Capabilities:
Get disk information

Disassembly:
sub esp, 0x94
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x90], eax
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x58f43f
mov ecx, dword [ecx]
movzx eax, word [ecx]
push eax
push 0x7940a4
push 4
lea eax, [esp + 0x14]
push 4
push eax
call fcn.007042ac
add esp, 0x14
mov dword [esp], 0
lea eax, [esp + 0x10]
mov dword [esp + 4], 0
push 0x80
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x58f530
xor eax, eax
mov word [esp + 0x8e], ax
lea eax, [esp + 0x10]
push 0x7940c4
push eax
call fcn.007042cb
add esp, 8
test eax, eax
jne 0x58f4cf
mov eax, 1
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x94
ret
lea eax, [esp + 0x10]
push str.FAT32
push eax
call fcn.007042cb
add esp, 8
test eax, eax
jne 0x58f4ff
mov eax, 2
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x94
ret
lea eax, [esp + 0x10]
push str.NTFS
push eax
call fcn.007042cb
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x94
ret
mov ecx, dword [esp + 0x90]
xor eax, eax
xor ecx, esp
call fcn.006f7ca4
add esp, 0x94
ret

Function at 0x58f660
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x75f348
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov edi, 0xffff
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
jne 0x58f70e
xorps xmm0, xmm0
lea ecx, [esp + 0xc]
movdqu xmmword [esp + 0xc], xmm0
call fcn.00598330
push 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.00598380
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
lea ecx, [esp + 0x14]
call fcn.005984b0
push eax
lea ecx, [esp + 0x18]
call fcn.0045b500
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
test eax, eax
jne 0x58f730
mov dword [esp + 0x2c], 0xffffffff
call fcn.00598360
mov ax, di
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x24
ret 4
call fcn.005984b0
lea ecx, [esp + 0xc]
cmp eax, dword [esp + 0x1c]
jne 0x58f701
call fcn.005984c0
lea ecx, [esp + 0xc]
movzx esi, ax
mov dword [esp + 0x2c], 0xffffffff
call fcn.00598360
mov ax, si
jmp 0x58f711
Function at 0x58f760
Capabilities:
Get disk size

Disassembly:
sub esp, 0x38
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push edi
mov ebp, ecx
mov edi, 0x34
push 1
mov dword [esp + 0x1c], ebp
xor ebx, ebx
call fcn.004f83f0
add esp, 4
test al, al
je 0x58f91b
cmp dword [ebp + 0x18], 8
push esi
lea esi, [ebp + 4]
jb 0x58f79e
mov eax, dword [esi]
jmp 0x58f7a0
mov eax, esi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0xa0000000
push 3
push 0
push 3
push 0xc0000000
push eax
call ebp
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x58f904
cmp dword [esi + 0x14], 8
jb 0x58f7d2
mov eax, dword [esi]
jmp 0x58f7d4
mov eax, esi
movzx eax, word [eax]
push eax
push str.._lc:
push 7
lea eax, [esp + 0x40]
push 7
push eax
call fcn.007042ac
add esp, 0x14
lea eax, [esp + 0x34]
push 0
push 0
push 3
push 0
push 3
push bind
push eax
call ebp
mov ebp, eax
cmp ebp, 0xffffffff
je 0x58f8f9
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
jb 0x58f820
mov esi, dword [esi]
movzx eax, word [esi]
push eax
push 0x7940a4
push 4
lea eax, [esp + 0x38]
push 4
push eax
call fcn.007042ac
add esp, 0x14
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
push eax
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x58f8e0
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
imul esi, dword [esp + 0x28]
call fcn.0058f420
test eax, eax
je 0x58f8e4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
dec eax
je 0x58f8a7
dec eax
je 0x58f8a3
dec eax
je 0x58f89d
push 0
push str.Your_CodeMeter_device_has_an_unknown_file_system_format__n
call fcn.00572830
add esp, 8
jmp 0x58f8bc
mov dword [esp + 0x20], ebx
jmp 0x58f8bc
push 1
jmp 0x58f8a9
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.00598530
add esp, 0x10
push dword [esp + 0x28]
push esi
push dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
push esi
push ebp
call fcn.0058f550
add esp, 0x14
mov edi, eax
mov ebx, edx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x58f8fd
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x58f8fd
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
mov edx, ebx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x38
ret
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop ebp
mov edx, ebx
pop ebx
xor ecx, esp
call fcn.006f7ca4
add esp, 0x38
ret
Function at 0x58f940
Capabilities:
Get file size

Disassembly:
add ecx, 4
push ebx
xor bl, bl
push esi
cmp dword [ecx + 0x14], 8
jb 0x58f94f
mov ecx, dword [ecx]
push 0
push 0
push 3
push 0
push 0
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x58f99a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x200
jb 0x58f991
test eax, 0x1ff
jne 0x58f991
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x58f9a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov eax, 0x200
push edi
mov edi, dword [esp + 0x24]
test edi, edi
mov dword [esp + 0x10], ecx
cmove edi, eax
xor bh, bh
push edi
xor bl, bl
call fcn.006f888a
push edi
mov ebp, eax
push 0x20
push ebp
call fcn.006f87a0
movdqu xmm0, xmmword [0x794120]
add esp, 0x10
movdqu xmmword [ebp + 0x10], xmm0
movdqu xmm0, xmmword [0x794130]
movdqu xmmword [ebp + 0x30], xmm0
movdqu xmm0, xmmword [0x794140]
movdqu xmmword [ebp + 0x1f0], xmm0
cmp esi, 0xffffffff
jne 0x58fa44
mov eax, dword [esp + 0x10]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x58fa1e
mov eax, dword [eax]
push 0
push 0xa0000000
push 5
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
setne bh
cmp esi, 0xffffffff
je 0x58fa6c
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x58fa6a
cmp dword [esp + 0x14], edi
jne 0x58fa6a
mov bl, 1
jmp 0x58fa6c
xor bl, bl
push ebp
call fcn.006f8852
add esp, 4
test bh, bh
je 0x58fa80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x18]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006f7ca4
add esp, 0xc
ret 8
Function at 0x58faa0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x75f378
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov byte [esp + 0xf], 0
lea ecx, [esp + 0x10]
movdqu xmmword [esp + 0x10], xmm0
call fcn.00598330
add esi, 4
mov dword [esp + 0x30], 0
cmp dword [esi + 0x14], 8
jb 0x58fafc
mov esi, dword [esi]
push 0
push 0xa0000000
push 3
push 0
push 3
push bind
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x58fb2e
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], eax
call fcn.00598360
jmp 0x58fbc0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
shr eax, 9
lea ecx, [esp + 0x10]
movzx eax, ax
push eax
call fcn.00598380
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ecx]
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
lea ecx, [esp + 0x18]
call fcn.005984b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0045b500
push eax
push esi
call edi
test eax, eax
je 0x58fba3
lea ecx, [esp + 0x10]
call fcn.005984b0
cmp eax, dword [esp + 0x20]
jne 0x58fba3
lea ecx, [esp + 0x10]
call fcn.005983c0
lea ecx, [esp + 0x10]
test al, al
je 0x58fbac
call fcn.005984d0
test al, al
jne 0x58fb50
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00598360
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x28
ret

Function at 0x58fe50
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x75f418
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
mov byte [esp + 0xf], 0
movdqu xmmword [esp + 0x14], xmm0
call fcn.00598330
push dword [esp + 0x3c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.005983a0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x58fec0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
lea ecx, [esp + 0x1c]
call fcn.005984b0
push eax
lea ecx, [esp + 0x20]
call fcn.0045b500
push eax
push esi
call edi
lea ecx, [esp + 0x14]
test eax, eax
je 0x58ff1b
call fcn.005984d0
test al, al
jne 0x58fec0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
test eax, eax
jne 0x58ff23
mov byte [esp + 0xf], 1
jmp 0x58ff23
mov dword [esp + 0x30], 0xffffffff
call fcn.00598360
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x28
ret
Function at 0x596fe0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x75fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x597021
mov al, 1
jmp 0x59711a
xor ebx, ebx
mov dword [esp + 0x1c], 0
xorps xmm0, xmm0
mov byte [esp + 0x13], 0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
test eax, eax
je 0x59706c
cmp eax, 0xccccccc
jbe 0x59705e
push str.vector_T__too_long
call fcn.006f2a33
push eax
lea ecx, [esp + 0x18]
call fcn.005971f0
mov ebx, dword [esp + 0x14]
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x59708b
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00597380
mov esi, dword [esi]
cmp esi, edi
jne 0x597074
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SoftwareWIBU_SYSTEMSCodeMeterServerCurrentVersion
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x597109
mov ecx, dword [esp + 0x18]
mov eax, 0x66666667
sub ecx, ebx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
shl eax, 2
push eax
push ebx
push 3
push 0
push str.AlreadyKnownHidDevices
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x20]
test eax, eax
sete byte [esp + 0x17]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x597116
push ebx
call fcn.006f75a9
add esp, 4
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x28
ret
Function at 0x598530
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x218]
xorps xmm0, xmm0
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x21c]
push 0
push 0
movlpd qword [esp + 0x14], xmm0
push dword [esp + 0x18]
push dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne al
test al, al
je 0x59860f
push ebx
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x200
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne bl
test bl, bl
je 0x59860c
cmp byte [esp + 0x22c], 0
je 0x5985c5
movzx ecx, byte [esp + 0x28]
imul ecx, dword [esp + 0x3c]
jmp 0x5985d2
movzx ecx, word [esp + 0x2e]
movzx eax, byte [esp + 0x28]
imul ecx, eax
movzx eax, word [esp + 0x26]
add ecx, eax
mov dword [esi], ecx
movzx ecx, word [esp + 0x29]
shl ecx, 5
mov eax, ecx
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
add eax, dword [esi]
mov dword [ebp], eax
and ecx, 0x800001ff
jns 0x598606
dec ecx
or ecx, 0xfffffe00
inc ecx
je 0x59860c
inc eax
mov dword [ebp], eax
mov al, bl
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.006f7ca4
add esp, 0x20c
ret

Function at 0x5997e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x75ffc9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
push 0x2002c
push 0x80592c
lea ecx, [edi + 4]
mov dword [edi], vtable.YS0076::sharedmem::ApiSharedMemory.0
call fcn.00513850
push 9
push str.CmApiComm
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0
mov dword [edi + 0x20], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00409620
mov dword [esp + 0x14], vtable.wbs::StringBase_char_.0
lea eax, [esp + 0x14]
mov byte [esp + 0x38], 1
push eax
lea ecx, [edi + 0x24]
call fcn.00736bd0
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x38], 3
mov dword [esp + 0x14], vtable.wbs::StringBase_char_.0
jb 0x599892
push dword [esp + 0x18]
call fcn.006f75a9
add esp, 4
lea ecx, [edi + 0x28]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.004d9250
mov dword [edi + 0x28], eax
push 0
push 1
lea ecx, [edi + 4]
mov byte [esp + 0x40], 4
call fcn.00513900
push 0x2002c
lea ecx, [edi + 4]
call fcn.00513c60
mov dword [edi + 0x20], eax
inc dword [eax + 0xc]
mov eax, dword [edi + 0x20]
cmp dword [eax + 0xc], 0x64
jge 0x5998f4
mov dword [eax + 0xc], 0x64
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x59ab10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x76015f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], vtable.YS0076::sharedmem::ShmRequestHandler.0
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [0x7937e0]
mov dword [edi + 0x10], eax
mov word [edi + 0x14], 0
mov dword [edi + 0x18], 0x186a0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x48], 0
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 3
call fcn.004f8e40
lea ecx, [edi + 0x54]
mov byte [esp + 0x18], 4
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
call fcn.0059ba70
mov dword [edi + 0x54], eax
lea ecx, [edi + 0x5c]
mov byte [esp + 0x18], 5
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
call fcn.00532110
mov dword [edi + 0x5c], eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x5a15f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x760af8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x14]
mov edi, dword [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0xc], esi
movdqu xmmword [esp + 0x14], xmm0
movdqu xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.005a5270
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0
call fcn.005a6a40
lea ecx, [esp + 0x14]
call fcn.005a6d30
movzx eax, word [edi + 3]
lea esi, [edi + 5]
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.005a6ac0
movzx eax, word [edi + 3]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [eax + esi - 4]
cmp eax, dword [ecx + 0x10]
lea ecx, [esp + 0x14]
sete byte [esp + 0x13]
call fcn.005a5320
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x40
ret
Function at 0x5a73e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7612e9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
mov dword [esp + 0xc], esi
mov dword [esi], vtable.wbs::StringBase_char_.0
mov eax, dword [esp + 0x44]
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x4c], 0xf
mov dword [esi + 0x48], 0
mov byte [esi + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esi + 0x34], vtable.wbs::StringBase_char_.0
lea eax, [esi + 0x70]
mov byte [esp + 0x3c], 1
lea edi, [esi + 0x50]
mov dword [edi], 0
push eax
call fcn.006e4af0
mov word [esi + 0x74], 0
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov eax, dword [esp + 0x44]
mov edx, 2
mov ecx, eax
mov dword [esi + 0x84], 0xffffffff
and ecx, 0x1000
mov dword [esi + 0x2c], 0
mov ecx, 0x12
mov byte [esp + 0x3c], 2
cmovne edx, ecx
xorps xmm0, xmm0
and eax, 3
movdqu xmmword [edi], xmm0
movdqu xmmword [edi + 0x10], xmm0
dec eax
je 0x5a7511
dec eax
je 0x5a74fa
lea ecx, [esi + 0x34]
dec eax
je 0x5a74e3
push 0x77e880
call fcn.004f5a60
jmp 0x5a7565
mov dword [esp + 0x18], str.CodeMeter_Remote_Activation_Modified_Context_File
mov dword [esp + 0x1c], 0x8058ec
push str.WibuCmRaM
jmp 0x5a7529
mov dword [esp + 0x18], str.CodeMeter_Remote_Activation_Update_File
mov dword [esp + 0x1c], 0x8058bc
push str.WibuCmRaU
jmp 0x5a7526
mov dword [esp + 0x18], str.CodeMeter_Remote_Activation_Context_File
mov dword [esp + 0x1c], 0x8058ac
push str.WibuCmRaC
lea ecx, [esi + 0x34]
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x18], edx
call fcn.004f5a60
movdqu xmm0, xmmword [esp + 0x14]
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [edi + 0x10], xmm0
push 0xb4
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x3c], 3
test eax, eax
je 0x5a759b
push 0xb4
push 0
push eax
call fcn.006f87a0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push edi
call fcn.00510e80
jmp 0x5a759d
xor eax, eax
push 0x77e880
mov ecx, esi
mov byte [esp + 0x40], 2
mov dword [esi + 0x2c], eax
call fcn.004f5a60
xor eax, eax
mov dword [esi + 0x24], 0
mov word [esi + 0x1c], ax
mov eax, esi
mov dword [esi + 0x20], 0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 4
Function at 0x5b2b80
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 8], eax
push ebx
mov ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x5b2baf
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.006f7ca4
add esp, 0xc
ret
push esi
mov esi, dword [esp + 0x24]
cmp esi, 2
jle 0x5b2c1a
lea esp, [esp]
movzx eax, byte [edi]
mov edx, 4
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 2]
shl eax, 8
or eax, ecx
lea ebx, [ebx]
mov ecx, eax
dec edx
and ecx, 0x3f
shr eax, 6
mov cl, byte [ecx + 0x794c00]
mov byte [esp + edx + 0x10], cl
test edx, edx
jg 0x5b2be0
push 4
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.005b4980
add esp, 0xc
test eax, eax
jne 0x5b2c9e
sub esi, 3
add edi, 3
cmp esi, 2
jg 0x5b2bc0
test esi, esi
jle 0x5b2cb6
xor ecx, ecx
xor edx, edx
test esi, esi
jle 0x5b2c4c
push ebp
mov ebp, esi
mov dword [esp + 0x10], esi
lea edx, [esi + 1]
movzx eax, byte [edi]
lea edi, [edi + 1]
shl ecx, 8
or ecx, eax
dec ebp
jne 0x5b2c34
pop ebp
cmp esi, 3
jge 0x5b2c5c
mov edx, dword [esp + 0xc]
mov eax, 3
sub eax, edx
inc edx
add edx, eax
shl ecx, 8
dec eax
jne 0x5b2c56
test edx, edx
jle 0x5b2c77
mov eax, ecx
dec edx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x794c00]
mov byte [esp + edx + 0x10], al
test edx, edx
jg 0x5b2c60
mov eax, 3
cmp esi, eax
jge 0x5b2c8a
mov byte [esp + eax + 0x10], 0x3d
dec eax
cmp eax, esi
jg 0x5b2c80
push 4
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.005b4980
add esp, 0xc
test eax, eax
je 0x5b2cb6
mov eax, dword [ebx + 0x143f4]
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.006f7ca4
add esp, 0xc
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
pop esi
pop edi
pop ebx
xor ecx, esp
call fcn.006f7ca4
add esp, 0xc
ret
Function at 0x5bbe90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7617d0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
push 0x23
push str.could_not_add_recipient_certificate
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.00409620
lea eax, [edi + 0x5c]
mov dword [esp + 0x68], 0
push eax
push dword [esp + 0x74]
call fcn.006c6be0
add esp, 8
lea ecx, [esp + 0x30]
cmp dword [esp + 0x44], 0x10
mov esi, eax
lea eax, [esp + 0xc]
cmovae ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x10]
push eax
call fcn.006f89c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], vtable.x509_wrapper::CryptoProtocolsCppException.0
call fcn.006f8a34
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x68], 0xffffffff
jb 0x5bbf46
push dword [esp + 0x30]
call fcn.006f75a9
add esp, 4
push 0
push 0x77e880
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00409620
push 0
push fcn.005bd060
push 0
lea eax, [edi + 0x20]
mov dword [esp + 0x74], 1
push eax
push dword [esp + 0x80]
call fcn.006c6fc0
add esp, 0x14
lea ecx, [esp + 0x48]
cmp dword [esp + 0x5c], 0x10
mov esi, eax
lea eax, [esp + 0x70]
cmovae ecx, dword [esp + 0x48]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x20]
push eax
call fcn.006f89c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], vtable.x509_wrapper::CryptoProtocolsCppException.0
call fcn.006f8a34
cmp dword [esp + 0x5c], 0x10
jb 0x5bbfd9
push dword [esp + 0x48]
call fcn.006f75a9
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x60
ret 4