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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x94
push ebx
push esi
push edi
push 8
mov edi, eax
lea eax, [ebp - 0x28]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x74]
push 0x40
push 0x100578e8
call fcn.1001e60e
add esp, 0x1c
cmp dword [ebp + 0x7c], 0
push 0x10
lea esi, [ebp - 0x24]
pop ebx
je 0x1001e44a
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.1001e67b
add esp, 0xc
xor eax, eax
add esi, 8
mov cl, byte [esi + eax - 0xc]
xor cl, byte [ebp + eax + 0x68]
mov byte [esi + eax], cl
inc eax
cmp eax, 4
jl 0x1001e431
add edi, 6
dec ebx
jne 0x1001e419
jmp 0x1001e47c
add edi, 0x5a
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.1001e67b
add esp, 0xc
xor eax, eax
add esi, 8
mov cl, byte [esi + eax - 0xc]
xor cl, byte [ebp + eax + 0x68]
mov byte [esi + eax], cl
inc eax
cmp eax, 4
jl 0x1001e465
sub edi, 6
dec ebx
jne 0x1001e44d
pop edi
pop esi
xor eax, eax
pop ebx
mov cl, byte [ebp + eax + 0x5c]
mov byte [ebp + eax + 0x60], cl
mov cl, byte [ebp + eax + 0x58]
mov byte [ebp + eax + 0x64], cl
inc eax
cmp eax, 4
jl 0x1001e481
push 8
push 0
push dword [ebp + 0x78]
call sub.MSVCRT.dll_memset
push dword [ebp + 0x78]
lea eax, [ebp + 0x60]
push eax
push 0x40
push 0x100578a8
call fcn.1001e60e
add esp, 0x1c
add ebp, 0x6c
leave
ret
Function at 0x1001e4be
Capabilities:
Encrypt data using des

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x98
push ebx
push esi
push edi
push 7
xor edi, edi
lea eax, [ebp + 0x68]
push edi
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x78]
push 0x38
push str.80_
call fcn.1001e60e
movzx edx, byte [ebp + 0x69]
movzx eax, byte [ebp + 0x6b]
xor ecx, ecx
mov ch, byte [ebp + 0x68]
xor esi, esi
add esp, 0x1c
inc esi
or ecx, edx
movzx edx, byte [ebp + 0x6a]
shl ecx, 8
or ecx, edx
mov edx, eax
shl ecx, 4
shr edx, 4
or ecx, edx
and eax, 0xf
shl eax, 8
mov dword [ebp - 0x28], ecx
movzx ecx, byte [ebp + 0x6c]
or eax, ecx
movzx ecx, byte [ebp + 0x6d]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp + 0x6e]
shl eax, 8
or eax, ecx
mov edx, 0x10057928
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
dec edx
cmp byte [edx + esi], 2
mov ecx, dword [eax - 4]
mov ebx, ecx
jne 0x1001e56a
sar ebx, 0x1a
and ebx, 3
shl ecx, 2
or ebx, ecx
mov ecx, dword [eax]
mov dword [eax + 4], ebx
mov ebx, ecx
sar ebx, 0x1a
and ebx, 3
shl ecx, 2
jmp 0x1001e583
sar ebx, 0x1b
and ebx, 1
add ecx, ecx
or ebx, ecx
mov ecx, dword [eax]
mov dword [eax + 4], ebx
mov ebx, ecx
sar ebx, 0x1b
and ebx, 1
add ecx, ecx
or ebx, ecx
mov dword [eax + 8], ebx
inc esi
add eax, 8
cmp esi, 0x11
jl 0x1001e542
mov ebx, dword [ebp + 0x7c]
push 0x60
push edi
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp + edi*8 - 0x20]
mov ecx, dword [eax]
mov al, byte [eax]
mov edx, ecx
sar edx, 0x14
mov byte [ebp + 0x60], dl
mov edx, ecx
sar ecx, 4
sar edx, 0xc
mov byte [ebp + 0x62], cl
lea ecx, [ebp + edi*8 - 0x1c]
mov esi, dword [ecx]
mov byte [ebp + 0x61], dl
shl al, 4
mov edx, esi
sar edx, 0x18
and dl, 0xf
or dl, al
mov eax, esi
sar eax, 0x10
mov byte [ebp + 0x64], al
mov eax, esi
sar eax, 8
mov byte [ebp + 0x65], al
mov al, byte [ecx]
mov byte [ebp + 0x66], al
push ebx
lea eax, [ebp + 0x60]
push eax
push 0x30
push 0x10057938
mov byte [ebp + 0x63], dl
call fcn.1001e60e
add esp, 0x10
inc edi
add ebx, 6
cmp edi, 0x10
jl 0x1001e5a0
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x1001e67b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 4
lea eax, [ebp - 4]
push 0
push eax
call sub.MSVCRT.dll_memset
push 6
lea eax, [ebp - 0xc]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 0x30
push 0x10057968
call fcn.1001e60e
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
add esp, 0x28
xor ecx, ecx
sub edi, eax
lea eax, [ebp + ecx - 0xc]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, 6
jl 0x1001e6bc
mov al, byte [ebp - 0xc]
push 0
shr al, 2
call fcn.1001e7a2
mov cl, byte [ebp - 0xb]
shl al, 4
or byte [ebp - 4], al
mov al, byte [ebp - 0xc]
and al, 3
shl al, 4
shr cl, 4
push 1
or al, cl
call fcn.1001e7a2
or byte [ebp - 4], al
mov al, byte [ebp - 0xb]
mov cl, byte [ebp - 0xa]
and al, 0xf
shl al, 2
shr cl, 6
push 2
or al, cl
call fcn.1001e7a2
shl al, 4
or byte [ebp - 3], al
mov al, byte [ebp - 0xa]
push 3
and al, 0x3f
call fcn.1001e7a2
or byte [ebp - 3], al
mov al, byte [ebp - 9]
push 4
shr al, 2
call fcn.1001e7a2
mov cl, byte [ebp - 8]
shl al, 4
or byte [ebp - 2], al
mov al, byte [ebp - 9]
and al, 3
shl al, 4
shr cl, 4
push 5
or al, cl
call fcn.1001e7a2
or byte [ebp - 2], al
mov al, byte [ebp - 8]
mov cl, byte [ebp - 7]
and al, 0xf
shl al, 2
shr cl, 6
push 6
or al, cl
call fcn.1001e7a2
shl al, 4
or byte [ebp - 1], al
mov al, byte [ebp - 7]
push 7
and al, 0x3f
call fcn.1001e7a2
or byte [ebp - 1], al
push 4
push 0
push dword [ebp + 0x10]
call sub.MSVCRT.dll_memset
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 0x20
push 0x10057998
call fcn.1001e60e
add esp, 0x3c
pop edi
leave
ret
Function at 0x10024f76
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
and word [ebp - 0x30], 0
push ebx
push esi
push edi
push 0x69
pop edi
push 0x6e
pop ebx
push 0x1a
mov word [ebp - 0x60], 0x41
mov word [ebp - 0x5e], 0x6c
mov word [ebp - 0x5c], di
mov word [ebp - 0x5a], 0x63
mov word [ebp - 0x58], di
mov word [ebp - 0x56], 0x61
mov word [ebp - 0x54], 0x4f
mov word [ebp - 0x52], bx
mov word [ebp - 0x50], 0x6c
mov word [ebp - 0x4e], di
mov word [ebp - 0x4c], bx
mov word [ebp - 0x4a], 0x65
mov word [ebp - 0x48], 0x5c
mov word [ebp - 0x46], 0x53
mov word [ebp - 0x44], 0x65
mov word [ebp - 0x42], 0x74
mov word [ebp - 0x40], 0x75
mov word [ebp - 0x3e], 0x70
mov word [ebp - 0x3c], 0x5c
mov word [ebp - 0x3a], 0x37
mov word [ebp - 0x38], 0x2e
mov word [ebp - 0x36], 0x64
mov word [ebp - 0x34], 0x61
mov word [ebp - 0x32], 0x74
call fcn.10004bc7
mov esi, eax
push 0
push esi
lea eax, [ebp - 0x60]
mov dword [ebp - 4], esi
call fcn.10004241
add esp, 0xc
push 0x32
pop ecx
lea eax, [ebp - 0x60]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10025030
push dword [esi]
call fcn.10002dc4
test eax, eax
pop ecx
je 0x10025064
mov ecx, dword [0x1005b9e0]
mov esi, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [ecx + 4], esi
mov esi, dword [eax]
mov dword [eax + 4], edx
mov edx, dword [ecx]
mov dword [ecx], esi
mov esi, eax
mov dword [eax], edx
call fcn.10004019
mov esi, dword [ebp - 4]
call fcn.10003ff1
and word [ebp - 8], 0
lea eax, [ebp - 0x2c]
push eax
mov word [ebp - 0x2c], 0x41
mov word [ebp - 0x2a], 0x6c
mov word [ebp - 0x28], di
mov word [ebp - 0x26], 0x63
mov word [ebp - 0x24], di
mov word [ebp - 0x22], 0x61
mov word [ebp - 0x20], 0x5f
mov word [ebp - 0x1e], 0x4f
mov word [ebp - 0x1c], bx
mov word [ebp - 0x1a], 0x6c
mov word [ebp - 0x18], di
mov word [ebp - 0x16], bx
mov word [ebp - 0x14], 0x65
mov word [ebp - 0x12], 0x5f
mov word [ebp - 0x10], 0x53
mov word [ebp - 0xe], 0x68
mov word [ebp - 0xc], 0x6f
mov word [ebp - 0xa], 0x70
call fcn.10004872
pop ecx
push 0x26
mov ebx, eax
pop ecx
lea eax, [ebp - 0x2c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x100250e5
cmp dword [ebx + 4], 0
je 0x1002511a
push dword [ebx]
call fcn.10003d1b
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x1002511a
push dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [0x1005b9e0]
call fcn.10004095
mov edi, dword [ebp - 4]
pop ecx
call fcn.10003daf
mov esi, ebx
call fcn.10003ff1
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

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

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x1002515b
cmp edi, 0x1000
mov eax, 0x1000
jg 0x10025140
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_send
test eax, eax
jle 0x10025165
sub edi, eax
add esi, eax
test edi, edi
jne 0x10025131
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x10025162
Function at 0x10025169
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x1002519b
cmp edi, 0x1000
mov eax, 0x1000
jg 0x10025180
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 0x100251a5
sub edi, eax
add esi, eax
test edi, edi
jne 0x10025171
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x100251a2

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x402c
call fcn.10040640
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 0x100252ba
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x100252c1
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 0x100252ba
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.10025129
test eax, eax
pop ecx
pop ecx
je 0x100252ba
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x1002523f
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 0x100252ba
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 0x10025304
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x10025304
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 0x100252ba
cmp edi, ebx
setne al
jmp 0x100252bc
Function at 0x100292ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, edi
call fcn.10029288
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x18]
push 4
pop eax
call fcn.10025169
test eax, eax
pop ecx
pop ecx
je 0x10029372
cmp dword [edi + 0x1c], 1
jne 0x10029336
movzx ecx, byte [ebp - 0x23]
movzx eax, byte [edi + 0xd]
movzx edx, byte [ebp - 0x24]
xor eax, ecx
movzx ecx, byte [edi + 0xc]
shl eax, 8
xor ecx, edx
lea ebx, [eax + ecx - 4]
jmp 0x1002936a
movzx ebx, byte [ebp - 0x23]
mov al, bl
and al, 0x30
cmp al, 0x10
je 0x10029352
movzx eax, byte [ebp - 0x24]
and ebx, 0xf
shl eax, 4
lea ebx, [ebx + eax - 4]
jmp 0x1002936a
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x18]
push 0x12
pop eax
call fcn.10025169
test eax, eax
pop ecx
pop ecx
je 0x10029372
mov ebx, dword [ebp - 0x12]
cmp ebx, 0x1000000
jb 0x1002937b
and dword [ebp - 4], 0
jmp 0x10029467
cmp dword [edi + 0x1c], 1
mov dword [edi + 4], ebx
lea eax, [edi + 0xe]
je 0x1002938a
lea eax, [ebp - 0x24]
mov ax, word [eax]
xor ax, word [ebp - 0x22]
cmp ebx, 0xffc
mov word [edi + 8], ax
jbe 0x100293b4
mov esi, dword [edi + 0x14]
call fcn.10004019
mov esi, dword [edi + 4]
call fcn.10003fbc
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.10025169
test eax, eax
pop ecx
pop ecx
je 0x1002947b
cmp dword [edi + 0x1c], 0
mov dword [ebp - 4], 1
jne 0x1002944b
test ebx, ebx
je 0x1002944b
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.10040600
mov dword [ebp - 0xc], eax
movzx eax, byte [edi + 0xc]
and eax, 7
mov esi, eax
mov eax, dword [edi + 4]
cmp esi, eax
mov dword [ebp - 8], edx
ja 0x1002947b
sub eax, esi
add eax, dword [edi]
push esi
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x1002947b
mov eax, dword [edi + 4]
sub eax, esi
add eax, dword [edi]
test esi, esi
mov dword [ebp - 4], 1
mov ecx, esi
je 0x10029448
mov byte [eax], 0
inc eax
dec ecx
jne 0x10029441
sub dword [edi + 4], esi
xor ecx, ecx
cmp dword [edi + 4], ecx
jbe 0x10029467
mov eax, dword [edi]
mov edx, ecx
and edx, 3
mov dl, byte [edx + edi + 0xc]
add eax, ecx
xor byte [eax], dl
inc ecx
cmp ecx, dword [edi + 4]
jb 0x10029452
push 0x16
pop ecx
pop esi
lea eax, [ebp - 0x24]
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x1002946f
mov eax, dword [ebp - 4]
leave
ret
and dword [ebp - 4], 0
mov esi, edi
call fcn.10029288
jmp 0x10029467
Function at 0x1002a0ec
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 0x1002a1a9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1002a1a9
xor edx, edx
jmp 0x1002a1ac
xor edx, edx
inc edx
push 0xa
pop ecx
lea eax, [ebp - 0x18]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002a1b2
push 7
pop ecx
lea eax, [ebp - 0xc]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002a1be
push 0x11
pop ecx
lea eax, [ebp - 0x2c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002a1ca
cmp edx, ebx
je 0x1002a1d9
xor eax, eax
inc eax
jmp 0x1002a215
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x1002a212
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
ja 0x1002a204
push dword [ebp - 4]
push edi
call fcn.1002a0ec
cmp eax, ebx
pop ecx
pop ecx
jne 0x1002a219
push ebx
push ebx
push edi
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x1002a1ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x1002a214
Function at 0x1002a3e4
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 0x1002a529
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1002a529
xor edx, edx
jmp 0x1002a52c
xor edx, edx
inc edx
push 0x2d
pop ecx
lea eax, [ebp - 0x4c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002a532
push 0xb
pop ecx
lea eax, [ebp - 0x10]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002a53e
push 0xc
pop ecx
lea eax, [ebp - 0x1c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002a54a
cmp edx, ebx
je 0x1002a559
xor eax, eax
inc eax
jmp 0x1002a595
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x1002a592
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
ja 0x1002a584
push dword [ebp - 4]
push edi
call fcn.1002a3e4
cmp eax, ebx
pop ecx
pop ecx
jne 0x1002a599
push ebx
push ebx
push edi
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x1002a56f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x1002a594
Function at 0x1002e623
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x1002e62e
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x1002e6e0
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 + 0x1004a4d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004a4d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004a4d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004a4d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004a4d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004a4d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004a4d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004a4d0]
inc ecx
sub eax, 8
dec edi
jne 0x1002e645
pop edi
test eax, eax
je 0x1002e6f9
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004a4d0]
inc ecx
dec eax
jne 0x1002e6e4
mov eax, esi
pop ebx
not eax
pop esi
ret

Function at 0x10030692
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 0x10030787
mov eax, dword [ebp + 0x1c]
add eax, ebx
cmp eax, 0x50
mov dword [ebp - 4], eax
ja 0x10030787
cmp dword [ebp + 0xc], 0xe0
ja 0x10030787
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.10030563
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.10030563
add esp, 0x14
xor eax, eax
test edi, edi
jbe 0x10030787
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 0x1003076e
pop edi
pop esi
leave
ret

Function at 0x1003590d
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 0x10035fd0
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 0x10035fe5
inc dword [esi + 8]
mov byte [eax + esi + 0x1c], 0x80
inc dword [esi]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, 0x38
jbe 0x10036018
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.10035934
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.10035934
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.1003590d

Function at 0x1003607b
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 0x100360b2
cmp eax, 1
je 0x100360b2
cmp eax, 2
je 0x100360b2
cmp eax, 5
jne 0x100360d6
sub eax, 0
je 0x100360cf
dec eax
je 0x100360c6
dec eax
jne 0x100360d6
mov eax, esi
call fcn.10037c2f
jmp 0x100360d6
mov eax, esi
call fcn.10038267
jmp 0x100360d6
mov eax, esi
call fcn.1003590d
movzx eax, byte [esi + 0x10c]
sub eax, 0
je 0x1003611a
dec eax
je 0x10036101
dec eax
jne 0x1003613f
cmp ebx, 0x40
push ebx
push edx
jbe 0x10036121
call fcn.1003805d
push edi
call fcn.100380c5
add esp, 0xc
push 0x20
jmp 0x1003613e
cmp ebx, 0x40
push ebx
push edx
jbe 0x10036121
call fcn.1003724d
push edi
call fcn.100372b5
add esp, 0xc
push 0x14
jmp 0x1003613e
cmp ebx, 0x40
ja 0x1003612c
push ebx
push edx
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x1003613f
push edx
mov eax, ebx
call fcn.10035f78
push edi
call fcn.10035fd0
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 0x1003615b
pop edi
pop esi
pop ebx
pop ebp
ret