joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a11fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x695e38]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a123c
cmp byte [ebx], 0xa
jne 0x4a123c
or byte [eax + edi + 0x28], 4
jmp 0x4a1241
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4a133f
mov al, byte [edx]
cmp al, 0x1a
je 0x4a1321
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4a1270
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4a1295
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4a129f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4a1252
jmp 0x4a133f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a131c
cmp dword [ebp - 0xc], 0
je 0x4a131c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x695e38]
test byte [eax + edi + 0x28], 0x48
je 0x4a12f6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a12e1
mov byte [esi], dl
jmp 0x4a12f2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x695e38]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a133f
cmp byte [ebp - 1], 0xa
jne 0x4a1305
cmp esi, ebx
jne 0x4a1305
mov byte [esi], 0xa
jmp 0x4a133e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040194c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a133f
mov byte [esi], 0xd
jmp 0x4a133e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x695e38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a133b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a133f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a139b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x695e38]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a13de
cmp word [esi], dx
jne 0x4a13de
or byte [edi + eax + 0x28], 4
jmp 0x4a13e3
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4a1536
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4a1516
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4a1425
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a145b
cmp eax, edx
jae 0x4a1467
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4a13fd
jmp 0x4a1536
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1512
cmp dword [ebp - 0x14], 0
je 0x4a1512
mov eax, dword [ebx*4 + 0x695e38]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4a14ea
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4a14b3
mov word [esi], cx
jmp 0x4a14e6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x695e38]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x695e38]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x695e38]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4a1536
pop ebx
cmp word [ebp - 4], bx
jne 0x4a14fb
cmp esi, dword [ebp + 0xc]
jne 0x4a14fb
mov word [esi], bx
jmp 0x4a1533
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040194c
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4a1536
push 0xd
jmp 0x4a152f
mov ecx, dword [ebx*4 + 0x695e38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a152d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a1536
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x48356c9e
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x188c2a2a
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4029b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], 0xfffff000
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0x1000
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0x5a4d
mov esi, dword [ebp - 0x34]
mov word [ebp - 0x2e], 0x223b
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x25], 1
mov bl, byte [ebp - 0x25]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
jne 0x402a44
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov cx, word [ebp - 0x2e]
mov dx, ax
xor cx, dx
mov esi, dword [ebp - 0x1c]
xor esi, 0
mov dword [ebp - 0x14], esi
mov word [ebp - 0x2e], cx
mov cx, word [ebp - 0x2e]
mov dx, ax
xor cx, dx
mov word [ebp - 0x2e], cx
jmp 0x402b66
lea eax, [ebp - 0x14]
mov cx, word [ebp - 0x2e]
mov dx, ax
and cx, dx
mov word [ebp - 0x2e], cx
mov cx, word [ebp - 0x2e]
add cx, 0x6f95
mov word [ebp - 0x2e], cx
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp - 0x2e]
mov esi, dword [ebp - 0x1c]
add esi, 0
mov word [ebp - 0x2e], 0x60ba
mov di, ax
mov dword [ebp - 0x14], esi
sub di, dx
mov dx, word [ecx]
mov word [ebp - 0x2e], di
movzx eax, dx
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x402b08
lea eax, [ebp - 0x2e]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx]
mov si, word [ebp - 0x2e]
mov edx, dword [ebp - 0x1c]
and edx, eax
mov di, word [ebp - 0x2e]
xor di, 0x675a
mov word [ebp - 0x2e], di
mov dword [ebp - 0x1c], edx
and si, 0x168d
mov word [ebp - 0x2e], si
cmp ecx, 0x4550
jne 0x402aed
mov eax, 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], ecx
jmp 0x402b66
mov ax, 0x70c2
mov cx, 0x6f6e
mov dx, word [ebp - 0x2e]
sub cx, word [ebp - 0x2e]
sub ax, dx
mov word [ebp - 0x2e], cx
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x2e]
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp - 0x2e]
mov si, ax
sub si, dx
mov eax, dword [ebp - 0x44]
sub ecx, eax
mov edi, dword [ebp - 0x40]
and ecx, edi
mov word [ebp - 0x2e], si
mov dword [ebp - 0x10], ecx
mov ax, 0xb59
sub ax, word [ebp - 0x2e]
mov word [ebp - 0x2e], ax
mov cl, byte [ebp - 0x39]
test cl, 1
jne 0x402a62
mov eax, 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
and ecx, 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, ecx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403ff0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
mov byte [ebp - 0x19], 0x3b
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov word [ebp - 0xa], 0x5a8a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x41], 0xc5
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x25], 0xbc
cmp eax, 0
mov dword [ebp - 0x58], edx
jne 0x404059
mov al, 0xe7
sub al, byte [ebp - 0x41]
mov byte [ebp - 0x41], al
jmp 0x40414a
mov ecx, dword [ebp - 0x48]
call fcn.004034f0
mov ecx, 0
add ecx, 0x18
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, ecx
mov ecx, dword [ebp - 0x40]
mov dx, word [ecx + 0x14]
mov bl, byte [ebp - 0x19]
add bl, 0xc2
movzx ecx, dx
add eax, ecx
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov al, 0x8e
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x40]
mov ah, byte [ebp - 0x25]
movzx edx, word [edx + 6]
sub al, ah
mov byte [ebp - 0x19], al
cmp ecx, edx
jge 0x40411c
mov al, 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add ecx, dword [edx + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
mov ah, byte [ebp - 0x41]
add ah, 0xd8
mov esi, dword [ebp - 0x10]
sub al, byte [ebp - 0x41]
add edx, dword [esi + 0x14]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 0x41], al
mov esi, dword [esi + 0x10]
mov byte [ebp - 0x41], ah
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.00401570
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
add ecx, 0
add eax, 0x28
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
mov dl, byte [ebp - 0x25]
add dl, 0x9d
mov byte [ebp - 0x25], dl
jmp 0x404092
mov al, 0
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
sub al, byte [ebp - 0x41]
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x41], al
mov esi, dword [esi + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.00401570
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], 0
add esp, 0x64
pop esi
pop ebx
pop ebp
ret 4
Function at 0x40176f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401779
repz ret
jmp fcn.00401a16

