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

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x10026f92
cmp edi, 0x1000
mov eax, 0x1000
jg 0x10026f77
mov eax, edi
push 0
push eax
mov eax, dword [esp + 0x18]
add eax, esi
push eax
push dword [esp + 0x18]
call sub.WS2_32.dll_recv
test eax, eax
jle 0x10026f9c
sub edi, eax
add esi, eax
test edi, edi
jne 0x10026f68
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x10026f99

Function at 0x1002700e
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x402c
call fcn.10042e50
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0x4004667f
push edi
push dword [ebp + 8]
call sub.WS2_32.dll_ioctlsocket
test eax, eax
jne 0x100270b1
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x100270b8
push ebx
push 0x4000
lea eax, [ebp - 0x4028]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll_recv
mov esi, eax
cmp esi, ebx
jle 0x100270b1
mov eax, dword [ebp + 0x10]
mov ax, word [eax + 8]
mov word [ebp - 0x12], ax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
mov word [ebp - 0x14], si
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x4028]
push eax
push dword [ebp + 0xc]
mov eax, esi
call fcn.10026f20
test eax, eax
pop ecx
pop ecx
je 0x100270b1
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x10027036
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp + 0x14]
push eax
mov esi, 0x8004667e
push esi
push dword [ebp + 8]
xor edi, edi
inc edi
mov dword [ebp + 0x14], edi
call sub.WS2_32.dll_ioctlsocket
test eax, eax
jne 0x100270b1
push 2
push edi
lea eax, [ebp - 0x4028]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll_recv
mov edi, eax
cmp edi, 0xffffffff
jne 0x100270fb
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x100270fb
xor edi, edi
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp + 0x14], ebx
call sub.WS2_32.dll_ioctlsocket
test eax, eax
jne 0x100270b1
cmp edi, ebx
setne al
jmp 0x100270b3
Function at 0x1002baef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, edi
call fcn.1002ba88
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x18]
push 4
pop eax
call fcn.10026f60
test eax, eax
pop ecx
pop ecx
je 0x1002bb72
cmp dword [edi + 0x1c], 1
jne 0x1002bb36
movzx ecx, byte [ebp - 0x2f]
movzx eax, byte [edi + 0xd]
movzx edx, byte [ebp - 0x30]
xor eax, ecx
movzx ecx, byte [edi + 0xc]
shl eax, 8
xor ecx, edx
lea ebx, [eax + ecx - 4]
jmp 0x1002bb6a
movzx ebx, byte [ebp - 0x2f]
mov al, bl
and al, 0x30
cmp al, 0x10
je 0x1002bb52
movzx eax, byte [ebp - 0x30]
and ebx, 0xf
shl eax, 4
lea ebx, [ebx + eax - 4]
jmp 0x1002bb6a
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 0x18]
push 0x12
pop eax
call fcn.10026f60
test eax, eax
pop ecx
pop ecx
je 0x1002bb72
mov ebx, dword [ebp - 0x1e]
cmp ebx, 0x1000000
jb 0x1002bb7b
and dword [ebp - 4], 0
jmp 0x1002bcad
cmp dword [edi + 0x1c], 1
mov dword [edi + 4], ebx
lea eax, [edi + 0xe]
je 0x1002bb8a
lea eax, [ebp - 0x30]
mov ax, word [eax]
xor ax, word [ebp - 0x2e]
cmp ebx, 0xffc
mov word [edi + 8], ax
jbe 0x1002bbb4
mov esi, dword [edi + 0x14]
call fcn.10004011
mov esi, dword [edi + 4]
call fcn.10003fb4
mov dword [edi + 0x14], eax
mov eax, dword [eax]
mov dword [edi], eax
push dword [edi]
mov eax, dword [edi + 4]
push dword [edi + 0x18]
call fcn.10026f60
test eax, eax
pop ecx
pop ecx
je 0x1002bcc1
cmp dword [edi + 0x1c], 0
mov dword [ebp - 4], 1
jne 0x1002bc8b
test ebx, ebx
je 0x1002bc8b
mov ecx, dword [edi + 0xc]
imul ecx, ecx, 0x20080825
push 0xdff6dffa
push 0xe689e67e
mov eax, 0xa20191cb
sub eax, ecx
push 0
push eax
mov dword [edi + 0xc], eax
call fcn.10042e10
movzx ecx, byte [edi + 0xc]
mov esi, dword [edi + 4]
and ecx, 7
cmp esi, ecx
mov dword [ebp - 0x18], eax
sbb eax, eax
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
je 0x1002bcc1
and dword [ebp - 8], 0
cmp dword [ebp - 4], ecx
jae 0x1002bc6c
test eax, eax
je 0x1002bc5f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ebx, esi
sub ebx, ecx
mov ecx, dword [ebp - 8]
add ebx, dword [edi]
call fcn.10042d60
mov ecx, dword [ebp - 4]
cmp byte [ebx + ecx], al
mov ecx, dword [ebp - 0xc]
jne 0x1002bc5f
xor eax, eax
inc eax
jmp 0x1002bc61
xor eax, eax
inc dword [ebp - 4]
add dword [ebp - 8], 8
test eax, eax
jne 0x1002bc32
test eax, eax
je 0x1002bcc1
sub esi, ecx
add esi, dword [edi]
test ecx, ecx
mov dword [ebp - 4], 1
mov eax, ecx
je 0x1002bc88
mov byte [esi], 0
inc esi
dec eax
jne 0x1002bc81
sub dword [edi + 4], ecx
mov edx, dword [edi + 0xc]
xor esi, esi
cmp dword [edi + 4], esi
jbe 0x1002bcad
mov eax, dword [edi]
mov ecx, esi
and ecx, 3
shl ecx, 3
mov ebx, edx
shr ebx, cl
add eax, esi
xor byte [eax], bl
inc esi
cmp esi, dword [edi + 4]
jb 0x1002bc95
push 0x16
pop ecx
lea eax, [ebp - 0x30]
mov byte [eax], 0
inc eax
dec ecx
jne 0x1002bcb3
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
and dword [ebp - 4], 0
mov esi, edi
call fcn.1002ba88
jmp 0x1002bcad
Function at 0x1002c92a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 8]
mov byte [ebp - 0x18], 0x54
mov byte [ebp - 0x17], 0x43
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0x42
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x78
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xc], 0x42
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], bl
mov byte [ebp - 0x2c], 0x45
mov byte [ebp - 0x2b], 0x6e
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x62
mov byte [ebp - 0x28], 0x6c
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x20
mov byte [ebp - 0x25], 0x53
mov byte [ebp - 0x24], 0x70
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x6b
mov byte [ebp - 0x1c], bl
call esi
test eax, eax
jne 0x1002c9e7
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1002c9e7
xor edx, edx
jmp 0x1002c9ea
xor edx, edx
inc edx
push 0xa
pop ecx
lea eax, [ebp - 0x18]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002c9f0
push 7
pop ecx
lea eax, [ebp - 0xc]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002c9fc
push 0x11
pop ecx
lea eax, [ebp - 0x2c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002ca08
cmp edx, ebx
je 0x1002ca17
xor eax, eax
inc eax
jmp 0x1002ca53
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x1002ca50
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
ja 0x1002ca42
push dword [ebp - 4]
push edi
call fcn.1002c92a
cmp eax, ebx
pop ecx
pop ecx
jne 0x1002ca57
push ebx
push ebx
push edi
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x1002ca2d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x1002ca52
Function at 0x1002cc22
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
push dword [ebp + 8]
mov byte [ebp - 0x4c], 0x57
mov byte [ebp - 0x4b], 0x69
mov byte [ebp - 0x4a], 0x6e
mov byte [ebp - 0x49], 0x64
mov byte [ebp - 0x48], 0x6f
mov byte [ebp - 0x47], 0x77
mov byte [ebp - 0x46], 0x73
mov byte [ebp - 0x45], 0x46
mov byte [ebp - 0x44], 0x6f
mov byte [ebp - 0x43], 0x72
mov byte [ebp - 0x42], 0x6d
mov byte [ebp - 0x41], 0x73
mov byte [ebp - 0x40], 0x31
mov byte [ebp - 0x3f], 0x30
mov byte [ebp - 0x3e], 0x2e
mov byte [ebp - 0x3d], 0x57
mov byte [ebp - 0x3c], 0x69
mov byte [ebp - 0x3b], 0x6e
mov byte [ebp - 0x3a], 0x64
mov byte [ebp - 0x39], 0x6f
mov byte [ebp - 0x38], 0x77
mov byte [ebp - 0x37], 0x2e
mov byte [ebp - 0x36], 0x38
mov byte [ebp - 0x35], 0x2e
mov byte [ebp - 0x34], 0x61
mov byte [ebp - 0x33], 0x70
mov byte [ebp - 0x32], 0x70
mov byte [ebp - 0x31], 0x2e
mov byte [ebp - 0x30], 0x30
mov byte [ebp - 0x2f], 0x2e
mov byte [ebp - 0x2e], 0x31
mov byte [ebp - 0x2d], 0x34
mov byte [ebp - 0x2c], 0x31
mov byte [ebp - 0x2b], 0x62
mov byte [ebp - 0x2a], 0x34
mov byte [ebp - 0x29], 0x32
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x5f
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x37
mov byte [ebp - 0x24], 0x5f
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x64
mov byte [ebp - 0x21], 0x31
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x10], 0x53
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x53
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x64
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], bl
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x76
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x2d
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], bl
call esi
test eax, eax
jne 0x1002cd67
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1002cd67
xor edx, edx
jmp 0x1002cd6a
xor edx, edx
inc edx
push 0x2d
pop ecx
lea eax, [ebp - 0x4c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002cd70
push 0xb
pop ecx
lea eax, [ebp - 0x10]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002cd7c
push 0xc
pop ecx
lea eax, [ebp - 0x1c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002cd88
cmp edx, ebx
je 0x1002cd97
xor eax, eax
inc eax
jmp 0x1002cdd3
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x1002cdd0
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
ja 0x1002cdc2
push dword [ebp - 4]
push edi
call fcn.1002cc22
cmp eax, ebx
pop ecx
pop ecx
jne 0x1002cdd7
push ebx
push ebx
push edi
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x1002cdad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x1002cdd2
Function at 0x10030e5b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x10030e66
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x10030f18
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
sub eax, 8
dec edi
jne 0x10030e7d
pop edi
test eax, eax
je 0x10030f31
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004ca00]
inc ecx
dec eax
jne 0x10030f1c
mov eax, esi
pop ebx
not eax
pop esi
ret

Function at 0x10032ec3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
push esi
push edi
mov edi, eax
lea esi, [edi + 1]
shr esi, 1
cmp esi, 0x80
ja 0x10032fb8
mov eax, dword [ebp + 0x1c]
add eax, ebx
cmp eax, 0x50
mov dword [ebp - 4], eax
ja 0x10032fb8
cmp dword [ebp + 0xc], 0xe0
ja 0x10032fb8
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0xd8]
push eax
call sub.MSVCRT.dll_memcpy
and edi, 1
mov eax, esi
sub eax, edi
add eax, dword [ebp + 0x10]
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x158]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x58]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 0x1c]
lea eax, [ebp + ebx - 0x58]
push dword [ebp + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov edi, dword [ebp + 0xc]
add esp, 0xc
push dword [ebp - 4]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x318]
push edi
push eax
xor eax, eax
inc eax
mov ecx, esi
call fcn.10032d94
add esp, 0x14
push dword [ebp - 4]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x158]
push eax
push edi
lea eax, [ebp - 0x238]
push eax
push 2
pop eax
mov ecx, esi
call fcn.10032d94
add esp, 0x14
xor eax, eax
test edi, edi
jbe 0x10032fb8
mov cl, byte [ebp + eax - 0x238]
xor cl, byte [ebp + eax - 0x318]
mov edx, dword [ebp + 8]
mov byte [eax + edx], cl
inc eax
cmp eax, edi
jb 0x10032f9f
pop edi
pop esi
leave
ret

Function at 0x1003813e
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0xc], 0x67452301
mov dword [eax + 0x10], 0xefcdab89
mov dword [eax + 0x14], 0x98badcfe
mov dword [eax + 0x18], 0x10325476
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
ret
Function at 0x10038801
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esi]
push ebx
push edi
lea edi, [esi + 4]
mov ecx, dword [edi]
lea edx, [eax + ecx]
cmp edx, ecx
mov dword [edi], edx
jae 0x10038816
inc dword [esi + 8]
mov byte [eax + esi + 0x1c], 0x80
inc dword [esi]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, 0x38
jbe 0x10038849
push 0x40
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x1c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, esi
mov dword [esi], 0x40
call fcn.10038165
mov dword [esi], ebx
mov eax, dword [esi]
push 0x38
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x1c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [edi]
mov ecx, eax
shl eax, 3
lea ebx, [esi + 8]
mov edx, dword [ebx]
push 4
shr ecx, 0x1d
mov dword [edi], eax
lea eax, [esi + 0x54]
lea ecx, [ecx + edx*8]
push edi
push eax
mov dword [ebx], ecx
call sub.MSVCRT.dll_memcpy
push 4
lea eax, [esi + 0x58]
push ebx
push eax
call sub.MSVCRT.dll_memcpy
mov eax, esi
call fcn.10038165
push 0x10
lea eax, [esi + 0xc]
push eax
push dword [esp + 0x38]
call sub.MSVCRT.dll_memcpy
add esp, 0x30
pop edi
mov eax, esi
pop ebx
jmp fcn.1003813e

Function at 0x100388ac
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [esi + 0xac]
push edi
lea edi, [esi + 0x6c]
mov dword [ebp + 8], ecx
mov byte [esi + 0x10d], 0
mov byte [esi + 0x10c], al
je 0x100388e3
cmp eax, 1
je 0x100388e3
cmp eax, 2
je 0x100388e3
cmp eax, 5
jne 0x10038907
sub eax, 0
je 0x10038900
dec eax
je 0x100388f7
dec eax
jne 0x10038907
mov eax, esi
call fcn.1003a460
jmp 0x10038907
mov eax, esi
call fcn.1003aa98
jmp 0x10038907
mov eax, esi
call fcn.1003813e
movzx eax, byte [esi + 0x10c]
sub eax, 0
je 0x1003894b
dec eax
je 0x10038932
dec eax
jne 0x10038970
cmp ebx, 0x40
push ebx
push edx
jbe 0x10038952
call fcn.1003a88e
push edi
call fcn.1003a8f6
add esp, 0xc
push 0x20
jmp 0x1003896f
cmp ebx, 0x40
push ebx
push edx
jbe 0x10038952
call fcn.10039a50
push edi
call fcn.10039ab8
add esp, 0xc
push 0x14
jmp 0x1003896f
cmp ebx, 0x40
ja 0x1003895d
push ebx
push edx
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x10038970
push edx
mov eax, ebx
call fcn.100387a9
push edi
call fcn.10038801
pop ecx
pop ecx
push 0x10
pop ebx
push 0x40
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
push 0x40
sub eax, edi
pop ecx
mov dl, byte [edi]
xor dl, 0x5c
mov byte [eax + edi], dl
xor byte [edi], 0x36
inc edi
dec ecx
jne 0x1003898c
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10039ab8
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esi]
push ebx
lea ebx, [esi + 4]
mov ecx, dword [ebx]
lea edx, [eax + ecx]
cmp edx, ecx
push edi
lea edi, [esi + 0x20]
mov dword [ebx], edx
jae 0x10039ad0
inc dword [esi + 8]
mov byte [eax + edi], 0x80
inc dword [esi]
mov eax, dword [esi]
cmp eax, 0x38
jbe 0x10039b08
push 0x40
pop ecx
sub ecx, eax
push ecx
add eax, edi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x40
pop eax
mov edx, edi
mov ecx, edi
mov dword [esi], eax
call fcn.1003a432
mov eax, esi
call fcn.10038af5
and dword [esi], 0
mov eax, dword [esi]
push 0x38
pop ecx
sub ecx, eax
push ecx
add eax, edi
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebx]
mov edx, dword [esi + 8]
mov ecx, eax
shr ecx, 0x1d
lea ecx, [ecx + edx*8]
shl eax, 3
mov dword [esi + 8], ecx
mov dword [ebx], eax
push 0x40
pop eax
mov edx, edi
mov ecx, edi
call fcn.1003a432
push 4
lea eax, [esi + 8]
push eax
lea eax, [edi + 0x38]
push eax
call sub.MSVCRT.dll_memcpy
push 4
push ebx
add edi, 0x3c
push edi
call sub.MSVCRT.dll_memcpy
mov eax, esi
call fcn.10038af5
lea edi, [esi + 0xc]
push 0x14
pop eax
mov edx, edi
mov ecx, edi
call fcn.1003a432
push 0x14
push edi
push dword [esp + 0x38]
call sub.MSVCRT.dll_memcpy
add esp, 0x30
pop edi
mov eax, esi
pop ebx
jmp fcn.1003aa98

Function at 0x1003a460
Capabilities:
Hash data using sha256

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

Disassembly:
mov eax, dword [esi]
push ebx
lea ebx, [esi + 4]
mov ecx, dword [ebx]
lea edx, [eax + ecx]
cmp edx, ecx
push edi
lea edi, [esi + 0x2c]
mov dword [ebx], edx
jae 0x1003a90e
inc dword [esi + 8]
mov byte [eax + edi], 0x80
inc dword [esi]
mov eax, dword [esi]
cmp eax, 0x38
jbe 0x1003a946
push 0x40
pop ecx
sub ecx, eax
push ecx
add eax, edi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x40
pop eax
mov edx, edi
mov ecx, edi
mov dword [esi], eax
call fcn.1003a432
mov eax, esi
call fcn.1003a4a3
and dword [esi], 0
mov eax, dword [esi]
push 0x38
pop ecx
sub ecx, eax
push ecx
add eax, edi
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebx]
mov edx, dword [esi + 8]
mov ecx, eax
shr ecx, 0x1d
lea ecx, [ecx + edx*8]
shl eax, 3
mov dword [esi + 8], ecx
mov dword [ebx], eax
push 0x40
pop eax
mov edx, edi
mov ecx, edi
call fcn.1003a432
push 4
lea eax, [esi + 8]
push eax
lea eax, [edi + 0x38]
push eax
call sub.MSVCRT.dll_memcpy
push 4
push ebx
add edi, 0x3c
push edi
call sub.MSVCRT.dll_memcpy
mov eax, esi
call fcn.1003a4a3
lea edi, [esi + 0xc]
push 0x20
pop eax
mov edx, edi
mov ecx, edi
call fcn.1003a432
push 0x20
push edi
push dword [esp + 0x38]
call sub.MSVCRT.dll_memcpy
add esp, 0x30
pop edi
mov eax, esi
pop ebx
jmp fcn.1003a460

Function at 0x1003aa1f
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x10], 0
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
mov dword [ebp - 4], ecx
je 0x1003aa8e
push ebx
push esi
push edi
mov esi, 0xff
mov ecx, dword [ebp - 4]
dec dword [ebp + 0x10]
lea ecx, [eax + ecx + 2]
mov dword [ebp - 8], ecx
movzx ecx, byte [ecx]
mov edi, dword [ebp - 8]
add edx, ecx
and edx, esi
movzx ebx, byte [eax + edx + 2]
mov byte [edi], bl
mov edi, dword [ebp - 4]
inc edi
and edi, esi
mov dword [ebp - 4], edi
mov edi, ebx
add edi, ecx
and edi, esi
mov byte [eax + edx + 2], cl
mov cl, byte [edi + eax + 2]
mov edi, dword [ebp + 0xc]
xor cl, byte [edi]
mov edi, dword [ebp + 8]
inc dword [ebp + 8]
inc dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0xc], ebx
mov byte [edi], cl
jne 0x1003aa3d
pop edi
pop esi
pop ebx
mov cl, byte [ebp - 4]
mov byte [eax], cl
mov byte [eax + 1], dl
leave
ret

Function at 0x1003aa98
Capabilities:
Hash data using sha1

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

Disassembly:
mov edx, eax
or edx, ecx
sub ecx, eax
test dl, 3
push esi
jne 0x1003bdcd
push 4
pop edx
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
dec edx
jne 0x1003bdc0
pop esi
ret
push 0x10
pop esi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x1003bdd0
pop esi
ret
Function at 0x1003d089
Capabilities:
Encode data using xor

