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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x41ad52
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.00424350
mov eax, ebx
movzx ecx, word [eax*8 + 0x435142]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x435140]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x435144]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x435146]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x41adb5
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x41adc1
cmp ebx, 8
jl 0x41adc1
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x41ae26
cmp eax, 0xffffffff
je 0x41ae26
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x41ae01
call fcn.0041af7c
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x41ae09
jmp 0x41ae36
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41b08d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x41b28b
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x41b107
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x41b14a
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x41b14a
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x41b131
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov edx, esi
call fcn.0041ae3b
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp ebx, eax
jbe 0x41b14a
mov ebx, eax
cmp ebx, 3
jb 0x41b20b
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.0041a7c2
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x41b1d8
cmp eax, 3
jb 0x41b1d8
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x41b186
jmp 0x41b22b
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x41b231
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.0041a7c2
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x41b26c
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41b24a
lea edx, [ecx + esi + 0x1af70]
jmp 0x41b24c
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.0041a645
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x41b27d
call fcn.0041af7c
cmp dword [esi + 0x6af90], 0
jne 0x41b0b7
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41b29e
lea edx, [ecx + esi + 0x1af70]
jmp 0x41b2a0
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.0041a645
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x41be48
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x41be53
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x41bf07
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x435190]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x435190]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x435190]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x435190]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x435190]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x435190]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x435190]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x435190]
add ecx, 8
sub edi, 8
dec esi
jne 0x41be6a
pop ebx
test edi, edi
je 0x41bf20
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x435190]
inc ecx
dec edi
jne 0x41bf0b
pop esi
not eax
pop edi
ret

Function at 0x41bf25
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x435190]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x435190]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x41c0c7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x38]
mov edi, ecx
push eax
mov esi, edx
push edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x50], esi
call dword [0x42f110]
test eax, eax
jne 0x41c10f
mov eax, 0x200
jmp 0x41c293
mov ecx, dword [ebp - 0x38]
xor eax, eax
xor ebx, ebx
inc eax
mov dword [ebp - 0x40], ecx
and dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
je 0x41c125
mov dword [ebp - 0x3c], eax
test cl, 2
je 0x41c12e
or dword [ebp - 0x3c], 2
test cl, 4
je 0x41c137
or dword [ebp - 0x3c], 4
mov eax, ecx
and eax, 0x10
je 0x41c142
or dword [ebp - 0x3c], 0x10
test cl, 0x20
je 0x41c14b
or dword [ebp - 0x3c], 0x20
cmp eax, ebx
je 0x41c158
or dword [ebp - 0x3c], 0x40000000
jmp 0x41c15f
or dword [ebp - 0x3c], 0x80000000
or dword [ebp - 0x3c], 0x1000000
cmp dword [ebp - 0x40], ebx
jne 0x41c172
or dword [ebp - 0x3c], 0x800000
push ebx
push edi
call dword [0x42f0ec]
mov dword [ebp - 0x48], eax
cmp eax, 0x28
jbe 0x41c216
mov esi, dword [0x42f0f0]
push ebx
push ebx
push ebx
push edi
call esi
push ebx
lea eax, [ebp - 0x54]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push edi
mov edi, dword [0x42f068]
call edi
push ebx
push ebx
push 0x24
push dword [ebp - 0x44]
call esi
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x44]
call edi
mov eax, 0x54ad
cmp word [ebp - 0x40], ax
jne 0x41c213
mov eax, dword [ebp - 0x64]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x48], ecx
jbe 0x41c213
push ebx
push ebx
push eax
push dword [ebp - 0x44]
call esi
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x44]
call edi
mov eax, dword [ebp - 0x58]
cmp eax, 0x5a4d
je 0x41c20c
cmp eax, 0x454e
je 0x41c20c
cmp eax, 0x454c
je 0x41c20c
cmp eax, 0x4550
jne 0x41c213
or dword [ebp - 0x3c], 0x400000
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x41c222
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x41c22e
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
cmp esi, ebx
je 0x41c267
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0041c03c
push dword [ebp - 0x20]
mov dword [esi], eax
push dword [ebp - 0x24]
mov dword [esi + 4], edx
call fcn.0041c03c
push dword [ebp - 0x30]
mov dword [esi + 8], eax
push dword [ebp - 0x34]
mov dword [esi + 0xc], edx
call fcn.0041c03c
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp dword [ebp - 0x4c], ebx
je 0x41c291
push dword [ebp - 0x20]
lea edi, [ebp - 0x3c]
push dword [ebp - 0x24]
lea esi, [ebp - 0x40]
call fcn.0041c060
movzx eax, word [ebp - 0x40]
pop ecx
pop ecx
movzx ecx, word [ebp - 0x3c]
shl eax, 0x10
or eax, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d74c
leave
ret
Function at 0x100a2dec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b67d0]
jne 0x100a2df6
repz ret
jmp fcn.100a309d

