joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ae0f0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
xor esi, esi
push esi
push 1
push 2
call sub.WS2_32.dll_socket
mov edi, eax
cmp edi, 0xffffffff
je 0x6ae23a
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 1
push 6
push edi
call sub.WS2_32.dll_setsockopt
xorps xmm0, xmm0
mov eax, 2
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x14], ax
lea eax, [esp + 0x14]
push 0x10
push eax
push edi
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
je 0x6ae227
push 0x64
call fcn.006ab830
mov esi, eax
add esp, 4
test esi, esi
je 0x6ae227
push 0x64
push 0
push esi
call fcn.006f4190
mov dword [esi + 4], edi
add esp, 0xc
mov eax, dword [0x780f18]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [0x780f18], esi
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x2c]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xc], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x1c], xmm0
movups xmm0, xmmword [eax + 0x20]
mov dword [esi + 0x60], 0
movups xmmword [esi + 0x2c], xmm0
mov dword [esi + 0x24], 0
test ebx, ebx
je 0x6ae1f9
push ebx
call fcn.006ab830
add esp, 4
mov dword [esi + 0x60], eax
test eax, eax
je 0x6ae227
push ebp
push ebx
push eax
call fcn.0061264d
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.006dd760
add esp, 0x18
ret 0x10
push 2
call fcn.006ab830
mov dword [esi + 0x60], eax
add esp, 4
mov byte [eax], 0
mov eax, dword [esi + 0x60]
pop edi
mov byte [eax + 1], 0
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.006dd760
add esp, 0x18
ret 0x10
push edi
call sub.WS2_32.dll_closesocket
test esi, esi
jne 0x6ae23a
push esi
call fcn.0060e50c
add esp, 4
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x18
ret 0x10
Function at 0x6aea90
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x1a4], eax
cmp dword [0x780f20], 0
jne 0x6aebfa
lea eax, [esp + 0x14]
mov dword [0x780f20], 1
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x6aebfa
push 4
push 0x780f1c
push 0x579394
push 7
mov dword [0x780f04], 1
call fcn.006abea0
add esp, 0x10
test eax, eax
je 0x6aeb06
mov eax, dword [0x780f1c]
test eax, eax
je 0x6aeb06
cmp eax, 0xffff
jbe 0x6aeb10
mov dword [0x780f1c], 0x574b
push 0x7fff
call fcn.006117b0
add esp, 4
mov dword [0x780f00], eax
test eax, eax
je 0x6aeb88
push 0
push 2
push 2
call sub.WS2_32.dll_socket
mov dword [0x76d738], eax
cmp eax, 0xffffffff
je 0x6aeba3
push 4
lea ecx, [esp + 4]
mov dword [esp + 4], 1
push ecx
push 0x20
push 0xffff
push eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x6aeb83
push 0x10
lea eax, [esp + 8]
push eax
push dword [0x76d738]
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
jne 0x6aebfa
mov eax, dword [0x780f00]
mov ecx, dword [0x76d738]
cmp ecx, 0xffffffff
je 0x6aeba8
push ecx
call sub.WS2_32.dll_closesocket
mov dword [0x76d738], 0xffffffff
mov eax, dword [0x780f00]
test eax, eax
je 0x6aebbf
push eax
call fcn.0060e50c
add esp, 4
mov dword [0x780f00], 0
mov eax, dword [0x780f18]
test eax, eax
je 0x6aebe2
push esi
nop dword [eax]
mov esi, dword [eax]
push eax
call fcn.0060e50c
add esp, 4
mov eax, esi
test esi, esi
jne 0x6aebd0
pop esi
cmp dword [0x780f04], 0
je 0x6aebfa
call sub.WS2_32.dll_WSACleanup
mov dword [0x780f04], 0
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.006dd760
add esp, 0x1a8
ret

Function at 0x6af310
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
push 0
push 1
push 2
mov eax, dword [esi + 8]
and eax, 0xfffffffd
or eax, 1
mov dword [esi + 8], eax
call sub.WS2_32.dll_socket
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x6af3cd
push 4
lea ecx, [esp + 8]
mov dword [esp + 8], 1
push ecx
push 1
push 6
push eax
call sub.WS2_32.dll_setsockopt
xorps xmm0, xmm0
mov eax, 2
movups xmmword [esp + 8], xmm0
mov word [esp + 8], ax
lea eax, [esp + 8]
push 0x10
push eax
push dword [esi + 4]
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
je 0x6af3cd
or dword [esi + 0xc], 8
test dword [esi + 0x3c], 0x200000
movzx eax, word [esi + 0x44]
je 0x6af39a
movzx eax, word [esi + 0x1e]
push 0
push 0
push 0
push eax
push 0
push esi
call fcn.006ae300
test eax, eax
je 0x6af3cd
mov ecx, dword [0x76d6f0]
pop esi
mov dword [ecx + 0x14], eax
mov eax, 1
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.006dd760
add esp, 0x18
ret 4
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [0x76d6d4], 0x63
or dword [esi + 8], 2
pop esi
xor ecx, esp
call fcn.006dd760
add esp, 0x18
ret 4
Function at 0x6af3f0
Capabilities:
Get hostname
Send data
Send data on socket

