joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017a05
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 0x100179d6
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.1001494d
pop ecx
pop ecx
pop ebx
leave
ret
Function at 0x10017e4f
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 0x10018051
push dword [eax]
call fcn.10003d1b
cmp eax, ebx
pop ecx
mov dword [esp + 0x14], eax
je 0x10018048
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 0x1001805a
mov eax, dword [edi]
cmp dword [eax], 0x58455241
jne 0x1001805a
cmp dword [eax + 4], 0x1d
jne 0x1001805a
cmp dword [eax + 8], esi
jne 0x1001805a
movzx edx, word [eax + 0xc]
lea esi, [edx + 0xe]
cmp esi, ecx
jg 0x1001805a
push ebx
add eax, 0xe
push edx
push eax
lea eax, [esp + 0x2c]
call fcn.1001e53c
test al, al
je 0x1001805a
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 0x1001805a
cmp dword [esp + 0x10], 0x30
jb 0x1001805a
xor ecx, ecx
inc ecx
cmp dword [esp + 0x71], ecx
jne 0x1001805a
movzx eax, byte [esp + 0x77]
lea edx, [eax + 0x31]
cmp edx, dword [esp + 0x10]
ja 0x1001805a
movzx edx, byte [esp + eax + 0x78]
add eax, edx
lea edx, [eax + 0xcb]
cmp edx, dword [esp + 0x10]
jne 0x1001805a
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 0x10018018
cmp esi, dword [0x1005abec]
jne 0x10018018
cmp ecx, dword [0x1005abe8]
jne 0x10018018
movzx eax, word [esp + 0x75]
cmp eax, dword [0x1005abf0]
jne 0x10018018
push edi
push dword [esp + 0x79]
push esi
push ecx
call fcn.10017b1b
add esp, 0x10
test eax, eax
jne 0x10018011
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push ebx
push esi
push dword [esp + 0x28]
call fcn.10017b1b
add esp, 0x10
test eax, eax
je 0x10018018
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 0x10018037
cmp dword [esp + 0x10], ebx
je 0x10018037
xor ebx, ebx
inc ebx
lea esi, [esp + 0x20]
mov dword [esp + 0x20], vtable.McbDESImpl_0_.0
call fcn.1001e515
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 0x1001801a
Function at 0x10018078
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 0x10018060
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.1001494d
pop ecx
pop ecx
pop ebx
leave
ret
Function at 0x1001818e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1005bbf4]
push esi
push dword [eax]
mov eax, dword [0x1005bbd8]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
push str._s_key_slanguage_s
mov esi, 0x1005b9e8
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 0x100187e6
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 0x1001882d
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.10040d40
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 0x10018888
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 0x1001886b
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.1002558a
add esp, 0x14
pop edi
pop ebx
leave
ret
Function at 0x1001e833
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 0x10057af8
call fcn.1001ea67
add esp, 0x1c
cmp dword [ebp + 0x7c], 0
push 0x10
lea esi, [ebp - 0x24]
pop ebx
je 0x1001e8a3
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.1001ead4
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 0x1001e88a
add edi, 6
dec ebx
jne 0x1001e872
jmp 0x1001e8d5
add edi, 0x5a
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.1001ead4
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 0x1001e8be
sub edi, 6
dec ebx
jne 0x1001e8a6
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 0x1001e8da
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 0x10057ab8
call fcn.1001ea67
add esp, 0x1c
add ebp, 0x6c
leave
ret
Function at 0x1001e917
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.1001ea67
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, 0x10057b38
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 0x1001e9c3
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 0x1001e9dc
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 0x1001e99b
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 0x10057b48
mov byte [ebp + 0x63], dl
call fcn.1001ea67
add esp, 0x10
inc edi
add ebx, 6
cmp edi, 0x10
jl 0x1001e9f9
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x1001ead4
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 0x10057b78
call fcn.1001ea67
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 0x1001eb15
mov al, byte [ebp - 0xc]
push 0
shr al, 2
call fcn.1001ebfb
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.1001ebfb
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.1001ebfb
shl al, 4
or byte [ebp - 3], al
mov al, byte [ebp - 0xa]
push 3
and al, 0x3f
call fcn.1001ebfb
or byte [ebp - 3], al
mov al, byte [ebp - 9]
push 4
shr al, 2
call fcn.1001ebfb
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.1001ebfb
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.1001ebfb
shl al, 4
or byte [ebp - 1], al
mov al, byte [ebp - 7]
push 7
and al, 0x3f
call fcn.1001ebfb
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 0x10057ba8
call fcn.1001ea67
add esp, 0x3c
pop edi
leave
ret
Function at 0x100253d7
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 0x10025491
push dword [esi]
call fcn.10002dc4
test eax, eax
pop ecx
je 0x100254c5
mov ecx, dword [0x1005bbf0]
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 0x10025546
cmp dword [ebx + 4], 0
je 0x1002557b
push dword [ebx]
call fcn.10003d1b
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x1002557b
push dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [0x1005bbf0]
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 0x1002558a
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x100255bc
cmp edi, 0x1000
mov eax, 0x1000
jg 0x100255a1
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 0x100255c6
sub edi, eax
add esi, eax
test edi, edi
jne 0x10025592
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x100255c3
Function at 0x100255ca
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x100255fc
cmp edi, 0x1000
mov eax, 0x1000
jg 0x100255e1
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 0x10025606
sub edi, eax
add esi, eax
test edi, edi
jne 0x100255d2
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x10025603

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x402c
call fcn.10040d80
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 0x1002571b
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x10025722
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 0x1002571b
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.1002558a
test eax, eax
pop ecx
pop ecx
je 0x1002571b
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x100256a0
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 0x1002571b
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 0x10025765
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x10025765
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 0x1002571b
cmp edi, ebx
setne al
jmp 0x1002571d
Function at 0x10029a2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, edi
call fcn.100299c3
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x18]
push 4
pop eax
call fcn.100255ca
test eax, eax
pop ecx
pop ecx
je 0x10029aad
cmp dword [edi + 0x1c], 1
jne 0x10029a71
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 0x10029aa5
movzx ebx, byte [ebp - 0x23]
mov al, bl
and al, 0x30
cmp al, 0x10
je 0x10029a8d
movzx eax, byte [ebp - 0x24]
and ebx, 0xf
shl eax, 4
lea ebx, [ebx + eax - 4]
jmp 0x10029aa5
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x18]
push 0x12
pop eax
call fcn.100255ca
test eax, eax
pop ecx
pop ecx
je 0x10029aad
mov ebx, dword [ebp - 0x12]
cmp ebx, 0x1000000
jb 0x10029ab6
and dword [ebp - 4], 0
jmp 0x10029ba2
cmp dword [edi + 0x1c], 1
mov dword [edi + 4], ebx
lea eax, [edi + 0xe]
je 0x10029ac5
lea eax, [ebp - 0x24]
mov ax, word [eax]
xor ax, word [ebp - 0x22]
cmp ebx, 0xffc
mov word [edi + 8], ax
jbe 0x10029aef
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.100255ca
test eax, eax
pop ecx
pop ecx
je 0x10029bb6
cmp dword [edi + 0x1c], 0
mov dword [ebp - 4], 1
jne 0x10029b86
test ebx, ebx
je 0x10029b86
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.10040d40
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 0x10029bb6
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 0x10029bb6
mov eax, dword [edi + 4]
sub eax, esi
add eax, dword [edi]
test esi, esi
mov dword [ebp - 4], 1
mov ecx, esi
je 0x10029b83
mov byte [eax], 0
inc eax
dec ecx
jne 0x10029b7c
sub dword [edi + 4], esi
xor ecx, ecx
cmp dword [edi + 4], ecx
jbe 0x10029ba2
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 0x10029b8d
push 0x16
pop ecx
pop esi
lea eax, [ebp - 0x24]
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10029baa
mov eax, dword [ebp - 4]
leave
ret
and dword [ebp - 4], 0
mov esi, edi
call fcn.100299c3
jmp 0x10029ba2