joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4419a1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b715
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov dword [ebp - 0x128], ecx
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x110]
call fcn.00402510
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
call fcn.00470531
lea ecx, [ebp - 0x110]
call fcn.00402550
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x10c]
push ecx
push 0x4a18d4
mov ecx, dword [ebp + 0x10]
call fcn.00402550
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402550
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 4
call fcn.0046d018
add esp, 4
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x118], 0
je 0x441a56
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.004704b2
mov dword [ebp - 0x12c], eax
jmp 0x441a60
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x114]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x20], 0
je 0x441b44
mov ecx, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x20]
call fcn.004025f0
test eax, eax
jne 0x441aad
movsx edx, byte [ebp - 0xf]
test edx, edx
je 0x441b44
push str.ERROR:_CInitBaseCond_:_Cannot_load_Line:_n
push 1
mov eax, dword [0x4a160c]
push eax
call fcn.004304ab
xor ecx, ecx
test ecx, ecx
jne 0x441aad
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x110]
push eax
push str._______File:__s___Sect.:___s___Entry:___s__n
push 1
mov ecx, dword [0x4a160c]
push ecx
call fcn.00430406
add esp, 0x18
xor edx, edx
test edx, edx
jne 0x441ac5
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0
je 0x441b2d
push 1
mov ecx, dword [ebp - 0x11c]
call fcn.00444030
mov dword [ebp - 0x130], eax
jmp 0x441b37
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x128]
xor edx, edx
cmp dword [ecx + 0x20], 0
setne dl
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.00470444
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44e2ab
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481298
push 0x44d74c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [fcn.0044e24a]
test eax, eax
je 0x44e2f3
mov dword [ebp - 4], 1
call eax
jmp 0x44e2ef
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call 0x44e2fc
jmp fcn.0044e24a
Function at 0x44f17e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4972d8
cmp edx, dword [eax]
je 0x44f1a0
add eax, 8
inc ecx
cmp eax, str.__t__r_
jl 0x44f191
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4972d8]
jne 0x44f2ce
mov eax, dword [0x4a38f4]
cmp eax, 1
je 0x44f2a8
test eax, eax
jne 0x44f1d1
cmp dword [0x494a24], 1
je 0x44f2a8
cmp edx, 0xfc
je 0x44f2ce
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44f208
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00446430
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00446520
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44f24b
lea eax, [ebp - 0x1a4]
push eax
call fcn.00446520
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4815a8
push edi
call fcn.00447000
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00446430
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00446440
lea eax, [ebp - 0xa0]
push 0x481588
push eax
call fcn.00446440
push dword [esi + 0x4972dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00446440
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0045289a
add esp, 0x2c
pop edi
jmp 0x44f2ce
lea eax, [ebp + 8]
lea esi, [esi + 0x4972dc]
push 0
push eax
push dword [esi]
call fcn.00446520
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x452423
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x452443
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044a03a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x452466
test byte [esp + 8], 2
je 0x452466
call fcn.0044a0ad
mov dword [eax], 0xd
call fcn.0044a0b6
mov dword [eax], 5
jmp 0x45243f
xor eax, eax
ret
Function at 0x45748c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], 0x4817e8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], 1
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x6c], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
lea edx, [ecx + ecx + 2]
push edx
call fcn.0046d018
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
add eax, 1
imul eax, eax, 0x18
push eax
call fcn.0046d018
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x457517
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x457538
push str.Not_enough_space_for_parser_stacks
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x68]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x68]
mov ecx, dword [edx]
push eax
call dword [ecx + 0xc]
add esp, 8
push 1
call fcn.004494f9
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4659f8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], 0x481860
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
add eax, 1
push eax
call fcn.0046d018
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp + 8]
add eax, 1
push eax
call fcn.0046d018
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x20], 0
je 0x465a5b
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
jne 0x465a73
push str.No_space_for_scanner_
mov edx, dword [ebp - 0xc]
push edx
call fcn.00465b20
add esp, 8
push 1
call fcn.004494f9
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 1
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0xa
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x24], 0x494d78
mov edx, 0x494d98
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x46bb98
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x46bbba
cmp dword [edi + 0x3c], 0
jne 0x46bbba
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004770be
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0046bbe7
pop edi
pop esi
pop ebx
ret 8

Function at 0x46f735
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46f777
call fcn.004770be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f777
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f76e
xor eax, eax
jmp 0x46f77f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f785
pop edi
pop esi
pop ebx
ret 4
Function at 0x4779e0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x477a0e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x477a2c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00477946
jmp 0x477a2c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x477a2c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00477946
test edi, edi
mov eax, edi
jne 0x477a16
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x10002770
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor ecx, ecx
lea esi, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], esi
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
mov dword [ebp - 8], ebx
test edi, edi
je 0x100027ad
nop dword [eax]
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x100027a0
cmp ecx, esi
jae 0x1000288a
mov eax, ecx
sub eax, edi
lea esi, [ebx + eax*4]
mov dword [ebp + 8], esi
nop
xor edx, edx
mov ebx, dword [ebx + ecx*4 - 4]
mov eax, ecx
div edi
mov dword [ebp - 4], eax
test edx, edx
jne 0x10002823
movzx edx, bl
movzx esi, byte [edx + str.cw]
mov edx, ebx
shr edx, 0x18
shl esi, 8
movzx eax, byte [edx + str.cw]
or esi, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl esi, 8
shr ebx, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, bl
shl esi, 8
movzx ebx, byte [eax + str.cw]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1011a4e0]
xor ebx, eax
or ebx, esi
mov esi, dword [ebp + 8]
jmp 0x10002870
cmp edi, 6
jbe 0x10002870
cmp edx, 4
jne 0x10002870
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx ebx, byte [eax + str.cw]
or ebx, edx
mov eax, dword [esi]
add esi, 4
xor eax, ebx
mov dword [ebp + 8], esi
mov ebx, dword [ebp - 8]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, dword [ebp - 0xc]
jb 0x100027c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10003570
Capabilities:
Hash data using sha256

Disassembly:
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], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
ret

Function at 0x10003a60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x10003a84
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
add dword [ebp + 8], 5
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 0xc], ebx
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x10003aaa
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x10003aa7
inc eax
cmp eax, ebx
jb 0x10003a98
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x10003bae
cmp edx, 2
jbe 0x10003b33
xor esi, esi
movzx edx, byte [eax + 4]
lea ecx, [edx + 1]
test cl, 0xfe
jne 0x10003b9a
movzx ecx, byte [eax + 3]
mov ebx, dword [ebp + 8]
shl edx, 8
add ebx, edi
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
add edx, ebx
sub ecx, ebx
cmp dword [ebp + 0x10], 0
cmove edx, ecx
mov dword [ebp - 8], edx
mov ebx, edx
test esi, esi
je 0x10003b6a
and esi, 6
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x10003b68
mov ebx, 0x100
shl ebx, cl
mov ecx, dword [ebp + 8]
dec ebx
xor ebx, dword [ebp - 8]
add ecx, edi
cmp dword [ebp + 0x10], 0
je 0x10003b66
add ebx, ecx
jmp 0x10003b68
mov ecx, edx
shr esi, cl
test esi, esi
je 0x10003ac3
cmp esi, 4
ja 0x10003b58
cmp esi, 3
je 0x10003b58
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x10003ac3
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x10003a91
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 0xc]
add edi, eax
jmp 0x10003a91
mov ecx, dword [ebp - 4]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x10003a91
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx + 0x34], 0
mov byte [ecx + 0x1f], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x468], 0xffffffff
mov dword [ecx + 0x46c], 0xffffffff
call fcn.10005cc0
xor edx, edx
lea esi, [ecx + 0x60]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x10005761
pop esi
ret
Function at 0x1000c380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x100
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
or esi, edi
nop dword [eax]
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
lea edx, [edx + eax*2]
call fcn.1000da40
mov edx, dword [ebp - 8]
add esi, esi
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x1000c3a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1000c3f0
Capabilities:
Encode data using xor

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

Function at 0x1000c440
Capabilities:
Encode data using xor

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

