joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x409d40
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 4], edx
nop dword [eax]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x409d69
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x409d66
inc esi
cmp esi, edx
jb 0x409d57
mov ecx, dword [ebp - 8]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x409e7f
cmp ecx, 3
jbe 0x409da8
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x409de6
cmp cl, 0xff
je 0x409de6
mov edx, dword [ebp - 4]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
mov ecx, dword [ebp - 8]
jmp 0x409d50
dec ecx
shl eax, cl
and eax, 7
je 0x409d80
cmp byte [eax + 0x422b28], 0
je 0x409dd3
movzx ecx, byte [eax + 0x422b30]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x409dd0
cmp cl, 0xff
jne 0x409d80
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and eax, 3
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x409d50
movzx ebx, cl
movzx ecx, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
sub ebx, edi
sub ebx, 5
test eax, eax
je 0x409e4a
nop dword [eax]
movzx edx, byte [eax + 0x422b30]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x409e31
cmp dl, 0xff
jne 0x409e4a
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor ebx, edx
sub ebx, edi
sub ebx, 5
jmp 0x409e10
mov edx, dword [ebp - 4]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
neg cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
mov ecx, dword [ebp - 8]
jmp 0x409d50
pop esi
pop ebx
cmp ecx, 3
jbe 0x409e94
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40acaf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40acee
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40acee
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40acee
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40acee
cmp dword [ecx + 0x74], 0xe
jbe 0x40acee
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x413144
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x425040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41318f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041335f
test al, al
jne 0x413189
sub edx, 2
cmp edx, edi
jne 0x41316f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4131b1
lea eax, [edi + 2]
cmp edx, eax
je 0x4131b1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00413090
add esp, 0x10
jmp 0x4132a9
push esi
lea ecx, [ebp - 0x255]
call fcn.0041335f
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4131f2
push dword [ebp - 0x25c]
jmp 0x4131a1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41322f
cmp word [ebp - 0x226], 0
je 0x413250
cmp word [ebp - 0x226], ax
jne 0x41322f
cmp word [ebp - 0x224], 0
je 0x413250
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00413090
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41329c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x413209
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x413284
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4132a9
push 0x412ec0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00417750
add esp, 0x10
jmp 0x413279
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a26b
leave
ret
Function at 0x41b850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41b87d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41b87d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b399
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x413070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040633f
and dword [ebp - 0x14], 0
cmp dword [0x4151a4], 0
mov dword [ebp - 0x18], eax
jne 0x40b44c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b4f4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b4f4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4151a4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4151a8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4151ac], eax
call edi
push eax
call esi
mov dword [0x4151b4], eax
test eax, eax
je 0x40b44c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4151b0], eax
mov eax, dword [0x4151b0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b4a5
cmp dword [0x4151b4], ecx
je 0x40b4a5
push eax
call esi
push dword [0x4151b4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b4a5
test ebx, ebx
je 0x40b4a5
call edi
test eax, eax
je 0x40b49c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b49c
test byte [ebp - 8], 1
jne 0x40b4a5
or dword [ebp + 0x10], 0x200000
jmp 0x40b4d8
mov eax, dword [0x4151a8]
cmp eax, dword [ebp - 0x18]
je 0x40b4d8
push eax
call esi
test eax, eax
je 0x40b4d8
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b4d8
mov eax, dword [0x4151ac]
cmp eax, dword [ebp - 0x18]
je 0x40b4d8
push eax
call esi
test eax, eax
je 0x40b4d8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4151a4]
call esi
test eax, eax
je 0x40b4f4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b4f6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040275f
leave
ret
Function at 0x102e5880
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1030daa0]
jne 0x102e588a
repz ret
jmp fcn.102e76fc