Function at 0x100a352a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x100b67a0], 0x2498
mov ecx, dword [0x100b67a4]
add ecx, 0xffffe16e
mov dword [0x100b67a4], ecx
mov dword [ebp - 0x10], eax
call fcn.100a3e59
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x100b67a0], 0x4bc
mov edx, dword [eax + edx + 0x78]
mov dword [0x100b67a0], 0x124f
mov dword [0x100b67a4], 0xffffed55
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov eax, edx
add eax, 0x18
mov edi, ecx
add edi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
cmp edx, 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x100a35c5
jmp 0x100a35fb
mov al, byte [ebp - 0x29]
test al, 1
jne 0x100a36b2
jmp 0x100a367f
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x34]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x29], cl
je 0x100a35b5
jmp 0x100a364e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x40], edx
mov eax, 0xffffed55
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x40]
add edx, esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
xor esi, esi
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edi + eax*4]
add edx, 0xffffe16e
mov dword [0x100b67a4], edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x30], esi
jmp 0x100a35d0
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x29]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x30], eax
jne 0x100a35d0
jmp 0x100a35b5
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], edx
jb 0x100a3620
jmp 0x100a35c5
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov dword [0x100b67a4], 0xfffffd67
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x100b67a0], 0x768
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x28], edx
jmp 0x100a35c5
Function at 0x100a36e6
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]
mov edx, 1
lea esi, [ebp - 0x24]
mov dword [0x100b67a4], 0xc32
mov dword [0x100b67a0], 0xffffecfe
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100a75dc]
mov dh, byte [eax + 0x100a75ad]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
jne 0x100a371f
mov dword [0x100b67a4], 0x232f
mov dword [0x100b67a0], 0xf5f
call fcn.100a4d79
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.100a4bd8
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x100a384a
mov eax, dword [ebp - 0x38]
mov dword [0x100b67a0], 0x578
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 [0x100b67a0], 0x1960
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100a4ab2
xor eax, eax
mov dword [0x100b67a4], 0xa7
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x100b67a0], 0xffffdbc6
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [0x100b67a0]
add ecx, 0x1fb2
mov dword [0x100b67a0], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x30], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x100a384a
mov eax, dword [ebp - 0x40]
add eax, 0x1958
mov dword [0x100b67a0], 0x2398
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x100a384a
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100a3853
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]
mov edi, dword [0x100b67a0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xca
mov edx, dword [ebp - 0x20]
add edx, 0x1c7d
mov dword [0x100b67a0], ecx
mov dword [0x100b67a8], 0
mov dword [0x100b67ac], 0
mov dword [0x100b67b8], 0
mov dword [0x100b67a4], edx
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x100a38db
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100b67a8], edx
mov ecx, dword [ebp - 0x1c]
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 [0x100b67ac], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x100b67b0], cl
mov dword [0x100b67a4], 0x73c
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x100b67a0], 0x1230
mov cl, byte [0x100b67b0]
mov edx, dword [0x100b67ac]
mov byte [edi + edx], cl
mov edx, dword [0x100b67a0]
mov ebx, edx
add ebx, 0x4f4
mov dword [0x100b67a0], ebx
mov ebx, dword [0x100b67a8]
movzx ebx, byte [edi + ebx]
mov ecx, dword [0x100b67ac]
movzx ecx, byte [edi + ecx]
add ecx, ebx
and ecx, 0xff
mov dword [0x100b67b8], ecx
add edx, 0xffffd018
mov dword [0x100b67a4], edx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x100b67bd], ch
mov byte [0x100b67be], cl
mov dword [0x100b67a0], 0x1106
xor ch, cl
mov byte [0x100b67bc], ch
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x100a38d3
mov eax, dword [0x100b67a8]
mov dword [ebp - 0x40], eax
mov eax, dword [0x100b67ac]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
jmp 0x100a38db
Function at 0x100a3b28
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x100b67a0], 0x26aa
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x100b67a0]
add edx, 0xfffff6cd
mov dword [0x100b67a4], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100b67a0], 0x1018
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100a3be1
mov eax, dword [ebp - 0x14]
mov dword [0x100b67a4], 0xffffec24
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x100a3bf9
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x100a3bae
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100a3c1c
jmp 0x100a3b96
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x25], cl
mov al, byte [ebp - 0x25]
test al, 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jne 0x100a3be1
jmp 0x100a3b7a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
je 0x100a3b7a
jmp 0x100a3bb6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100a3b96
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100a3b9d
jmp 0x100a3b96
mov dword [0x100b67a0], 0x681
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100a3b96
mov dword [0x100b67a4], 0xfffffb35
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100a3b96
mov eax, 1
mov dword [0x100b67a4], 0xb7b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x100a3bae
jmp 0x100a3b96
Function at 0x100a3cea
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100b67ac], 0
mov byte [0x100b67b0], 0
mov edi, dword [0x100b67a0]
add edi, 0xffffed90
mov dword [0x100b67a4], edi
mov dword [0x100b67a8], 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 dword [0x100b67a0], 0x2457
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100b67a4], 0xf40
mov eax, dword [0x100b67a8]
add eax, 1
mov dword [0x100b67a8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100a3d37
mov eax, 0xf40
xor ecx, ecx
mov edx, dword [0x100b67a0]
add edx, 0xffffe4dc
mov dword [0x100b67a0], edx
mov dword [0x100b67a8], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x100b67b4], 0
mov esi, dword [0x100b67ac]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x100b67b4], ebx
add ecx, 0x4af
mov dword [0x100b67a4], ecx
mov eax, ebx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x100b67ac], edx
mov ebx, dword [ebp - 0x28]
mov cl, byte [edi + ebx]
mov byte [0x100b67b0], cl
mov cl, byte [edi + edx]
mov byte [edi + ebx], cl
mov dword [0x100b67a4], 0x215b
mov cl, byte [0x100b67b0]
mov edx, dword [0x100b67ac]
mov byte [edi + edx], cl
mov edx, dword [0x100b67a8]
add edx, 1
mov dword [0x100b67a8], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jge 0x100a3e51
mov eax, dword [0x100b67a4]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x100a3d9a
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100a4126
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0x100b67a0], 0x1a42
mov eax, dword [0x100b67a4]
mov dword [ebp - 4], eax
lea eax, [fcn.100a4126]
mov ecx, dword [ebp - 4]
add ecx, 0xffffe87b
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jmp 0x100a4166
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x100a417b
jmp 0x100a4195
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
je 0x100a4155
jmp 0x100a4195
mov eax, dword [ebp - 0x14]
mov dword [0x100b67a0], eax
mov dword [0x100b67a4], 0x6c0
mov eax, dword [ebp - 0x10]
add esp, 0x18
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add eax, 0xa5d
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x100a4166