joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10095c8
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x10018cc
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.01004a5e
mov esi, eax
cmp esi, edi
jl 0x10096d3
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x24000001
push dword [ebp - 8]
call fcn.01006d84
mov esi, eax
cmp esi, 0xc0000225
jne 0x1009619
mov dword [ebp + 8], edi
jmp 0x1009621
cmp esi, edi
jl 0x10096d3
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
shr eax, 4
push ebx
mov dword [ebp - 0xc], edi
cmp eax, edi
jbe 0x1009656
mov ecx, dword [ebp + 0xc]
add ecx, 8
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp - 0x10]
push 4
pop ecx
mov edi, edx
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
je 0x100967d
add edx, 0x10
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jb 0x100963b
xor edi, edi
mov eax, dword fs:[0x18]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
add ecx, 0x10
push ecx
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
cmp ebx, edi
jne 0x1009683
mov esi, 0xc0000017
jmp 0x10096ba
xor esi, esi
xor edi, edi
jmp 0x10096d2
mov esi, dword [ebp + 0xc]
add esi, 8
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
lea eax, [ebx + 0x10]
push dword [ebp - 4]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, 0x10
push eax
push ebx
push 0x24000001
push dword [ebp - 8]
call fcn.01006d40
mov esi, eax
xor edi, edi
cmp ebx, edi
je 0x10096d2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop ebx
cmp dword [ebp - 4], edi
je 0x10096ee
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 8], edi
je 0x10096fb
push dword [ebp - 8]
call fcn.01004602
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x100a7fe
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi]
and al, 0x7f
cmp al, 0x7f
jne 0x100a821
mov dword [ebp + 8], 0xc000003a
jmp 0x100a970
movzx eax, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, ecx
add eax, esi
jmp 0x100a84b
cmp cl, 4
jne 0x100a83c
cmp byte [eax + 1], cl
je 0x100a857
movzx ecx, byte [eax + 3]
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
add eax, ecx
mov cl, byte [eax]
mov dl, cl
and dl, 0x7f
cmp dl, 0x7f
jne 0x100a832
push ebx
sub eax, esi
push edi
add eax, 4
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ebx, [edi + 0xc]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
jne 0x100a88a
mov dword [ebp + 8], 0xc000009a
jmp 0x100a955
add edi, 0xfffffffc
push edi
push dword [ebp + 8]
lea eax, [esi + 0xc]
push eax
mov dword [esi], 1
mov dword [esi + 4], ebx
mov dword [esi + 8], 4
call sub.msvcrt.dll_memcpy
lea eax, [edi + esi + 0xc]
add esp, 0xc
mov byte [eax], 0x7f
mov byte [eax + 1], 0xff
mov byte [eax + 2], 4
mov byte [eax + 3], 0
lea eax, [ebp - 4]
push eax
push 3
push esi
call fcn.01009d0a
mov dword [ebp + 8], eax
test eax, eax
jl 0x100a938
mov eax, dword [ebp - 4]
mov edi, dword [eax + 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub edi, 0xc
lea ecx, [edi + 0x14]
push ecx
push 0
push dword [eax + 0x18]
mov dword [ebp - 8], ecx
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
test ebx, ebx
jne 0x100a906
mov dword [ebp + 8], 0xc000009a
jmp 0x100a938
push dword [ebp - 8]
push 0
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 4]
add eax, 0xc
push edi
push eax
lea eax, [ebx + 0x14]
push eax
mov dword [ebx], 2
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x100a955
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
pop ebx
test esi, esi
je 0x100a970
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 8]
pop esi
leave
ret 0xc
Function at 0x100bb18
Capabilities:
Get process heap flags
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x100f004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], esi
call fcn.0100ca5a
test al, al
jne 0x100bb43
xor eax, eax
jmp 0x100bc8e
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x100d216
push 0x100d4f0
push esi
call fcn.0100c24e
mov ebx, dword [sym.imp.ntdll.dll_RtlFreeHeap]
test eax, eax
jl 0x100bc73
cmp dword [ebp - 0x40], 4
jb 0x100bc73
push dword [ebp - 0x3c]
shr dword [ebp - 0x40], 1
call sub.msvcrt.dll__wcslwr
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x100d4ba
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call sub.msvcrt.dll__snwscanf_s
add esp, 0x1c
cmp eax, 3
jne 0x100bc73
cmp dword [ebp - 0x54], esi
jne 0x100bc73
cmp dword [ebp - 0x4c], esi
jne 0x100bc73
cmp dword [ebp - 0x48], esi
jne 0x100bc73
lea eax, [ebp - 0x50]
push eax
push 0x100d478
call fcn.0100c39a
test eax, eax
jl 0x100bc73
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [ebp - 0x3c]
push esi
push dword [eax + 0x18]
call ebx
mov edx, dword [ebp - 0x50]
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
pop ecx
xor eax, eax
push 0x28
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.0100c966
cmp eax, esi
pop edi
jge 0x100bc2e
cmp eax, 0xc000003a
jmp 0x100bc32
cmp dword [ebp - 0x1c], 7
jne 0x100bc73
push 0x100d436
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
push 0x20001
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x6c], 0x18
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call dword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
cmp dword [ebp - 0x3c], esi
je 0x100bc8a
push dword [ebp - 0x3c]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call ebx
mov eax, dword [ebp - 0x44]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0100398b
leave
ret
Function at 0x100bccc
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push edi
push 0x100d478
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x20001
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
mov ebx, eax
cmp ebx, edi
jge 0x100bd48
cmp ebx, 0xc0000017
je 0x100bddc
cmp ebx, 0xc000009a
je 0x100bddc
mov ebx, 0xc0000452
jmp 0x100bddc
push dword [ebp - 4]
call fcn.0100bca0
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], edi
call esi
mov esi, dword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov ebx, eax
cmp ebx, 0xc0000023
je 0x100bd85
cmp ebx, edi
jl 0x100bddc
mov ebx, 0xc0000001
jmp 0x100bddc
mov eax, dword fs:[0x18]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
add ecx, 2
push ecx
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x100bdad
mov ebx, 0xc000009a
jmp 0x100bddc
mov dword [ebp - 0x10], eax
mov ax, word [ebp - 0xc]
mov word [ebp - 0x12], ax
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov ebx, eax
cmp ebx, edi
jl 0x100bddc
movzx ecx, word [ebp - 0x14]
mov eax, dword [ebp - 8]
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2], dx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ebp - 4], edi
je 0x100bdea
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
cmp ebx, edi
jge 0x100be09
cmp dword [ebp - 8], edi
je 0x100be09
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x100bfde
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword fs:[0x18]
push ebx
push esi
xor ebx, ebx
push 0x6a
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
mov byte [ebp - 1], bl
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
cmp eax, ebx
jne 0x100c01f
mov esi, 0xc0000017
jmp 0x100c148
test byte [ebp + 0xc], 1
push edi
je 0x100c03d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0100bf50
mov esi, eax
cmp esi, ebx
jge 0x100c18f
push ebx
push 0x18
lea eax, [ebp - 0x34]
push eax
push 7
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp esi, ebx
jl 0x100c131
mov dword [ebp + 0xc], ebx
cmp dword [ebp - 0x34], ebx
jbe 0x100c12c
push ebx
push dword [ebp + 0xc]
push 0x100d134
push 0x35
push dword [ebp - 0x14]
call sub.msvcrt.dll_swprintf_s
add esp, 0x14
cmp dword [ebp - 8], ebx
je 0x100c096
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 8], ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
call fcn.0100c61a
test eax, eax
jl 0x100c118
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jne 0x100c118
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 4], ebx
jbe 0x100c118
add eax, 0x48
push 4
pop ecx
mov edi, 0x10018ac
lea esi, [eax + 8]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x100c0de
cmp byte [ebp - 1], bl
jne 0x100c0f3
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], ecx
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add eax, 0x90
cmp edx, dword [ecx + 4]
jb 0x100c0b9
jmp 0x100c118
lea eax, [ebp - 0x18]
push eax
call fcn.0100caba
test eax, eax
jl 0x100c186
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call fcn.0100c502
test eax, eax
jl 0x100c186
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x34]
jb 0x100c062
cmp byte [ebp - 1], bl
jne 0x100c18d
mov esi, 0xc0000452
push dword [ebp - 0x14]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
cmp dword [ebp - 8], ebx
je 0x100c163
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 0x18], ebx
je 0x100c17e
push dword [ebp - 0x18]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
mov esi, 0xc0000451
jmp 0x100c131
xor esi, esi
cmp dword [ebp + 8], ebx
jne 0x100c197
mov dword [ebp - 0xc], ebx
push dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x100d134
push 0x35
push edi
call sub.msvcrt.dll_swprintf_s
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [eax], edi
jmp 0x100c147
Function at 0x100c24e
Capabilities:
Get process heap flags
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0xc]
mov dword [eax], ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
cmp dword [ebp + 0x10], ebx
je 0x100c29c
lea eax, [ebp - 4]
push eax
push 0x20019
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0100c1d6
mov edi, eax
cmp edi, ebx
jl 0x100c361
jmp 0x100c2a2
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQueryValueKey]
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov edi, eax
cmp edi, 0xc0000023
je 0x100c2d6
cmp edi, ebx
jl 0x100c360
mov edi, 0xc0000001
jmp 0x100c360
mov eax, dword fs:[0x18]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
mov ebx, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
call ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x100c341
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0xc]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov edi, eax
test edi, edi
jl 0x100c360
mov esi, dword [ebp - 8]
mov eax, dword [esi + 4]
cmp eax, dword [ebp + 0x14]
je 0x100c320
mov edi, 0xc0000024
jmp 0x100c360
sub dword [ebp + 0xc], 0xc
mov eax, dword fs:[0x18]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
xor edi, edi
push edi
push dword [eax + 0x18]
call ebx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp eax, edi
jne 0x100c348
mov edi, 0xc000009a
jmp 0x100c360
push dword [ebp + 0xc]
add esi, 0xc
push esi
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
pop esi
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
je 0x100c370
push eax
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp - 8], 0
je 0x100c38d
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
pop edi
pop ebx
leave
ret 0x18
Function at 0x100c39a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call edi
mov ebx, dword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call ebx
cmp eax, esi
jl 0x100c4f5
push esi
lea eax, [ebp - 0x10]
push eax
call edi
xor edi, edi
mov dword [ebp - 8], esi
jmp 0x100c441
cmp dword [ebp - 0xc], esi
je 0x100c41c
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 8]
lea edi, [eax + 2]
mov word [ebp - 0xe], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x100c4ba
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
mov dword [ebp + 8], eax
cmp eax, 0xc0000023
je 0x100c401
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
jl 0x100c4d7
movzx eax, word [ebp - 0x10]
mov edx, dword [ebp - 0xc]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov word [ebp - 0xe], di
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
jge 0x100c441
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [ebp + 8], esi
jmp 0x100c4c1
mov dword [ebp + 8], 0xc000009a
cmp dword [ebp - 4], esi
je 0x100c4d2
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
jge 0x100c4f2
cmp dword [ebp - 0xc], esi
je 0x100c4f2
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100cbe5
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x100cc3a
jle 0x100cc1c
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100cc8b
test byte [eax + 0x1c], 1
je 0x100cc8b
push esi
push 0x100190c
push 0xd
jmp 0x100cc7c
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x100cc89
jle 0x100cc60
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100cc8b
test byte [eax + 0x1c], 1
je 0x100cc8b
push esi
push 0x100190c
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001a58
jmp 0x100cc8b
xor esi, esi
cmp dword [ebp - 4], edi
je 0x100cc99
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret 0x18
Function at 0x40ad24
Capabilities:
Encode data using xor

Disassembly:
sar byte [esi - 0x531cdd52], 0xef
fiadd word [ecx + ecx*4 + 0x4b]
cmc
dec esp
xchg esi, eax
and eax, esp
fstp qword [eax + 0x43]
cmp ebp, dword [edi - reloc.IPHLPAPI.DLL_GetInterfaceInfo]
dec ebx
inc ebp
xor esi, dword [ebx + 0x1e]
xchg dword [bp + si - 3], edx
inc edi
jg 0x40ad3e
push esp
pop ss
inc esi
mov dh, 0x17
daa
push 0x809cad8d
sbb al, 0xdb
invalid

Function at 0x45455c
Capabilities:
Encode data using xor

Disassembly:
cmp dword [ebx + reloc.IPHLPAPI.DLL_GetInterfaceInfo], 0xba97763e
lodsb al, byte [esi]
loope 0x454530
les esi, [ebx + 0x25392f80]
add dword [ebp - 0x62], edi
push edx
sub dword [esp + ebp], eax
out 0x7c, eax
sub ebx, dword [edx]
mov dl, 0xe
ja 0x454545
sbb dh, byte [edx + 0x7f3e770e]
adc al, 0x8b
add ebx, eax
out 0xa4, eax
jl 0x454541
jg 0x45451d
mov eax, dword [ecx]
ret
cmp bh, bh
out 0x16, eax
add eax, 0x5a1a1cb
scasb al, byte es:[edi]
add dword [ebx + reloc.IPHLPAPI.DLL_GetInterfaceInfo], eax
out dx, eax
mov bl, 0x28
imul eax, esi, 0x28b3ef23
mov eax, fs
in al, 0x76
push 0xffffffffffffffb2
ret 0x85a2
sti
xor edi, dword [ebp + 3]
mul edi
test ebx, esp
aaa
mov ah, 0xdd
add eax, 0xe84ada35
mov ss, word [edx + 0x706bc381]
jg 0x4544e5
imul esi, dword [eax + 0x7f], reloc.IPHLPAPI.DLL_GetInterfaceInfo
out 0xe6, al
popal
sub bh, cl
stc
or al, 0x93
jns 0x45454e
stosd dword es:[edi], eax
scasd eax, dword es:[edi]
je 0x454539
fbstp tbyte [ebp - 0x10f72afc]
out dx, eax
sub byte [eax], al
xlatb
jb 0x454502
cdq
jns fcn.0045455c
pop ds
xor al, 0xbc
adc eax, dword [edi - 2]
mov dh, 0xad
adc eax, 0xf2483ba8
and eax, dword [ecx]
out dx, eax
add al, 0x3c
test ebp, esp
test byte [eax + 0x1385b86f], cl
pop edx
and dl, byte [ecx]
je 0x454527
lea edi, cs:[ecx]
cmp dh, dh
mov esp, 0x68d9602a
in eax, dx
pop esp
outsd dx, dword [esi]
mov edi, 0x4791b4b1
mov cl, 0xb4
xchg ecx, eax
inc edi
fmul qword [edi + 0x6c]
sbb al, 0x45
cld
xor al, 0x45
pop ebp
dec esp
cmpsb byte [esi], byte es:[edi]
push 0x37bb533c
jg 0x454593
jecxz 0x454534
in al, 0x5b
invalid
Function at 0xc75809
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], edx
bswap eax
jmp 0xc75859
lea eax, reloc.IPHLPAPI.DLL_GetInterfaceInfo
jmp 0xc75870
bswap edx
lea eax, [esp + ecx]
btc dx, sp
jp 0xc75843
lea eax, reloc.IPHLPAPI.DLL_GetInterfaceInfo
jmp 0xc75870
rol cl, 0
setb al
rdtsc
shl dx, cl
jmp 0xc758cb
mov eax, 0x3c97f664
bsr dx, bx
stc
stc
jmp 0xc758ee
stc
stc
jmp 0xc758ee
mov dh, byte [esp]
mov ax, 0xf764
push si
xchg al, dl
mov al, bh
lea esp, [esp + 2]
jmp 0xc7596e
jbe 0xc75881
mov eax, 0x3c97f664
bsr dx, bx
jmp 0xc758ae
jl 0xc758b2
mov dh, byte [esp]
mov ax, 0xf764
jmp 0xc759ac
lea esp, [esp + 4]
dec cl
mov edx, 0xbc65431d
not ax
xor dx, sp
jmp 0xc758d8
btr dx, bp
jg 0xc7594a
jle 0xc7594a
js 0xc75929
insb byte es:[edi], dx
or eax, dword [esi]
lds ecx, [edx - 0x2d]
inc ebx
aad 0x6d
salc
inc ecx
lea eax, [eax + edx]
ror cl, 0
mov al, byte [esp]
mov ax, 0xf105
mov dx, 0xd10c
jmp 0xc75921
mov edx, ecx
sbb ax, 0x4935
jmp 0xc75995
bswap eax
mov ax, 0x4f76
jmp 0xc7597f
inc cl
lea eax, [esi*4]
mov dh, ch
xchg ah, al
rdtsc
jmp 0xc75937
shl ah, cl
jle 0xc75a22
shl edx, 2
call fcn.00c759b7
cmp eax, 0x11e69f0c
nop
jle 0xc75957
bswap eax
mov ax, 0x4f76
jmp 0xc7597f
push si
xchg al, dl
mov al, bh
jmp 0xc758bf
shl edx, 2
pushal
call fcn.00c75a6e
in al, 0xff
push dword [esp]