Disassembly:
sub esp, 0x20
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x30]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebp
call fcn.006af0f0
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6af416
sub ecx, edx
xor ebp, ebp
inc ecx
push 0x100
mov dword [esp + 0x14], ecx
call fcn.006ab830
mov esi, eax
add esp, 4
test esi, esi
je 0x6af465
push 0x100
push esi
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x6af45c
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6af450
sub ecx, edx
lea ebp, [ecx + 1]
push esi
call fcn.0060e50c
add esp, 4
mov esi, dword [esp + 0x10]
push 0x12c
lea eax, [esi + 0x20]
add eax, ebp
push eax
push 0x12
mov dword [esp + 0x24], eax
call fcn.006aba70
mov edi, eax
test edi, edi
je 0x6af581
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movups xmmword [edi + 8], xmm0
movq qword [edi + 0x18], xmm0
test eax, eax
je 0x6af4d9
mov esi, dword [eax]
mov eax, dword [0x76d6d8]
and esi, 1
and eax, 0xe00000
or esi, eax
call fcn.006adc70
mov ecx, dword [esp + 0x34]
movzx eax, al
shl eax, 0x18
or eax, esi
mov esi, dword [esp + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x1c], eax
push esi
push dword [esp + 0x18]
lea eax, [edi + 0x20]
mov dword [edi + 0x14], esi
push eax
mov dword [edi + 0x18], ebp
call fcn.006f3c10
lea eax, [esi + 0x20]
add esp, 0xc
xor esi, esi
add eax, edi
jne 0x6af508
push ebp
call fcn.006ab830
mov esi, eax
add esp, 4
test esi, esi
je 0x6af518
push ebp
push eax
call sub.WS2_32.dll_gethostname
push esi
call fcn.0060e50c
add esp, 4
mov esi, dword [0x782924]
test esi, esi
je 0x6af581
mov ebp, dword [esp + 0x18]
mov eax, 2
nop dword [eax + eax]
mov word [esp + 0x1c], ax
mov eax, dword [esi + 4]
test eax, eax
je 0x6af572
mov dword [esp + 0x20], eax
movzx eax, word [0x780f1c]
push eax
call sub.WS2_32.dll_htons
push 0x10
mov word [esp + 0x22], ax
lea eax, [esp + 0x20]
push eax
push 0
push ebp
push edi
push dword [0x76d738]
call sub.WS2_32.dll_sendto
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
je 0x6af57d
mov esi, dword [esi]
mov eax, 2
test esi, esi
jne 0x6af530
test ebx, ebx
jne 0x6af59e
cmp dword [0x76d6d4], 0
jne 0x6af59e
mov dword [0x780ef8], 0
mov dword [0x76d6d4], 0x61
push edi
call fcn.0060e50c
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x20
ret 0xc

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

Disassembly:
mov ecx, dword [esp + 8]
push 0
movzx eax, word [ecx + 2]
push eax
mov eax, dword [esp + 0xc]
push ecx
push dword [eax + 4]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x6af5ec
mov dword [0x76d6d4], 0x61
xor eax, eax
ret 8
mov eax, 1
ret 8
Function at 0x6af600
Capabilities:
Enumerate pe sections
Get hostname
Resolve dns

Disassembly:
sub esp, 0x228
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
mov esi, dword [0x782924]
xor cl, cl
mov byte [esp + 7], cl
test esi, esi
je 0x6af7e4
push ebx
push edi
nop dword [eax + eax]
cmp byte [esi + 0xc], 0
lea eax, [esi + 0xc]
je 0x6af7d8
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x6af7d4
mov eax, dword [eax + 0xc]
push 0x100
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
lea eax, [esp + 0x134]
push eax
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x6af7c6
lea eax, [esp + 0x130]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x6af7c6
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax]
mov ebx, dword [eax]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 0x10c
push eax
call fcn.006b19d0
test eax, eax
jne 0x6af7c6
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x6af7c6
lea ecx, [esp + 0x28]
nop dword [eax + eax]
cmp dword [ecx], ebx
je 0x6af6ed
inc eax
add ecx, 0x18
cmp eax, edx
jl 0x6af6d0
mov cl, byte [esp + 0xf]
xor al, al
or cl, al
mov byte [esp + 0xf], cl
jmp 0x6af7d8
lea eax, [eax + eax*2]
mov edx, dword [esp + eax*8 + 0x30]
test edx, edx
je 0x6af7c6
mov ecx, dword [esi + 4]
mov eax, ebx
shr eax, 0x18
and ecx, edx
mov byte [esp + 0x1c], al
not edx
mov eax, ebx
mov byte [esp + 0x17], cl
shr eax, 0x10
mov byte [esp + 0x1d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x1e], al
movzx eax, byte [esi + 7]
mov byte [esp + 0x18], al
movzx eax, byte [esi + 6]
mov byte [esp + 0x19], al
movzx eax, byte [esi + 5]
mov byte [esp + 0x1a], al
movzx eax, byte [esi + 4]
mov byte [esp + 0x1b], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x15], al
mov eax, ecx
mov ecx, dword [esp + 0x18]
shr eax, 8
mov byte [esp + 0x16], al
mov eax, edx
mov edi, dword [esp + 0x14]
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x12], al
mov byte [esp + 0x13], dl
mov eax, dword [esp + 0x10]
or eax, edi
mov byte [esp + 0x1f], bl
cmp ecx, edi
jbe 0x6af7a4
cmp ecx, eax
jae 0x6af7a2
mov edx, dword [esp + 0x1c]
cmp edx, edi
jbe 0x6af7a2
cmp edx, eax
jb 0x6af7aa
cmp ecx, edi
je 0x6af7bf
cmp ecx, eax
je 0x6af7bf
mov cl, byte [esp + 0xf]
mov al, 1
or cl, al
mov dword [esi + 8], 1
mov byte [esp + 0xf], cl
jmp 0x6af7d8
mov dword [esi + 8], 0
mov cl, byte [esp + 0xf]
xor al, al
or cl, al
mov byte [esp + 0xf], cl
jmp 0x6af7d8
mov cl, byte [esp + 0xf]
mov esi, dword [esi]
test esi, esi
jne 0x6af630
pop edi
pop ebx
mov al, cl
mov ecx, dword [esp + 0x228]
pop esi
xor ecx, esp
call fcn.006dd760
add esp, 0x228
ret
Function at 0x6af800
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x124
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [0x76d738]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
mov ebp, dword [esp + 0x134]
push esi
push edi
mov edi, dword [esp + 0x138]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
nop dword [eax]
call ebx
mov ecx, edi
sub ecx, eax
cmp dword [0x780f10], 0
jne 0x6af8ee
xor eax, eax
mov dword [esp + 0x118], 0
test ecx, ecx
cmovns eax, ecx
imul eax, eax, 0x3e8
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x118]
push eax
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push 0x40
call sub.WS2_32.dll_select
cmp eax, 1
jl 0x6af8ee
mov esi, dword [0x780f00]
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x124]
mov dword [esp + 0x118], 0x10
push eax
push 0
push 0x7fff
push esi
push dword [0x76d738]
call sub.WS2_32.dll_recvfrom
cmp eax, 0xffffffff
je 0x6af8ee
cmp byte [esi + 1], 0
jge 0x6af840
cmp byte [esi + 6], 0x12
jne 0x6af840
test ebp, ebp
je 0x6af8ea
mov ecx, dword [esp + 0x124]
mov dword [ebp], ecx
mov eax, esi
jmp 0x6af8f0
xor eax, eax
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x124
ret 8

Function at 0x6af910
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x118
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x114], eax
imul edx, dword [esp + 0x124], 0x3e8
mov ecx, dword [esp + 0x11c]
push ebx
push ebp
push esi
mov esi, dword [0x780f00]
mov ebp, 1
push edi
mov dword [esp + 0x10], ecx
mov edi, 0x7fff
mov ebx, esi
mov dword [esp + 0x14], edx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x11c]
push eax
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
push 0x40
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], edx
call sub.WS2_32.dll_select
cmp eax, 1
jl 0x6afa15
mov eax, dword [esp + 0x10]
push 0
push edi
push ebx
push dword [eax + 4]
call sub.WS2_32.dll_recv
test eax, eax
je 0x6afa09
cmp eax, 0xffffffff
je 0x6af9fd
test ebp, ebp
je 0x6af9e4
cmp byte [esi], 0xb2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jne 0x6af960
mov cl, byte [esp + 0x130]
cmp byte [esi + 6], cl
mov ecx, dword [esp + 0x10]
jne 0x6af960
cmp byte [esi + 1], 0
jge 0x6af960
movzx edi, word [esi + 2]
xor ebp, ebp
cmp edi, eax
jbe 0x6af9f9
mov ecx, dword [esp + 0x10]
sub edi, eax
mov edx, dword [esp + 0x14]
add ebx, eax
jmp 0x6af960
mov eax, esi
jmp 0x6afa21
mov dword [0x76d6d4], 0x62
jmp 0x6afa1f
mov dword [0x76d6d4], 0x65
jmp 0x6afa1f
mov dword [0x76d6d4], 0x63
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x118
ret 0xc
Function at 0x6b171e
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 8]
xor ecx, ecx
mov dword [esp], ecx
cmp edx, 0x30
ja case.0x6b16f6.1
movzx eax, byte [edx + 0x6b18a4]
jmp dword [eax*4 + 0x6b1894]
mov ecx, 0x14
jmp 0x6b171b
xor ecx, ecx
cmp byte [esp + 0xc], cl
setne cl
lea ecx, [ecx*8 + 8]
jmp 0x6b171b
mov ecx, 8
mov dword [esp], ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp edi, ecx
jbe 0x6b17e6
mov esi, dword [esp + 0x20]
lea edx, [ecx + esi]
mov eax, edi
mov ebx, ecx
sub eax, ecx
cmp ecx, eax
cmovae ebx, eax
xor ebp, ebp
mov eax, esi
test ebx, ebx
je 0x6b17d8
cmp ebx, 0x40
jb 0x6b17be
lea ecx, [edx - 1]
add ecx, ebx
cmp esi, ecx
ja 0x6b1763
lea ecx, [esi - 1]
add ecx, ebx
cmp ecx, edx
jae 0x6b17be
mov ecx, ebx
and ecx, 0xffffffc0
nop dword [eax + eax]
movups xmm0, xmmword [eax]
add ebp, 0x40
movups xmm1, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
movups xmm1, xmmword [edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax + 0x20], xmm1
movups xmm0, xmmword [eax + 0x30]
movups xmm1, xmmword [edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
add eax, 0x40
cmp ebp, ecx
jb 0x6b1770
cmp ebp, ebx
jae 0x6b17d4
mov esi, ebx
sub esi, ebp
mov cl, byte [edx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
sub esi, 1
jne 0x6b17c2
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
sub edi, ebx
cmp edi, ecx
ja 0x6b1735
mov edx, dword [esp + 0x18]
lea eax, [edx - 0x20]
cmp eax, 0x30
ja case.0x6b17f5.33
movzx eax, byte [eax + 0x6b18e4]
jmp dword [eax*4 + 0x6b18d8]
mov ebx, 8
jmp 0x6b181c
cmp byte [esp + 0x1c], 0
mov ebx, 0x14
mov eax, 8
cmovne ebx, eax
jmp 0x6b181c
mov ebx, 0x14
cmp edi, ebx
jae 0x6b184d
mov ecx, dword [esp + 0x20]
lea ebp, [ecx + edi]
mov eax, ebx
mov esi, edi
sub eax, edi
cmp edi, eax
cmovae esi, eax
push esi
push ecx
push ebp
call fcn.006f3c10
mov ecx, dword [esp + 0x2c]
add edi, esi
add esp, 0xc
add ebp, esi
cmp edi, ebx
jb 0x6b1827
mov edx, dword [esp + 0x18]
cmp byte [esp + 0x1c], 0
je 0x6b1889
cmp edi, 0x10
jae 0x6b1889
cmp edx, 0x20
je 0x6b1863
cmp edx, 0x30
jne 0x6b1889
mov eax, 0x10
sub eax, edi
push eax
mov eax, dword [esp + 0x24]
add eax, edi
push 0
push eax
call fcn.006f4190
add esp, 0xc
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x6b1b40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edx, dword [ebx]
movzx edi, word [ebx + edx*4 + 0x1c]
lea ebp, [edx - 1]
movzx eax, word [ebx + edx*4 + 0x18]
movzx esi, word [ebx + edx*4 + 0x24]
shl edi, 0x10
or edi, eax
shl esi, 0x10
movzx eax, word [ebx + edx*4 + 0x20]
xor edi, dword [ecx]
or esi, eax
xor esi, dword [ecx + 4]
xor esi, edi
test ebp, ebp
js 0x6b1ba5
lea eax, [ebx + 8]
lea eax, [eax + ebp*4]
mov dword [esp + 0x14], eax
mov edx, dword [eax]
mov ecx, esi
call fcn.006b1aa0
xor eax, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x14]
sub eax, 4
sub ebp, 1
mov dword [esp + 0x14], eax
jns 0x6b1b84
mov edx, dword [ebx]
movzx ecx, word [ebx + edx*4 + 0x14]
movzx eax, word [ebx + edx*4 + 0x10]
shl ecx, 0x10
or ecx, eax
movzx eax, word [ebx + edx*4 + 8]
xor ecx, esi
xor edi, ecx
movzx ecx, word [ebx + edx*4 + 0xc]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
xor ecx, esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
ret 8

Function at 0x6b1be0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov ebp, dword [ebx]
mov dword [esp + 0x18], ebp
movzx edi, word [ebx + ebp*4 + 0xc]
movzx eax, word [ebx + ebp*4 + 8]
movzx esi, word [ebx + ebp*4 + 0x14]
shl edi, 0x10
or edi, eax
shl esi, 0x10
movzx eax, word [ebx + ebp*4 + 0x10]
xor edi, dword [edx]
or esi, eax
xor esi, dword [edx + 4]
xor esi, edi
test ebp, ebp
jle 0x6b1c46
lea eax, [ebx + 8]
mov ebx, eax
mov edx, dword [ebx]
mov ecx, esi
call fcn.006b1aa0
xor eax, edi
lea ebx, [ebx + 4]
mov edi, esi
mov esi, eax
sub ebp, 1
jne 0x6b1c23
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
movzx ecx, word [ebx + ebp*4 + 0x24]
movzx eax, word [ebx + ebp*4 + 0x20]
shl ecx, 0x10
or ecx, eax
movzx eax, word [ebx + ebp*4 + 0x18]
xor ecx, esi
xor edi, ecx
movzx ecx, word [ebx + ebp*4 + 0x1c]
shl ecx, 0x10
or ecx, eax
mov dword [edx + 4], edi
pop edi
xor ecx, esi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x6b1c80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 8], ecx
mov eax, dword [esi]
cdq
sub eax, edx
sar eax, 1
add eax, 4
test eax, eax
jle 0x6b1d93
push ebx
push edi
lea edi, [esi + 0xc]
xor edx, edx
nop
shr ecx, 0x10
lea edi, [edi + 8]
mov ebx, ebp
xor ebx, edx
mov edx, ecx
shr edx, 8
mov dword [esp + 0x14], edx
mov edx, ebx
shr edx, 0x10
mov dword [esp + 0x18], edx
movzx edx, cl
xor edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shr ecx, 8
xor cl, byte [esp + 0x10]
mov dword [esp + 0x20], ecx
mov cl, dl
xor cl, bl
shr ebx, 8
add byte [esp + 0x20], cl
movzx ecx, byte [esp + 0x20]
inc byte [esp + 0x20]
inc cl
shl byte [esp + 0x20], 2
shr cl, 6
or byte [esp + 0x20], cl
xor bl, byte [esp + 0x20]
lea ecx, [edx + ebx]
mov bl, cl
shl cl, 2
shr bl, 6
or bl, cl
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov byte [esp + 0x24], bl
xor cl, byte [esp + 0x20]
add cl, byte [esp + 0x10]
shr edx, 8
xor dl, bl
mov bl, cl
add dl, byte [esp + 0x14]
lea ecx, [edx + 1]
inc dl
movzx esi, cl
shr esi, 6
shl dl, 2
movzx ecx, dl
or esi, ecx
movzx edx, bl
movzx ecx, byte [esp + 0x24]
shl esi, 8
or esi, ecx
shl bl, 2
mov ecx, dword [esp + 0x20]
movzx ecx, cl
shl esi, 8
or esi, ecx
shr edx, 6
movzx ecx, bl
or edx, ecx
shl esi, 8
or esi, edx
mov edx, dword [esp + 0x10]
movzx ecx, si
mov dword [edi - 0xc], ecx
mov ecx, esi
shr ecx, 0x10
mov dword [edi - 8], ecx
mov ecx, ebp
mov dword [esp + 0x10], ecx
mov ebp, esi
sub eax, 1
jne 0x6b1cb0
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xc
ret 8