Function at 0x401ac0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x214
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push 0x4061a4
push 0x80000001
call dword [fcn.00405008]
test eax, eax
jne 0x401bb2
mov ecx, dword [0x406194]
mov eax, dword [0x40619c]
mov edx, dword [0x406198]
mov dword [esp + 0xc], ecx
mov cx, word [0x4061a0]
push edi
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], cx
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x1e]
mov dword [esp + 0x14], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0xc]
lea eax, [esp + 0x114]
push edx
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push 0
push edx
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x104
call dword [fcn.00405004]
test eax, eax
je 0x401ba6
mov edx, dword [esp + 0x21c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0xc]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call dword [fcn.00405000]
mov eax, dword [esp + 4]
push eax
call dword [fcn.00405014]
pop edi
add esp, 0x214
ret
Function at 0x1000b060
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [0x100ef3d4]
add esi, 0xfffff2ec
mov dword [0x100ef3d0], esi
mov dword [0x100ef3dc], 0
mov byte [0x100ef3e0], 0
mov dword [0x100ef3d4], 0xda7
mov dword [0x100ef3d8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x1000b0c6
mov dword [0x100ef3d0], 0x18f2
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x100ef3d0], 0x294
mov eax, dword [0x100ef3d8]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100ef3d0]
add eax, 0x388
mov dword [0x100ef3d4], eax
mov eax, dword [0x100ef3d8]
add eax, 1
mov dword [0x100ef3d8], eax
cmp eax, 0x100
jl 0x1000b0c6
mov eax, dword [0x100ef3d4]
add eax, 0x1980
mov dword [0x100ef3d0], eax
mov dword [0x100ef3d8], 0
mov eax, 0x100
mov dword [0x100ef3e4], 0
mov ecx, dword [0x100ef3d0]
add ecx, 0xfffff72d
mov dword [0x100ef3d4], ecx
mov ecx, dword [0x100ef3dc]
mov edx, dword [0x100ef3d8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x100ef3e4], edi
mov dword [0x100ef3d0], 0x72b
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x100ef3dc], edx
mov ecx, dword [0x100ef3d8]
mov cl, byte [esi + ecx]
mov byte [0x100ef3e0], cl
mov dword [0x100ef3d0], 0xa5
mov cl, byte [esi + edx]
mov edx, dword [0x100ef3d8]
mov byte [esi + edx], cl
mov cl, byte [0x100ef3e0]
mov edx, dword [0x100ef3dc]
mov byte [esi + edx], cl
mov dword [0x100ef3d0], 0x3c5
mov edx, dword [0x100ef3d8]
add edx, 1
mov dword [0x100ef3d8], edx
cmp edx, 0x100
jl 0x1000b11d
jmp 0x1000b0b4
Function at 0x1000b330
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov eax, dword [0x100ef3d0]
add eax, 0x9bd
mov dword [0x100ef3d0], eax
mov dword [ebp - 8], 0
mov dword [0x100ef3d4], 0x745
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100ef3d0], 0x25cd
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1000b3f0
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jl 0x1000b3f0
jmp 0x1000b40a
xor eax, eax
mov ecx, dword [0x100ef3d4]
add ecx, 0x262b
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x1000b4c5
mov dword [0x100ef3d0], 0xffffeb2b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000b454
jmp 0x1000b399
mov dword [0x100ef3d4], 0x1afc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000b498
jmp 0x1000b399
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x1000b380
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x100ef3d4]
add ecx, 0xffffdd24
mov dword [0x100ef3d4], ecx
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
jne 0x1000b399
mov dword [0x100ef3d0], 0x1c9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000b3b2
jmp 0x1000b399
mov dword [0x100ef3d0], 0x6ea
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000b399
mov eax, dword [0x100ef3d4]
add eax, 0xffffdd3f
mov dword [0x100ef3d0], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1000b3d1
jmp 0x1000b399
mov eax, 1
mov ecx, 0x119a
mov dword [0x100ef3d0], 0x1d91
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x1000b399
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [0x100ef3d0], eax
mov eax, ecx
add esp, 0x24
pop esi
pop ebp
ret