joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003a8d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
mov edi, dword [ecx + 0x178]
test edi, edi
je 0x1003a95d
mov eax, dword [ebp + 8]
dec eax
xor edx, edx
div dword [ecx + 0x174]
push esi
mov esi, dword [ecx + 0x1b8]
movzx esi, byte [esi + edx]
cmp eax, esi
pop esi
jne 0x1003a95d
mov edx, dword [edi + edx*4]
mov eax, 0xf
cmp eax, edx
sbb eax, eax
neg eax
cmp eax, 1
jne 0x1003a95d
test edx, edx
je 0x1003a95d
cmp dword [edx + 0x30], 0
je 0x1003a95d
mov ecx, dword [ecx + 0x40]
xor edx, edx
lea eax, [ebp - 4]
mov word [ebp - 0x20], dx
push eax
lea edx, [ebp - 0x20]
push edx
push ecx
mov dword [ebp - 4], 0x1c
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1003a95d
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push eax
push ecx
lea ecx, [ebp + 8]
lea eax, [ebp - 0x20]
call fcn.1002de90
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1003bab0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
sub esp, 8
xor eax, eax
cmp dword [ebx + 0x74], ecx
jle 0x1003bbc5
push esi
push edi
jmp 0x1003bac9
xor ecx, ecx
mov esi, dword [ebx + 0x78]
cmp esi, dword [ebx + 0x7c]
je 0x1003badc
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x78], eax
mov dword [eax + 0x30], ecx
jmp 0x1003bae6
cmp esi, ecx
je 0x1003baf3
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], ecx
cmp esi, ecx
je 0x1003baf3
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
dec dword [ebx + 0x74]
mov eax, dword [esi + 0x18]
sub dword [ebx + 0x5c], eax
lea edi, [esi + 0x18]
push eax
lea eax, [ebx + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [ebx + 8]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0xc]
mov dword [esi + 0x38], edx
mov ecx, dword [ebx + 0x10]
lea eax, [esi + 0x34]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 0x40]
xor edx, edx
cmp word [eax], 2
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
setne dl
push 0
push esi
mov dword [esi + 0x14], 3
dec edx
and edx, 0xfffffff4
add edx, 0x1c
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x50]
push edx
push eax
push 0
lea eax, [ebp - 8]
push eax
push 1
push edi
push ecx
mov dword [esi + 0x28], 2
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x1003bb75
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 4], eax
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x1003bb91
mov eax, dword [ebp - 4]
test eax, eax
je 0x1003bbb9
cmp eax, 0x3e5
je 0x1003bbb5
mov edi, dword [ebp + 8]
push esi
add edi, 0x90
call fcn.1002bed0
test eax, eax
jne 0x1003bbb2
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003bbc3
cmp dword [ebx + 0x74], 0
jg 0x1003bac7
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1003bbd0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push edi
mov ecx, esi
mov edi, 1
call edx
test eax, eax
jne 0x1003bbeb
pop edi
pop ebp
ret 4
mov eax, dword [ebp + 8]
add eax, 8
xor ecx, ecx
cmp word [eax], 2
setne cl
dec ecx
and ecx, 0xfffffff4
add ecx, 0x1c
push ecx
push eax
mov eax, dword [esi + 0x40]
push 0
push 0
push 0
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x1003bc30
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1003bc30
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
xor edi, edi
call eax
mov eax, edi
pop edi
pop ebp
ret 4
Function at 0x1005f5d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10112b60
mov edx, dword [esp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x64]
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
inc edi
test byte [ecx + 0x34], 1
je 0x1005f61b
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
lea ebx, [edi + ecx]
cmp ebx, eax
jbe 0x1005f60b
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
add dword [esi + 0x14], ecx
add dword [esi + 0x18], ecx
sub eax, ecx
sub dword [esi + 0xc], ecx
mov dword [esi + 8], eax
jmp 0x1005f626
mov eax, dword [esp + 0x18]
cmp edi, dword [eax + 8]
ja 0x1005f604
mov esi, eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
movzx ebx, byte [ecx + eax - 1]
mov ecx, dword [edx + 0xb0]
push ecx
call fcn.100e1190
push eax
call fcn.100d71f0
add esp, 8
test eax, 0x200000
je 0x1005f65f
or edx, 0xffffffff
sub edx, ebx
add dword [esi + 8], edx
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [esi + 8]
lea eax, [ebx + edi]
mov esi, ebp
sub esi, eax
xor esi, eax
mov ecx, ebp
xor ecx, eax
or esi, ecx
xor esi, ebp
shr esi, 0x1f
mov eax, pe_nt_image_headers32
dec esi
mov dword [esp + 0x18], eax
cmp ebp, eax
jae 0x1005f68b
mov eax, ebp
mov dword [esp + 0x18], ebp
xor edi, edi
test eax, eax
je 0x1005f6e7
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
mov ecx, ebx
shr ecx, 0x1f
lea edx, [eax + ebp - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
lea esp, [esp]
mov edx, ebx
sub edx, edi
shr edx, 0x1f
mov eax, edi
shr eax, 0x1f
xor dl, al
xor cl, al
or dl, cl
mov ecx, dword [esp + 0x10]
xor dl, cl
dec dl
movzx eax, dl
mov edx, dword [esp + 0x24]
movzx edx, byte [edx]
dec dword [esp + 0x24]
xor edx, ebx
and eax, edx
not eax
inc edi
and esi, eax
cmp edi, dword [esp + 0x18]
jb 0x1005f6b0
mov eax, dword [esp + 0x1c]
not esi
and esi, 0xff
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
and ecx, esi
neg ecx
inc ebx
and ebx, ecx
sub ebp, ebx
mov dword [eax + 8], ebp
pop ebp
mov eax, ecx
pop edi
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebx
pop ecx
ret
Function at 0x1005f720
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.10112b60
mov eax, dword [0x1019f010]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
push ebx
push ebp
mov ebp, dword [esp + 0xbc]
push esi
mov esi, dword [esp + 0xbc]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
push edi
mov dword [esp + 0x20], eax
sub eax, ebp
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edi
cmp dword [esi + 0xc], ebp
jae 0x1005f784
push 0x4d6
push 0x10132504
push str.assertion_failed:_rec__orig_len___md_size
call fcn.10076260
add esp, 0xc
cmp ebp, 0x40
jbe 0x1005f7a0
push 0x4d7
push 0x10132504
push str.assertion_failed:_md_size___EVP_MAX_MD_SIZE
call fcn.10076260
add esp, 0xc
mov eax, dword [esi + 0xc]
lea ebx, [esp + 0x34]
neg ebx
and ebx, 0x3f
lea ecx, [ebp + 0x100]
lea ebx, [esp + ebx + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
cmp eax, ecx
jbe 0x1005f7cd
sub eax, ebp
sub eax, 0x100
mov dword [esp + 0x10], eax
push ebp
push edi
xor esi, esi
push ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
call fcn.10113080
mov edi, dword [esp + 0x1c]
mov eax, edi
add esp, 0xc
xor ecx, ecx
cmp eax, dword [esp + 0x14]
jae 0x1005f884
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0xc0]
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x30], eax
jmp 0x1005f814
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, edi
xor edx, dword [esp + 0x24]
xor esi, ebx
lea eax, [edx - 1]
not edx
shr edx, 0x1f
shr eax, 0x1f
and eax, edx
mov edx, edi
xor edx, ebx
mov ebx, dword [esp + 0x28]
or esi, edx
neg eax
xor esi, edi
mov edx, eax
or edx, dword [esp + 0x1c]
shr esi, 0x1f
inc dword [esp + 0x10]
neg esi
and edx, esi
mov esi, dword [esp + 0x18]
and eax, ecx
mov dword [esp + 0x1c], edx
or esi, eax
mov eax, dword [esp + 0x30]
and dl, byte [eax + edi]
inc ecx
or byte [ecx + ebx - 1], dl
mov edx, ecx
sub edx, ebp
xor edx, ebp
mov eax, ecx
xor eax, ebp
or edx, eax
xor edx, ecx
shr edx, 0x1f
neg edx
inc edi
and ecx, edx
mov dword [esp + 0x18], esi
cmp edi, dword [esp + 0x14]
jb 0x1005f810
xor eax, eax
test ebp, ebp
je 0x1005f8bd
lea ebx, [ebx]
mov ecx, esi
xor ecx, 0x20
mov dl, byte [ecx + ebx]
mov cl, byte [esi + ebx]
mov edx, dword [esp + 0x2c]
mov byte [edx + eax], cl
inc esi
mov ecx, esi
sub ecx, ebp
xor ecx, ebp
mov edx, esi
xor edx, ebp
or ecx, edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
inc eax
and esi, ecx
cmp eax, ebp
jb 0x1005f890
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010ee1f
add esp, 0xa8
ret
Function at 0x10064000
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, 4
call fcn.10112b60
push 0x10063fc0
push 0x101a2024
call fcn.1006c7d0
push 0x10063e40
call fcn.1010f9f0
add esp, 0xc
call fcn.1006c6d0
mov dword [0x101a2034], eax
test eax, eax
jne 0x10064036
pop ecx
ret
call fcn.10103120
lea eax, [esp]
push eax
push 0x101a203c
push 5
mov dword [0x101a203c], 1
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
dec eax
neg eax
sbb eax, eax
inc eax
pop ecx
ret

Function at 0x1006d230
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x1006d274
mov al, byte [edx]
test al, al
je 0x1006d274
push edi
mov edi, pe_nt_image_headers32
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
inc edx
xor esi, eax
mov al, byte [edx]
test al, al
jne 0x1006d247
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10076020
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x208
call fcn.10112b60
mov eax, dword [0x1019f010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x10076095
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10076095
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x204]
push 0x200
push edx
call fcn.10113986
add esp, 0x10
test eax, eax
jns 0x10076078
mov eax, 0x200
push 0
lea ecx, [ebp - 0x208]
push ecx
push eax
lea edx, [ebp - 0x204]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x100761de
mov ebx, dword [ebp + 8]
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100760a0
sub eax, edx
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.101137c0
mov esi, esp
test esi, esi
jne 0x100760c4
mov esi, str.no_stack_
jmp 0x1007614f
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x100760f1
test edi, edi
je 0x100760f1
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
movsx dx, byte [eax + ecx]
mov word [esi + eax*2], dx
inc eax
cmp eax, edi
jb 0x100760e0
xor eax, eax
test edi, edi
je 0x1007614f
cmp word [esi + eax*2], 0x25
jne case.0x10076114.43
lea ecx, [esi + eax*2 + 2]
movzx edx, word [ecx]
add edx, 0xffffffd6
cmp edx, 0x49
ja case.0x10076114.43
movzx edx, byte [edx + 0x10076210]
jmp dword [edx*4 + 0x100761f8]
inc eax
add ecx, 2
jmp 0x10076102
mov ecx, 0x53
mov word [esi + eax*2 + 2], cx
jmp case.0x10076114.43
mov edx, 0x73
jmp 0x10076145
mov ecx, 0x43
mov word [esi + eax*2 + 2], cx
jmp case.0x10076114.43
mov edx, 0x63
mov word [esi + eax*2 + 2], dx
inc eax
cmp eax, edi
jb 0x100760f7
lea eax, [ebp + 0xc]
push eax
push esi
lea ecx, [ebp - 0x204]
push 0xff
push ecx
call fcn.101138bd
xor edx, edx
add esp, 0x10
mov word [ebp - 6], dx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x100761c8
call fcn.10075ee0
test eax, eax
jle 0x100761c8
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x100761de
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x204]
push esi
mov dword [ebp - 0x208], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x100761de
push 0x10
push str.OpenSSL:_FATAL
lea edx, [ebp - 0x204]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010ee1f
mov esp, ebp
pop ebp
ret

Function at 0x10076290
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor cl, cl
test edi, edi
je 0x100762b5
sub esi, eax
push ebx
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
dec edi
jne 0x100762a7
pop ebx
pop edi
movzx eax, cl
pop esi
ret
Function at 0x10079250
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
push ebx
call fcn.100b4d10
push 0x62
push esi
mov edi, eax
mov ebp, 1
call fcn.10112fc0
add esp, 0x10
test eax, eax
jne 0x1007927c
lea ebp, [eax + 0x11]
test edi, edi
jne 0x10079305
push 0x4a
push str.crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.10065f50
push 0x1012c00c
push esi
push 0x10146d00
push ebx
push str.fopen_
push 5
call fcn.10066230
add esp, 0x2c
call fcn.10110458
cmp dword [eax], 2
je 0x100792e6
call fcn.10110458
cmp dword [eax], 6
je 0x100792e6
push 0x53
push str.crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.10065f50
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0x51
push str.crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.10065f50
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0x10146cac
call fcn.100645e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10079328
push edi
call fcn.10111d49
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.100647c0
push edi
push ebp
push 0x6a
push esi
call fcn.10064be0
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x10084180
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.10112b60
mov eax, dword [0x1019f010]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x9c]
test ebx, ebx
je 0x100841e3
cmp ebx, dword [esi]
je 0x100841da
test edi, edi
je 0x10084270
cmp dword [esp + 0xa0], eax
jl 0x10084270
mov eax, 1
mov dword [esi], ebx
jmp 0x100841ed
mov ebx, dword [esi]
test ebx, ebx
je 0x10084270
test edi, edi
je 0x100842ce
push ebp
push ebx
call fcn.10070b10
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x1008421d
push 0x28
push str.cryptohmachmac.c
push str.assertion_failed:_j____int_sizeof_ctx__key_
call fcn.10076260
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp ebp, eax
pop ebp
jge 0x1008428a
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push ecx
push ebx
push edx
call fcn.100770b0
add esp, 0xc
test eax, eax
je 0x10084270
mov eax, dword [esp + 0xa0]
mov ecx, dword [esi + 4]
push eax
push edi
push ecx
call fcn.10077260
add esp, 0xc
test eax, eax
je 0x10084270
mov eax, dword [esi + 4]
lea edi, [esi + 0x10]
push edi
lea edx, [esi + 0x14]
push edx
push eax
call fcn.10077270
add esp, 0xc
test eax, eax
jne 0x100842ab
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.1010ee1f
add esp, 0x88
ret
cmp eax, 0x80
ja 0x10084270
push eax
lea ecx, [esi + 0x14]
push edi
push ecx
call fcn.10112b90
mov edx, dword [esp + 0xac]
lea edi, [esi + 0x10]
add esp, 0xc
mov dword [edi], edx
mov edi, dword [edi]
cmp edi, 0x80
je 0x100842d6
mov eax, 0x80
sub eax, edi
push eax
lea ecx, [edi + esi + 0x14]
push 0
push ecx
call fcn.10113080
add esp, 0xc
jmp 0x100842d6
test eax, eax
je 0x10084379
xor eax, eax
jmp 0x100842e0
mov dl, byte [esi + eax + 0x14]
xor dl, 0x36
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, 0x80
jl 0x100842e0
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 8]
push edi
push ebx
push eax
call fcn.100770b0
add esp, 0xc
test eax, eax
je 0x10084270
push ebx
call fcn.10070b10
mov edx, dword [esi + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.10077260
add esp, 0x10
test eax, eax
je 0x10084270
xor eax, eax
nop
mov cl, byte [esi + eax + 0x14]
xor cl, 0x5c
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x10084330
mov edx, dword [esi + 0xc]
push edi
push ebx
push edx
call fcn.100770b0
add esp, 0xc
test eax, eax
je 0x10084270
push ebx
call fcn.10070b10
mov ecx, dword [esi + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.10077260
add esp, 0x10
test eax, eax
je 0x10084270
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
call fcn.100772f0
add esp, 8
test eax, eax
je 0x10084270
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1010ee1f
add esp, 0x88
ret
Function at 0x10084e60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
dec ecx
push edi
mov edi, dword [esi + 4]
shr ecx, 0x1f
xor edx, edi
dec ecx
and edx, ecx
xor edi, edx
mov dword [esi + 4], edi
xor dword [eax + 4], edx
lea edx, [ebx - 1]
cmp edx, 9
ja case.default.0x10084e92
jmp dword [edx*4 + 0x10084fbc]
mov edi, 0xa
cmp ebx, edi
jle case.0x10084e92.10
push ebp
mov edx, dword [esi]
mov ebx, dword [edx + edi*4]
lea ebp, [edx + edi*4]
mov edx, dword [eax]
mov edx, dword [edx + edi*4]
xor edx, ebx
and edx, ecx
xor ebx, edx
mov dword [ebp], ebx
mov ebx, dword [eax]
xor dword [ebx + edi*4], edx
lea ebx, [ebx + edi*4]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x10084ea3
pop ebp
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x24]
mov edx, dword [edx + 0x24]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x24], edi
mov edi, dword [eax]
xor dword [edi + 0x24], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x20]
mov edx, dword [edx + 0x20]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x20], edi
mov edi, dword [eax]
xor dword [edi + 0x20], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1c]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x1c], edi
mov edi, dword [eax]
xor dword [edi + 0x1c], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x18]
mov edx, dword [edx + 0x18]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x18], edi
mov edi, dword [eax]
xor dword [edi + 0x18], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x14]
mov edx, dword [edx + 0x14]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x14], edi
mov edi, dword [eax]
xor dword [edi + 0x14], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x10]
mov edx, dword [edx + 0x10]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x10], edi
mov edi, dword [eax]
xor dword [edi + 0x10], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0xc]
mov edx, dword [edx + 0xc]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0xc], edi
mov edi, dword [eax]
xor dword [edi + 0xc], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 8]
mov edx, dword [edx + 8]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 8], edi
mov edi, dword [eax]
xor dword [edi + 8], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 4]
mov edx, dword [edx + 4]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 4], edi
mov edi, dword [eax]
xor dword [edi + 4], edx
mov esi, dword [esi]
mov edx, dword [eax]
mov edi, dword [esi]
mov edx, dword [edx]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [esi], edi
mov eax, dword [eax]
xor dword [eax], edx
pop edi
pop esi
pop ebx
ret
Function at 0x1008ba20
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
lea eax, [ecx + 1]
ret

Function at 0x1008bac0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0x1008c7d0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.10113080
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x1008c830
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.10113080
add esp, 0xc
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
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret
Function at 0x1008dd70
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.10113080
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x1008e870
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.10113080
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret