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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4429d0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4308ff
cmp word [ebx], dx
jne 0x4308ff
or byte [eax + edi + 0x28], 4
jmp 0x430904
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x430a67
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x430a47
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x430945
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x43097b
cmp eax, edx
jae 0x430989
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x430920
jmp 0x430a67
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430a42
cmp dword [ebp - 0x18], 0
je 0x430a42
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4429d0]
test byte [eax + edi + 0x28], 0x48
je 0x430a18
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4309dc
mov word [esi], cx
jmp 0x430a13
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4429d0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4429d0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4429d0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x430a67
pop eax
cmp word [ebp - 4], ax
jne 0x430a28
cmp esi, ebx
jne 0x430a28
mov word [esi], ax
jmp 0x430a64
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043038c
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x430a67
push 0xd
pop eax
jmp 0x430a23
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4429d0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x430a61
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x430a67
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x432420
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43244d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43244d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x69f1e3
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]
mov edi, dword [0x6b7f40]
add edi, 0xffffe881
mov dword [0x6b7f44], edi
mov dword [0x6b7f48], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x6b7f4c], 0
mov dword [0x6b7f58], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x69f364
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x6b7f40], 0x1751
mov edi, edx
add edi, 1
add eax, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x6b7f48], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x6b7f4c], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x6b7f50], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x6b7f50]
mov edx, dword [0x6b7f4c]
mov byte [ebx + edx], cl
mov edx, dword [0x6b7f48]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x6b7f4c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x6b7f44], 0x26fd
and ecx, 0xff
mov dword [0x6b7f58], ecx
mov dword [0x6b7f40], 0x267e
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dl, cl
add dl, byte [0x6b7f5d]
mov byte [0x6b7f5c], dl
mov byte [0x6b7f5d], ch
mov byte [0x6b7f5e], cl
mov dword [0x6b7f44], 0x1b66
xor ch, cl
mov dword [0x6b7f40], 0x1174
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x69f364
mov eax, dword [0x6b7f48]
mov dword [ebp - 0x38], eax
mov eax, dword [0x6b7f4c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x69f252
mov dword [0x6b7f44], 0x13b3
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x69f376
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x6b7f40], 0x260a
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x64
mov edi, edx
add edi, esi
add edi, 0x54
mov esi, dword [edi]
imul edi, eax, 0x64
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x383
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x69f3a5
lea eax, [ebp - 0x12c]
mov dword [0x6b7f44], 0x1461
mov dword [ebp - 0x140], eax
lea eax, [0x6a1051]
mov ecx, 0xe
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x144], ecx
call fcn.0069ecdd
mov dword [0x6b7f40], 0x79e
call fcn.0069eb1d
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.0069f839
mov dword [0x6b7f60], eax
mov ecx, dword [0x6b7f40]
add ecx, 0xffffe40e
mov dword [0x6b7f44], ecx
mov ecx, esp
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x6b7f40]
add edx, 0xfffffbd2
mov dword [0x6b7f40], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x64
mov edi, edx
add edi, esi
add edi, 0x54
mov esi, dword [edi]
imul edi, eax, 0x64
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x64
add edx, ebx
add edx, 4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.0069ef8a
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x383
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x69f4c3
lea eax, [0x6a105f]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.0069f977
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.0069f1e3
xor eax, eax
mov ecx, dword [0x6b7f40]
add ecx, 0x1d8e
mov dword [0x6b7f40], ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x154e43
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x137200
mov ecx, dword [ebp - 0x148]
add ecx, 0xebfec
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f80
mov ecx, dword [0x6b7f40]
add ecx, 0x1a21
mov dword [0x6b7f40], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x69f61b
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 dword [0x6b7f40], 0x1994
mov dword [ebp - 0x10], eax
call fcn.0069f032
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + edx + 0x78]
mov dword [0x6b7f40], 0x2010
mov edx, eax
add edx, 0x20
mov esi, ecx
add esi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add ecx, dword [edx]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi + edi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
je 0x69f778
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x69f70d
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x4c], eax
mov al, byte [ebp - 0x45]
cmp al, 0
setne cl
mov dl, byte [ebp - 0x46]
and dl, cl
mov esi, dword [ebp - 0x4c]
cmp esi, 0x20
setb cl
and dl, cl
test dl, 1
mov dword [ebp - 0x40], esi
jne 0x69f6b6
mov al, byte [ebp - 0x46]
test al, 1
jne 0x69f740
jmp 0x69f716
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x20]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x69f69c
jmp 0x69f778
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
add edx, 0x1c
mov esi, dword [ebp - 0x14]
add esi, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x50]
add edx, dword [eax + esi*4]
mov dword [0x6b7f44], 0x2690
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x69f977
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 [0x6b7f4c], 0
mov byte [0x6b7f50], 0
mov edi, dword [0x6b7f40]
add edi, 0xfffffac9
mov dword [0x6b7f44], edi
mov dword [0x6b7f48], 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 [0x6b7f40], 0x1cb3
mov eax, dword [0x6b7f48]
add eax, 1
mov dword [0x6b7f48], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x69f9c4
mov dword [0x6b7f40], 0x1549
xor eax, eax
mov dword [0x6b7f48], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x6b7f54], 0
mov edx, dword [0x6b7f4c]
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 [0x6b7f54], edi
mov dword [0x6b7f40], 0x15b
mov eax, edi
cdq
idiv ecx
mov dword [0x6b7f4c], edx
mov dword [0x6b7f44], 0xffffff07
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x6b7f50], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x6b7f44]
add ecx, 0xffffdd45
mov dword [0x6b7f40], ecx
mov cl, byte [0x6b7f50]
mov edx, dword [0x6b7f4c]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x6b7f48]
add edx, 1
mov dword [0x6b7f48], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x69fa0d
mov dword [0x6b7f44], 0x18f5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x69fad8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x6a1051]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x6b7f44], 0x2337
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.0069ecdd
mov dword [0x6b7f40], 0x79e
call fcn.0069eb1d
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.0069f839
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x69fc1c
jmp 0x69fb75
mov eax, dword [ebp - 0x44]
add eax, 0x11e8
mov dword [0x6b7f40], 0x6f0
mov dword [0x6b7f44], 0x23bd
mov dword [ebp - 0x40], eax
jmp 0x69fc1c
mov eax, dword [ebp - 0x3c]
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 [0x6b7f44], 0x1985
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.0069fe65
mov eax, dword [0x6b7f40]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x4c]
mov word [ecx], 0x5a4d
mov edx, dword [ebp - 0x48]
add edx, 0xffffda01
mov dword [0x6b7f40], edx
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x3c], 0xc0
mov dword [edx + 0xc0], 0x4550
add edx, 0xffc00000
mov dword [0x6b7f44], 0x2259
mov esi, dword [ebp - 0x30]
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x44]
mov dword [esi + 0x40], edx
cmp edx, 0
mov dword [ebp - 0x40], eax
jne 0x69fb51
mov eax, dword [ebp - 0x40]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x69fc26
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov eax, 0x10
call fcn.0069e830
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0x34], eax
call fcn.00401088
xor ecx, ecx
cmp eax, 0
mov dword [esi + 0x30], ecx
je 0x69fca0
jmp 0x69fddd
mov eax, dword [esi + 0x2c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x24]
add eax, 0xffffdab2
mov dword [0x6b7f40], eax
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp word [eax], 0x5a4d
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], ecx
je 0x69fd5e
jmp 0x69fc61
lea eax, [esi + 0x38]
mov dword [0x6b7f40], 0x2038
mov dword [0x6b7f44], 0x2318
mov dword [esi + 0x18], eax
call fcn.0069ff7a
xor ecx, ecx
cmp eax, 0
mov dword [esi + 0x14], ecx
jne 0x69fdd7
sub esp, 4
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call fcn.0069f376
add esp, 4
mov ecx, dword [0x6b7f44]
mov edx, dword [esi + 0x34]
mov edi, dword [edx]
mov dword [esi + 0x70], edi
mov dword [esi + 0x4c], 0x137200
mov edi, dword [0x6b7f2c]
mov dword [esi + 0x44], edi
mov edi, dword [0x6b7f30]
mov dword [esi + 0x84], edi
mov edi, dword [0x6b7f34]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edi
lea eax, [0x69fde8]
mov ecx, dword [esi + 8]
mov dword [esi + 0x6c], ecx
mov edx, dword [0x6b7f38]
mov dword [esi + 0x5c], edx
mov edx, dword [0x6b7f3c]
mov dword [esi + 0x8c], edx
mov edx, dword [esi + 0xc]
add edx, 0xfffff8dd
mov dword [0x6b7f40], edx
mov dword [0x6b7f44], 0x22a3
mov dword [esi + 0x20], edx
mov dword [esi + 0x1c], eax
jmp 0x69fc87
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x3c]
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 4]
cmp dword [eax + ecx], 0x4550
jne 0x69fc61
lea eax, [esi + 0x38]
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x74], ecx
mov dword [0x6b7f44], 0x1c92
mov dword [0x6b7f40], 0x14d5
mov edx, dword [esi + 4]
mov edi, dword [ecx + edx + 0x50]
mov dword [esi + 0x54], edi
mov edi, dword [esi + 0x34]
mov ebx, dword [edi + 8]
push ebx
push eax
call fcn.0069fad8
add esp, 8
mov ecx, dword [0x6b7f44]
add ecx, 0x1f82
mov dword [0x6b7f40], ecx
sub esp, 4
mov ecx, esp
lea edx, [esi + 0x38]
mov dword [ecx], edx
call eax
mov eax, 1
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x30]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x69ff7a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [0x6b7f40], 0xe24
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 0x69ffc4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x6a001c
jmp 0x6a009c
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 0x69fffb
mov dword [0x6b7f44], 0xd66
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 0x69ffc4
mov eax, dword [ebp - 0x1c]
mov dword [0x6b7f40], 0xf30
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x69ffb0
jmp 0x6a009c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
sete dl
mov byte [ebp - 0x1d], dl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x6a0038
jmp 0x6a009c
mov dword [0x6b7f40], 0x15e2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x6a009c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x6a009c
mov dword [0x6b7f40], 0x1882
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x6a009c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x6a009c
mov eax, 1
mov dword [0x6b7f44], 0xfeb
mov dword [ebp - 0x24], eax
jmp 0x6a00ab
xor eax, eax
mov dword [0x6b7f40], 0x177
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10060328
Capabilities:
Encode data using xor

Disassembly:
call 0x100602a1
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100602d1
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100602ed
xor edx, 0
jmp 0x100602f8
xor edx, edx
jmp 0x1006030f
jmp 0x1006031b
xor eax, eax
push 0x8427d7c0
call 0x10060328
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10060364
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1006033d
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1006037b
add eax, 0
jno 0x10060380
add esi, 0
ret 0x10

Function at 0x100610e9
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1006110b
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100612ad
cmp edi, dword [ebp + 0x10]
jb 0x100612ad
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10060bd5
inc edi
jmp 0x10061194
jmp 0x100611a1
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10060bd5
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10060bd5
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100611f5
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100611d9
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10061223
add dword [eax], 0x39
jle 0x100611ff
sub al, 0xf5
mov ch, al
call fcn.10061238
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10