joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481645
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00479170
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4816e0
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4dd1c0]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4816e0
cmp eax, 1
je 0x481701
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4816e0
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4816ad
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4816dc
xor eax, eax
inc eax
jmp 0x481720
cmp edi, eax
jae 0x4816e4
xor eax, eax
jmp 0x481720
cmp eax, esi
jae 0x4816eb
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4dd1c0]
jmp 0x481704
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48308d
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4c9cd4]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x4830be
xor eax, eax
jmp 0x483247
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x4dd6c0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x4830fa
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.00486f33
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4831d5
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x483213
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x48315e
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x48314f
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x48312f
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48319e
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x4831a7
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x483120
jmp 0x4831a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x483242
cmp dword [ebp - 0x6c], edi
je 0x483213
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x483208
call fcn.00479d62
mov dword [eax], 9
call fcn.00479d6b
mov dword [eax], esi
jmp 0x48323d
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4831fd
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x4831a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x4831a9
push dword [ebp - 0x6c]
call fcn.00479d74
pop ecx
jmp 0x48323d
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x48322b
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x48322b
xor eax, eax
jmp 0x483245
call fcn.00479d62
mov dword [eax], 0x1c
call fcn.00479d6b
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x483245
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00481759
add ebp, 0x3a0
leave
ret
Function at 0x4833c2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x483596
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4dd6c0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x483596
test cl, 0x48
je 0x48342d
cmp byte [eax + 5], 0xa
je 0x48342d
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48347f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x483467
call fcn.00479d62
mov dword [eax], 9
call fcn.00479d6b
mov dword [eax], esi
jmp 0x483477
cmp eax, 0x6d
je 0x483596
push eax
call fcn.00479d74
pop ecx
or eax, 0xffffffff
jmp 0x483598
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x483591
test eax, eax
je 0x4834a6
cmp byte [ebx], 0xa
jne 0x4834a6
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x4834af
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x48358b
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x48357b
cmp al, 0xd
je 0x4834e1
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x48356d
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4834fb
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4834f6
add dword [ebp + 0x10], 2
jmp 0x48354f
mov dword [ebp + 0x10], eax
jmp 0x483569
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x483523
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x483569
cmp dword [ebp - 0xc], 0
je 0x483569
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x483544
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x48354f
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x48356c
cmp ebx, dword [ebp + 0xc]
jne 0x483554
cmp byte [ebp - 1], 0xa
jne 0x483554
mov byte [ebx], 0xa
jmp 0x48356c
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004844f3
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x48356d
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x4834c5
jmp 0x48358b
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x48358b
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x483598
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4851f9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4dd598], ebx
push esi
push edi
jne 0x485279
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4852b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b1c1c
push edi
call esi
test eax, eax
mov dword [0x4dd598], eax
je 0x4852b4
push 0x4b1c0c
push edi
call esi
push 0x4b1bf8
push edi
mov dword [0x4dd59c], eax
call esi
cmp dword [0x4dd1c0], 2
mov dword [0x4dd5a0], eax
jne 0x485279
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4dd5a8], eax
je 0x485279
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4dd5a4], eax
mov eax, dword [0x4dd5a4]
test eax, eax
je 0x4852be
call eax
test eax, eax
je 0x4852a5
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4dd5a8]
test eax, eax
je 0x4852a5
test byte [ebp - 8], 1
jne 0x4852be
cmp dword [0x4dd1cc], 4
jb 0x4852b8
or byte [ebp + 0x12], 0x20
jmp 0x4852dd
xor eax, eax
jmp 0x4852ed
or byte [ebp + 0x12], 4
jmp 0x4852dd
mov eax, dword [0x4dd59c]
test eax, eax
je 0x4852dd
call eax
mov ebx, eax
test ebx, ebx
je 0x4852dd
mov eax, dword [0x4dd5a0]
test eax, eax
je 0x4852dd
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4dd598]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4853d1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4853ff
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x485406
cmp ebx, dword [eax + 4]
jae 0x485406
xor eax, eax
jmp 0x4855f6
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x485417
xor eax, eax
inc eax
jmp 0x4855f5
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x48542d
cmp ecx, edx
jae 0x485572
cmp dword [eax + 4], 0
je 0x485436
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x48541e
cmp dword [ebp + 8], 0
je 0x485458
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x485572
cmp eax, esi
jae 0x485572
mov eax, dword [0x4dd5b0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x48547d
cmp dword [esi*4 + 0x4dd5b8], edi
je 0x485576
inc esi
cmp esi, eax
jl 0x48546b
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4855f2
cmp dword [ebp - 8], 0x1000000
jne 0x4855f2
test byte [ebp - 0xc], 0xcc
je 0x4854fb
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4855f2
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4855f2
cmp word [eax + 0x18], 0x10b
jne 0x4855f2
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4855f2
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4854fb
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4854fb
test byte [ecx + 0x27], 0x80
jne 0x485572
push 1
push 0x4dd5f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x48540f
mov ecx, dword [0x4dd5b0]
test ecx, ecx
mov edx, ecx
jle 0x48552f
lea eax, [ecx*4 + 0x4dd5b4]
cmp dword [eax], edi
je 0x48552f
dec edx
sub eax, 4
test edx, edx
jg 0x485523
test edx, edx
jne 0x485560
push 0xf
pop ebx
cmp ecx, ebx
jg 0x48553c
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x485554
lea eax, [edx*4 + 0x4dd5b8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x485542
cmp ecx, 0x10
jge 0x485560
inc ecx
mov dword [0x4dd5b0], ecx
push 0
push 0x4dd5f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x48540f
xor eax, eax
jmp 0x4855f5
test esi, esi
jle 0x48540f
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4dd5f8
call ebx
test eax, eax
jne 0x48540f
cmp dword [esi*4 + 0x4dd5b8], edi
je 0x4855cc
mov eax, dword [0x4dd5b0]
lea esi, [eax - 1]
test esi, esi
jl 0x4855ba
cmp dword [esi*4 + 0x4dd5b8], edi
je 0x4855b6
dec esi
jns 0x4855aa
test esi, esi
jge 0x4855ca
cmp eax, 0x10
jge 0x4855c5
inc eax
mov dword [0x4dd5b0], eax
lea esi, [eax - 1]
jmp 0x4855cc
je 0x4855e4
xor ecx, ecx
test esi, esi
jl 0x4855e4
lea eax, [ecx*4 + 0x4dd5b8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4855d2
push 0
push 0x4dd5f8
call ebx
jmp 0x48540f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48c01f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48c057
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048a0ed
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048a0c5
jmp 0x48c063
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48d70d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48d74f
call fcn.0049308f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48d74f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48d746
xor eax, eax
jmp 0x48d757
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048d75d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4935bf
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4935ed
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49360b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00493525
jmp 0x49360b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49360b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00493525
test edi, edi
mov eax, edi
jne 0x4935f5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xd536b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x52d000]
push edi
or ebp, 0xffffffff
jmp 0xd536d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd536d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd536c8
mov eax, 1
add ebx, ebx
jne 0xd536eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd536fc
jne 0xd5371b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd5371b
dec eax
add ebx, ebx
jne 0xd53708
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd536e0
add ebx, ebx
jne 0xd53717
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd5376d
xor ecx, ecx
sub eax, 3
jb 0xd53733
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd537a2
sar eax, 1
mov ebp, eax
jmp 0xd5373e
add ebx, ebx
jne 0xd5373e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd5370c
inc ecx
add ebx, ebx
jne 0xd5374c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd5370c
add ebx, ebx
jne 0xd53759
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd5374e
jne 0xd5376a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd5374e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd5378c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd5377e
jmp 0xd536ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd5378c
add edi, ecx
jmp 0xd536ce
pop esi
mov edi, esi
mov ecx, 0x19d1b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xd537aa
cmp byte [edi], 0x82
jne 0xd537aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xd537af
lea edi, [esi + 0x94f000]
mov eax, dword [edi]
or eax, eax
je 0xd53827
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9658f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x965a70]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd537dc
mov ecx, edi
jns 0xd5380b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x965a74]
or eax, eax
je 0xd53821
mov dword [ebx], eax
add ebx, 4
jmp 0xd537f9
call dword [esi + 0x965a84]
mov ebp, dword [esi + 0x965a78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xd5385b
sub esp, 0xffffff80
jmp 0x73ef45
Function at 0x4018e8
Capabilities:
Create process on windows

Disassembly:
jmp 0x403f80
push esi
push str.StopLvdunService
call fcn.004013e8
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 4
push 0
push 0
push str._F__IM__iNodeLvdun.exe_
push str.taskkill
push str.open
push 0
call esi
push 0
push 0
push str._F__IM__iNodeDlpAgent.exe_
push str.taskkill
push str.open
push 0
call esi
push 0
push 0
push str._F__IM__LdMainControl.exe_
push str.taskkill
push str.open
push 0
call esi
push 0
push 0
push str._F__IM__ldbusiness_32.exe_
push str.taskkill
push str.open
push 0
call esi
push 0
push 0
push str._F__IM__ldbusiness_64.exe_
push str.taskkill
push str.open
push 0
call esi
push 0
push 0
push str._F__IM__LdContentAware.exe_
push str.taskkill
push str.open
push 0
call esi
push 0
push 0
push str._F__IM__LdFileGate.exe_
push str.taskkill
push str.open
push 0
call esi
push 0
push 0
push str._F__IM__LdMsgInject.exe_
push str.taskkill
push str.open
push 0
call esi
push 0
push 0
push str._F__IM__LdMsgInject64.exe_
push str.taskkill
push str.open
push 0
call esi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
ret

Function at 0x4023b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x454670]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x4023ef
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b181
mov esp, ebp
pop ebp
ret
call fcn.004016fe
test eax, eax
je 0x402406
lea eax, [ebp - 0x10c]
push eax
push 0x101
jmp 0x40240f
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4023dc
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push ebx
push edx
mov dword [ebp - 0x110], 2
mov dword [ebp - 0x118], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4023dc
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402476
sub eax, edx
cmp dword [ebp + 0x18], eax
jb 0x4023dc
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x108]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402498
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041b181
mov esp, ebp
pop ebp
ret
Function at 0x404140
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x454670]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.0041b8c0
push str.componentsLdMainControl.exe
push str.C:iNode_DAM_Agent_
lea ecx, [ebp - 0x108]
push 0x44a780
push ecx
call fcn.0041b190
lea edx, [ebp - 0x108]
push edx
call fcn.004013e8
lea eax, [ebp - 0x108]
push eax
call fcn.00401636
add esp, 0x24
test eax, eax
je 0x4041fe
push esi
push edi
push str.uninstall_lvdun_main_control_begin
call fcn.004013e8
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 4
push 0
push 0
push str._stop
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
push 0
push 0
push str._uninstall
lea edx, [ebp - 0x108]
push edx
push 0
push 0
call esi
push 0x3e8
call edi
pop edi
pop esi
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0041b8c0
push str.componentsLdDriverSetUp.dll
push str.C:iNode_DAM_Agent_
lea ecx, [ebp - 0x108]
push 0x44a780
push ecx
call fcn.0041b190
lea edx, [ebp - 0x108]
push edx
call fcn.00401636
add esp, 0x20
test eax, eax
je 0x40424e
lea eax, [ebp - 0x108]
push eax
call fcn.004018e3
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b181
mov esp, ebp
pop ebp
ret

Function at 0x4042b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x454670]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.0041b8c0
push str.LdMainControl.exe
push esi
lea ecx, [ebp - 0x108]
push 0x44a780
push ecx
call fcn.0041b190
lea edx, [ebp - 0x108]
push edx
call fcn.004013e8
lea eax, [ebp - 0x108]
push eax
call fcn.00401636
add esp, 0x24
pop esi
test eax, eax
je 0x40433f
push str.uninstall_lvdun_main_control_begin
call fcn.004013e8
add esp, 4
push 0
push 0
push str._uninstall
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b181
mov esp, ebp
pop ebp
ret
Function at 0x405760
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x405786
push str.createSnapshot__of_processes_
call fcn.004013e8
add esp, 4
xor eax, eax
pop edi
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4057a2
push str.process32First
jmp 0x4057cb
push ebx
mov ebx, dword [ebp + 8]
cmp dword [esi + 8], ebx
je 0x4057c3
jmp 0x4057b0
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4057c0
cmp dword [esi + 8], ebx
jne 0x4057b0
cmp dword [esi + 8], ebx
pop ebx
je 0x4057e0
push str.finding_proc_failed.
call fcn.004013e8
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop edi
pop ebp
ret