joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009b9b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
cmp esi, 0x40
rep stosd dword es:[edi], eax
jbe 0x1009b9ee
mov ecx, ebx
call fcn.100ad5b0
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.100ae360
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.100ae520
jmp 0x1009ba0a
test esi, esi
jbe 0x1009ba0a
mov ecx, esi
mov esi, dword [esp + 0x50]
mov eax, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x36
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x1009ba0c
mov ecx, ebx
call fcn.100ad5b0
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.100ae360
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x1009ba33
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.100ad5b0
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100ae360
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x1009bad0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc8]
cmp edi, 0x40
jbe 0x1009bb4b
lea ecx, [esp + 0x60]
call fcn.100ad5b0
mov edx, dword [esp + 0xc4]
push edi
lea ecx, [esp + 0x64]
call fcn.100ae360
lea edx, [esp + 0xc]
lea ecx, [esp + 0x60]
call fcn.100ae520
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ch, byte [esp + eax + 0xc]
mov dl, byte [esp + eax + 0xe]
mov cl, byte [esp + eax + 0xd]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esp + eax + 0xb]
shl ecx, 8
or ecx, edx
cmp eax, 0x14
mov dword [esp + eax + 0x1c], ecx
jb 0x1009bb1d
jmp 0x1009bb84
xor eax, eax
test edi, edi
jbe 0x1009bb84
push ebp
mov ebp, dword [esp + 0xc8]
mov ecx, eax
mov edx, eax
shr ecx, 2
and edx, 3
lea esi, [esp + ecx*4 + 0x24]
mov ecx, 3
sub ecx, edx
xor edx, edx
mov dl, byte [eax + ebp]
shl ecx, 3
shl edx, cl
mov ecx, dword [esi]
or ecx, edx
inc eax
cmp eax, edi
mov dword [esi], ecx
jb 0x1009bb59
pop ebp
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x1009bb8d
mov ecx, ebx
call fcn.100ad5b0
push 0x10
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.100ae630
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x1009bbbb
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.100ad5b0
push 0x10
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.100ae630
pop edi
pop esi
pop ebx
add esp, 0xb4
ret 8
Function at 0x1009bc40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 5
call fcn.100ae5e0
lea ecx, [ebp + 0x60]
push 5
lea edx, [esp + 0x54]
call fcn.100ae5e0
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov ecx, 5
mov esi, ebx
lea edi, [esp + 0x10]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jbe 0x1009bcc2
mov esi, eax
lea eax, [esp + 0x50]
lea edx, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.100ad5e0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x60]
call fcn.100ad5e0
lea ecx, [esp + 0x10]
mov eax, ebx
sub ecx, ebx
mov edx, 5
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x1009bcb4
dec esi
jne 0x1009bc86
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0x1009c350
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x10]
push edi
xor edi, edi
xor eax, eax
lea edx, [ebp + 0x100]
lea esi, [edi + ecx]
xor ebx, ebx
add edx, 4
mov bl, byte [esi + eax]
mov ebx, dword [ebx*4 + 0x100ddb00]
xor dword [edx - 4], ebx
inc eax
cmp eax, 4
jb 0x1009c367
add edi, 4
cmp edi, 0x10
jb 0x1009c35c
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1009cf00
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, ecx
test ebx, ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov esi, edx
mov dword [esp + 0x10], edi
lea ebp, [edi + ecx*4 + 8]
je 0x1009cf8e
cmp eax, 0x10
je 0x1009cf36
mov dl, byte [eax + ebp]
mov cl, byte [esi]
xor cl, dl
inc eax
mov byte [esi], cl
inc esi
dec ebx
je 0x1009cf36
cmp eax, 0x10
jne 0x1009cf23
cmp ebx, 0x10
jb 0x1009cf5c
mov edi, ebx
mov edx, esi
shr edi, 4
push edi
lea ecx, [ebp + 0x10]
call dword [0x100dfb08]
shl edi, 4
add esi, edi
sub ebx, edi
mov edi, dword [esp + 0x10]
mov eax, 0x10
test ebx, ebx
je 0x1009cf8c
mov ecx, ebp
xor eax, eax
push 1
mov edx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea ecx, [ebp + 0x10]
call dword [0x100dfb08]
xor eax, eax
mov dl, byte [eax + ebp]
mov cl, byte [esi]
xor cl, dl
inc eax
mov byte [esi], cl
inc esi
dec ebx
jne 0x1009cf7e
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x1009d350
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xa0
and eax, 0xff
mov dl, al
push ebx
mov dh, dl
push esi
mov eax, edx
mov esi, ecx
shl eax, 0x10
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ecx, ecx
sub esi, eax
mov bl, byte [esp + ecx + 0xc]
lea eax, [esp + ecx + 0xc]
mov dl, byte [esi + eax]
xor bl, dl
inc ecx
cmp ecx, 0x14
mov byte [eax], bl
jb 0x1009d381
lea ecx, [esp + 0x4c]
call fcn.100ad5b0
lea edx, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
call fcn.100ae360
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0xb0]
call fcn.100ae520
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4
Function at 0x1009e580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [eax]
push edi
mov ebp, ecx
xor edi, edi
and esi, 7
mov dword [esp + 0xc], ebp
cmp edx, 5
jae 0x1009e5a7
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0xc
add dword [esp + 0x18], 5
push ebx
lea ebx, [edx - 4]
add ebx, ebp
mov dword [esp + 0x14], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x1009e5cf
lea ecx, [ecx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x1009e5cf
inc edx
cmp edx, ebx
jb 0x1009e5c0
mov ecx, edx
sub ecx, edi
mov edi, edx
sub ecx, ebp
sub edi, ebp
cmp edx, ebx
jae 0x1009e6bb
cmp ecx, 2
jbe 0x1009e627
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x1009e6ac
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x1c]
lea ebp, [edi + ecx]
add edi, 5
cmp dword [esp + 0x24], 0
je 0x1009e650
add eax, ebp
jmp 0x1009e652
shr esi, cl
test esi, esi
je 0x1009e5e8
cmp esi, 4
ja 0x1009e645
cmp esi, 3
je 0x1009e645
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x1009e5e8
or esi, 8
shr esi, 1
inc edi
jmp 0x1009e5b6
sub eax, ebp
test esi, esi
je 0x1009e686
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x1009e680
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x1009e67e
add eax, ebp
jmp 0x1009e680
sub eax, ebp
mov ebx, dword [esp + 0x14]
xor esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x1009e5b6
mov ebp, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc edi
jmp 0x1009e5b6
pop ebx
cmp ecx, 2
jbe 0x1009e6d4
mov edx, dword [esp + 0x1c]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc

Function at 0x1009f370
Capabilities:
Check os version

Disassembly:
sub esp, 0x134
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1009f397
cmp dword [esp + 0x24], 5
sbb eax, eax
inc eax
jne 0x1009f3a0
xor eax, eax
add esp, 0x134
ret
lea ecx, [esp]
call fcn.1009f1d0
test eax, eax
je 0x1009f397
mov eax, dword [esp + 0x18]
shr eax, 0x19
and eax, 1
add esp, 0x134
ret
Function at 0x1009fa50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [ecx + 0x34], edx
mov byte [ecx + 0x1f], dl
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x30], 0x20
mov dword [ecx + 0x48], 4
mov word [ecx + 0x1d], 1
lea esi, [ecx + 0x60]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x1009fa73
pop esi
ret
Function at 0x100a61f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x100a6200
pop edi
pop ebx
ret

Function at 0x100a6230
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x100a6240
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100a64e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x100a6651
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x100a656a
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x100a6540
add edi, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x100a6524
cmp edx, 0x10
jae 0x100a65eb
lea eax, [edx - 8]
mov dword [esp + 8], eax
jmp 0x100a6590
cmp edx, dword [esp + 0x1c]
jae 0x100a6651
or eax, 8
xor edi, edi
cmp eax, 1
je 0x100a65d1
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x100a65a4
add edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, 0x10
jb 0x100a6590
cmp edx, dword [esp + 0x1c]
jae 0x100a6651
lea eax, [edx - 0x10]
mov dword [esp + 0x18], eax
jmp 0x100a6600
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x100a6636
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x100a6610
add edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 0x18], eax
cmp edx, dword [esp + 0x1c]
jb 0x100a6600
pop edi
pop ebp
add esp, 0xc
ret 0xc
Function at 0x100a8080
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x325c8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x100a80a0
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32c4c]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30f34]
add ecx, ecx
shr esi, 1
or ecx, eax
dec dword [esp + 0xc]
jne 0x100a80b0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x100a80a0
pop esi
pop ebp
mov dword [edi + 0x84], 0
pop ebx
add esp, 0xc
ret
Function at 0x100a8110
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov eax, 4
push edi
mov dword [esp + 0x18], eax
movzx ebp, byte [edx + eax + 0x30734]
mov ecx, ebp
mov esi, ebp
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov edi, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], 0
sub edi, esi
mov ebx, 1
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100a81a1
jmp 0x100a8164
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
sub ecx, ebp
mov eax, edi
and eax, 1
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b66]
mov ebp, eax
neg ebp
sar ebp, 4
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
mov ecx, dword [edx + ecx*4 + 0x30f34]
add dword [esp + 0x10], ecx
add ebx, ebx
shr edi, 1
or ebx, eax
dec dword [esp + 0x14]
jne 0x100a8160
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x20], ecx
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x80
jb 0x100a8123
lea eax, [edx + 0x32968]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
sub eax, edx
lea ebp, [edx + 0x31dd0]
sub eax, 0x31dc8
lea edi, [edx + 0x319c8]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 4
lea ebx, [ebx]
xor ebx, ebx
cmp dword [edx + 0x88], ebx
jbe 0x100a824b
lea ebx, [ebx]
mov eax, ebx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x100a823f
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add esi, dword [edx + ebp*4 + 0x30f34]
mov eax, ecx
cmp eax, 1
jne 0x100a8210
mov ebp, dword [esp + 0x18]
mov dword [edi + ebx*4], esi
inc ebx
cmp ebx, dword [edx + 0x88]
jb 0x100a8200
mov eax, 0xe
cmp dword [edx + 0x88], eax
jbe 0x100a826e
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x88]
jb 0x100a8258
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebp - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebp], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp + 4], ecx
mov eax, 4
lea ecx, [ebp + 8]
lea ecx, [ecx]
movzx esi, byte [edx + eax + 0x30734]
mov esi, dword [edi + esi*4]
mov ebx, dword [esp + 0x14]
add esi, dword [ebx + ecx]
inc eax
mov dword [ecx], esi
add ecx, 4
cmp eax, 0x80
jb 0x100a8290
sub dword [esp + 0x10], 0xffffff80
sub dword [esp + 0x14], 0x200
add ebp, 0x200
add edi, 0x100
dec dword [esp + 0x1c]
mov dword [esp + 0x18], ebp
jne 0x100a81f0
pop edi
pop esi
pop ebp
mov dword [edx + 0x80], 0
pop ebx
add esp, 0x210
ret

Function at 0x100ad5b0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
ret
Function at 0x100ae520
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x18]
and edi, 0x3f
mov eax, edi
mov ebx, edx
and eax, 3
xor ebp, ebp
shr edi, 2
xor edx, edx
cmp eax, ebp
je 0x100ae542
mov edx, dword [esi + edi*4 + 0x20]
lea ecx, [eax*8]
mov eax, SysReAllocStringLen
shr eax, cl
inc edi
or eax, edx
mov dword [esi + edi*4 + 0x1c], eax
cmp edi, 0xe
je 0x100ae57a
lea esp, [esp]
and edi, 0xf
jne 0x100ae570
push esi
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.100ad5e0
mov dword [esi + edi*4 + 0x20], ebp
inc edi
cmp edi, 0xe
jne 0x100ae560
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
mov dword [esi + 0x58], ecx
push esi
lea edx, [esi + 0x20]
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.100ad5e0
xor eax, eax
lea ecx, [ecx]
mov ecx, dword [esi + eax*4]
bswap ecx
mov dword [ebx], ecx
inc eax
add ebx, 4
cmp eax, 5
jb 0x100ae5a0
pop edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
ret

Function at 0x100ae680
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x18]
and edi, 0xf
mov dword [esi + edi*4 + 0x20], SysReAllocStringLen
inc edi
xor ebx, ebx
mov ebp, edx
cmp edi, 0xe
je 0x100ae6ba
mov edi, edi
and edi, 0xf
jne 0x100ae6b0
push esi
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.100ad5e0
mov dword [esi + edi*4 + 0x20], ebx
inc edi
cmp edi, 0xe
jne 0x100ae6a0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 5
shl eax, 5
mov dword [esi + 0x58], ecx
push ebp
lea edx, [esi + 0x20]
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.100ad5e0
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
ret

Function at 0x100ae710
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x100af2d0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
xor ebx, ebx
mov ebp, edx
cmp edi, 0x38
je 0x100af305
jmp 0x100af2f0
and edi, 0x3f
jne 0x100af2fb
push esi
call fcn.100ae750
mov byte [esi + edi + 0x28], bl
inc edi
cmp edi, 0x38
jne 0x100af2f0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.100ae750
xor eax, eax
mov ecx, dword [esi + eax*4]
bswap ecx
mov dword [ebp], ecx
inc eax
add ebp, 4
cmp eax, 8
jb 0x100af327
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret

Function at 0x100af480
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 0x100af4a8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100af4b7
mov eax, 1
ret 4

Function at 0x100af710
Capabilities:
Hash data using sha256

Disassembly:
mov eax, edx
mov dword [ecx], eax
dec eax
je 0x100af733
sub eax, 3
je 0x100af729
sub eax, 6
jne 0x100af73a
add ecx, 0x10
jmp fcn.100ae710
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
mov dword [ecx + 4], 0xffffffff
ret
Function at 0x100b1cc0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
lea ebp, [ebx + 0x1c]
shr ebx, 2
mov eax, ebx
shr eax, 1
push esi
add eax, 3
xor esi, esi
mov dword [esp + 0xc], ebp
mov dword [ecx], eax
test ebx, ebx
je 0x100b1cef
mov eax, dword [edx]
mov dword [ecx + esi*4 + 0x10], eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x100b1ce1
cmp esi, ebp
jae 0x100b1de0
mov edx, esi
sub edx, ebx
lea eax, [ecx + edx*4 + 0x10]
mov dword [esp + 0x14], eax
push edi
xor edx, edx
mov eax, esi
div ebx
mov edi, dword [ecx + esi*4 + 0xc]
test edx, edx
jne 0x100b1d6d
movzx eax, byte [eax + 0x100c7240]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl edx, 8
or edx, ebp
mov ebp, edi
shr ebp, 0x10
shr edi, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebp
mov ebp, dword [esp + 0x10]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x100b1dc3
cmp ebx, 6
jbe 0x100b1dc3
cmp edx, 4
jne 0x100b1dc3
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or eax, edx
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4 + 0x10], edx
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebp
jb 0x100b1d04
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4