Function at 0x1000dca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x1000dcdb
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x1000dcb8
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1000dd40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
lea edi, [eax + 1]
test edx, edx
je 0x1000dd8f
push ebx
mov ebx, dword [ebp + 8]
push esi
nop dword [eax + eax]
movzx edx, word [ecx + edi*2]
mov esi, ebx
and esi, 1
shr edx, 4
mov ecx, esi
shr ebx, 1
neg ecx
add edi, edi
sar ecx, 4
or edi, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + edx*4]
sub dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
jne 0x1000dd60
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x100120c0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x18]
and esi, 0xf
mov dword [edi + esi*4 + 0x20], SysReAllocStringLen
inc esi
cmp esi, 0xe
je 0x100120fe
nop dword [eax + eax]
and esi, 0xf
jne 0x100120f0
push edi
lea edx, [edi + 0x20]
mov ecx, edi
call fcn.10012270
mov dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x100120e0
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x20]
mov eax, dword [edi + 0x1c]
shld eax, ecx, 5
push ebx
shl ecx, 5
mov dword [edi + 0x5c], ecx
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.10012270
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.10012b90

Function at 0x100121e0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor edx, edx
mov esi, dword [edi + 0x18]
and esi, 0x3f
mov ecx, esi
shr esi, 2
and ecx, 3
je 0x100121fd
mov edx, dword [edi + esi*4 + 0x20]
shl ecx, 3
mov eax, SysReAllocStringLen
shr eax, cl
or eax, edx
mov dword [edi + esi*4 + 0x20], eax
inc esi
cmp esi, 0xe
je 0x10012231
and esi, 0xf
jne 0x10012223
push edi
lea edx, [edi + 0x20]
mov ecx, edi
call fcn.10012270
mov dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x10012213
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x20]
mov eax, dword [edi + 0x1c]
shld eax, ecx, 3
push edi
shl ecx, 3
mov dword [edi + 0x5c], ecx
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.10012270
xor ecx, ecx
mov eax, dword [edi + ecx*4]
lea ebx, [ebx + 4]
bswap eax
inc ecx
mov dword [ebx - 4], eax
cmp ecx, 5
jb 0x10012251
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.10012b90
Function at 0x10012b90
Capabilities:
Hash data using sha1

Disassembly:
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], 0
mov dword [ecx + 0x1c], 0
ret
Function at 0x100136c0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x20]
and esi, 0x3f
mov byte [esi + edi + 0x28], 0x80
inc esi
cmp esi, 0x38
je 0x100136ef
and esi, 0x3f
jne 0x100136e4
mov ecx, edi
call fcn.10013850
mov byte [edi + esi + 0x28], 0
inc esi
cmp esi, 0x38
jne 0x100136d8
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
shld eax, ecx, 3
shl ecx, 3
bswap ecx
bswap eax
mov dword [edi + 0x64], ecx
mov ecx, edi
mov dword [edi + 0x60], eax
call fcn.10013850
xor edx, edx
nop
mov ecx, dword [edi + edx*4 + 4]
lea ebx, [ebx + 8]
mov eax, dword [edi + edx*4]
add edx, 2
bswap eax
mov dword [ebx - 8], eax
bswap ecx
mov dword [ebx - 4], ecx
cmp edx, 8
jb 0x10013710
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.10013740

Function at 0x10013740
Capabilities:
Hash data using sha256

Disassembly:
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], 0
mov dword [ecx + 0x24], 0
ret

Function at 0x100148c1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push edx
push eax
push eax
call fcn.100dfde1
add esp, 0x18
mov dword [esi], eax
mov ecx, eax
call fcn.1001484e
pop esi
leave
ret 4

Function at 0x10014937
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x10014959
sub edx, 3
je 0x10014950
sub edx, 6
jne 0x1001495d
add ecx, 0x10
jmp fcn.10013740
or dword [ecx + 8], 0xffffffff
or dword [ecx + 0xc], 0xffffffff
ret
or dword [ecx + 4], 0xffffffff
ret

Function at 0x10015f1c
Capabilities:
Hash data using sha256

Disassembly:
or dword [ecx + 0x10], 0xffffffff
xor eax, eax
or dword [ecx + 0x14], 0xffffffff
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
add ecx, 0x28
jmp fcn.10014937