joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100142d4
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 0x10014389
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10014373
cmp dword [ebp - 0x14], 0x20
je 0x10014327
cmp dword [ebp - 0x14], 0x10
jne 0x10014373
cmp dword [ebp - 0x10], 0x1000000
jne 0x10014373
cmp dword [ebp - 4], eax
je 0x10014373
cmp eax, edi
mov dword [ebp - 4], eax
ja 0x10014373
mov ecx, dword [ebp - 0x1c]
add eax, ecx
lea edx, [edi + 4]
cmp edx, eax
ja 0x10014373
lea eax, [ebp - 0xc]
push eax
push 0x40
push ecx
push dword [ebp - 0x28]
call ebx
test eax, eax
je 0x10014373
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 0x10014314
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x10017149
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 0x1001711a
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.1001418b
pop ecx
pop ecx
pop ebx
leave
ret
Function at 0x10017593
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 0x10017795
push dword [eax]
call fcn.10003d1b
cmp eax, ebx
pop ecx
mov dword [esp + 0x14], eax
je 0x1001778c
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 0x1001779e
mov eax, dword [edi]
cmp dword [eax], 0x58455241
jne 0x1001779e
cmp dword [eax + 4], 0x1d
jne 0x1001779e
cmp dword [eax + 8], esi
jne 0x1001779e
movzx edx, word [eax + 0xc]
lea esi, [edx + 0xe]
cmp esi, ecx
jg 0x1001779e
push ebx
add eax, 0xe
push edx
push eax
lea eax, [esp + 0x2c]
call fcn.1001dc48
test al, al
je 0x1001779e
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 0x1001779e
cmp dword [esp + 0x10], 0x30
jb 0x1001779e
xor ecx, ecx
inc ecx
cmp dword [esp + 0x71], ecx
jne 0x1001779e
movzx eax, byte [esp + 0x77]
lea edx, [eax + 0x31]
cmp edx, dword [esp + 0x10]
ja 0x1001779e
movzx edx, byte [esp + eax + 0x78]
add eax, edx
lea edx, [eax + 0xcb]
cmp edx, dword [esp + 0x10]
jne 0x1001779e
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 0x1001775c
cmp esi, dword [0x1005852c]
jne 0x1001775c
cmp ecx, dword [0x10058528]
jne 0x1001775c
movzx eax, word [esp + 0x75]
cmp eax, dword [0x10058530]
jne 0x1001775c
push edi
push dword [esp + 0x79]
push esi
push ecx
call fcn.1001725f
add esp, 0x10
test eax, eax
jne 0x10017755
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push ebx
push esi
push dword [esp + 0x28]
call fcn.1001725f
add esp, 0x10
test eax, eax
je 0x1001775c
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 0x1001777b
cmp dword [esp + 0x10], ebx
je 0x1001777b
xor ebx, ebx
inc ebx
lea esi, [esp + 0x20]
mov dword [esp + 0x20], vtable.McbDESImpl_0_.0
call fcn.1001dc21
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 0x1001775e
Function at 0x100177bc
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 0x100177a4
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.1001418b
pop ecx
pop ecx
pop ebx
leave
ret
Function at 0x100178d2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10059534]
push esi
push dword [eax]
mov eax, dword [0x10059518]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
push str._s_key_slanguage_s
mov esi, 0x10059328
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 0x100191a2
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 0x100191e9
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.1003fc50
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 0x10019244
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 0x10019227
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.10024c4c
add esp, 0x14
pop edi
pop ebx
leave
ret
Function at 0x1001df3f
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 0x10055430
call fcn.1001e173
add esp, 0x1c
cmp dword [ebp + 0x7c], 0
push 0x10
lea esi, [ebp - 0x24]
pop ebx
je 0x1001dfaf
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.1001e1e0
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 0x1001df96
add edi, 6
dec ebx
jne 0x1001df7e
jmp 0x1001dfe1
add edi, 0x5a
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.1001e1e0
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 0x1001dfca
sub edi, 6
dec ebx
jne 0x1001dfb2
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 0x1001dfe6
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 0x100553f0
call fcn.1001e173
add esp, 0x1c
add ebp, 0x6c
leave
ret
Function at 0x1001e023
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.1001e173
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, 0x10055470
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 0x1001e0cf
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 0x1001e0e8
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 0x1001e0a7
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 0x10055480
mov byte [ebp + 0x63], dl
call fcn.1001e173
add esp, 0x10
inc edi
add ebx, 6
cmp edi, 0x10
jl 0x1001e105
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x1001e1e0
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 0x100554b0
call fcn.1001e173
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 0x1001e221
mov al, byte [ebp - 0xc]
push 0
shr al, 2
call fcn.1001e307
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.1001e307
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.1001e307
shl al, 4
or byte [ebp - 3], al
mov al, byte [ebp - 0xa]
push 3
and al, 0x3f
call fcn.1001e307
or byte [ebp - 3], al
mov al, byte [ebp - 9]
push 4
shr al, 2
call fcn.1001e307
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.1001e307
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.1001e307
shl al, 4
or byte [ebp - 1], al
mov al, byte [ebp - 7]
push 7
and al, 0x3f
call fcn.1001e307
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 0x100554e0
call fcn.1001e173
add esp, 0x3c
pop edi
leave
ret
Function at 0x10024a99
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 0x10024b53
push dword [esi]
call fcn.10002dc4
test eax, eax
pop ecx
je 0x10024b87
mov ecx, dword [0x10059530]
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 0x10024c08
cmp dword [ebx + 4], 0
je 0x10024c3d
push dword [ebx]
call fcn.10003d1b
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x10024c3d
push dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [0x10059530]
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 0x10024c4c
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x10024c7e
cmp edi, 0x1000
mov eax, 0x1000
jg 0x10024c63
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 0x10024c88
sub edi, eax
add esi, eax
test edi, edi
jne 0x10024c54
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x10024c85
Function at 0x10024c8c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x10024cbe
cmp edi, 0x1000
mov eax, 0x1000
jg 0x10024ca3
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 0x10024cc8
sub edi, eax
add esi, eax
test edi, edi
jne 0x10024c94
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x10024cc5

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x402c
call fcn.1003fc90
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 0x10024ddd
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x10024de4
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 0x10024ddd
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.10024c4c
test eax, eax
pop ecx
pop ecx
je 0x10024ddd
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x10024d62
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 0x10024ddd
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 0x10024e27
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x10024e27
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 0x10024ddd
cmp edi, ebx
setne al
jmp 0x10024ddf
Function at 0x10028940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, edi
call fcn.100288d9
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x18]
push 4
pop eax
call fcn.10024c8c
test eax, eax
pop ecx
pop ecx
je 0x100289c3
cmp dword [edi + 0x1c], 1
jne 0x10028987
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 0x100289bb
movzx ebx, byte [ebp - 0x23]
mov al, bl
and al, 0x30
cmp al, 0x10
je 0x100289a3
movzx eax, byte [ebp - 0x24]
and ebx, 0xf
shl eax, 4
lea ebx, [ebx + eax - 4]
jmp 0x100289bb
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x18]
push 0x12
pop eax
call fcn.10024c8c
test eax, eax
pop ecx
pop ecx
je 0x100289c3
mov ebx, dword [ebp - 0x12]
cmp ebx, 0x1000000
jb 0x100289cc
and dword [ebp - 4], 0
jmp 0x10028ab8
cmp dword [edi + 0x1c], 1
mov dword [edi + 4], ebx
lea eax, [edi + 0xe]
je 0x100289db
lea eax, [ebp - 0x24]
mov ax, word [eax]
xor ax, word [ebp - 0x22]
cmp ebx, 0xffc
mov word [edi + 8], ax
jbe 0x10028a05
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.10024c8c
test eax, eax
pop ecx
pop ecx
je 0x10028acc
cmp dword [edi + 0x1c], 0
mov dword [ebp - 4], 1
jne 0x10028a9c
test ebx, ebx
je 0x10028a9c
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.1003fc50
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 0x10028acc
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 0x10028acc
mov eax, dword [edi + 4]
sub eax, esi
add eax, dword [edi]
test esi, esi
mov dword [ebp - 4], 1
mov ecx, esi
je 0x10028a99
mov byte [eax], 0
inc eax
dec ecx
jne 0x10028a92
sub dword [edi + 4], esi
xor ecx, ecx
cmp dword [edi + 4], ecx
jbe 0x10028ab8
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 0x10028aa3
push 0x16
pop ecx
pop esi
lea eax, [ebp - 0x24]
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10028ac0
mov eax, dword [ebp - 4]
leave
ret
and dword [ebp - 4], 0
mov esi, edi
call fcn.100288d9
jmp 0x10028ab8