Function at 0xca9e11
Capabilities:
Hash data with md5

Disassembly:
pop word [esp]
lea esp, [esp + 2]
and dword [eax], 0
jmp 0xca9e54
lea esp, [esp + 0x20]
mov dword [eax + 0x10], 0x98badcfe
push sp
jmp 0xca9e65
mov dword [eax + 8], reloc.IPHLPAPI.DLL_GetInterfaceInfo
mov dword [eax + 0xc], 0xefcdab89
pushal
jmp 0xca9e3e
push word [esp]
jmp 0xca9f35
lea esp, [esp + 4]
mov dword [eax + 0x14], 0x10325476
ret

Function at 0xd12353
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, 0x70a0be6e
mov byte [esp + 0x11], cl
add esp, 0x1d
bswap edi
jmp 0xd122ec
xchg byte [esp + 0x1c], bh
xchg ebp, ebx
bswap edi
xchg byte [esp + 0x1c], ch
mov edi, edx
xchg dword [esp + 0x14], edx
jmp 0xd12283
mov si, word [esp + 0x24]
pop ax
mov dh, 0x4c
mov dword [esp], ebx
rdtsc
mov byte [esp + 0x28], bh
jmp 0xd12299
mov bh, byte [esp]
bswap edi
mov edi, ecx
push dword [esp + 4]
lea edi, [esi*4]
mov ebx, dword [esp + 4]
jmp 0xd12306
pop dword [esp + 3]
pop word [esp + 3]
lea esp, [esp + 6]
lea ebp, [ebx*4]
pushfd
mov byte [esp], cl
jmp 0xd122c7
mov ecx, eax
lea esp, [esp + 4]
mov ebp, dword [esp + 5]
sub esp, 0x14
xchg dword [esp + 0x11], edx
shl esi, 0x1b
jmp 0xd124f7
xchg word [esp + 0x18], cx
mov ecx, 0x2bad38f
lea edi, [ecx*4]
rdtsc
mov ax, 0xaca9
neg ax
jmp 0xd122b3
xchg bl, bh
mov cx, word [esp + 0x17]
jmp 0xd12327
mov ax, 0xf218
cpuid
rdtsc
mov di, 0xff7f
rdtsc
mov dword [esp + 6], edi
jmp 0xd12476
mov si, ax
add esp, 7
sub ebp, 0x7905400c
lea esi, reloc.IPHLPAPI.DLL_GetInterfaceInfo
mov byte [esp + 8], al
clc
jmp 0xd1235c
mov dx, 0x15fa
xchg dword [esp], ebp
push word [esp + 1]
shr ebp, 0xe
stc
pop edx
call fcn.00d1239e
mov dword [esp + 0xa], ebx
mov dword [esp + 0x1c], ebx
mov di, 0xb556
popal
stc
shr di, 2
jmp 0xd123b4
sub esp, 0x1b
mov esi, edi
stc
not ecx
xchg esi, eax
add esp, 9
jmp 0xd12385