Function at 0x102e8c93
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.102e47f0
and dword [ebp - 4], 0
cmp dword [0x1030ea1c], 0
mov ebx, eax
jne 0x102e8d44
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x102e8df5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x102e8df5
push eax
call fcn.102e477e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1030ea1c], eax
call esi
push eax
call fcn.102e477e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1030ea20], eax
call esi
push eax
call fcn.102e477e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1030ea24], eax
call esi
push eax
call fcn.102e477e
pop ecx
mov dword [0x1030ea2c], eax
test eax, eax
je 0x102e8d44
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.102e477e
pop ecx
mov dword [0x1030ea28], eax
mov eax, dword [0x1030ea28]
cmp eax, ebx
je 0x102e8d9c
cmp dword [0x1030ea2c], ebx
je 0x102e8d9c
push eax
call fcn.102e47f9
push dword [0x1030ea2c]
mov esi, eax
call fcn.102e47f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x102e8d9c
test edi, edi
je 0x102e8d9c
call esi
test eax, eax
je 0x102e8d93
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x102e8d93
test byte [ebp - 0xc], 1
jne 0x102e8d9c
or dword [ebp + 0x10], 0x200000
jmp 0x102e8dd5
mov eax, dword [0x1030ea20]
cmp eax, ebx
je 0x102e8dd5
push eax
call fcn.102e47f9
pop ecx
test eax, eax
je 0x102e8dd5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x102e8dd5
mov eax, dword [0x1030ea24]
cmp eax, ebx
je 0x102e8dd5
push eax
call fcn.102e47f9
pop ecx
test eax, eax
je 0x102e8dd5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1030ea1c]
call fcn.102e47f9
pop ecx
test eax, eax
je 0x102e8df5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x102e8df7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x102e9ba4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 0
sete dl
cmp ecx, 0
sete dh
and dh, dl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x102e9be1
jmp 0x102e9bff
mov eax, dword [ebp - 0x1c]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x1d]
test al, 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
jne 0x102e9d61
jmp 0x102e9c4f
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov dword [0x1030d028], 0x25ed
mov dword [0x1030d024], 0x14fc
mov edx, dword fs:[0x18]
mov dword [0x1030d024], 0xffffeafc
mov eax, dword [edx + 0x30]
mov dword [0x1030d028], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov edx, eax
mov byte [ebp - 0x29], cl
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
cmp eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
je 0x102e9be1
mov dword [0x1030d024], 0xe77
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
cmp ecx, edx
sete bl
mov bh, byte [ebp - 0x29]
and bh, bl
test bh, 1
mov dword [ebp - 0x3c], ecx
jne 0x102e9ca2
jmp 0x102e9cb2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x102e9be1
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx]
mov dword [0x1030d024], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
je 0x102e9c4f
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], dx
mov word [ebp - 0x4c], di
jb 0x102e9d16
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x1d], bl
jne 0x102e9bec
mov dword [0x1030d024], 0x667
mov eax, dword [ebp - 0x48]
add eax, 1
mov ecx, dword [ebp - 0x40]
cmp eax, ecx
mov dword [ebp - 0x44], eax
jb 0x102e9ce2
jmp 0x102e9bec
mov dword [0x1030d028], 0xffffc994
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
jmp 0x102e9be1
Function at 0x102ea18d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1030d030], 0
mov byte [0x1030d034], 0
mov dword [0x1030d024], 0x1f87
mov dword [0x1030d02c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x102ea201
mov dword [0x1030d024], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x1030d024], 0xd51
mov dword [0x1030d02c], 0
mov dword [ebp - 0x20], eax
jmp 0x102ea229
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1030d02c]
add eax, 1
mov dword [0x1030d02c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102ea201
jmp 0x102ea1e6
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1030d038], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1030d024], 0x17de
mov edi, dword [0x1030d030]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1030d038], esi
mov dword [0x1030d028], 0x51e
mov dword [0x1030d024], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x1030d030], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1030d034], cl
mov dword [0x1030d024], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x1030d024]
add esi, 0x1ff7
mov dword [0x1030d028], esi
mov cl, byte [0x1030d034]
mov esi, dword [0x1030d030]
mov byte [ebx + esi], cl
mov dword [0x1030d024], 0x5e6
mov esi, dword [0x1030d028]
add esi, 0xfffffd1a
mov dword [0x1030d028], esi
mov esi, dword [0x1030d02c]
add esi, 1
mov dword [0x1030d02c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x102ea229
jmp 0x102ea1d4
Function at 0x102ea768
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x1030d028], 0x26de
mov dword [ebp - 0x10], eax
call fcn.102e9d76
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x1030d028], 0xe73
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x102ea7b8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1030d024], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x102ea8cd
jmp 0x102ea84e
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], eax
jb 0x102ea860
jmp 0x102ea8cd
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
jne 0x102ea87c
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x102ea8aa
jmp 0x102ea7f3
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edx
jmp 0x102ea81c
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x102ea81c
jmp 0x102ea845
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1030d024], 0x22a3
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102ea925
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1030d024], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x102ea989
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2], 0x61
jne 0x102ea9c6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x102eaa2c
jmp 0x102ea9c6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x102ea9f1
jmp 0x102ea9d0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff9
mov dword [ebp - 0x24], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x28], eax
je 0x102eaa53
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x102eaa53
mov dword [0x1030d024], 0x9f6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x102ea989
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x102ea9c6
mov dword [0x1030d024], 0x21a9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2], 0x6f
je 0x102ea95b
jmp 0x102ea9c6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x102ea9c6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x102ea9a1
jmp 0x102ea9c6
mov eax, dword [ebp - 0x28]
add esp, 0x2c
pop ebp
ret
Function at 0x102eaa5b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x102ed5a3]
mov dl, byte [eax + 0x102ed574]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x102eaa73
lea eax, [ebp - 0x24]
mov dword [0x1030d024], 0x1372
mov dword [ebp - 0x34], eax
call fcn.102eb186
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.102e9ee9
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x102eab83
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x1030d024]
add ecx, 0xffffdbc9
mov dword [0x1030d024], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.102ea08c
xor eax, eax
mov ecx, dword [0x1030d024]
add ecx, 0xffffe005
mov dword [0x1030d028], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov dword [0x1030d024], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x14], ecx
add ecx, 0x25f8
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x102eab7a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x102eaca5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1030d02c], 0
mov dword [0x1030d030], 0
mov dword [0x1030d03c], 0
mov ebx, dword [0x1030d028]
add ebx, 0xfffff338
mov dword [0x1030d024], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x102eae23
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x1030d024], 0x20d1
mov dword [0x1030d028], 0x7e7
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1030d02c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1030d030], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1030d034], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1030d034]
mov edx, dword [0x1030d030]
mov byte [edi + edx], cl
mov dword [0x1030d028], 0x2664
mov edx, dword [0x1030d02c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1030d030]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1030d03c], ebx
mov dword [0x1030d024], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x1030d041], ch
mov byte [0x1030d042], cl
xor ch, cl
mov byte [0x1030d040], ch
mov dword [0x1030d024], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x1030d028], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x102eae23
mov eax, dword [0x1030d02c]
mov ecx, dword [0x1030d030]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x102ead10
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret