joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100783a0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x238
mov eax, dword [0x10144930]
xor eax, esp
mov dword [esp + 0x234], eax
mov edx, dword [esp + 0x244]
mov eax, dword [esp + 0x240]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x240]
mov dword [esp + 0x18], edx
xor edx, edx
cmp dword [esi + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
jne 0x100783fa
lea eax, [edx - 0x3e]
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.100c59be
add esp, 0x238
ret 0xc
cmp ecx, edx
jne 0x1007841b
mov eax, 0xffffffb6
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.100c59be
add esp, 0x238
ret 0xc
mov eax, dword [eax]
push ebx
mov ebx, 1
cmp dword [esi + 0xc], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
push edi
mov edi, dword [esi + 0x10]
mov dword [esp + 0x24], 0xe
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], eax
jne 0x10078464
mov ecx, dword [esi + 8]
imul ecx, ecx, 0x3e8
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
jmp 0x1007846f
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
xor eax, eax
cmp edi, edx
push ebp
jl 0x1007851d
mov ebp, dword [sym.imp.WSOCK32.dll_select]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x134]
push edx
push 0
lea eax, [esp + 0x38]
push eax
push 0
call ebp
cmp eax, 0xffffffff
je 0x100784aa
cmp eax, ebx
jne 0x100784aa
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esi + 0x14]
je 0x100784b7
sub edi, ebx
test edi, edi
mov eax, 0xffffffd3
jge 0x10078480
jmp 0x1007851d
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x238]
push eax
mov eax, dword [esi + 0x14]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recvfrom]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100784e6
lea eax, [edi - 0x2e]
jmp 0x1007851d
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x10078515
push 4
lea ecx, [esp + 0x23a]
push ecx
push ebx
mov ecx, esi
call sym.SSWSP.dll_private:_void___thiscall_OctetString::HtoA_char___char___int_
push 6
lea edx, [esp + 0x23e]
push edx
add ebx, 8
push ebx
mov ecx, esi
call sym.SSWSP.dll_private:_void___thiscall_OctetString::HtoA_char___char___int_
mov eax, dword [esp + 0x18]
mov dword [eax], edi
xor eax, eax
mov ecx, dword [esp + 0x244]
pop ebp
pop edi
pop ebx
pop esi
xor ecx, esp
call fcn.100c59be
add esp, 0x238
ret 0xc
Function at 0x100785a0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x34
mov eax, dword [0x10144930]
xor eax, esp
mov dword [esp + 0x30], eax
push edi
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 4]
call edx
test eax, eax
je 0x100785ce
xor eax, eax
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100c59be
add esp, 0x34
ret
push esi
push 0x3e8
push 2
push 6
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100785fb
pop esi
mov eax, 0xffffffc4
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100c59be
add esp, 0x34
ret
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x18], 1
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x10078636
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop esi
mov eax, 0xffffffc3
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100c59be
add esp, 0x34
ret
xor eax, eax
mov dword [esp + 0x10], eax
push 0xce5
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
mov word [esp + 0x14], 6
call dword [sym.imp.WSOCK32.dll_htons]
push 0xe
lea ecx, [esp + 0x14]
push ecx
push esi
mov word [esp + 0x28], ax
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
jne 0x10078689
pop esi
mov eax, 0xffffffb2
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100c59be
add esp, 0x34
ret
push 4
lea edx, [esp + 0xc]
push edx
push 0x20
push 0xffff
push esi
mov dword [esp + 0x1c], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x100786be
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100c59be
add esp, 0x34
ret
mov eax, dword [str.00000000FFFFFFFFFFFFF]
mov ecx, dword [0x100f271c]
mov edx, dword [0x100f2720]
mov dword [esp + 0x20], eax
mov eax, dword [0x100f2724]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x100f2728]
mov dword [esp + 0x2c], eax
push 4
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x30], edx
mov dx, word [0x100f272c]
push ecx
mov ecx, edi
mov word [esp + 0x40], dx
call sym.SSWSP.dll_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
push 6
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1e]
push eax
mov ecx, edi
call sym.SSWSP.dll_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0
push 9
push str.STATCHECK
push esi
call dword [sym.imp.WSOCK32.dll_sendto]
push esi
mov edi, eax
call dword [sym.imp.WSOCK32.dll_closesocket]
mov ecx, dword [esp + 0x38]
xor eax, eax
cmp edi, 0xffffffff
pop esi
setne al
pop edi
xor ecx, esp
call fcn.100c59be
add esp, 0x34
ret
Function at 0x10078760
Capabilities:
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x244
mov eax, dword [0x10144930]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [esp + 0x248]
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
mov dword [esp + 0xc], eax
jne 0x100787a5
mov eax, 0xffffffc2
pop esi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.100c59be
add esp, 0x244
ret 8
test eax, eax
jne 0x100787c6
mov eax, 0xffffffbe
pop esi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.100c59be
add esp, 0x244
ret 8
mov ecx, dword [esi + 0x14]
push ebp
push 4
lea eax, [esp + 0x18]
push eax
push 0x20
push 0xffff
mov ebp, 1
push ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x100787f5
lea eax, [ebp - 0x45]
jmp 0x1007893d
push ebx
mov ebx, dword [esi + 0x10]
xor eax, eax
push edi
mov dword [esp + 0x228], eax
push 0x900f
xor edi, edi
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], eax
mov word [esp + 0x238], ax
mov word [esp + 0x22c], 6
call dword [sym.imp.WSOCK32.dll_htons]
mov edx, dword [str.00000000FFFFFFFFFFFFF]
mov ecx, dword [0x100f2720]
mov word [esp + 0x234], ax
mov eax, dword [0x100f271c]
mov dword [esp + 0x238], edx
mov edx, dword [0x100f2724]
mov dword [esp + 0x23c], eax
mov eax, dword [0x100f2728]
mov dword [esp + 0x240], ecx
mov cx, word [0x100f272c]
mov dword [esp + 0x244], edx
push 4
lea edx, [esp + 0x23c]
mov dword [esp + 0x24c], eax
push edx
lea eax, [esp + 0x232]
mov word [esp + 0x254], cx
push eax
mov ecx, esi
call sym.SSWSP.dll_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
push 6
lea ecx, [esp + 0x244]
push ecx
lea edx, [esp + 0x236]
push edx
mov ecx, esi
call sym.SSWSP.dll_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
cmp dword [esi + 0xc], ebp
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x124], ebp
mov dword [esp + 0x128], eax
jne 0x100788e9
mov eax, dword [esi + 8]
imul eax, eax, 0x3e8
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jmp 0x100788f4
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
test ebx, ebx
jl 0x10078939
jmp 0x10078900
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
je 0x1007892e
cmp eax, ebp
jne 0x1007892e
mov edx, dword [esp + 0x24]
cmp edx, dword [esi + 0x14]
je 0x10078956
sub ebx, ebp
test ebx, ebx
mov edi, 0xffffffbd
jge 0x10078900
mov eax, edi
pop edi
pop ebx
mov ecx, dword [esp + 0x248]
pop ebp
pop esi
xor ecx, esp
call fcn.100c59be
add esp, 0x244
ret 8
mov ecx, dword [esp + 0x25c]
mov edx, dword [esp + 0x18]
push 0x10
lea eax, [esp + 0x22c]
push eax
mov eax, dword [esi + 0x14]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WSOCK32.dll_sendto]
sub eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0x45
add eax, 0xffffffbb
jmp 0x1007893b
Function at 0x10078990
Capabilities:
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x22c
mov eax, dword [0x10144930]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x234]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x18], eax
jne 0x100789ca
lea eax, [ebx - 0x3e]
jmp 0x10078af2
cmp eax, ebx
je 0x10078b3e
cmp edi, ebx
je 0x10078b3e
mov ecx, dword [esi + 0x14]
push 4
lea eax, [esp + 0x18]
push eax
push 0x20
push 0xffff
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x10078a05
mov eax, 0xffffffb8
jmp 0x10078af2
xor eax, eax
push ebp
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x228], eax
push 0x900f
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], eax
mov word [esp + 0x238], ax
mov word [esp + 0x22c], 6
call dword [sym.imp.WSOCK32.dll_htons]
push 4
push edi
lea edx, [esp + 0x232]
push edx
mov ecx, esi
mov word [esp + 0x240], ax
call sym.SSWSP.dll_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
push 6
add edi, 8
push edi
lea eax, [esp + 0x236]
push eax
mov ecx, esi
call sym.SSWSP.dll_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
mov eax, dword [esi + 0x14]
mov edi, 1
cmp dword [esi + 0xc], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], eax
jne 0x10078aa2
mov ecx, dword [esi + 8]
imul ecx, ecx, 0x3e8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
jmp 0x10078aad
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
test ebp, ebp
jl 0x10078aef
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
jne 0x10078ad7
lea ebx, [eax - 0x46]
jmp 0x10078ae9
cmp eax, edi
jne 0x10078ae4
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0x14]
je 0x10078b0c
mov ebx, 0xffffffb7
sub ebp, edi
test ebp, ebp
jge 0x10078ab1
mov eax, ebx
pop ebp
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100c59be
add esp, 0x22c
ret 0xc
mov edx, dword [esp + 0x248]
mov eax, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x22c]
push ecx
mov ecx, dword [esi + 0x14]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_sendto]
sub eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0x49
add eax, 0xffffffb7
jmp 0x10078af1
mov eax, 0xffffffba
jmp 0x10078af2
Function at 0x100867c0
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
lea edi, [ebp - 0x54]
mov ecx, 0x15
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10144930]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x50], 0xb
mov byte [ebp - 0x4f], 0xdd
mov byte [ebp - 0x4e], 0x23
mov byte [ebp - 0x4d], 0x31
mov byte [ebp - 0x4c], 0x98
mov byte [ebp - 0x4b], 0x44
mov byte [ebp - 0x4a], 0xb1
mov byte [ebp - 0x49], 0x53
mov byte [ebp - 0x48], 0x62
mov byte [ebp - 0x47], 0x67
mov byte [ebp - 0x46], 0x70
mov byte [ebp - 0x45], 0x7d
mov byte [ebp - 0x44], 0x86
mov byte [ebp - 0x43], 0x72
mov byte [ebp - 0x42], 0xb9
mov byte [ebp - 0x41], 0xd8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x10086832
cmp dword [ebp + 0x10], 0
jne 0x1008683c
mov eax, 3
jmp 0x1008694c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1009aed0
add esp, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
push eax
push 1
push 4
lea ecx, [ebp - 0x38]
push ecx
call fcn.100c9742
add esp, 0x10
test eax, eax
je 0x1008694a
mov edx, dword [ebp + 0x10]
push edx
push 1
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.100c9742
add esp, 0x10
mov ecx, dword [ebp - 0x14]
not ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
push 4
lea eax, [ebp - 0x20]
push eax
call fcn.100c9742
add esp, 0x10
mov ecx, dword [ebp - 0x20]
not ecx
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x38]
push eax
push 1
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.100c9742
add esp, 0x10
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
push 0x80
lea ecx, [ebp - 0x50]
push ecx
call fcn.1009d7d0
add esp, 0xc
mov edx, dword [ebp - 0x30]
push edx
push 4
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
and ecx, 0xffffff80
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.1009c800
add esp, 0x14
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
and eax, 4
je 0x10086915
mov dword [ebp - 0x28], 4
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.1009a7b0
add esp, 0x14
cmp dword [ebp - 8], 0
je 0x10086945
mov eax, dword [ebp - 8]
jmp 0x1008694c
jmp 0x1008685a
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10086978]
call fcn.100c8efc
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c59be
add esp, 0x54
cmp ebp, esp
call fcn.100c8ed9
mov esp, ebp
pop ebp
ret
Function at 0x100a9fc0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0x98
push eax
call fcn.100a9f90
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50], 0
cmp ebp, esp
call fcn.100c8ed9
pop ebp
ret

