joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Initialize winsock library
Start tcp server

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x44e004]
xor eax, esp
mov dword [esp + 0x1b0], eax
mov eax, dword [ebp + 0xc]
mov ecx, 1
push ebx
push esi
mov dword [esp + 0x10], eax
mov edx, 0x44f634
push edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x409738
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xorps xmm0, xmm0
mov dword [esp + 0x10], 0x10
mov eax, 2
movlpd qword [esp + 0x20], xmm0
or ebx, 0xffffffff
mov word [esp + 0x18], ax
push 0x7f000001
or esi, ebx
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x1c], eax
xor eax, eax
push eax
push 1
push 2
mov word [esp + 0x26], ax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
test edi, edi
jns 0x40979e
push str.socket
call fcn.004303e2
or esi, ebx
add esp, 4
or ebx, ebx
cmp edi, 0xffffffff
je 0x40985d
jmp 0x409844
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jns 0x4097bc
push str.bind
jmp 0x40983c
push 1
push edi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jns 0x4097d0
push str.listen
jmp 0x40983c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jns 0x4097ec
push 0x449770
jmp 0x40983c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
jns 0x409805
push str.socket
jmp 0x40983c
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x409820
push str.connect
jmp 0x40983c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
test ebx, ebx
jns 0x409875
push str.accept
call fcn.004303e2
add esp, 4
push edi
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
call edi
cmp esi, 0xffffffff
je 0x409855
push esi
call edi
cmp ebx, 0xffffffff
je 0x40985d
push ebx
call edi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004295a7
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1bc]
pop edi
mov dword [eax], esi
mov dword [eax + 4], ebx
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.004295a7
mov esp, ebp
pop ebp
ret
Function at 0x40db50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xorps xmm0, xmm0
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
push ebx
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
call fcn.0042b1d0
mov edi, dword [ebp + 0x10]
add ebx, 4
mov esi, 4
add esp, 0xc
xor edx, edx
sub edi, ebx
mov ecx, ebx
sub esi, ebx
nop dword [eax + eax]
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
add edx, 4
lea eax, [esi + ecx]
cmp eax, 8
jbe 0x40db90
mov esi, 8
mov ecx, esi
sub ecx, edx
cmp edx, esi
jae 0x40dc5e
cmp ecx, 0x40
jb 0x40dc49
mov eax, dword [ebp + 0x10]
lea esi, [edx + eax]
add eax, 7
mov dword [ebp - 4], esi
lea esi, [edx + ebx]
cmp esi, eax
mov esi, 8
ja 0x40dbde
lea eax, [ebx + 7]
cmp eax, dword [ebp - 4]
jae 0x40dc49
and ecx, 0x3f
mov eax, esi
sub eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
add ecx, 0x30
lea eax, [ebx + 0x10]
add eax, edx
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + edi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [ebp - 8]
jb 0x40dbf3
mov dword [ebp - 8], edx
cmp edx, esi
jae 0x40dc5e
lea eax, [edx + ebx]
sub esi, edx
nop
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x40dc50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ebx
push edi
cmp esi, 4
jb 0x413bb1
mov eax, dword [ebp + 8]
sub ebx, eax
mov dword [ebp - 8], ebx
sub edx, eax
mov ebx, 4
mov edi, eax
sub ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [edx + edi]
add ecx, 4
xor eax, dword [edi]
mov dword [ebx + edi], eax
add edi, 4
mov eax, dword [ebp - 4]
add eax, edi
cmp eax, esi
jbe 0x413b94
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov eax, esi
sub eax, ecx
mov dword [ebp - 8], eax
cmp ecx, esi
jae 0x413cc8
mov edi, dword [ebp + 8]
cmp eax, 0x40
jb 0x413cad
lea eax, [ecx + ebx]
mov dword [ebp - 4], eax
lea eax, [ecx + edi]
mov dword [ebp - 0x10], eax
lea eax, [edi - 1]
add eax, esi
cmp dword [ebp - 4], eax
ja 0x413bf0
lea eax, [esi - 1]
add eax, ebx
cmp eax, dword [ebp - 0x10]
jae 0x413cad
lea eax, [ecx + edx]
mov dword [ebp - 0x10], eax
lea eax, [esi - 1]
add eax, edx
cmp dword [ebp - 4], eax
ja 0x413c0e
lea eax, [esi - 1]
add eax, ebx
cmp eax, dword [ebp - 0x10]
jae 0x413cad
mov eax, dword [ebp - 8]
mov dword [ebp - 4], esi
and eax, 0x3f
sub dword [ebp - 4], eax
mov esi, edx
sub esi, edi
lea eax, [ebx + 0x20]
mov dword [ebp - 8], esi
add eax, ecx
mov esi, ebx
mov dword [ebp - 0x10], eax
sub esi, edi
lea eax, [edi + 0x10]
mov dword [ebp - 0x14], esi
add eax, ecx
mov edi, dword [ebp - 0x14]
mov esi, edx
sub esi, ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x10]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + edx]
lea esi, [esi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [esi - 0x60], xmm1
movups xmm1, xmmword [eax + ebx - 0x40]
mov ebx, dword [ebp - 0x18]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [eax + edi - 0x40], xmm1
movups xmm1, xmmword [ebx + esi - 0x40]
mov ebx, dword [ebp - 8]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [esi - 0x40], xmm1
movups xmm1, xmmword [ecx + edx + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi - 0x30], xmm1
cmp ecx, dword [ebp - 4]
jb 0x413c45
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp ecx, esi
jae 0x413cc8
sub edx, edi
lea eax, [ecx + edi]
sub ebx, edi
sub esi, ecx
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [ebx + eax - 1], cl
sub esi, 1
jne 0x413cb6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414440
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
xorps xmm0, xmm0
movq qword [eax], xmm0
push eax
mov dword [eax + 8], 0
lea eax, [ebp - 0xc]
push eax
call fcn.00415930
add esp, 8
test eax, eax
je 0x414471
add eax, 0xffffc580
mov esp, ebp
pop ebp
ret
cmp dword [0x44a130], 0
push ebx
mov ebx, dword [ebp - 8]
push esi
push edi
mov edi, 0x44a130
mov ecx, edi
je 0x4144f9
cmp dword [ecx + 4], ebx
jne 0x4144ef
mov ecx, dword [ecx]
mov esi, ebx
mov edx, dword [ebp - 4]
sub esi, 4
jb 0x4144a9
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4144b2
add ecx, 4
add edx, 4
sub esi, 4
jae 0x414498
cmp esi, 0xfffffffc
je 0x41457a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4144ef
cmp esi, 0xfffffffd
je 0x41457a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4144ef
cmp esi, 0xfffffffe
je 0x41457a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4144ef
cmp esi, 0xffffffff
je 0x41457a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x41457a
add edi, 0x14
mov ecx, edi
cmp dword [edi], 0
jne 0x414487
cmp dword [0x44a1c0], 0
mov edi, 0x44a1c0
mov edx, edi
je 0x41456e
nop dword [eax]
cmp dword [edx + 4], ebx
jne 0x414564
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [ebp - 4]
sub esi, 4
jb 0x414532
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x414537
add edx, 4
add eax, 4
sub esi, 4
jae 0x414521
cmp esi, 0xfffffffc
je 0x4145af
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x414564
cmp esi, 0xfffffffd
je 0x4145af
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x414564
cmp esi, 0xfffffffe
je 0x4145af
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x414564
cmp esi, 0xffffffff
je 0x4145af
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4145af
add edi, 0x14
mov edx, edi
cmp dword [edi], 0
jne 0x414510
pop edi
pop esi
mov eax, 0xffffc380
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4144f9
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
cmp ecx, 1
jne 0x4145c4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, 5
je 0x41459d
test eax, eax
jne 0x4145a3
cmp dword [ecx + 4], 0
je 0x4145c4
pop edi
pop esi
mov eax, 0xffffc580
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x41456e
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414a30
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [0x44e004]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
mov ebx, edx
push esi
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
jne 0x414a70
mov eax, 0xffffaf00
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004295a7
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
sub eax, 9
je 0x414af2
sub eax, 1
jne 0x414a56
push 0xd8
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0042a750
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.0041b050
mov esi, eax
test esi, esi
jne 0x414ac1
push dword [ebp + 8]
mov edx, ebx
call fcn.0041c3e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x414ac1
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.0041c4d0
mov esi, eax
mov ecx, 0xd8
lea eax, [esp + 0x78]
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x414ad0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004295a7
mov esp, ebp
pop ebp
ret
push 0x40
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0042a750
add esp, 0xc
mov dword [esp + 0x50], 0
mov edx, ebx
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0x6a09e667
mov dword [esp + 0x5c], 0xbb67ae85
push dword [ebp + 8]
mov dword [esp + 0x64], 0x3c6ef372
mov dword [esp + 0x68], 0xa54ff53a
mov dword [esp + 0x6c], 0x510e527f
mov dword [esp + 0x70], 0x9b05688c
mov dword [esp + 0x74], 0x1f83d9ab
mov dword [esp + 0x78], 0x5be0cd19
call fcn.0041ae90
mov edx, eax
add esp, 4
test edx, edx
jne 0x414b77
mov edx, edi
lea ecx, [esp + 0x10]
call fcn.0041af60
mov edx, eax
mov ecx, 0x68
lea eax, [esp + 0x10]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x414b80
mov ecx, dword [esp + 0x154]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004295a7
mov esp, ebp
pop ebp
ret

Function at 0x414f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor edi, edi
mov esi, edx
test ebx, ebx
je 0x414f5b
sub eax, esi
mov dword [ebp + 8], eax
nop dword [eax + eax]
mov cl, byte [eax + esi]
lea esi, [esi + 1]
mov al, byte [esi - 1]
movzx edx, al
movzx eax, cl
xor edx, eax
mov eax, dword [ebp + 8]
or edi, edx
sub ebx, 1
jne 0x414f40
mov eax, edi
movzx ecx, di
pop edi
shr eax, 0x10
pop esi
or eax, ecx
pop ebx
pop ebp
ret
Function at 0x4155e0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, ecx
mov dword [ebp - 4], eax
push edi
mov edi, 0x44a0a0
mov edx, edi
test eax, eax
je 0x415664
cmp dword [0x44a0a0], 0
je 0x415664
mov ebx, dword [eax + 4]
cmp dword [edx + 4], ebx
jne 0x41565a
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [eax + 8]
sub esi, 4
jb 0x415625
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x41562a
add edx, 4
add eax, 4
sub esi, 4
jae 0x415614
cmp esi, 0xfffffffc
je 0x41566d
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x415657
cmp esi, 0xfffffffd
je 0x41566d
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x415657
cmp esi, 0xfffffffe
je 0x41566d
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x415657
cmp esi, 0xffffffff
je 0x41566d
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x41566d
mov eax, dword [ebp - 4]
add edi, 0x18
mov edx, edi
cmp dword [edi], 0
jne 0x415603
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415be0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dl, 1
nop word [eax + eax]
movzx eax, dl
mov cl, dl
sar cl, 7
and cl, 0x1b
mov byte [ebp + ebx - 0x204], dl
mov byte [ebp + eax - 0x104], bl
mov al, dl
add al, al
inc ebx
xor cl, al
xor dl, cl
cmp ebx, 0x100
jl 0x415c00
mov cl, 1
mov edx, 0x44fbd0
movzx eax, cl
mov dword [edx], eax
mov al, cl
sar al, 7
add cl, cl
and al, 0x1b
add edx, 4
xor cl, al
cmp edx, 0x44fbf8
jl 0x415c31
mov byte [0x44fc00], 0x63
xor ebx, ebx
mov byte [0x450163], 0
nop dword [eax]
movzx eax, byte [ebp + ebx - 0x103]
lea ecx, [ebp - 0x105]
sub ecx, eax
mov dl, byte [ecx]
mov cl, dl
rol cl, 1
xor dl, cl
rol cl, 1
xor dl, cl
rol cl, 1
mov al, cl
rol al, 1
xor al, cl
xor al, dl
xor al, 0x63
mov byte [ebx + 0x44fc01], al
inc ebx
movzx eax, al
mov byte [eax + 0x450100], bl
lea eax, [ebx + 1]
cmp eax, 0x100
jl 0x415c60
xor edi, edi
mov dword [ebp - 0x20c], 0xff
nop
mov dl, byte [edi + 0x44fc00]
mov bl, dl
movzx ecx, dl
sar bl, 7
mov al, dl
add al, al
and bl, 0x1b
xor bl, al
movzx eax, dl
movzx esi, bl
xor esi, eax
movzx eax, bl
shl esi, 8
xor esi, ecx
shl esi, 8
xor esi, ecx
shl esi, 8
xor esi, eax
mov al, byte [edi + 0x450100]
mov dword [edi*4 + 0x451600], esi
rol esi, 8
mov dword [edi*4 + 0x451200], esi
rol esi, 8
mov dword [edi*4 + 0x450600], esi
rol esi, 8
mov dword [edi*4 + 0x450200], esi
test al, al
je 0x415d8d
movzx eax, al
xor edx, edx
mov ebx, 0xff
movzx ecx, byte [ebp + eax - 0x104]
mov eax, dword [ebp - 0xf6]
movzx eax, al
add eax, ecx
div ebx
mov eax, dword [ebp - 0xfb]
movzx eax, al
add eax, ecx
movzx esi, byte [ebp + edx - 0x204]
xor edx, edx
div ebx
mov eax, dword [ebp - 0xf7]
movzx eax, al
add eax, ecx
movzx ebx, byte [ebp + edx - 0x204]
xor edx, edx
div dword [ebp - 0x20c]
movzx eax, byte [ebp + edx - 0x204]
xor edx, edx
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0xf9]
movzx eax, al
add eax, ecx
mov ecx, 0xff
div ecx
movzx eax, byte [ebp + edx - 0x204]
jmp 0x415d99
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x208], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 0x208]
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, esi
mov dword [edi*4 + 0x450e00], eax
rol eax, 8
mov dword [edi*4 + 0x450a00], eax
rol eax, 8
mov dword [edi*4 + 0x451a00], eax
rol eax, 8
mov dword [edi*4 + 0x44fd00], eax
inc edi
cmp edi, 0x100
jl 0x415cb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004295a7
mov esp, ebp
pop ebp
ret
Function at 0x416d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x44e004]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
push 0x118
lea eax, [esp + 0x14]
mov esi, edx
push 0
push eax
mov ebx, ecx
call fcn.0042a750
push dword [ebp + 8]
mov edx, esi
mov dword [ebx + 4], 0
lea ecx, [esp + 0x20]
lea edi, [ebx + 8]
call fcn.00415df0
mov edx, eax
add esp, 0x10
mov dword [esp + 0xc], edx
test edx, edx
jne 0x416f53
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [ebx], edx
lea ecx, [ecx + edx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [edi + 0xc], eax
add edi, 0x10
mov esi, dword [ebx]
dec esi
test esi, esi
jle 0x416f39
nop word [eax + eax]
movzx eax, byte [ecx + 3]
dec esi
movzx edx, byte [eax + 0x44fc00]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x44fd00]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x451a00]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x450a00]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x450e00]
movzx eax, byte [ecx + 7]
mov dword [edi], edx
movzx edx, byte [eax + 0x44fc00]
movzx eax, byte [ecx + 6]
mov edx, dword [edx*4 + 0x44fd00]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x451a00]
movzx eax, byte [ecx + 5]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x450a00]
movzx eax, byte [ecx + 4]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x450e00]
movzx eax, byte [ecx + 0xb]
mov dword [edi + 4], edx
movzx edx, byte [eax + 0x44fc00]
movzx eax, byte [ecx + 0xa]
mov edx, dword [edx*4 + 0x44fd00]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x451a00]
movzx eax, byte [ecx + 9]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x450a00]
movzx eax, byte [ecx + 8]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x450e00]
movzx eax, byte [ecx + 0xf]
mov dword [edi + 8], edx
movzx edx, byte [eax + 0x44fc00]
movzx eax, byte [ecx + 0xe]
mov edx, dword [edx*4 + 0x44fd00]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x451a00]
movzx eax, byte [ecx + 0xd]
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x450a00]
movzx eax, byte [ecx + 0xc]
sub ecx, 0x10
movzx eax, byte [eax + 0x44fc00]
xor edx, dword [eax*4 + 0x450e00]
mov dword [edi + 0xc], edx
add edi, 0x10
test esi, esi
jg 0x416e00
mov eax, dword [ecx]
mov edx, dword [esp + 0xc]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov ecx, 0x118
lea eax, [esp + 0x10]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x416f60
mov ecx, dword [esp + 0x12c]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004295a7
mov esp, ebp
pop ebp
ret
Function at 0x41b050
Capabilities:
Hash data using sha224

Disassembly:
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0xc1059ed8
mov dword [ecx + 0x14], 0xcbbb9d5d
mov dword [ecx + 0x18], 0x367cd507
mov dword [ecx + 0x1c], 0x629a292a
mov dword [ecx + 0x20], 0x3070dd17
mov dword [ecx + 0x24], 0x9159015a
mov dword [ecx + 0x28], 0xf70e5939
mov dword [ecx + 0x2c], 0x152fecd8
mov dword [ecx + 0x30], 0xffc00b31
mov dword [ecx + 0x34], 0x67332667
mov dword [ecx + 0x38], 0x68581511
mov dword [ecx + 0x3c], 0x8eb44a87
mov dword [ecx + 0x40], 0x64f98fa7
mov dword [ecx + 0x44], 0xdb0c2e0d
mov dword [ecx + 0x48], 0xbefa4fa4
mov dword [ecx + 0x4c], 0x47b5481d
mov dword [ecx + 0xd0], 1
ret
Function at 0x421580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], esi
cmp esi, edi
jne 0x42159e
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x44f640]
movzx eax, byte [ebp + 8]
movzx edx, word [edi + 6]
xor ecx, eax
push ebx
mov ebx, ecx
neg ecx
shr ebx, 1
neg ebx
or ebx, ecx
mov ecx, esi
shr ebx, 0x1f
neg ebx
call fcn.004216f0
test eax, eax
jne 0x421697
movzx edx, word [esi + 6]
mov ecx, edi
call fcn.004216f0
mov dword [ebp - 8], eax
test eax, eax
jne 0x421697
mov edx, dword [0x44f640]
mov eax, dword [ebp - 0xc]
xor edx, ebx
movzx edi, word [esi + 4]
not edx
movzx esi, bx
mov cx, word [eax + 4]
mov eax, dword [ebp - 4]
inc cx
and cx, si
movzx eax, word [eax + 4]
inc ax
and ax, dx
mov edx, dword [0x44f640]
or cx, ax
xor edx, ebx
mov eax, dword [ebp - 4]
dec cx
not edx
mov word [eax + 4], cx
lea ecx, [edi + 1]
and ecx, esi
mov esi, dword [ebp - 0xc]
movzx eax, word [esi + 4]
inc ax
and ax, dx
or cx, ax
mov eax, dword [ebp - 4]
dec cx
mov word [esi + 4], cx
mov esi, dword [esi]
mov ecx, dword [eax]
cmp ecx, esi
je 0x421694
movzx edi, word [eax + 6]
test edi, edi
je 0x421694
sub ecx, esi
mov dword [ebp - 0xc], ecx
mov edx, dword [ecx + esi]
lea esi, [esi + 4]
mov eax, dword [0x44f640]
and edx, ebx
mov ecx, dword [ecx + esi - 4]
xor eax, ebx
not eax
and ecx, eax
mov eax, dword [esi - 4]
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + esi - 4], ecx
mov eax, dword [0x44f640]
mov ecx, dword [esi - 4]
xor eax, ebx
not eax
and ecx, eax
or ecx, edx
mov dword [esi - 4], ecx
mov ecx, dword [ebp - 0xc]
sub edi, 1
jne 0x421654
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x421a60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, 1
push edi
mov edi, edx
mov dword [ebp - 4], edi
movzx eax, word [esi + 6]
mov ecx, eax
cmp eax, ebx
jae 0x421ae1
push 4
push ebx
call fcn.0042c6c4
mov edi, eax
add esp, 8
test edi, edi
jne 0x421a98
pop edi
pop esi
lea eax, [ebx - 0x11]
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
test ecx, ecx
je 0x421ad6
movzx eax, word [esi + 6]
shl eax, 2
push eax
push ecx
push edi
call fcn.0042b1d0
mov edx, dword [esi]
add esp, 0xc
test edx, edx
je 0x421acd
movzx ecx, word [esi + 6]
shl ecx, 2
test ecx, ecx
je 0x421acd
mov eax, edx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, ebx
jne 0x421ac3
push edx
call fcn.0042f3a1
add esp, 4
mov dword [esi], edi
mov ecx, ebx
mov edi, dword [ebp - 4]
mov word [esi + 6], bx
movzx eax, cx
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.0042a750
mov ecx, dword [esi]
mov eax, edi
cdq
add esp, 0xc
shr edi, 0x1f
xor eax, edx
add edi, edi
sub eax, edx
sub ebx, edi
mov dword [ecx], eax
mov word [esi + 4], bx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret