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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fb71
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008600c]
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 [0x1008f878]
test eax, eax
jne 0x10013d1d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10086f0c]
movaps xmm0, xmmword [0x1007a230]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0xf
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x3898]
test al, 1
jne 0x10013c3c
or eax, 1
mov dword [esi + 0x3898], 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 + 0x2265], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x2254], al
add ecx, 1
adc edx, 0
jne 0x10013c28
cmp ecx, 0x11
jb 0x10013c10
push 0x1006c560
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x2254]
mov ecx, edi
call fcn.10057800
mov eax, dword [esi + 0x2100]
mov dword [ebp - 0x20], 0xca2f4058
mov dword [ebp - 0x1c], 0x4535800d
mov dword [ebp - 0x18], 0x830d656b
test al, 1
jne 0x10013cbc
or eax, 1
mov dword [esi + 0x2100], 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 + 0xffc], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0xff0], al
add ecx, 1
adc edx, 0
jne 0x10013ca8
cmp ecx, 0xc
jb 0x10013c90
push 0x1006c5b0
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0xff0]
mov ecx, esi
call fcn.10057860
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 0x10013d16
push 7
call fcn.1005d21e
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 0x10013d18
xor eax, eax
mov dword [0x1008f878], eax
push 0
push 0
push 3
push 0
push 0
push 0x50
push dword [ebp - 0x30]
mov dword [0x1008d148], 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.1005c8e9
mov esp, ebp
pop ebp
ret
Function at 0x10013d50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fc01
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1008600c]
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 [0x1008f868]
test eax, eax
jne 0x10013efd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10086f0c]
movaps xmm0, xmmword [0x1007ae50]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 9
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x1a30]
test al, 1
jne 0x10013e1c
or eax, 1
mov dword [esi + 0x1a30], 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 + 0x17cd], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x17bc], al
add ecx, 1
adc edx, 0
jne 0x10013e08
cmp ecx, 0x11
jb 0x10013df0
push 0x1006c600
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x17bc]
mov ecx, edi
call fcn.10057740
mov eax, dword [esi + 0x1c3c]
mov dword [ebp - 0x20], 0x868d2a5e
mov dword [ebp - 0x1c], 0xdba52afb
mov dword [ebp - 0x18], 0xcfaf0f6d
test al, 1
jne 0x10013e9c
or eax, 1
mov dword [esi + 0x1c3c], 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 + 0xb88], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0xb7c], al
add ecx, 1
adc edx, 0
jne 0x10013e88
cmp ecx, 0xc
jb 0x10013e70
push 0x1006c650
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0xb7c]
mov ecx, esi
call fcn.100577a0
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 0x10013ef6
push 7
call fcn.1005d21e
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 0x10013ef8
xor eax, eax
mov dword [0x1008f868], eax
push 0
push 0x8404f700
push 0
push 0
push dword [ebp - 0x30]
mov dword [0x1008d034], 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.1005c8e9
mov esp, ebp
pop ebp
ret
Function at 0x10013f40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fc91
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008600c]
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 [0x1008f8c4]
test eax, eax
jne 0x100140dd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10086f0c]
movaps xmm0, xmmword [0x1007a340]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x3f
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x3890]
test al, 1
jne 0x10013ffc
or eax, 1
mov dword [esi + 0x3890], 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 + 0x1f7d], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x1f6c], al
add ecx, 1
adc edx, 0
jne 0x10013fe8
cmp ecx, 0x11
jb 0x10013fd0
push 0x1006c6a0
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x1f6c]
mov ecx, edi
call fcn.10057680
mov eax, dword [esi + 0x674]
mov dword [ebp - 0x20], 0x58435668
mov dword [ebp - 0x1c], 0x59efb411
mov dword [ebp - 0x18], 0x1161735b
test al, 1
jne 0x1001407c
or eax, 1
mov dword [esi + 0x674], 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 + 0x3a2c], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x3a20], al
add ecx, 1
adc edx, 0
jne 0x10014068
cmp ecx, 0xc
jb 0x10014050
push 0x1006c6f0
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x3a20]
mov ecx, esi
call fcn.100576e0
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 0x100140d6
push 7
call fcn.1005d21e
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 0x100140d8
xor eax, eax
mov dword [0x1008f8c4], eax
push dword [ebp + 0x10]
mov dword [0x1008c81c], 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.1005c8e9
mov esp, ebp
pop ebp
ret
Function at 0x10014110
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fd21
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008600c]
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 [0x1008f870]
test eax, eax
jne 0x100142ad
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10086f0c]
movaps xmm0, xmmword [0x1007a520]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x83
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x33d8]
test al, 1
jne 0x100141cc
or eax, 1
mov dword [esi + 0x33d8], 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 + 0x13d5], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x13c4], al
add ecx, 1
adc edx, 0
jne 0x100141b8
cmp ecx, 0x11
jb 0x100141a0
push 0x1006c740
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x13c4]
mov ecx, edi
call fcn.100575c0
mov eax, dword [esi + 0x2c8c]
mov dword [ebp - 0x20], 0x10d914d4
mov dword [ebp - 0x1c], 0x1b5bf8f7
mov dword [ebp - 0x18], 0x59fb31e7
test al, 1
jne 0x1001424c
or eax, 1
mov dword [esi + 0x2c8c], 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 + 0x2a74], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x2a68], al
add ecx, 1
adc edx, 0
jne 0x10014238
cmp ecx, 0xc
jb 0x10014220
push 0x1006c790
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x2a68]
mov ecx, esi
call fcn.10057620
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 0x100142a6
push 7
call fcn.1005d21e
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 0x100142a8
xor eax, eax
mov dword [0x1008f870], eax
push dword [ebp - 0x30]
mov dword [0x1008bf9c], 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.1005c8e9
mov esp, ebp
pop ebp
ret
Function at 0x100142e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fdb1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1008600c]
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 [0x1008f8d4]
test eax, eax
jne 0x1001447d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10086f0c]
movaps xmm0, xmmword [0x1007b1c0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x41728bad
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x2818]
test al, 1
jne 0x1001439c
or eax, 1
mov dword [esi + 0x2818], 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 + 0xed4], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0xec0], al
add ecx, 1
adc edx, 0
jne 0x10014388
cmp ecx, 0x14
jb 0x10014370
push 0x1006c7e0
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0xec0]
mov ecx, edi
call fcn.10057500
mov eax, dword [esi + 0xf80]
mov dword [ebp - 0x1c], 0x859ae9e
mov dword [ebp - 0x18], 0x990b6041
mov dword [ebp - 0x14], 0x417b8bad
test al, 1
jne 0x1001441c
or eax, 1
mov dword [esi + 0xf80], 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 + 0x388], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x1c]
mov byte [ecx + esi + 0x37c], al
add ecx, 1
adc edx, 0
jne 0x10014408
cmp ecx, 0xc
jb 0x100143f0
push 0x1006c830
call fcn.1005d2c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x37c]
mov ecx, esi
call fcn.10057560
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 0x10014476
push 7
call fcn.1005d21e
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 0x10014478
xor eax, eax
mov dword [0x1008f8d4], eax
push ebx
mov dword [0x1008d174], 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.1005c8e9
mov esp, ebp
pop ebp
ret
Function at 0x1001ff60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1008dea0], 0
push esi
push edi
jle 0x1001ffca
mov ecx, dword [0x1008c3f4]
mov eax, dword [0x1008877c]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001ffca
mov ecx, dword [0x1008c3f4]
mov eax, dword [0x1008877c]
add eax, 0x144
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002000a
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 0x1001fffe
mov ecx, dword [0x1008c3f4]
mov eax, dword [0x1008877c]
add eax, 0x144
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002000a
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.1005c8e9
mov esp, ebp
pop ebp
ret
Function at 0x10021f60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060631
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1008600c]
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 fs:[0x2c]
mov ecx, dword [0x10086f0c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008f89c]
cmp eax, dword [ecx + 0xc]
jle 0x10021ff5
push 0x1008f89c
call fcn.1005ccdb
add esp, 4
cmp dword [0x1008f89c], 0xffffffff
jne 0x10021ff5
mov dword [ebp - 4], 0
mov ecx, dword [0x1008c3f4]
mov eax, dword [0x1008877c]
add eax, 0x148
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add eax, 4
mov dword [ebp - 4], 0xffffffff
push 0x1008f89c
mov dword [0x1008f850], eax
call fcn.1005cc91
add esp, 4
mov ecx, dword [0x1008c3f4]
mov eax, dword [0x1008877c]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10022084
cmp dword [0x1008de74], 0
je 0x10022084
mov eax, dword [0x1008877c]
mov ecx, dword [eax + 0x298]
mov eax, dword [0x1008d2c0]
mov ecx, dword [eax + ecx]
call fcn.10015790
mov esi, eax
test esi, esi
je 0x10022084
mov ecx, dword [0x1008c3f4]
push 0x1008d6c4
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10022084
mov edx, dword [0x1008c9b0]
add edx, eax
cmp edx, eax
jbe 0x10022084
mov ecx, esi
call edx
test eax, eax
jle 0x10022084
mov edi, dword [0x1008f850]
cmp edi, 0x1000
jbe 0x100220b5
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
call esi
mov dword [edi], 0x3a8312a2
jmp 0x100220a9
mov edi, dword [0x1008f850]
cmp edi, 0x1000
jbe 0x100220b5
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
call esi
mov dword [edi], 0x3e19999a
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
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.1005c8e9
mov esp, ebp
pop ebp
ret
Function at 0x100220d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1008c3f4]
mov eax, dword [0x1008877c]
push esi
push edi
mov edx, dword [ecx]
add eax, 0x1c
push eax
call dword [edx + 4]
mov ecx, dword [0x1008c3f4]
cmp dword [eax], 0
mov edx, dword [ecx]
mov eax, dword [0x1008877c]
je 0x1002213a
add eax, 0x150
cmp dword [0x1008d02c], 0
push eax
je 0x10022140
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002216d
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 0x10022161
add eax, 0x150
push eax
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002216d
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.1005c8e9
mov esp, ebp
pop ebp
ret

Function at 0x10022760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x10088158], 0
jne 0x100227c3
mov edx, 0x54
xor eax, eax
mov cl, byte [eax + 0x10079828]
xor cl, dl
inc edx
mov byte [ebp + eax - 0x18], cl
and edx, 0x800000ff
jns 0x10022793
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x15
jl 0x10022776
lea eax, [ebp - 0x18]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0xcdda
mov dword [0x10088158], 1
mov dword [0x1008d768], eax
add eax, 0x18
mov dword [0x1008cac8], eax
mov esp, ebp
pop ebp
ret
Function at 0x10025770
Capabilities:
Get hostname

Disassembly:
push 0x10086058
push 0x1008d11c
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.10025680
cmp eax, 1
jne 0x1002579c
push str.Win_XP
push 0x10088b28
call fcn.100057b0
add esp, 8
call fcn.10025680
cmp eax, 2
jne 0x100257b8
push str.Win_Vista
push 0x10088b28
call fcn.100057b0
add esp, 8
call fcn.10025680
cmp eax, 3
jne 0x100257d4
push str.Win_7
push 0x10088b28
call fcn.100057b0
add esp, 8
call fcn.10025680
cmp eax, 4
jne 0x100257f0
push str.Win_8
push 0x10088b28
call fcn.100057b0
add esp, 8
call fcn.10025680
cmp eax, 5
jne 0x1002580c
push str.Wi_10
push 0x10088b28
call fcn.100057b0
add esp, 8
ret
Function at 0x10027ef0
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 0x1008c858
push 0x1008c3d4
push 0x100888a8
push 0x1008c14c
push 0xff
push 0x100883e0
push 0x100799b8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x1008c14c]
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.100057b0
add esp, 0x10
mov eax, esi
pop esi
ret
Function at 0x1004e900
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov esi, edx
mov edi, ecx
nop dword [eax]
cmp byte [edi], 0x6a
jne 0x1004e99e
cmp esi, 0x1000
jbe 0x1004e97a
cmp edi, 0x1000
jbe 0x1004e97a
lea eax, [ebp - 8]
push eax
push 0x80
push 7
push esi
call ebx
push 7
push edi
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push 7
push esi
call ebx
mov edx, dword [ebp + 8]
push ecx
lea ecx, [esi + 7]
lea edx, [edx + 7]
call fcn.10013420
add esp, 4
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
jmp 0x1004ea0a
mov edx, dword [ebp + 8]
push ecx
lea ecx, [esi + 7]
lea edx, [edx + 7]
call fcn.10013420
add esp, 4
cmp esi, 0x1000
jbe 0x1004ea0d
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
jmp 0x1004ea0a
cmp esi, 0x1000
jbe 0x1004e9e8
cmp edi, 0x1000
jbe 0x1004e9e8
lea eax, [ebp - 0xc]
push eax
push 0x80
push 5
push esi
call ebx
push 5
push edi
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
push 5
push esi
call ebx
mov edx, dword [ebp + 8]
push ecx
lea ecx, [esi + 5]
lea edx, [edx + 5]
call fcn.10013420
add esp, 4
jmp 0x1004ea02
mov edx, dword [ebp + 8]
push ecx
lea ecx, [esi + 5]
lea edx, [edx + 5]
call fcn.10013420
add esp, 4
cmp esi, 0x1000
jbe 0x1004ea0d
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 7
push esi
call ebx
mov al, byte [edi]
cmp al, 0x8b
je 0x1004ea24
cmp al, 0x6a
je 0x1004ea24
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1004e920
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005c8e9
mov esp, ebp
pop ebp
ret
Function at 0x1004f680
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
push edi
mov edi, dword [ebp + 8]
jne 0x1004f782
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1004f707
cmp ecx, edi
jne 0x1004f6fe
mov edx, dword [eax + 4]
test edx, edx
je 0x1004f6cc
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x1004f6cc
mov ecx, dword [eax]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x14]
test edx, edx
je 0x1004f6d8
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [eax + 0x10]
test edx, edx
je 0x1004f6e5
mov ecx, dword [eax + 0x14]
mov dword [edx + 4], ecx
mov edx, dword [eax + 8]
test edx, edx
je 0x1004f6fe
mov ecx, dword [eax + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 8]
test edx, edx
je 0x1004f6fe
mov ecx, dword [eax + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1004f6b1
push esi
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call esi
push 0xc8
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10038a40
push 0
push 0
call esi
push 0
push 0
push 0
push 0x1004ed90
push 0
push 0
call esi
pop esi
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.1005c8e9
mov esp, ebp
pop ebp
ret 0xc