joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d2e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
xor ebx, ebx
mov dword [edx + 0x2c], ebx
push esi
push edi
mov edi, 1
mov dword [edx + 0x44], edi
mov dword [edx + 0x40], edi
mov dword [edx + 0x3c], edi
mov dword [edx + 0x38], edi
mov eax, dword [edx + 0x78]
mov dword [edx + 0x70], eax
mov eax, 0x400
movzx ecx, ax
mov dword [edx + 0x58], 0xffffffff
mov dword [edx + 0x5c], ebx
mov dword [edx + 0x60], ebx
mov dword [edx + 0x64], ebx
mov dword [edx + 0x68], ebx
mov dword [edx + 0x6c], ebx
mov dword [edx + 0x80], ebx
mov dword [edx + 0x84], ebx
mov dword [edx + 0x88], ebx
mov eax, ecx
shl ecx, 0x10
or eax, ecx
mov dword [edx + 0x1e30], eax
mov dword [edx + 0x1e34], eax
mov dword [edx + 0x1e38], eax
mov dword [edx + 0x1e3c], eax
mov dword [edx + 0x1e40], eax
mov dword [edx + 0x1e44], eax
mov dword [edx + 0x1e48], eax
mov dword [edx + 0x1e4c], eax
lea ecx, [edx + 0x1e68]
lea eax, [edx + 0x2030]
mov dword [esp + 0xc], 0xc
push ebp
lea esp, [esp]
mov esi, 0x10
jmp 0x100d2f20
mov ebp, 0x400
mov word [eax - 0x180], bp
mov word [eax], bp
add eax, 2
sub esi, edi
jne 0x100d2f20
mov esi, ebp
mov word [ecx - 0x18], si
mov word [ecx], si
mov word [ecx + 0x18], si
mov word [ecx + 0x30], si
add ecx, 2
sub dword [esp + 0x10], edi
jne 0x100d2f10
mov eax, esi
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
lea edi, [edx + 0x21b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov eax, ebp
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
lea edi, [edx + 0x23b0]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x98]
add ecx, dword [edx + 0x94]
mov edi, dword [edx + 0x50]
mov eax, 0x300
shl eax, cl
cmp eax, ebx
jbe 0x100d2fb3
mov ecx, eax
mov eax, ebp
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, ebp
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, 0x80
lea edi, [edx + 0x24b0]
rep stosd dword es:[edi], eax
mov eax, 0x400
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
lea edi, [edx + 0x26b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov eax, 0x400
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, 0x80
lea edi, [edx + 0x28b0]
rep stosd dword es:[edi], eax
mov eax, 0x400
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
lea edi, [edx + 0x2ab0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x18], ebx
lea eax, [edx + 0xbcb8]
mov ecx, 0x800
pop ebp
mov dword [eax], 0x40000000
add eax, 0x20
dec ecx
jne 0x100d3032
mov ecx, dword [edx + 0x9c]
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x98]
mov esi, 0x100
pop edi
dec eax
mov dword [edx + 0x4c], eax
mov eax, 0x100
shl eax, cl
mov ecx, dword [edx + 0x94]
shr esi, cl
mov dword [edx + 0x34], ebx
sub eax, esi
pop esi
mov dword [edx + 0x48], eax
pop ebx
pop ecx
ret
Function at 0x100d4160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100d41cb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100d420c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100d41f1
mov ecx, ebx
call fcn.100d3e50
add ebx, 0x28
dec ebp
jne 0x100d41e5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100d4207
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100d3d20
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100d42b0
mov ebx, eax
cmp ebx, edi
jne 0x100d426f
lea ecx, [ebp + 0x20]
call fcn.100d92e0
mov ebx, eax
cmp ebx, edi
jne 0x100d426f
lea ecx, [ebp + 0x1c]
call fcn.100d92e0
mov ebx, eax
cmp ebx, edi
jne 0x100d426f
push ebp
call fcn.100d42f0
mov ebx, eax
cmp ebx, edi
je 0x100d4284
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100d42d0
cmp ebx, edi
jle 0x100d427f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100d4284
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100d4296
cmp dword [esi + 0x40], edi
jne 0x100d4296
cmp dword [esi + 0x3c], edi
jne 0x100d4296
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x100d4162
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100d41cb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100d420c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100d41f1
mov ecx, ebx
call fcn.100d3e50
add ebx, 0x28
dec ebp
jne 0x100d41e5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100d4207
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100d3d20
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100d42b0
mov ebx, eax
cmp ebx, edi
jne 0x100d426f
lea ecx, [ebp + 0x20]
call fcn.100d92e0
mov ebx, eax
cmp ebx, edi
jne 0x100d426f
lea ecx, [ebp + 0x1c]
call fcn.100d92e0
mov ebx, eax
cmp ebx, edi
jne 0x100d426f
push ebp
call fcn.100d42f0
mov ebx, eax
cmp ebx, edi
je 0x100d4284
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100d42d0
cmp ebx, edi
jle 0x100d427f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100d4284
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100d4296
cmp dword [esi + 0x40], edi
jne 0x100d4296
cmp dword [esi + 0x3c], edi
jne 0x100d4296
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x100d5320
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push edi
push 0x98
xor ebx, ebx
lea eax, [esi + 0x110]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
lea edi, [ecx + eax]
mov dword [esi + 0x40], eax
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [esi + 0x18]
shr edx, 3
imul edx, edx, 0x54
mov ecx, edi
sub ecx, edx
add esp, 0xc
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], eax
mov edx, eax
cmp eax, 0xc
jb 0x100d537b
mov edx, 0xc
or eax, 0xffffffff
sub eax, edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea eax, [edi - 0xc]
lea edx, [ecx + 0x600]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ecx
mov edx, 0x100
mov word [eax], dx
mov edx, 0x101
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
xor edx, edx
lea eax, [ecx + 2]
lea esp, [esp]
xor ecx, ecx
mov byte [eax - 2], dl
mov byte [eax - 1], 1
mov word [eax], cx
mov word [eax + 2], cx
inc edx
add eax, 6
cmp edx, 0x100
jb 0x100d53c0
lea edx, [esi + 0x9fc]
mov dword [esp + 8], edx
push ebp
jmp 0x100d53f0
mov edi, dword [esp + 0xc]
xor ebp, ebp
jmp 0x100d5400
movzx eax, word [ebp + 0x100fbd40]
xor edx, edx
lea ecx, [ebx + 2]
div ecx
mov edx, 0x4000
sub edx, eax
movzx ecx, dx
xor eax, eax
lea ebx, [ebx]
mov word [edi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x100d5420
add ebp, 2
add edi, 2
cmp ebp, 0x10
jb 0x100d5400
sub dword [esp + 0xc], 0xffffff80
inc ebx
cmp ebx, 0x80
jb 0x100d53f0
mov ecx, 0x50
lea edi, [esi + 0x3bc]
lea ebx, [ecx - 0x4c]
pop ebp
mov eax, edi
mov edx, 0x10
jmp 0x100d5460
mov word [eax], cx
mov word [eax + 2], 0x403
add eax, ebx
dec edx
jne 0x100d5460
add ecx, 0x28
add edi, 0x40
cmp ecx, 0x438
jb 0x100d5454
pop edi
mov dword [esi + 0x3b8], 0x40070000
pop ebx
pop ecx
ret
Function at 0x100d7420
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push ebp
push edi
push 0x98
xor ebx, ebx
lea eax, [esi + 0x100]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x98
lea ecx, [esi + 0x198]
push ebx
push ecx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x28]
lea edi, [ecx + eax]
mov dword [esi + 0x40], eax
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [esi + 0x18]
shr edx, 3
imul edx, edx, 0x54
mov ecx, edi
sub ecx, edx
add esp, 0x18
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], eax
mov edx, eax
cmp eax, 0xc
jb 0x100d7490
mov edx, 0xc
or eax, 0xffffffff
sub eax, edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea eax, [edi - 0xc]
mov dword [esi + 0x3c], eax
lea edx, [ecx + 0x600]
mov dword [esi + 0x38], edx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ecx
mov dword [eax], 0x10100ff
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
xor edx, edx
lea eax, [ecx + 2]
xor ecx, ecx
mov byte [eax - 2], dl
mov byte [eax - 1], 1
mov word [eax], cx
mov word [eax + 2], cx
inc edx
add eax, 6
cmp edx, 0x100
jb 0x100d74c6
lea eax, [esi + 0x330]
lea edx, [esi + 0x1048]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jmp 0x100d7504
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax]
cmp edx, ecx
jne 0x100d7523
nop
inc ebx
lea eax, [esi + ebx + 0x330]
mov dword [esp + 0x14], eax
movzx eax, byte [eax]
cmp eax, ecx
je 0x100d7510
mov edi, dword [esp + 0x10]
xor ebp, ebp
lea esp, [esp]
movzx eax, word [ebp + 0x100fbd60]
xor edx, edx
lea ecx, [ebx + 1]
div ecx
mov ecx, 0x4000
sub ecx, eax
movzx ecx, cx
xor eax, eax
lea ebx, [ebx]
mov word [edi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x100d7550
add ebp, 2
add edi, 2
cmp ebp, 0x10
jb 0x100d7530
mov eax, dword [esp + 0xc]
sub dword [esp + 0x10], 0xffffff80
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x19
jb 0x100d7500
xor edi, edi
lea edx, [esi + 0x448]
lea ebp, [esi + 0x333]
lea ebx, [edi + 3]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x18
movzx eax, byte [ebp]
cmp eax, ebx
jne 0x100d75b4
nop
inc edi
movzx ecx, byte [esi + edi + 0x333]
lea ebp, [esi + edi + 0x333]
cmp ecx, ebx
je 0x100d75a0
mov eax, dword [esp + 0x10]
mov ecx, edi
shl ecx, 4
add ecx, 0x28
mov edx, 0x20
jmp 0x100d75d0
mov word [eax], cx
mov word [eax + 2], 0x703
add eax, 4
dec edx
jne 0x100d75d0
sub dword [esp + 0x10], 0xffffff80
inc ebx
dec dword [esp + 0x14]
jne 0x100d7597
pop edi
pop ebp
mov dword [esi + 0x444], 0x40070000
pop ebx
add esp, 0xc
ret

Function at 0x100d9240
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x100d9268
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100d9277
mov eax, 1
ret 4
Function at 0x100d9280
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 4
mov edi, ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
mov esi, eax
add esp, 0x18
mov dword [edi], esi
test esi, esi
je 0x100d92c6
mov edx, dword [esp + 0x10]
push edx
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x100d92c6
mov eax, edi
pop edi
pop esi
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100d92c1
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x100d95b0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, edx
mov dword [ecx], eax
dec eax
je 0x100d95d3
sub eax, 3
je 0x100d95c9
sub eax, 6
jne 0x100d95da
add ecx, 0x10
jmp fcn.100e07d0
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
mov dword [ecx + 4], 0xffffffff
ret
Function at 0x100dfd80
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x100dfdb0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [0x1010f46c]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x100e0540
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x100e0582
cmp eax, 0x40
je 0x100e0574
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
mov ecx, dword [esi + 0x20]
bswap ecx
mov dword [edi], ecx
mov edx, dword [esi + 0x24]
bswap edx
mov dword [edi + 4], edx
mov eax, dword [esi + 0x28]
bswap eax
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x2c]
bswap ecx
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x30]
bswap edx
mov dword [edi + 0x10], edx
pop edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x67452301
mov dword [esi + 0x24], 0xefcdab89
mov dword [esi + 0x28], 0x98badcfe
mov dword [esi + 0x2c], 0x10325476
mov dword [esi + 0x30], 0xc3d2e1f0
pop esi
pop ebx
ret