Function at 0x6b1da0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov ebp, edi
shr ebp, 3
and edi, 7
mov dword [esp + 0x28], edi
je 0x6b1dd5
sub ebp, 1
jne 0x6b1dd5
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 4]
mov ebp, dword [ebx]
mov dword [esp + 0x20], eax
jmp 0x6b1e2e
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test ebp, ebp
je 0x6b1e1e
mov edi, dword [esi]
mov eax, dword [esi + 4]
push esi
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
call fcn.006b1b40
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, dword [ebx + 4]
xor dword [esi + 4], eax
add esi, 8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [ebx], edi
mov dword [ebx + 4], eax
sub ebp, 1
jne 0x6b1de1
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
jmp 0x6b1e2a
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], eax
test edi, edi
je 0x6b1e6e
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push esi
push edx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
call fcn.006b1b40
test edi, edi
je 0x6b1e5b
lea edx, [esi + 8]
mov cl, byte [edx]
lea edx, [edx + 1]
mov al, byte [edx - 9]
xor al, cl
mov byte [edx - 1], al
mov byte [edx - 9], cl
sub edi, 1
jne 0x6b1e46
push esi
push dword [esp + 0x20]
call fcn.006b1b40
xor dword [esi], ebp
mov eax, dword [esp + 0x20]
xor dword [esi + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
Function at 0x6b1e80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov ebp, edi
shr edi, 3
and ebp, 7
test edi, edi
je 0x6b1ebe
nop dword [eax]
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, dword [ebx + 4]
xor dword [esi + 4], eax
push esi
push dword [esp + 0x18]
call fcn.006b1be0
mov ebx, esi
add esi, 8
sub edi, 1
jne 0x6b1ea0
test ebp, ebp
je 0x6b1ee5
mov edx, ebx
sub esi, ebx
mov al, byte [edx]
lea edx, [edx + 1]
mov cl, byte [esi + edx - 1]
mov byte [esi + edx - 1], al
xor byte [edx - 1], cl
sub ebp, 1
jne 0x6b1ec6
push ebx
push dword [esp + 0x18]
call fcn.006b1be0
push 8
push ebx
push dword [esp + 0x20]
call fcn.006f3c10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x6b2400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3cc
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
mov ebx, dword [esp + 0x3d4]
lea eax, [esp + 4]
push ebp
mov ebp, dword [esp + 0x3e0]
push esi
push edi
mov edi, dword [esp + 0x3e4]
mov esi, ecx
push 0x90
push eax
push 1
mov eax, dword [esi + 0x24]
push ebx
call eax
add esp, 0x10
cmp eax, 0x90
je 0x6b2458
push ebx
mov ecx, esi
call fcn.006b2d50
jmp 0x6b2559
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
or ecx, dword [esp + 0x38]
or eax, dword [esp + 0x1c]
jne 0x6b2474
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x20]
or ecx, eax
mov dword [esi + 0x54], ecx
cmp dword [ebp], 0
jne 0x6b2493
movzx eax, byte [esp + 0x10]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x11]
or ecx, eax
mov dword [ebp], ecx
mov ax, word [esp + 0x12]
mov ecx, dword [esp + 0x98]
or ecx, dword [esp + 0x78]
mov word [edi + 4], ax
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x7c]
or eax, dword [esp + 0x5c]
jne 0x6b24c5
mov eax, dword [esp + 0x80]
or eax, dword [esp + 0x60]
or ecx, eax
or dword [esi + 0x54], ecx
cmp dword [edi + 0x40], 0
jne 0x6b2557
push 0x220
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esi + 0x24]
push 0x37
push ebx
call eax
add esp, 0x10
cmp eax, 0x220
jne 0x6b2524
mov cx, word [esp + 0xa4]
mov al, cl
shr al, 3
test al, 1
je 0x6b250b
lea eax, [esp + 0x140]
jmp 0x6b254e
shr cl, 2
lea eax, [esp + 0x120]
test cl, 1
lea ecx, [esp + 0x1c0]
cmove eax, ecx
jmp 0x6b254e
push 0x118
lea eax, [esp + 0x2c4]
push eax
mov eax, dword [esi + 0x24]
push 0xa
push ebx
call eax
add esp, 0x10
cmp eax, 0x118
jne 0x6b244b
lea eax, [esp + 0x2d8]
push eax
lea ecx, [edi + 0x2c]
call fcn.005f1d40
xor eax, eax
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x3cc
ret 0xc