Function at 0x100ae310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x100ae34b
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x10]
jae 0x100ae3ef
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx + 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov al, byte [edx + 0xc]
mov byte [ebp - 0xd], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx + 0xc]
mov byte [ecx + 0xc], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov dl, byte [ebp - 0xd]
mov byte [ecx + 0xc], dl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx + 0xc]
add ecx, eax
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax + 0xc]
xor edx, eax
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0xc]
mov byte [ecx], dl
jmp 0x100ae342
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100aeaf0
Capabilities:
Encrypt data using sosemanuk

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x100aeb28
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x10
cmp dword [ebp - 8], edx
jae 0x100aec54
mov eax, dword [ebp - 8]
and eax, 0xf
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4]
shl edx, 8
mov eax, dword [ebp - 8]
and eax, 0xf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
shr eax, 0x18
xor edx, dword [eax*4 + 0x10141ff0]
mov ecx, dword [ebp - 8]
add ecx, 2
and ecx, 0xf
mov eax, dword [ebp - 0xc]
xor edx, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
add ecx, 0xb
and ecx, 0xf
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + ecx*4]
shr ecx, 8
mov eax, dword [ebp - 8]
add eax, 0xb
and eax, 0xf
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + eax*4]
and eax, 0xff
xor ecx, dword [eax*4 + 0x101423f0]
xor edx, ecx
mov ecx, dword [ebp - 8]
and ecx, 0xf
mov eax, dword [ebp - 0xc]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 8]
add ecx, 5
and ecx, 0xf
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
and ecx, 0xff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
shr eax, 8
and eax, 0xff
mov ecx, dword [ecx*4 + 0x101427f0]
xor ecx, dword [eax*4 + 0x10142bf0]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
shr eax, 0x10
and eax, 0xff
xor ecx, dword [eax*4 + 0x10142ff0]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
shr eax, 0x18
and eax, 0xff
xor ecx, dword [eax*4 + 0x101433f0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp - 8]
and edx, 0xf
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov edx, dword [ebp + 8]
xor ecx, dword [edx + 0x44]
mov eax, dword [ebp - 8]
add eax, 1
and eax, 0xf
mov edx, dword [ebp - 0xc]
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [edx + eax*4], ecx
jmp 0x100aeb1f
mov eax, dword [ebp - 0x10]
and eax, 0xf
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100aec70
Capabilities:
Encrypt data using sosemanuk

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 0xf
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
shl edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xf
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
shr eax, 0x18
xor edx, dword [eax*4 + 0x10141ff0]
mov ecx, dword [ebp - 0xc]
add ecx, 2
and ecx, 0xf
mov eax, dword [ebp - 8]
xor edx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
add ecx, 0xb
and ecx, 0xf
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx*4]
shr ecx, 8
mov eax, dword [ebp - 0xc]
add eax, 0xb
and eax, 0xf
mov esi, dword [ebp - 8]
mov eax, dword [esi + eax*4]
and eax, 0xff
xor ecx, dword [eax*4 + 0x101423f0]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
and ecx, 0xf
mov eax, dword [ebp - 8]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0xc]
add ecx, 5
and ecx, 0xf
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov edx, dword [ebp - 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
and ecx, 0xff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
shr eax, 8
and eax, 0xff
mov ecx, dword [ecx*4 + 0x101427f0]
xor ecx, dword [eax*4 + 0x10142bf0]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
shr eax, 0x10
and eax, 0xff
xor ecx, dword [eax*4 + 0x10142ff0]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
shr eax, 0x18
and eax, 0xff
xor ecx, dword [eax*4 + 0x101433f0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp - 0xc]
and edx, 0xf
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 8]
add ecx, dword [eax + edx*4]
mov edx, dword [ebp + 8]
xor ecx, dword [edx + 0x44]
mov eax, dword [ebp - 0xc]
add eax, 1
and eax, 0xf
mov edx, dword [ebp - 8]
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 1
and ecx, 0xf
mov edx, dword [ebp + 8]
mov dword [edx + 0x50], ecx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100af220
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
jmp 0x100af23d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x100af25c
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x101437f0]
mov dword [edx + ecx*4 + 0x88], eax
jmp 0x100af234
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret

Function at 0x100afce0
Capabilities:
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
jmp 0x100afcfe
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x100afd2b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov esi, dword [eax*8 + 0x10143950]
mov dword [edx + ecx*8 + 0x108], esi
mov eax, dword [eax*8 + 0x10143954]
mov dword [edx + ecx*8 + 0x10c], eax
jmp 0x100afcf5
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b00b0
Capabilities:
Hash data using sha384

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
jmp 0x100b00ce
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x100b00fb
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov esi, dword [eax*8 + 0x10143910]
mov dword [edx + ecx*8 + 0x108], esi
mov eax, dword [eax*8 + 0x10143914]
mov dword [edx + ecx*8 + 0x10c], eax
jmp 0x100b00c5
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b0480
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x100ba01d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x100ba056
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100b66cc
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100b66a7
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]