joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004b10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069641
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x10004b5d
mov eax, dword [ecx]
jmp 0x10004b5f
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.1000d770
lea eax, [ebp - 0x5c]
push eax
call fcn.10008b30
add esp, 0x1c
mov esi, eax
push 5
push str.SCAN
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.1000d670
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10009bf0
add esp, 0xc
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10004bcd
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1000d9b0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x10004bf8
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1000d9b0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x10004c14
mov eax, dword [edi]
jmp 0x10004c16
mov eax, edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call fcn.1000f0e0
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x10004caf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x10004c8e
cmp dword [ebp - 0x14], 0
jne 0x10004c8e
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov ecx, ebx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10004fa0
test al, al
je 0x10004ca4
mov ecx, ebx
mov byte [ebx + 0x415c], 1
call fcn.10004ff0
push esi
mov byte [ebx + 0x415c], 0
call fcn.1000ef70
add esp, 4
jmp 0x10004cc5
push 4
push str.:_OK
mov ecx, edi
call fcn.1000d410
push edi
mov ecx, ebx
call fcn.100055c0
push esi
call fcn.1000ef70
add esp, 4
jmp 0x10004cc5
push 4
push str.:_OK
mov ecx, edi
call fcn.1000d410
push edi
mov ecx, ebx
call fcn.100055c0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10004cda
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.1000d9b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100143ff
mov esp, ebp
pop ebp
ret 4
Function at 0x10004f30
Capabilities:
Create tcp socket

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi + 0x78]
call dword [0x100a2910]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x78], eax
lea esi, [edi + 0x40c0]
mov eax, 2
push str.127.0.0.1
mov word [esi], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100a290c]
cmp eax, 0xffffffff
pop edi
setne al
pop esi
ret
Function at 0x10005cc0
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x194]
mov edi, ecx
push eax
push 0x101
call dword [0x100a2904]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
je 0x10005d54
push esi
mov eax, 2
lea esi, [edi + 0x40c0]
push str.127.0.0.1
mov word [esi], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100a290c]
pop esi
cmp eax, 0xffffffff
jne 0x10005d6b
push dword [edi + 0x78]
call dword [0x100a2910]
call dword [0x100a2908]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143ff
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.10004f30
test al, al
je 0x10005d88
push 0
push 4
push str.PING
push dword [edi + 0x78]
call dword [0x100a2914]
mov ecx, edi
call fcn.10004ff0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.100143ff
mov esp, ebp
pop ebp
ret

Function at 0x10006330
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100698ac
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
push str.QueryFullProcessImageNameW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea esi, [edi + 0x40d0]
mov ecx, dword [esi]
mov dword [ebp - 4], 0
push dword [ecx + 4]
mov ecx, esi
call fcn.1000c6f0
mov eax, dword [esi]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esi + 4], 0
mov dword [ebp - 0x26c], 0x22c
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
push eax
push 2
mov byte [ebp - 4], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1000642f
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x1000642f
nop dword [eax]
push dword [ebp - 0x264]
mov ecx, edi
call fcn.10006460
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x10006410
push esi
call fcn.1000ef70
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100143ff
mov esp, ebp
pop ebp
ret
Function at 0x10006460
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100698df
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x438], 0x428
lea eax, [ebp - 0x438]
push eax
push edi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x10006597
mov ebx, dword [ebp - 0x454]
xor eax, eax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
cmp word [ebp - 0x218], ax
je 0x10006500
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100064f1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x450]
call fcn.1000d890
push ebx
lea eax, [ebp - 0x450]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x458]
push eax
lea ecx, [esi + 0x40d0]
call fcn.1000a460
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x10006582
mov ecx, dword [ebp - 0x450]
inc eax
cmp eax, 0x7fffffff
ja 0x100065be
add eax, eax
cmp eax, 0x1000
jb 0x10006579
test cl, 0x1f
jne 0x100065be
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100065be
sub ecx, eax
cmp ecx, 4
jb 0x100065be
cmp ecx, 0x23
ja 0x100065be
mov ecx, eax
push ecx
call fcn.10013dcc
add esp, 4
lea eax, [ebp - 0x438]
push eax
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x100064c2
push edi
call fcn.1000ef70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100143ff
mov esp, ebp
pop ebp
ret 4
call fcn.1003dff5
int3
Function at 0x10006f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push edi
push 0x44
push 0
lea eax, [ebx + 0x40e0]
mov dword [ebp - 8], ebx
push eax
call fcn.10036890
push 0x100a278c
call fcn.10012749
add esp, 0x10
test eax, eax
je 0x10006f98
push eax
call fcn.10012c74
add esp, 4
lea ecx, [ebx + 0x407c]
mov byte [ebx + 0x40dd], 0
mov byte [ebx + 0x40da], 0
mov byte [ebx + 0x29], 0
call fcn.1000cd30
push dword [ebp + 8]
lea esi, [ebx + 0x4130]
mov dword [ebx + 0x40a4], 0
mov dword [ebx + 0x416c], 0
push esi
push dword [esi + 4]
mov dword [ebp - 4], esi
push dword [esi]
call fcn.1000a230
mov eax, dword [esi]
push dword [ebp + 8]
mov dword [esi + 4], eax
lea esi, [ebx + 0x413c]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.1000a230
mov edi, dword [ebp + 8]
add esp, 0x20
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, 0x2aaaaaab
mov byte [ebx + 0x40dc], 1
xor ebx, ebx
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10007052
xor esi, esi
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
add eax, esi
push eax
call fcn.1000e7a0
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
inc ebx
imul ecx
add esi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10007027
mov esi, dword [ebp - 8]
push 0
push 0
push esi
push 0x10003460
push 0
push 0
call fcn.10048b4f
push 0x100a278c
mov dword [esi + 0x416c], eax
call fcn.100127c0
add esp, 0x1c
pop edi
pop esi
pop ebx
test eax, eax
je 0x1000708b
push eax
call fcn.10012c74
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x100070a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
push 0x44
push 0
mov dword [ebp - 8], edi
lea eax, [edi + 0x40e0]
push eax
call fcn.10036890
push 0x100a278c
call fcn.10012749
add esp, 0x10
test eax, eax
je 0x100070d8
push eax
call fcn.10012c74
add esp, 4
lea ecx, [edi + 0x407c]
mov byte [edi + 0x40dd], 0
mov byte [edi + 0x40da], 0
mov byte [edi + 0x29], 0
call fcn.1000cd30
push dword [ebp + 8]
lea esi, [edi + 0x4130]
mov dword [edi + 0x40a4], 0
mov dword [edi + 0x416c], 0
push esi
push dword [esi + 4]
push dword [esi]
call fcn.1000a230
push dword [ebp + 8]
mov eax, dword [esi]
lea ebx, [edi + 0x413c]
mov dword [esi + 4], eax
push ebx
push dword [ebx + 4]
mov dword [ebp - 4], ebx
push dword [ebx]
call fcn.1000a230
mov eax, dword [ebx]
add esp, 0x20
mov esi, dword [ebp + 8]
mov dword [ebx + 4], eax
mov eax, 0x2aaaaaab
mov byte [edi + 0x40dc], 1
xor ebx, ebx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10007195
xor edi, edi
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
add eax, edi
push eax
call fcn.1000e7a0
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
inc ebx
imul ecx
add edi, 0x18
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x10007167
mov edi, dword [ebp - 8]
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
push 0
push 0
sar edx, 2
push edi
mov eax, edx
push 0x10003460
shr eax, 0x1f
add eax, edx
push 0
push 0
mov dword [edi + 0x40fc], eax
call fcn.10048b4f
push 0x100a278c
mov dword [edi + 0x416c], eax
call fcn.100127c0
add esp, 0x1c
pop edi
pop esi
pop ebx
test eax, eax
je 0x100071e7
push eax
call fcn.10012c74
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x10007a80
Capabilities:
Check if file exists
Check mutex on windows
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10084431], 0
push esi
mov esi, ecx
je 0x10007be9
xor eax, eax
mov dword [ebp - 0xe], 0x6d0054
push edi
mov word [ebp - 0xa], ax
mov edi, 0x64
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x700055
push eax
push 0x5a0
mov word [ebp - 0x10], di
call fcn.10007c00
test eax, eax
je 0x10007be8
push 0x5a0
mov ecx, esi
call fcn.10008330
test eax, eax
je 0x10007be8
push str.GlobalAsteriusAPCPDBUpdMutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x10007b17
push eax
call fcn.1000ef70
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143ff
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10007be8
lea edx, [eax + 0x63]
mov dword [ebp - 0x48], 0x650073
push ebx
lea ebx, [eax + 0x72]
mov dword [ebp - 0x1c], 0x2e0074
mov eax, 0x77
mov word [ebp - 0x50], bx
mov word [ebp - 0x22], ax
xor eax, eax
cmp dword [0x1008443c], 0
mov word [ebp - 0x18], ax
mov eax, 0x73
mov word [ebp - 0x44], ax
mov eax, 0x61
mov dword [ebp - 0x26], 0x200065
mov dword [ebp - 0x2a], 0x730061
mov dword [ebp - 0x3e], 0x640070
mov dword [ebp - 0x4e], 0x420020
mov dword [ebp - 0x30], 0x6c0050
mov dword [ebp - 0x20], 0x690061
mov dword [ebp - 0x42], 0x550020
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x54], 0x720061
mov dword [ebp - 0x34], 0x20002e
mov dword [ebp - 0x58], 0x740053
mov dword [ebp - 0x38], 0x650074
mov word [ebp - 0x3a], ax
mov word [ebp - 0x4a], ax
pop ebx
je 0x10007bcd
mov eax, dword [0x1008443c]
push eax
call fcn.1000ef70
add esp, 4
push 0
push 0
push esi
push 0x10002980
push 0
push 0
call fcn.10048b4f
add esp, 0x18
mov dword [0x1008443c], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100143ff
mov esp, ebp
pop ebp
ret
Function at 0x10008330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [ebx + 0x4178]
lea esi, [ebx + 0x4178]
shl edi, 4
sub edi, dword [ebp + 8]
shl edi, 2
or eax, dword [esi + 4]
mov dword [ebp - 0x24], ebx
jne 0x100083b4
cmp dword [ebx + 0x41b0], 8
lea eax, [ebx + 0x419c]
jb 0x10008376
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call fcn.1000f0e0
mov ebx, eax
add esp, 0x1c
cmp ebx, 0xffffffff
je 0x100083b1
push 0
lea eax, [ebp - 8]
push eax
push 8
push esi
push ebx
call dword [0x100a28f0]
push ebx
call fcn.1000ef70
add esp, 4
mov ebx, dword [ebp - 0x24]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x20], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
movq qword [ebp - 0x1e], xmm0
call fcn.1000f710
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000f4a0
mov eax, dword [ebp - 0xc]
add esp, 0xc
xor ecx, ecx
and eax, 0x7fffffff
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
sub ecx, dword [esi]
push 0
mov dword [ebp - 8], eax
sbb eax, dword [esi + 4]
push 0x989680
push eax
push ecx
call fcn.10014410
test edx, edx
jl 0x10008484
jg 0x10008418
cmp eax, edi
jbe 0x10008484
mov eax, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
lea eax, [ebx + 0x419c]
cmp dword [eax + 0x14], 8
jb 0x10008431
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call fcn.1000f0e0
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x1000846c
push 0
lea eax, [ebp - 8]
push eax
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.1000ef70
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143ff
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100143ff
mov esp, ebp
pop ebp
ret 4
Function at 0x10008690
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x424]
push esi
push 0x400
push 0
push eax
call fcn.10036890
mov eax, 0x2e
mov dword [ebp - 0x1a], 0x2a
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x24], 0x730025
push eax
mov dword [ebp - 0x20], 0x2a005c
call dword [0x100a2934]
add esp, 0x18
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [0x100a28f4]
mov esi, eax
cmp esi, 0xffffffff
je 0x100087f9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x674], 0x10
jne 0x100087db
mov ecx, 0x1006c5a4
lea eax, [ebp - 0x648]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000875e
test dx, dx
je 0x1000875a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000875e
add eax, 4
add ecx, 4
test dx, dx
jne 0x10008738
xor eax, eax
jmp 0x10008763
sbb eax, eax
or eax, 1
test eax, eax
je 0x100087db
mov eax, 0x1006c5a8
lea ecx, [ebp - 0x648]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10008798
test dx, dx
je 0x10008794
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10008798
add ecx, 4
add eax, 4
test dx, dx
jne 0x10008772
xor eax, eax
jmp 0x1000879d
sbb eax, eax
or eax, 1
test eax, eax
je 0x100087db
lea eax, [ebp - 0x648]
mov dword [ebp - 0x10], 0x25005c
push eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0x73
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x14], 0x730025
push eax
call dword [0x100a2934]
add esp, 0x10
lea eax, [ebp - 0x424]
push eax
call edi
lea eax, [ebp - 0x674]
push eax
push esi
call dword [0x100a28f8]
test eax, eax
jne 0x10008720
push esi
call dword [0x100a28fc]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100143ff
mov esp, ebp
pop ebp
ret
Function at 0x10008820
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x424]
push esi
push 0x400
push 0
push eax
call fcn.10036890
mov eax, 0x2e
mov dword [ebp - 0x1a], 0x2a
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x24], 0x730025
push eax
mov dword [ebp - 0x20], 0x2a005c
call dword [0x100a2934]
add esp, 0x18
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [0x100a28f4]
mov esi, eax
cmp esi, 0xffffffff
je 0x10008921
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test byte [ebp - 0x674], 0x10
je 0x10008907
cmp word [ebp - 0x648], 0x2e
je 0x10008907
cmp word [ebp - 0x646], 0x2e
je 0x10008907
lea eax, [ebp - 0x648]
mov dword [ebp - 0x10], 0x25005c
push eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0x73
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x14], 0x730025
push eax
call dword [0x100a2934]
lea eax, [ebp - 0x424]
push eax
call fcn.10008690
add esp, 0x14
lea eax, [ebp - 0x424]
push eax
call edi
lea eax, [ebp - 0x674]
push eax
push esi
call dword [0x100a28f8]
test eax, eax
jne 0x100088a4
push esi
call dword [0x100a28fc]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100143ff
mov esp, ebp
pop ebp
ret

Function at 0x10009300
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov byte [0x10084433], 0
inc esi
cmp esi, 0x1e
jg 0x10009340
push edi
push 0x10009250
call ebx
cmp byte [0x10084433], 0
jne 0x10009340
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x10084433], 0
je 0x10009318
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10009350
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
xor bl, bl
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100094a7
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1000949e
push edi
mov edi, eax
nop
lea eax, [ebp - 0x20c]
push eax
push str.avgcsrvx.exe
call fcn.1003f26b
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgemcx.exe
cmove ebx, edi
call fcn.1003f26b
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgidsagent.exe
cmove ebx, edi
call fcn.1003f26b
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgnsx.exe
cmove ebx, edi
call fcn.1003f26b
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgrsx.exe
cmove ebx, edi
call fcn.1003f26b
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgsvcx.exe
cmove ebx, edi
call fcn.1003f26b
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgui.exe
cmove ebx, edi
call fcn.1003f26b
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avguix.exe
cmove ebx, edi
call fcn.1003f26b
add esp, 0x40
movzx ebx, bl
test eax, eax
lea eax, [ebp - 0x20c]
cmove ebx, edi
push eax
push str.avgwdsvcx.exe
call fcn.1003f26b
add esp, 8
movzx ebx, bl
test eax, eax
lea eax, [ebp - 0x230]
cmove ebx, edi
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x100093a0
pop edi
push esi
call fcn.1000ef70
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.100143ff
mov esp, ebp
pop ebp
ret
Function at 0x100094c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10082094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100094f0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143ff
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0x2000000
push 3
push 0
push 0
push 0x60000
push esi
call fcn.1000f0e0
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x10009525
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143ff
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x221
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
movq qword [ebp - 0x28], xmm0
push eax
movups xmmword [ebp - 0x38], xmm0
push 1
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], 0x10000000
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call dword [0x100a2944]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100095eb
push 0
push eax
push 0
push 0
push 4
push 1
push edi
call dword [0x100a2948]
push dword [ebp - 0x10]
call dword [0x100a294c]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x1c]
call esi
push edi
call fcn.1000ef70
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
call fcn.100143ff
mov esp, ebp
pop ebp
ret