Function at 0x100e0780
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x100e07d0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x1010f470]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret
Function at 0x100e0df0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x100e0e33
cmp eax, 0x40
je 0x100e0e25
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
lea ecx, [esi + 0x20]
mov edx, 4
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
bswap ebp
bswap eax
mov dword [edi], ebp
mov dword [edi + 4], eax
add edi, 8
add ecx, 8
dec edx
jne 0x100e0e78
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret
Function at 0x100e1d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x38], edx
mov ebp, ecx
lea ecx, [ecx]
mov edi, dword [ebp + 0x10]
cmp edi, 3
jae 0x100e1d34
mov ecx, ebp
call fcn.100e3db0
jmp 0x100e1eb8
mov ecx, dword [ebp]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
xor edx, dword [ebp + eax*4 + 0x60]
mov eax, dword [ebp + 0x24]
movzx ecx, dx
mov ebx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea edx, [edx + eax*8]
mov eax, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x24]
lea esi, [edx + 4]
sub eax, ecx
mov dword [esp + 0x18], esi
cmp ecx, dword [esp + 0x20]
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x34], ecx
cmp ecx, ebx
mov ecx, dword [esp + 0x10]
jae 0x100e1e93
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
sub esi, ebx
cmp dword [esp + 0x3c], esi
sbb eax, eax
and eax, dword [esp + 0x24]
sub eax, esi
neg esi
add eax, dword [esp + 0x3c]
add ecx, esi
mov dword [esp + 0x44], ecx
lea edx, [edx + eax*8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x100e1dfb
mov eax, edx
mov edx, dword [esp + 0x10]
mov cl, byte [eax + ecx]
cmp cl, byte [eax + edx]
mov edx, dword [esp + 0x1c]
jne 0x100e1e3e
inc eax
cmp eax, edi
je 0x100e1e27
mov edx, dword [esp + 0x10]
add edx, eax
mov cl, byte [edx + esi]
cmp cl, byte [edx]
jne 0x100e1e3a
inc eax
inc edx
cmp eax, edi
jne 0x100e1e16
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov dword [ecx], eax
jmp 0x100e1e9f
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
mov cl, byte [eax + ecx]
cmp cl, byte [eax + esi]
jae 0x100e1e67
mov ecx, dword [esp + 0x14]
add edx, 4
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov dword [ecx], ebx
mov ebx, dword [edx]
jmp 0x100e1e7d
mov ecx, dword [esp + 0x18]
mov esi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], eax
mov dword [ecx], ebx
mov ebx, dword [edx]
mov edx, dword [esp + 0x14]
sub dword [esp + 0x30], 1
je 0x100e1e93
cmp dword [esp + 0x34], ebx
jae 0x100e1e93
mov ecx, dword [esp + 0x10]
jmp 0x100e1dc4
mov dword [edx], 0
mov dword [esi], 0
mov eax, dword [ebp + 4]
inc dword [ebp + 0x14]
inc eax
inc dword [ebp]
mov dword [ebp + 4], eax
cmp eax, dword [ebp + 8]
jne 0x100e1eb8
mov ecx, ebp
call fcn.100e3670
sub dword [esp + 0x38], 1
jne 0x100e1d20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x100e2bc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x28
push ebx
mov ebx, ecx
push edi
mov edi, edx
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
cmp eax, 3
jae 0x100e2be2
call fcn.100e3db0
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
mov ecx, dword [ebx]
push ebp
push esi
mov dword [esp + 0x10], 2
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
xor edx, dword [ebx + eax*4 + 0x60]
mov eax, dword [ebx + 0x24]
movzx ecx, dx
mov ebp, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx]
mov esi, dword [ebx + 0x18]
mov edx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [ecx + eax*4], ebp
mov ecx, dword [esp + 0x14]
test ebp, ebp
je 0x100e2cf6
sub edx, ebp
cmp edx, esi
jae 0x100e2cf6
cmp eax, edx
sbb eax, eax
and eax, esi
mov esi, dword [esp + 0x1c]
sub eax, edx
add eax, dword [esp + 0x18]
mov eax, dword [esi + eax*4]
mov esi, edx
mov dword [esp + 0x2c], eax
neg esi
mov eax, dword [esp + 0x10]
lea ebp, [esi + ecx]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x10]
cmp al, byte [ecx + ebp]
mov ecx, dword [esp + 0x14]
jne 0x100e2ccb
mov eax, ecx
mov cl, byte [ecx]
cmp cl, byte [ebp]
jne 0x100e2cb0
inc eax
cmp eax, dword [esp + 0x28]
je 0x100e2ce7
mov cl, byte [eax]
cmp cl, byte [eax + esi]
je 0x100e2ca2
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp dword [esp + 0x10], eax
jae 0x100e2ccb
mov dword [edi], eax
mov dword [esp + 0x10], eax
lea eax, [edx - 1]
mov dword [edi + 4], eax
add edi, 8
sub dword [esp + 0x20], 1
je 0x100e2cf6
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
jmp 0x100e2c55
mov eax, dword [esp + 0x24]
mov dword [edi], eax
lea eax, [edx - 1]
mov dword [edi + 4], eax
add edi, 8
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x14]
inc ecx
inc dword [ebx]
pop esi
mov dword [ebx + 4], ecx
pop ebp
cmp ecx, dword [ebx + 8]
jne 0x100e2d10
mov ecx, ebx
call fcn.100e3670
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret