joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413020
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
cmp eax, 3
je 0x4131e5
cmp eax, 4
je 0x4131e5
cmp eax, 1
jne 0x4131f2
mov eax, dword [edi + 0xb4]
mov ebx, dword [edi + 0x18]
mov esi, dword [edi + 0xc]
add ebx, eax
sub esi, eax
test eax, eax
jle 0x41307f
test esi, esi
jg 0x41307f
push 0x220
push str.src_nsock_core.c
push str.bytesleft___0
call fcn.004becc9
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x134]
test eax, eax
je 0x413099
push esi
push ebx
push eax
call fcn.0049e3d0
add esp, 0xc
jmp 0x4130cd
cmp word [edi + 0x30], 0
mov edx, dword [edi + 0xc4]
lea eax, [edi + 0x30]
jne 0x4130b8
mov eax, dword [edx]
push 0
push esi
push ebx
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x4130cd
mov ecx, dword [edi + 0xb0]
push ecx
push eax
mov eax, dword [edx]
push 0
push esi
push ebx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov ebx, eax
cmp ebx, esi
jne 0x4130f2
mov eax, 1
mov dword [edi + 0xd0], eax
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc4]
add dword [eax + 0x144], ebx
jmp 0x4131f2
test ebx, ebx
js 0x41310d
mov eax, dword [edi + 0xc4]
add dword [edi + 0xb4], ebx
add dword [eax + 0x144], ebx
jmp 0x4131f2
cmp ebx, 0xffffffff
je 0x413129
push 0x230
push str.src_nsock_core.c
push str.res___1
call fcn.004becc9
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x134]
test eax, eax
je 0x4131ad
push ebx
push eax
call fcn.004a0c60
add esp, 8
cmp eax, 2
jne 0x413172
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.00412fc0
mov eax, dword [ebp + 0xc]
call fcn.00412d70
mov eax, dword [edi + 0xc4]
mov dword [edi + 0xb8], 2
add dword [eax + 0x144], ebx
jmp 0x4131f2
cmp eax, 3
jne 0x4131a1
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.00412fc0
mov eax, dword [ebp + 0xc]
call fcn.00412e90
mov eax, dword [edi + 0xc4]
mov dword [edi + 0xb8], 3
add dword [eax + 0x144], ebx
jmp 0x4131f2
mov dword [edi + 0xbc], 0x277b
jmp 0x4131c6
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2714
je 0x4131d7
cmp eax, 0x2733
je 0x4131d7
mov dword [edi + 0xbc], eax
mov dword [edi + 8], 2
mov dword [edi + 0xd0], 1
mov eax, dword [edi + 0xc4]
add dword [eax + 0x144], ebx
jmp 0x4131f2
mov dword [edi + 0xd0], 1
mov dword [edi + 8], eax
cmp dword [edi + 0xd0], 0
je 0x413224
mov ebx, dword [edi + 0xc4]
cmp dword [ebx], 0xffffffff
je 0x413224
cmp dword [ebx + 0x134], 0
je 0x41321c
mov eax, dword [ebp + 8]
call fcn.00412fc0
pop edi
pop esi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 8]
call fcn.00412f10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x416740
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x58aed4], 0
not edx
jne 0x416750
call fcn.004166a0
xor eax, eax
test esi, esi
jle 0x41677b
jmp 0x416760
movzx ecx, byte [eax + edi]
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x58a900]
inc eax
cmp eax, esi
jl 0x416760
mov eax, edx
not eax
ret
Function at 0x4187c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
dec byte [ecx]
push esi
mov esi, 2
mov edi, edi
inc byte [ecx]
movzx eax, byte [ecx]
movzx edx, byte [eax + ecx + 2]
lea eax, [eax + ecx + 2]
mov dword [ebp - 8], eax
mov byte [ebp - 1], dl
lea eax, [esi - 2]
cdq
idiv edi
movzx eax, byte [edx + ebx]
add al, byte [ebp - 1]
add byte [ecx + 1], al
movzx edx, byte [ecx + 1]
movzx eax, byte [edx + ecx + 2]
mov edx, dword [ebp - 8]
mov byte [edx], al
movzx eax, byte [ecx + 1]
movzx edx, byte [ebp - 1]
mov byte [eax + ecx + 2], dl
inc byte [ecx]
movzx eax, byte [ecx]
movzx edx, byte [eax + ecx + 2]
lea eax, [eax + ecx + 2]
mov dword [ebp - 8], eax
mov byte [ebp - 1], dl
lea eax, [esi - 1]
cdq
idiv edi
movzx eax, byte [edx + ebx]
add al, byte [ebp - 1]
add byte [ecx + 1], al
movzx edx, byte [ecx + 1]
movzx eax, byte [edx + ecx + 2]
mov edx, dword [ebp - 8]
mov byte [edx], al
movzx eax, byte [ecx + 1]
movzx edx, byte [ebp - 1]
mov byte [eax + ecx + 2], dl
inc byte [ecx]
movzx eax, byte [ecx]
movzx edx, byte [eax + ecx + 2]
lea eax, [eax + ecx + 2]
mov dword [ebp - 8], eax
mov byte [ebp - 1], dl
mov eax, esi
cdq
idiv edi
movzx eax, byte [edx + ebx]
add al, byte [ebp - 1]
add byte [ecx + 1], al
movzx edx, byte [ecx + 1]
movzx eax, byte [edx + ecx + 2]
mov edx, dword [ebp - 8]
mov byte [edx], al
movzx eax, byte [ecx + 1]
movzx edx, byte [ebp - 1]
mov byte [eax + ecx + 2], dl
inc byte [ecx]
movzx eax, byte [ecx]
movzx edx, byte [eax + ecx + 2]
lea eax, [eax + ecx + 2]
mov dword [ebp - 8], eax
mov byte [ebp - 1], dl
lea eax, [esi + 1]
cdq
idiv edi
add esi, 4
movzx eax, byte [edx + ebx]
add al, byte [ebp - 1]
add byte [ecx + 1], al
movzx edx, byte [ecx + 1]
movzx eax, byte [edx + ecx + 2]
mov edx, dword [ebp - 8]
mov byte [edx], al
movzx eax, byte [ecx + 1]
movzx edx, byte [ebp - 1]
mov byte [eax + ecx + 2], dl
lea eax, [esi - 2]
cmp eax, 0x100
jl 0x4187d0
mov dl, byte [ecx]
mov byte [ecx + 1], dl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419490
Capabilities:
Create pipe
Create thread

Disassembly:
cmp dword [0x58b01c], 0
je 0x4194b0
push 0xb1
push str.nbase_winunix.c
push str.stdin_thread__NULL
call fcn.004becc9
add esp, 0xc
cmp dword [0x58b024], 0
je 0x4194d0
push 0xb2
push str.nbase_winunix.c
push str.stdin_pipe_r__NULL
call fcn.004becc9
add esp, 0xc
cmp dword [0x58b028], 0
je 0x4194f0
push 0xb3
push str.nbase_winunix.c
push str.stdin_pipe_w__NULL
call fcn.004becc9
add esp, 0xc
cmp dword [0x58b020], 0
je 0x419510
push 0xb4
push str.nbase_winunix.c
push str.thread_stdin_handle__NULL
call fcn.004becc9
add esp, 0xc
push 0
push 0
push 0x58b028
push 0x58b024
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x419529
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push 2
push 0
push 0
push 0x58b020
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
push 0xfffffffffffffff6
call edi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x419573
mov eax, dword [0x58b024]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [0x58b028]
push ecx
call esi
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [0x58b024]
push edx
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
test eax, eax
je 0x4195db
push 0x8000
push 0
call fcn.004c13b3
mov esi, eax
push esi
push 0
call fcn.004c13b3
add esp, 0x10
push esi
push 0xfffffffffffffff6
call edi
push eax
call fcn.004c4012
add esp, 8
cmp eax, 0xffffffff
je 0x4195db
push 0
push eax
call fcn.004c161c
add esp, 8
push 0
push 0
push 0
push 0x4193a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x58b01c], eax
test eax, eax
jne 0x419600
mov eax, dword [0x58b024]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [0x58b028]
push ecx
call esi
mov edx, dword [0x58b020]
push edx
call esi
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x419cd0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.004bfd10
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x427bf0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.004bf520
mov eax, dword [0x586f0c]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x427c55
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x427c55
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.004bf54b
add eax, 0x40
push eax
call fcn.004c2165
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004bf32e
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.004c47d8
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x427ce4
call fcn.00427ab0
test eax, eax
jle 0x427ce4
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004bf32e
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004bf32e
add esp, 0x108
ret

Function at 0x4296c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x429704
mov al, byte [edx]
test al, al
je 0x429704
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
inc edx
xor esi, eax
mov al, byte [edx]
test al, al
jne 0x4296d7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4328e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.004bf520
mov eax, dword [0x586f0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x432910
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432910
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x432988
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x43296a
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x432988
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jne 0x432a1a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x432a08
lea eax, [esi + esi]
call fcn.004c4700
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x432a1a
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4329b3
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x432a1a
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.004c53c4
mov esi, eax
add esp, 8
test esi, esi
jne 0x432abe
call fcn.004bdedf
cmp dword [eax], 2
je 0x432a00
call fcn.004bdedf
cmp dword [eax], 9
jne 0x432a1a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.004c0faf
mov esi, eax
add esp, 8
test esi, esi
jne 0x432abe
push 0xa9
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0041b0e0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x54d9b4
push eax
push 0x54d9b0
push ecx
push str.fopen_
push 5
call fcn.0041ac50
add esp, 0x2c
call fcn.004bdedf
cmp dword [eax], 2
jne 0x432a90
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.0041b0e0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bf32e
mov esp, ebp
pop ebp
ret
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0041b0e0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bf32e
mov esp, ebp
pop ebp
ret
push 0x580938
call fcn.0042e830
mov edi, eax
add esp, 4
test edi, edi
jne 0x432af0
push esi
call fcn.004c0e7f
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bf32e
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.0042e030
push esi
push 1
push 0x6a
push edi
call fcn.0042e480
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bf32e
mov esp, ebp
pop ebp
ret
Function at 0x469a60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.004bf520
mov eax, dword [0x586f0c]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x30]
dec ebp
lea edx, [ebp - 0x29]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp ebx, edx
jle 0x469ac5
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.0041b0e0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004bf32e
add esp, 0x20
ret
cmp ebp, 0x29
jge 0x469af3
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.0041b0e0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004bf32e
add esp, 0x20
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.00423d50
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x50]
push 0
push edi
push eax
push ecx
call fcn.0042b9c0
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.004bfd10
mov edx, dword [esp + 0x34]
mov eax, edi
sub eax, ebx
add eax, ebp
push ebx
mov byte [eax - 0x15], 1
push edx
add eax, 0xffffffec
push eax
call fcn.004bdfc0
push 0x14
push esi
call fcn.00419990
add esp, 0x38
test eax, eax
jle 0x469b84
push 0x48
add ebp, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push ebp
call fcn.00429d30
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x469b99
push 0x4b
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.0041b0e0
add esp, 0x14
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004bf32e
add esp, 0x20
ret
call fcn.00423d50
push eax
push 0x14
push esi
push ebp
push ebx
call fcn.004698d0
add esp, 0x14
test eax, eax
js 0x469b84
test ebp, ebp
jle 0x469bc9
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov edx, ebp
lea esp, [esp]
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec edx
jne 0x469bc0
call fcn.00423d50
push eax
push ebp
push edi
lea eax, [esp + 0x24]
push 0x14
push eax
call fcn.004698d0
add esp, 0x14
test eax, eax
js 0x469b84
lea ecx, [esp + 0x18]
lea edi, [esp + 0x19]
lea ebp, [esp + 0x1a]
lea edx, [esp + 0x1b]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x1c]
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
lea ecx, [ecx]
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
dec esi
jne 0x469c10
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00429f10
mov ecx, dword [esp + 0x30]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bf32e
add esp, 0x20
ret
Function at 0x46a260
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x46a32c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x46a281
cmp al, 0x6b
jne 0x46a32c
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x46a2ed
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x46a2a1
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x46a2a1
cmp al, 0xbb
jne 0x46a2ca
inc ecx
cmp ecx, esi
jl 0x46a291
sub esi, ecx
test ecx, ecx
jne 0x46a2f0
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0041b0e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0041b0e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x46a319
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.0041b0e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.004bdfc0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.0041b0e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x475b10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x475b29
mov esi, edi
mov edi, eax
jmp 0x475b2b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x475b3b
mov eax, ebx
jmp 0x475b45
push eax
push ebx
call fcn.0044bde0
add esp, 8
test eax, eax
jne 0x475b4d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x475b69
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x475b54
cmp eax, dword [esi + 4]
jge 0x475b80
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x475b70
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x475ba1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x475b9e
dec eax
test eax, eax
jg 0x475b90
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x47ca90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.004bf520
mov eax, dword [0x586f0c]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x47cc1a
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.00486680
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00486780
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0052c980
push ebp
call fcn.00486680
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.00486780
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.0052c980
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x47cad3
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.004bf32e
add esp, 0xa0
ret
Function at 0x47f590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.004bf520
mov eax, dword [0x586f0c]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x18], eax
push ebp
mov dword [esp + 0xc], edx
push esi
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [esp + 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
mov ebp, dword [esp + 0x54]
shl ebx, 8
or ebx, eax
mov esi, dword [ebp]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
je 0x47f762
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x47f6db
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0052a300
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x38], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x3a], al
mov byte [esp + 0x39], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
xor al, byte [ebp]
inc esi
mov byte [ebx + ebp], al
inc ebp
and esi, 7
cmp dword [esp + 0x14], 0
jne 0x47f677
cmp dword [esp + 0x10], 0
je 0x47f749
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004bf32e
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004bf32e
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bf32e
add esp, 0x2c
ret