joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60b480
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.006c2360
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
pop ebp
ret

Function at 0x60b7d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.006c2360
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0060ba80

Function at 0x60b940
Capabilities:
Hash data using sha224

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret

Function at 0x60c6f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call fcn.006c2360
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret

Function at 0x60c830
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.006bfd90
cmp dword [0xf2d0bc], 0
jne 0x60c985
push ebx
push esi
push edi
push 0x30
push 0xf2d0c0
push str.OPENSSL_ia32cap
mov dword [0xf2d0bc], 1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x60c95f
movzx esi, word [0xf2d0c0]
xor ecx, ecx
cmp word [0xf2d0c0], 0x7e
sete cl
lea eax, [ecx*2 + 0xf2d0c0]
push eax
call fcn.0060cd30
add esp, 4
mov edi, eax
mov ebx, edx
cmp esi, 0x7e
jne 0x60c8ca
push 0xf2f150
mov esi, edi
call fcn.00402680
not edi
not ebx
and esi, 0x1000000
add esp, 4
and edi, eax
and ebx, edx
or esi, 0
je 0x60c8e5
and ebx, 0xedfff7fd
jmp 0x60c8e5
cmp word [0xf2d0c0], 0x3a
jne 0x60c8e5
push 0xf2f150
call fcn.00402680
add esp, 4
mov edi, eax
mov ebx, edx
mov ax, word [0xf2d0c0]
mov ecx, 0xf2d0c0
movzx edx, ax
test ax, ax
je 0x60c90a
cmp dx, 0x3a
je 0x60c920
movzx edx, word [ecx + 2]
add ecx, 2
test dx, dx
jne 0x60c8f8
mov dword [0xf2f158], 0
mov dword [0xf2f15c], 0
jmp 0x60c970
movzx esi, word [ecx + 2]
xor eax, eax
cmp esi, 0x7e
sete al
add ecx, 2
lea eax, [ecx + eax*2]
push eax
call fcn.0060cd30
add esp, 4
cmp esi, 0x7e
jne 0x60c952
not eax
not edx
and dword [0xf2f158], eax
and dword [0xf2f15c], edx
jmp 0x60c970
mov dword [0xf2f158], eax
mov dword [0xf2f15c], edx
jmp 0x60c970
push 0xf2f150
call fcn.00402680
add esp, 4
mov edi, eax
mov ebx, edx
or edi, 0x400
mov dword [0xf2f154], ebx
mov dword [0xf2f150], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6131d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0x8004667e
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x61320f
push 0xc3
push str.crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.005e4620
add esp, 0x14
xor eax, eax
test esi, esi
pop esi
sete al
pop ebp
ret

Function at 0x61bf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x61bf15
xor eax, eax
pop edi
pop ebp
ret
push ebx
push esi
push dword [edi]
call fcn.005ebff0
mov ecx, dword [ebp + 0x10]
add esp, 4
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test ebx, ebx
je 0x61bfc9
mov ecx, dword [edi + 0x84]
cmp ecx, esi
jne 0x61bf66
test esi, esi
jle 0x61bfa7
mov edx, ebx
lea ecx, [edi + 4]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x61bf50
jmp 0x61bfa4
sub eax, ecx
mov byte [ecx + edi + 0x64], 0x80
cmp eax, 1
jle 0x61bf84
dec eax
push eax
lea eax, [edi + 0x65]
add eax, ecx
push 0
push eax
call fcn.006c2360
add esp, 0xc
test esi, esi
jle 0x61bfa7
mov edx, ebx
lea ecx, [edi + 0x24]
mov ebx, esi
nop
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x61bf90
mov ebx, dword [ebp + 0xc]
push esi
push ebx
push ebx
push dword [edi]
call fcn.005ec5a0
add esp, 0x10
test eax, eax
jne 0x61bfc9
push esi
push ebx
call fcn.004029a0
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
pop esi
pop ebx
mov eax, 1
pop edi
pop ebp
ret

Function at 0x622290
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
add ebx, esi
push edi
mov edi, dword [ebp + 8]
movzx eax, cl
add edi, esi
and eax, 1
test esi, esi
je 0x6222ce
movzx edx, byte [ebx - 1]
lea ebx, [ebx - 1]
movzx ecx, cl
lea edi, [edi - 1]
xor edx, ecx
mov cl, byte [ebp + 0x14]
add eax, edx
mov byte [edi], al
shr eax, 8
sub esi, 1
jne 0x6222b0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x622dd0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
push 1
push edi
call fcn.005e1730
mov ebx, eax
push ebx
push edi
call fcn.005e1600
add esp, 0x10
test eax, eax
je 0x622e1f
push esi
push 2
push ebx
push eax
xor esi, esi
push esi
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
cmove esi, ebx
lea eax, [esi*8]
push eax
push esi
push edi
call fcn.005e1680
push edi
call fcn.005e17d0
add esp, 0x10
pop esi
test eax, eax
jne 0x622e28
push edi
call fcn.005e17d0
add esp, 4
pop edi
pop ebx
pop ebp
ret
Function at 0x6296d0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.006bfd90
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 1
cmp edi, 0xffffffff
jne 0x62970f
push 0x52
push str.crypto_bio_b_sock2.c
push 0x87
push 0x8a
push 0x20
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ebx
shr eax, 3
and eax, 1
push eax
push edi
call fcn.006131d0
add esp, 8
test eax, eax
jne 0x62972f
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
test bl, 4
je 0x629777
push 4
lea eax, [ebp - 4]
push eax
push 8
push 0xffff
push edi
call esi
test eax, eax
je 0x629777
push 0x5c
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0xe
push 2
call fcn.005e4620
push 0x5d
push str.crypto_bio_b_sock2.c
push 0x89
jmp 0x629802
test bl, 0x10
je 0x6297b2
push 4
lea eax, [ebp - 4]
push eax
push 1
push 6
push edi
call esi
test eax, eax
je 0x6297b2
push 0x65
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0xe
push 2
call fcn.005e4620
push 0x66
push str.crypto_bio_b_sock2.c
push 0x8a
jmp 0x629802
mov esi, dword [ebp + 0xc]
push esi
call fcn.0060a710
add esp, 4
push eax
push esi
call fcn.0050a690
add esp, 4
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x62981a
push eax
call fcn.005e9fd0
add esp, 4
test eax, eax
jne 0x629811
push 0x6e
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
push 2
call fcn.005e4620
push 0x6f
push str.crypto_bio_b_sock2.c
push 0x67
push 0x8a
push 0x20
call fcn.005e4620
add esp, 0x28
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x62b420
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.006bfd90
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
push esi
test eax, eax
je 0x62b446
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x62b44b
mov ebx, 0x788e68
mov esi, dword [ebp + 0x14]
test esi, esi
jle 0x62b520
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
inc edi
nop
cmp esi, 3
jl 0x62b4b1
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + ebx]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + ebx]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + ebx]
mov byte [edx + 2], al
add edx, 3
and ecx, 0x3f
movzx eax, byte [ecx + ebx]
mov byte [edx], al
jmp 0x62b4fc
movzx eax, byte [edi - 1]
shl eax, 0x10
cmp esi, 2
jne 0x62b4c5
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x62b4e9
lea eax, [esi + 0x3c]
jmp 0x62b4f3
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + ebx]
mov byte [edx + 2], al
add edx, 3
mov byte [edx], 0x3d
mov ecx, dword [ebp - 4]
sub esi, 3
add ecx, 4
add edi, 3
inc edx
mov dword [ebp - 4], ecx
test esi, esi
jg 0x62b460
pop edi
pop esi
mov byte [edx], 0
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov byte [eax], cl
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x62f8e0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.006bfd90
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 2
je 0x62f96c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x62f938
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
call fcn.00613b00
add esp, 0x10
cmp dword [ebp - 4], 0xffffffff
je 0x62f938
push 0x3b
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x62f968
cmp edi, 0x40a
je 0x62f95e
cmp edi, 0x43f
je 0x62f95e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x62f963
mov eax, 0x20
cmp dword [ebp + 0x18], eax
je 0x62f96c
push 0x41
jmp 0x62f91a
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.005d3f10
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x62f9a5
push 0x48
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x62f9be
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push eax
push ebx
call fcn.006c1de0
add esp, 0xc
jmp case.0x62faf0.1036
cmp edi, 0x40a
je 0x62f9de
cmp edi, 0x43f
je 0x62f9de
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x62f9e3
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.005e97a0
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x62fa16
push 0x52
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.005e4620
add esp, 0x14
jmp 0x62fa6a
cmp dword [ebp + 0x1c], 2
jne 0x62faab
cmp edi, 0x40a
je 0x62fa40
cmp edi, 0x43f
je 0x62fa40
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x62fa45
mov eax, 0x20
push eax
push esi
call fcn.005e1030
add esp, 8
test eax, eax
jg 0x62fa83
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.005e9790
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.005d3c50
add esp, 0xc
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x40a
jne 0x62fa9a
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
jmp 0x62fade
cmp edi, 0x40b
jne 0x62fade
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x62fade
cmp edi, 0x40a
je 0x62facb
cmp edi, 0x43f
je 0x62facb
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x62fad0
mov eax, 0x20
push eax
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.006c1de0
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x62faf0.1036
movzx eax, byte [eax + 0x62fb4c]
jmp dword [eax*4 + 0x62fb38]
push esi
push ebx
call fcn.006614a0
jmp 0x62fb19
push esi
push ebx
call fcn.00660f80
jmp 0x62fb19
push esi
push ebx
call fcn.0066b790
jmp 0x62fb19
push esi
push ebx
call fcn.0066d790
add esp, 8
push ebx
push edi
push dword [ebp + 8]
call fcn.005dcce0
add esp, 0xc
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x637710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28
call fcn.006bfd90
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, 1
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
shl ebx, cl
call fcn.005fa050
add esp, 8
test eax, eax
jne 0x637748
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 3
jg 0x6377ad
xor ecx, ecx
mov dword [ebp + 0x18], ecx
cmp dword [ebp + 0xc], ecx
jle 0x6378ea
nop dword [eax + eax]
xor esi, esi
xor eax, eax
test ebx, ebx
jle 0x63778e
mov ecx, eax
xor ecx, dword [ebp + 0x14]
lea edx, [ecx - 1]
not ecx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
neg edx
and edx, 1
neg edx
and edx, dword [edi + eax*4]
inc eax
or esi, edx
cmp eax, ebx
jl 0x637768
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [eax + ecx*4], esi
inc ecx
lea eax, [ebx*4]
mov dword [ebp + 0x18], ecx
add edi, eax
cmp ecx, dword [ebp + 0xc]
jl 0x637760
jmp 0x6378ea
mov edx, dword [ebp + 0x14]
lea ecx, [esi - 2]
sar edx, cl
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x24], esi
lea eax, [esi - 1]
and ecx, eax
mov eax, edx
mov dword [ebp - 0x10], ecx
not eax
shr eax, 0x1f
lea ecx, [edx - 1]
shr ecx, 0x1f
and ecx, eax
mov eax, edx
neg ecx
xor eax, 1
and ecx, 1
neg ecx
mov dword [ebp - 0x20], ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, edx
neg ecx
xor eax, 2
and ecx, 1
xor edx, 3
neg ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edx - 1]
shr eax, 0x1f
not edx
shr edx, 0x1f
neg ecx
and eax, edx
and ecx, 1
neg eax
xor edx, edx
and eax, 1
mov dword [ebp - 0xc], edx
neg ecx
neg eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], edx
jle 0x6378ea
lea eax, [ebx*4]
mov dword [ebp - 0x28], eax
nop dword [eax]
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0x18], eax
test esi, esi
jle 0x6378d2
lea eax, [esi + esi*2]
lea edx, [edi + esi*4]
lea ecx, [edi + esi*8]
mov dword [ebp - 8], edx
lea eax, [edi + eax*4]
mov dword [ebp - 4], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [eax]
mov esi, ebx
mov ecx, dword [ecx]
and ecx, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
xor esi, dword [ebp - 0x10]
or ecx, eax
mov edx, dword [edx]
and edx, dword [ebp - 0x1c]
mov eax, dword [edi + ebx*4]
or edx, ecx
and eax, dword [ebp - 0x20]
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
or eax, edx
mov edx, dword [ebp - 8]
and ecx, esi
mov esi, dword [ebp - 0x24]
neg ecx
and ecx, 1
inc ebx
neg ecx
add edx, 4
and ecx, eax
mov dword [ebp - 8], edx
or dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add eax, 4
add ecx, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], ecx
cmp ebx, esi
jl 0x637870
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add edi, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0xc], edx
cmp edx, dword [ebp + 0xc]
jl 0x637850
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x638cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c
call fcn.006bfd90
mov eax, dword [0x7f5314]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x10], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 9], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xc], dl
test eax, eax
je 0x638e51
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x638de8
push 1
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.00403ac0
mov ebx, dword [ebp - 0x20]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x18]
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], dl
mov byte [ebp - 9], al
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x638d90
test ecx, ecx
je 0x638e3b
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
Function at 0x6398d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38
call fcn.006bfd90
mov eax, dword [0x7f5314]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
push ebx
movzx ebx, byte [ecx]
push esi
mov esi, dword [eax]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x38], ecx
mov edx, edi
mov dword [ebp - 0x34], edi
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x24], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x14]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x10], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xc], dl
test eax, eax
je 0x639a68
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x18], ecx
xor edi, edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x639a10
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
call fcn.00403c20
mov ebx, dword [ebp - 0x24]
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
mov ecx, dword [ebp + 8]
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
inc edi
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], dl
mov byte [ebp - 9], al
mov al, byte [ebp + esi - 0x10]
inc esi
mov edx, dword [ebp - 0x18]
and esi, 7
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
test eax, eax
jne 0x6399b0
test edi, edi
mov edi, dword [ebp - 0x34]
je 0x639a68
mov eax, dword [ebp - 0x38]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 2], bl
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret