joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c2e30
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x10135128]
mov esi, eax
add esp, 4
test esi, esi
jne 0x100c2e5b
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x100c2eaa
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x100c2eb2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x100c2f23
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x100c2ee0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x100c2f55
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x10126a70
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x10126a71
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x100c2f30
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x100c2f60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.1008d9c0
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [0x10135128]
mov esi, eax
add esp, 8
test esi, esi
je 0x100c30e2
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x100c2fe2
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x100c3053
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x100c3010
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x100c3085
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x10126a70
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x10126a71
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x100c3060
push dword [esp + 0x30]
call fcn.1008d9c0
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x100c30b0
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push esi
call dword [0x1013512c]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x100c48a0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x100c48ec
push ebx
mov ebx, dword [esp + 0x10]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x100c48b1
pop ebx
pop edi
pop esi
ret
Function at 0x100c8290
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101354c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100c840c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100c83f9
cmp dword [ebp - 0x28], 0x10
jb 0x100c83dd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100cb549
cmp dword [ebp - 0x1c], eax
jne 0x100c83dd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100cb549
cmp dword [ebp - 0x20], eax
je 0x100c83dd
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100c8364
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x101363f0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100cb549
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100c8362
jmp 0x100c83f9
jmp 0x100c83bd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100c83bd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101363f0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100cb549
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100c83a7
jmp 0x100c83f9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100c82e3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100cb549
push edx
mov ecx, ebp
push eax
lea edx, [0x100c8438]
call fcn.100cb4f5
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca284
add esp, 0x30
cmp ebp, esp
call fcn.100cb549
mov esp, ebp
pop ebp
ret
Function at 0x100c8450
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100c8290
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100c851b
mov dword [ebp - 4], 0
jmp 0x100c84ac
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100c851b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100cb549
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100c8519
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100cb549
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100c80b0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100cb549
jmp 0x100c84a3
pop esi
add esp, 8
cmp ebp, esp
call fcn.100cb549
mov esp, ebp
pop ebp
ret

Function at 0x100c8530
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100c85db
mov dword [ebp - 4], 0
jmp 0x100c8563
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100c85be
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100cb549
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100c85bc
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100cb549
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100cb549
jmp 0x100c855a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101363f0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100cb549
pop esi
add esp, 8
cmp ebp, esp
call fcn.100cb549
mov esp, ebp
pop ebp
ret
Function at 0x100c85f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x101367c0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100c8653
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100cb549
test eax, eax
jne 0x100c867e
mov eax, 0xa
jmp 0x100c8780
cmp dword [ebp + 0xc], 0
je 0x100c86ca
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100c86c8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100c8706
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100c86f1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100c8706
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100cb549
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100cb549
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100cb549
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x100c87a4]
call fcn.100cb4f5
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100cb549
mov esp, ebp
pop ebp
ret
Function at 0x100c8e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x101367b0]
mov dword [ebp - 4], eax
jmp 0x100c8e97
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100c8eb0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100c8eae
mov eax, dword [ebp - 4]
jmp 0x100c8f34
jmp 0x100c8e8f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100cb549
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100c8f31
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100c8ef3
mov edx, dword [ebp - 4]
mov eax, dword [0x101367b0]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x101367b0], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100cb549
mov esp, ebp
pop ebp
ret

Function at 0x100c9420
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100c9470
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100c9470
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100c9470
xor eax, eax
jmp 0x100c94b1
mov dword [ebp - 4], 1
jmp 0x100c9482
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100c94ac
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100c94aa
xor eax, eax
jmp 0x100c94b1
jmp 0x100c9479
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1000100f
Capabilities:
Create process on windows
Delete file
Get common file path
Read .ini file

Disassembly:
mov eax, 0x100015b4
call fcn.10001440
sub esp, 0x378
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
pop ecx
pop ecx
mov esi, 0x104
push esi
lea eax, [ebp - 0x280]
push eax
call edi
lea eax, [ebp - 0x280]
push str.wbemmofgoodesery.mof
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [ebp - 0x280]
push eax
push esi
lea eax, [ebp - 0x17c]
push eax
push 0x10003064
push 0x10003040
mov ebx, 0x1000303c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x2c]
push str..dll
push eax
call sub.MSVCRT.dll_strcpy
and dword [ebp - 0x14], 0
pop ecx
pop ecx
cmp dword [ebp - 0x14], 8
jge 0x100010c9
call dword [sym.imp.MSVCRT.dll_rand]
cdq
push 0x1a
pop ecx
idiv ecx
mov eax, dword [ebp - 0x14]
add dl, 0x61
inc dword [ebp - 0x14]
mov byte [ebp + eax - 0x34], dl
jmp 0x100010a8
push esi
lea eax, [ebp - 0x17c]
push eax
call edi
lea eax, [ebp - 0x17c]
push str.wbem_
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x17c]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x17c]
push eax
push 0x10003040
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x17c]
push eax
push 0x65
mov edx, 0x10003024
pop ecx
call fcn.100011c4
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x78]
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x78], edi
mov word [ebp - 0x48], si
mov dword [ebp - 0x4c], 1
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x384]
push str.regsvr32___s___s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x384]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10001199
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
mov al, 1
jmp 0x100011b5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41a468
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x41a477
pop dword [ebp - 0x24]
mov eax, 0x41a477
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x93c8a598
add dword [ebp - 0x34], 0xba899fb3
mov dword [ebp - 0x30], 0x54e51427
add dword [ebp - 0x30], 0xdd4e381e
mov dword [ebp - 0x2c], 0xa7880cc2
add dword [ebp - 0x2c], 0xa4c4376c
mov dword [ebp - 0x28], 0xbe0bdf4b
sub dword [ebp - 0x28], 0xbe0bdf4b
lea eax, [ebp - 0x34]
push eax
mov eax, 0x7a4289ec
sub eax, 0x79fed7d8
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x414a00f6
add dword [ebp - 0x34], 0x33286860
mov dword [ebp - 0x30], 0xb2f0f186
sub dword [ebp - 0x30], 0x71849011
mov dword [ebp - 0x2c], 0xa1714fb9
add dword [ebp - 0x2c], 0xc1fe1cb3
mov dword [ebp - 0x28], 0xdb31f494
sub dword [ebp - 0x28], 0xdb31f494
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x93ea1dc0
sub eax, 0x93a66b50
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x462e7
push 0
call eax
mov ecx, 0x64242331
add ecx, 0x9bdc2c99
mov esi, eax
mov edx, 0x464e00
add edx, dword [ebp - 0x24]
mov edi, 0x1fa483fc
sub edi, 0x1846bcff
sub dword [ebp - 0x14], 0x9d1f4c1d
mov ebx, dword [edx]
sub dword [ebp - 0x20], edi
add ebx, edi
xor dword [ebp - 4], 0x6bf04a1d
mov dword [esi], ebx
add dword [ebp - 0x14], 0x7dc7a50b
add esi, 0xc094a28a
add esi, 0x3f6b5d7a
add edx, 0xbfddcd78
add edx, 0x4022328c
loop 0x41a58e
add eax, 0xe252efc9
sub eax, 0xe251bdce
mov ebx, eax
add eax, 0x69a28c51
add eax, 0x965d73b4
mov ecx, 0x73ad646d
add ecx, 0x8c929b93
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x40f350
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x772410], eax
mov ecx, 1
sub ecx, 1
lea esi, [esi]
add ecx, 1
mov edx, dword [ecx*4 + 0x77240c]
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
lea eax, [eax + ecx]
mov dword [ecx*4 + 0x772410], eax
cmp ecx, 0x26f
jl 0x40f360
mov dword [0x69e1f0], 0x270
ret

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

Disassembly:
push ebx
mov eax, dword [0x771010]
cmp eax, dword [0x69d940]
je 0x40f3b8
mov dword [0x69e1f0], 0x271
cmp dword [0x69e1f0], 0x270
jl 0x40f4d7
cmp dword [0x69e1f0], 0x271
jne 0x40f3ef
mov eax, dword [0x771010]
call fcn.0040f350
mov eax, dword [0x771010]
not eax
mov dword [0x771010], eax
mov dword [0x69d940], eax
mov ebx, 0
sub ebx, 1
nop
add ebx, 1
mov eax, dword [ebx*4 + 0x772414]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x772410]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x772a44]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x69e200]
xor edx, eax
mov dword [ebx*4 + 0x772410], edx
cmp ebx, 0xe2
jl 0x40f3f8
mov ebx, 0xe3
sub ebx, 1
mov esi, esi
add ebx, 1
mov eax, dword [ebx*4 + 0x772414]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x772410]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x772084]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x69e200]
xor edx, eax
mov dword [ebx*4 + 0x772410], edx
cmp ebx, 0x26e
jl 0x40f44c
mov eax, dword [0x772dcc]
and eax, 0x80000000
mov edx, dword [0x772410]
and edx, 0x7fffffff
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [0x772a40]
xor edx, eax
and ecx, 1
mov eax, dword [ecx*4 + 0x69e200]
xor eax, edx
mov dword [0x772dcc], eax
mov dword [0x69e1f0], 0
mov eax, dword [0x69e1f0]
mov eax, dword [eax*4 + 0x772410]
add dword [0x69e1f0], 1
mov edx, eax
shr edx, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
pop ebx
ret
Function at 0x410f70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x69d650]
cmp ax, 0xcb
je 0x41106c
cmp ax, 0xcc
je 0x41106c
mov edx, dword [0x773020]
test edx, edx
je 0x410fa2
mov eax, dword [0x772ec0]
call edx
mov ebx, eax
jmp 0x410fa7
mov ebx, 0x772ec4
cmp word [0x772eb0], 0
jle 0x410fca
mov eax, 0x772e90
call fcn.00411220
mov eax, ebx
call fcn.00410b50
mov eax, ebx
call fcn.00410bc0
mov edi, dword [ebx]
jmp 0x410fea
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x410fe5
mov edx, edi
mov eax, ebx
call fcn.00410020
jmp 0x410fe8
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x410fd0
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x772eb0], 0
jle 0x41106c
mov edx, 0x772dd0
mov eax, ebx
call fcn.00410150
mov edi, eax
test edi, edi
je 0x41103f
mov eax, dword [0x772e64]
mov dword [edi + 0xc], eax
cmp dword [0x772e64], 0
je 0x411034
mov eax, dword [0x772e64]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x772e64], eax
sub word [0x772eb0], 1
cmp word [0x772eb0], 0
sete bl
mov eax, 0x772e90
call fcn.00411230
test bl, bl
je 0x41106c
mov eax, 0x772e90
call fcn.00411210
pop edi
pop esi
pop ebx
ret