Disassembly:
mov edx, eax
or edx, ecx
sub ecx, eax
test dl, 3
push esi
jne 0x1003d0a5
push 2
pop edx
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
dec edx
jne 0x1003d098
pop esi
ret
push 8
pop esi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x1003d0a8
pop esi
ret

Function at 0x1003d1ab
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
xor ecx, ecx
push edi
movzx eax, byte [ecx + 0x10048a00]
mov edi, dword [ebp + 8]
dec eax
mov edx, eax
sar edx, 3
mov dl, byte [edx + edi]
and eax, 7
test byte [eax*4 + 0x10048a78], dl
setne al
mov byte [ebp + ecx - 0x78], al
inc ecx
cmp ecx, 0x38
jl 0x1003d1b5
xor ebx, ebx
push 8
lea eax, [ebp - 8]
push 0
push eax
call sub.MSVCRT.dll_memset
movzx eax, byte [ebx + 0x10048a38]
add esp, 0xc
xor ecx, ecx
xor edx, edx
cmp ecx, 0x1c
setge dl
mov edi, eax
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp eax, edx
jl 0x1003d212
lea edi, [eax - 0x1c]
mov dl, byte [ebp + edi - 0x78]
mov byte [ebp + ecx - 0x40], dl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x1003d1fa
xor edi, edi
movzx eax, byte [edi + 0x10048a48]
cmp byte [ebp + eax - 0x41], 0
je 0x1003d249
mov eax, edi
cdq
push 6
pop ecx
idiv ecx
mov ecx, dword [edx*4 + 0x10048a78]
lea eax, [ebp + eax - 8]
sar ecx, 2
or byte [eax], cl
inc edi
cmp edi, 0x30
jl 0x1003d223
movzx eax, byte [ebp - 8]
movzx ecx, byte [ebp - 6]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 4]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 5]
mov dword [esi + ebx*8], eax
movzx eax, byte [ebp - 7]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 3]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov dword [esi + ebx*8 + 4], eax
inc ebx
cmp ebx, 0x10
jl 0x1003d1e1
cmp dword [ebp + 0xc], 1
jne 0x1003d2cc
xor edi, edi
lea eax, [esi + 0x7c]
mov ebx, dword [eax - 4]
lea edx, [esi + edi*4]
mov ecx, dword [edx]
mov dword [edx], ebx
mov dword [eax - 4], ecx
mov ebx, dword [eax]
lea ecx, [esi + edi*4 + 4]
mov edx, dword [ecx]
inc edi
mov dword [ecx], ebx
mov dword [eax], edx
inc edi
sub eax, 8
cmp edi, 0x10
jl 0x1003d2a9
pop edi
pop ebx
leave
ret