joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ae5b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5b35a0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ecx], vtable.BrokerMAPIObject.0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x14], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x30], 7
mov dword [ecx + 0x2c], 0
mov word [ecx + 0x1c], 0
mov dword [ecx + 0x48], 7
mov dword [ecx + 0x44], 0
mov word [ecx + 0x34], 0
mov dword [ecx + 0x60], 7
mov dword [ecx + 0x5c], 0
mov word [ecx + 0x4c], 0
mov dword [ecx + 0x78], 0xf
mov dword [ecx + 0x74], 0
mov byte [ecx + 0x64], 0
mov dword [ecx + 0x90], 0xf
mov dword [ecx + 0x8c], 0
mov byte [ecx + 0x7c], 0
mov dword [ecx + 0xa8], 0xf
mov dword [ecx + 0xa4], 0
mov byte [ecx + 0x94], 0
mov dword [ecx + 0xb0], 0
mov dword [ecx + 0xac], 0
mov dword [ecx + 0xb8], 0
mov dword [ecx + 0xb4], 0
mov dword [ecx + 0xc0], 0
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xc4], 0
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xcc], 0
mov dword [ecx + 0xd8], 0
mov dword [ecx + 0xd4], 0
mov dword [ecx + 0xe0], 0
mov dword [ecx + 0xdc], 0
mov dword [ebp - 0x10], 0
push 0x68d734
call fcn.00436bb0
add esp, 4
mov edx, dword [ebp - 0x20]
mov esi, 3
test eax, eax
mov dword [edx + 0xe0], eax
je 0x5ae806
push 8
mov dword [ebp - 0x24], eax
call fcn.005d0220
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], 1
push str.MAPIFreeBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push str.MAPIAllocateBuffer
mov eax, dword [ebp - 0x20]
push dword [eax + 0xe0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xac], ecx
mov eax, dword [eax + 0xe0]
mov dword [ebp - 0x10], 0
push str.MAPIInitialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
push str.MAPIUninitialize
push dword [ecx + 0xe0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], eax
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x5ae801
test eax, eax
mov esi, 3
je 0x5ae806
mov dword [ebp - 0x10], 0xffffffff
call dword [0x64689c]
mov dword [ebp - 0x10], 0
push 0
call ecx
mov edx, dword [ebp - 0x20]
mov esi, 1
test eax, eax
jns 0x5ae806
jmp 0x5ae80c
mov esi, 3
mov dword [edx + 0xb8], esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5b6140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5b72a0
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x30]
mov byte [esi], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 0x28], eax
push 0x18
call fcn.005d0220
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x30], eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 0
push 0x18
call fcn.005d0220
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ecx + 0x54], eax
lea edx, [ecx + 0x54]
lea eax, [ecx + 0x38]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], edx
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x20]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5d4510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x21c], 0
call fcn.0061e8c0
mov bx, word [ebp + 0x10]
xor eax, eax
cmp dword [ebp + 0xc], eax
mov ecx, 0x64d720
mov dword [ebp - 0x210], 0
sete al
mov dword [ebp - 0x214], 0
movzx esi, ax
test bx, bx
mov eax, 0x64d780
mov dword [ebp - 0x218], 4
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005cfe48
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5d465f
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5d462a
cmp dword [ebp - 0x210], 4
jne 0x5d462a
push dword [ebp - 0x21c]
xor ebx, ebx
cmp dword [ebp - 0x214], ebx
setne bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0x10], 0
mov ebx, esi
je 0x5d463f
test edi, edi
je 0x5d463f
mov eax, 1
mov word [edi], ax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret
mov eax, esi
test bx, bx
je 0x5d4674
test edi, edi
je 0x5d4674
mov eax, 1
mov word [edi], ax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ce525
mov esp, ebp
pop ebp
ret
Function at 0x5d4ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
xor bl, bl
push edi
mov edi, dword [ebp + 8]
push eax
push ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
mov dword [ebp - 0x818], edx
push 0x400
push eax
call fcn.005d4fb0
add esp, 0x14
test eax, eax
js 0x5d4f9a
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0
push eax
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5d4f9a
mov dword [ebp - 0x808], eax
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x810], 4
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push dword [ebp - 0x818]
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5d4f8e
cmp dword [ebp - 0x808], 4
jne 0x5d4f8e
cmp dword [ebp - 0x80c], eax
mov bl, 1
setne al
mov dword [esi], eax
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ce525
mov esp, ebp
pop ebp
ret

Function at 0x5d7620
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x5d7643
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5d7678
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x5d7678
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x5d766d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5d7678
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x5d76b5
push 0x68e5f0
push 0x208
call fcn.005db7ed
mov esi, eax
add esp, 8
test esi, esi
je 0x5d76b5
push 0x208
push 0
push esi
call fcn.0061e8c0
push 0
push esi
call fcn.005eb1e0
add esp, 0x14
test eax, eax
je 0x5d76ba
push esi
call fcn.005db8b4
add esp, 4
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
jae 0x5d76cc
add eax, 0x3e8
push ebx
push 1
push eax
push esi
call fcn.005eb3d0
xor ebx, ebx
add esp, 0xc
test eax, eax
sete bl
test eax, eax
jne 0x5d7717
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
je 0x5d7716
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 1
jne 0x5d7703
push 0
push 0xce
jmp 0x5d770d
test edi, edi
jne 0x5d7716
push edi
push 0xcc
push esi
call fcn.005eb3d0
add esp, 0xc
pop edi
push esi
call fcn.005db8b4
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x5d8310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640a81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6d301c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x6ced94]
cmp eax, dword [ecx + 4]
jg 0x5d8374
mov eax, dword [0x6ced90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret
push 0x6ced94
call fcn.005d3d07
add esp, 4
cmp dword [0x6ced94], 0xffffffff
jne 0x5d8355
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x20019
xor esi, esi
mov dword [ebp - 0x2c], 0
push esi
push 0x64d058
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5d83fa
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 4
push eax
push esi
push 0x64d0cc
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5d83ef
cmp dword [ebp - 0x14], 4
jne 0x5d83ef
mov esi, dword [ebp - 0x18]
jmp 0x5d8450
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5d83fa
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push 0x64d100
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5d845b
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], esi
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], 4
push eax
push 0
push str.bEnableEventViewerLogging
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5d8450
cmp dword [ebp - 0x1c], 4
cmove esi, dword [ebp - 0x20]
jmp 0x5d8450
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5d845b
push 0x6ced94
mov dword [0x6ced90], esi
call fcn.005d3d59
add esp, 4
jmp 0x5d8355
Function at 0x5dc1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x6d073c], 0
jne 0x5dc251
mov eax, 1
mov word [0x6d073c], ax
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push str.SOFTWAREAdobeAcroPerf
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5dc251
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 4
push ecx
push 0
push 0
push str.bLaunchTiming
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
xor eax, eax
cmp dword [ebp - 8], eax
setne al
mov word [0x6d0738], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov ax, word [0x6d0738]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret

Function at 0x5dc451
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006377f1
Function at 0x5e4630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64176e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov dword [ebp - 0x18], 0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x64cb30
mov dword [ebp - 4], 0
mov word [esi], ax
call fcn.005d2810
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x65818c
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x5e46e6
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x5e46e6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5e46c5
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.005d2810
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret
Function at 0x5e9a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6ced8b], 0
je 0x5e9a43
cmp byte [ebp + 8], 0
je 0x5e9b7a
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push 0x64cc18
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5e9b73
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5e9b73
cmp byte [0x6ced8b], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 4
jne 0x5e9abd
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.bIsSingleClientApp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5e9abd
cmp dword [ebp - 0xc], 4
jne 0x5e9abd
cmp dword [ebp - 8], eax
setne byte [0x6ced89]
cmp byte [0x6ced89], 0
je 0x5e9b6a
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.bIsSCAcroAppInstalled
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5e9b01
cmp dword [ebp - 0xc], 4
jne 0x5e9b01
cmp dword [ebp - 8], eax
setne byte [0x6ced88]
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x64ccc4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5e9b3a
mov eax, dword [0x6c8004]
cmp dword [ebp - 0xc], 4
cmove eax, dword [ebp - 8]
mov dword [0x6c8004], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.IsAcrInstalledInRdrMode
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5e9b6a
cmp dword [ebp - 0xc], 4
jne 0x5e9b6a
cmp dword [ebp - 8], eax
setne byte [0x6ced8a]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [0x6ced8b], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret
Function at 0x5e9b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641b41
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6ccc30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x38]
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [ebp - 0x14], esi
lfence
call fcn.005d0220
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 4], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 7
mov word [edi + 0x40], ax
xor ecx, ecx
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], 7
mov word [edi + 0x58], cx
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], 7
mov word [edi + 0x70], ax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x14]
push eax
mov byte [ebp - 4], 3
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], ecx
mov dword [edi], ecx
mov byte [edi + 0xc], cl
mov byte [edi + 0x88], cl
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x5e9c8b
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x5e9c72
sub edx, ecx
lea ecx, [edi + 0x40]
sar edx, 1
push edx
push esi
call fcn.005d2810
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x5e9cb0
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x5e9c97
sub edx, ecx
lea ecx, [edi + 0x58]
sar edx, 1
push edx
push esi
call fcn.005d2810
call fcn.005e9600
cmp eax, 0x68
jl 0x5e9cef
push 0x64cdb8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x5e9cef
push str.GetNamedPipeServerProcessId
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNamedPipeClientProcessId
push esi
mov dword [edi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x90], eax
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 0xc
Function at 0x5ea8a0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x14], eax
xor esi, esi
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x5ea9df
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x190000
push 3
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5ea93f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x5ea9ca
push dword [ebp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x5ea9ca
push esi
push 0x190000
push 3
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x5ea9ca
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x5ea9c3
cmp dword [ebp + 0x24], esi
je 0x5ea98a
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x8c]
test ebx, ebx
je 0x5ea98a
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push edi
mov ecx, ebx
call dword [0x64689c]
call ebx
test eax, eax
je 0x5ea98a
mov eax, dword [ebp - 8]
test eax, eax
je 0x5ea98a
cmp eax, dword [ebp + 0x24]
je 0x5ea98a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 8], eax
jne 0x5ea9be
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x5ea9be
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov esi, eax
cmp edi, 0xffffffff
je 0x5ea9ca
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ce525
mov esp, ebp
pop ebp
ret 0x20
Function at 0x5eb1e0
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x68e5f0
push 0x208
call fcn.005db7ed
mov esi, eax
add esp, 8
test esi, esi
je 0x5eb3b1
push edi
push 0x208
push 0
push esi
call fcn.0061e8c0
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.0061e8c0
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0061e8c0
add esp, 0x24
mov dword [ebp - 0x420], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push 0x105
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x105
lea eax, [ebp - 0x41c]
push eax
push 0x64cfb4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x5eb2e2
mov edi, dword [ebp - 0x420]
xor ecx, ecx
nop dword [eax]
cmp ecx, 0x103
je 0x5eb2dc
mov eax, 0xcccccccd
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub edi, eax
mov ax, word [edi*2 + str.0123456789]
mov edi, edx
mov word [esi + ecx*2], ax
inc ecx
test edi, edi
jne 0x5eb2b0
xor eax, eax
mov word [esi + ecx*2], ax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x5eb322
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x5eb38e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
push 0x104
push esi
lfence
call fcn.005e9170
mov edi, str..pipe32B6B37A_4A7D_4e00_95F2_6F0BF3DE3E00
mov edx, 0x104
mov ecx, ebx
sub edi, ebx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x5eb34e
movzx eax, word [edi + ecx]
test ax, ax
je 0x5eb34e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x5eb330
test edx, edx
lea eax, [ecx - 2]
pop edi
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x5eb3b1
push esi
push 0x104
push ebx
call fcn.005e9170
test eax, eax
js 0x5eb3b1
push esi
lfence
call fcn.005db8b4
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x5eb30f
cmp dword [ebp + 0xc], 0
jne 0x5eb30f
push str.TsnIorcAeBoda
jmp 0x5eb314
mov ecx, dword [ebp - 4]
mov eax, 8
pop esi
xor ecx, ebp
pop ebx
call fcn.005ce525
mov esp, ebp
pop ebp
ret
Function at 0x5eb3d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push esi
push 0x190000
push 3
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5eb424
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0xd
pop esi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x5eb458
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5eb46f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
cmove esi, eax
jmp 0x5eb504
cmp dword [ebp + 0x10], esi
je 0x5eb504
push edi
mov dword [ebp - 0xc], esi
xor edi, edi
nop
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5eb4ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
cmove esi, eax
cmp esi, 0xe8
jne 0x5eb4c8
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x5eb480
jmp 0x5eb503
test esi, esi
jne 0x5eb503
jmp 0x5eb4d4
cmp dword [ebp - 8], 4
jne 0x5eb4fe
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 0xc]
inc ecx
cmp eax, ecx
mov dword [ebp - 8], eax
push edx
lea eax, [ebp - 0x10]
mov esi, 0xd
push eax
push 4
lea eax, [ebp - 8]
cmove esi, edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x5eb503
mov esi, 0xd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ce525
mov esp, ebp
pop ebp
ret