joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416280
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov eax, 0x4a4b74
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 0x10]
call fcn.00413f80
mov esi, eax
or eax, 0xffffffff
test esi, esi
je 0x41638c
mov edx, dword [0x4daf58]
test edx, edx
je 0x416394
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.DLL_gethostbyname
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x416443
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [eax + 8]
sub esp, 0xc
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 0xc]
and eax, 0xffff
push eax
call sub.WS2_32.DLL_htons
mov word [ebp - 0x1a], ax
sub esp, 8
movsx eax, word [ebx + 0xa]
mov edx, dword [ebx + 0xc]
push eax
lea ecx, [ebp - 0x18]
mov eax, dword [edx]
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0x1c
push 0
push edi
movsx eax, word [ebx + 8]
push eax
call sub.WS2_32.DLL_socket
pop edx
cmp eax, 0xffffffff
je 0x416443
mov dword [esi + 0xc], eax
lea edx, [ebp - 0x1c]
push ebx
push 0x10
push edx
push eax
call sub.WS2_32.DLL_connect
pop ecx
test eax, eax
js 0x416443
mov eax, str.udp:
cmp edi, 1
je 0x416432
mov ebx, dword [ebp + 0xc]
push edx
push edx
push ebx
push eax
mov eax, esi
call fcn.00413050
push eax
lea eax, [esi + 0x18]
push str._d_net_client:_s_d_
push 0x20
push eax
call fcn.00496460
add esp, 0x20
cmp byte [0x4ddfd8], 0
js 0x4163a0
mov eax, esi
call fcn.00413050
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00415700
jmp 0x4162b1
call sub.msvcrt.dll__errno
sub esp, 0xc
mov eax, dword [eax]
push 0x4ddfe8
mov dword [ebp - 0x20], eax
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [sym.imp.msvcrt.dll__iob]
add esp, 0xc
add ebx, 0x40
push str.socket_network_client
push str.system_core_adb_sysdeps_win32.c
push str._s::_s__:
push ebx
call fcn.00413550
call sub.msvcrt.dll__errno
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, esi
call fcn.00413050
add esp, 0x10
mov edx, 0x4a47a8
dec edi
je 0x41643c
push ecx
push ecx
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
push str.socket_network_client:_host__s_port__d_type__s___fd__d_n
push ebx
call fcn.00413550
add esp, 0x14
push ebx
call sub.msvcrt.dll_fflush
mov dword [esp], 0x4ddfe8
call sub.KERNEL32.dll_LeaveCriticalSection
add esp, 0xc
call sub.msvcrt.dll__errno
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
jmp 0x416385
mov eax, 0x4a478e
jmp 0x41635a
mov edx, 0x4a47ac
jmp 0x4163f4
mov eax, esi
call fcn.004130a0
or eax, 0xffffffff
jmp 0x41638c
Function at 0x416460
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov eax, 0x4a4b74
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
call fcn.00413f80
mov ebx, eax
test eax, eax
jne 0x416484
or eax, 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x4daf58]
test eax, eax
je 0x416570
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0
and eax, 0xffff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov word [ebp - 0x20], 2
push eax
call sub.WS2_32.DLL_htons
mov word [ebp - 0x1e], ax
lea edi, [ebp - 0x20]
push 0x7f000001
call sub.WS2_32.DLL_htonl
mov dword [ebp - 0x1c], eax
push eax
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
push 2
call sub.WS2_32.DLL_socket
add esp, 0x14
mov esi, eax
cmp eax, 0xffffffff
je 0x416479
sub esp, 0xc
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x10]
push 4
push eax
push 0xfffffffffffffffb
push 0xffff
push esi
call sub.WS2_32.DLL_setsockopt
push eax
push eax
push 0x10
push edi
push esi
call sub.WS2_32.DLL_bind
add esp, 0x14
test eax, eax
js 0x41661c
mov edx, str.udp:
cmp dword [ebp + 0xc], 1
je 0x416603
push edi
push edi
mov esi, dword [ebp + 8]
mov eax, ebx
push esi
push edx
call fcn.00413050
push eax
lea eax, [ebx + 0x18]
push str._d_lo_server:_s_d_
push 0x20
push eax
call fcn.00496460
add esp, 0x20
cmp byte [0x4ddfd8], 0
js 0x41657a
mov eax, ebx
call fcn.00413050
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00415700
jmp 0x416491
call sub.msvcrt.dll__errno
sub esp, 0xc
mov edi, dword [eax]
push 0x4ddfe8
call sub.KERNEL32.dll_EnterCriticalSection
mov esi, dword [sym.imp.msvcrt.dll__iob]
add esp, 0xc
add esi, 0x40
push str.socket_loopback_server
push str.system_core_adb_sysdeps_win32.c
push str._s::_s__:
push esi
call fcn.00413550
call sub.msvcrt.dll__errno
mov dword [eax], edi
mov eax, ebx
call fcn.00413050
add esp, 0x10
mov edx, 0x4a47a8
cmp dword [ebp + 0xc], 1
je 0x416630
sub esp, 0xc
push eax
push edx
mov ecx, dword [ebp + 8]
push ecx
push str.socket_loopback_server:_port__d_type__s___fd__d_n
push esi
call fcn.00413550
add esp, 0x14
push esi
call sub.msvcrt.dll_fflush
mov dword [esp], 0x4ddfe8
call sub.KERNEL32.dll_LeaveCriticalSection
add esp, 0xc
call sub.msvcrt.dll__errno
mov dword [eax], edi
jmp 0x416561
push edi
push edi
push 4
push esi
call sub.WS2_32.DLL_listen
pop edx
test eax, eax
pop ecx
mov edx, 0x4a478e
jns 0x416536
mov eax, ebx
call fcn.004130a0
or eax, 0xffffffff
jmp 0x41647c
mov edx, 0x4a47ac
jmp 0x4165cb
Function at 0x41e7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41e7d4
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x41e7d4
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push 1
push eax
push ecx
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov edx, dword [ebp + 0x10]
test eax, eax
jne 0x41e7d6
xor edx, edx
mov eax, edx
leave
ret

Function at 0x41e850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov edi, dword [ebp + 8]
push edi
call sub.msvcrt.dll_strlen
pop ebx
pop esi
lea esi, [eax + 1]
push 0
push 0
push esi
push edi
push 8
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
mov edx, eax
pop eax
test edx, edx
pop ecx
mov ecx, 8
jle 0x41e9c1
lea eax, [edx + edx + 0x1e]
and eax, 0xfffffff0
call fcn.00495d50
lea ebx, [esp + 0xf]
push eax
and ebx, 0xfffffff0
push eax
push edx
push ebx
push esi
push edi
push ecx
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
pop edx
test eax, eax
pop ecx
jne 0x41e940
call sub.KERNEL32.dll_GetLastError
sub esp, 0xc
push 0xa9
push 0x4a7e18
push eax
push 1
push 2
call fcn.00424150
add esp, 0x18
mov eax, dword [ebp + 0xc]
push 0x4a7e3f
push eax
push 0x4a7e42
push edi
push str.fopen_
push 5
call fcn.00423d90
add esp, 0x20
call sub.msvcrt.dll__errno
cmp dword [eax], 2
je 0x41e926
sub esp, 0xc
push 0xae
push 0x4a7e18
push 2
push 0x6d
push 0x20
xor ebx, ebx
call fcn.00424150
add esp, 0x20
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push 0xac
push 0x4a7e18
push pe_nt_image_headers32
jmp 0x41e90e
lea esi, [ebp - 0x1c]
push eax
push eax
push 8
push esi
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push eax
call sub.msvcrt.dll_strlen
add esp, 0x10
inc eax
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
pop edx
test eax, eax
pop ecx
je 0x41e8b8
push ecx
push ecx
push esi
push ebx
call sub.msvcrt.dll__wfopen
add esp, 0x10
mov esi, eax
test eax, eax
je 0x41ea1a
sub esp, 0xc
call fcn.0041e2e0
push eax
call fcn.0041f440
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x41ea34
push eax
push eax
push 0
push ebx
call fcn.0041ea50
push esi
push 1
push 0x6a
push ebx
call fcn.0041ed50
add esp, 0x20
jmp 0x41e91c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3ec
je 0x41e9f7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x459
jne 0x41e8b8
mov eax, dword [ebp + 0xc]
push edx
push edx
push eax
push edi
call sub.msvcrt.dll_fopen
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x41e989
jmp 0x41e8b8
push ebx
push ebx
push 0
push 0
push esi
push edi
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
mov edx, eax
pop eax
test edx, edx
pop ecx
jle 0x41e9cd
xor ecx, ecx
jmp 0x41e88a
call sub.msvcrt.dll__errno
cmp dword [eax], 2
je 0x41e9dd
call sub.msvcrt.dll__errno
cmp dword [eax], 9
jne 0x41e8b8
jmp 0x41e9dd
sub esp, 0xc
push esi
call sub.msvcrt.dll_fclose
add esp, 0x10
jmp 0x41e91c
Function at 0x427400
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x427431
xor edx, edx
xor ecx, ecx
lea esi, [esi]
mov al, byte [edx + edi]
xor al, byte [edx + esi]
inc edx
or ecx, eax
cmp edx, ebx
jne 0x427420
xor eax, eax
mov al, cl
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x427550
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x11c
mov ebx, dword [ebp + 8]
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
add esp, 0xc
test eax, eax
je 0x427580
sub esp, 0xc
push eax
call sub.KERNEL32.dll_GetFileType
add esp, 0xc
test eax, eax
jne 0x427606
lea eax, [ebp + 0xc]
lea esi, [ebp - 0x110]
mov dword [ebp - 0xc], eax
push eax
push ebx
push 0xff
push esi
call sub.msvcrt.dll__vsnprintf
mov byte [ebp - 0x11], 0
call sub.KERNEL32.dll_GetVersion
add esp, 0x10
test eax, eax
js 0x4275f0
call fcn.00427440
test eax, eax
jle 0x4275f0
push eax
push eax
push str.OPENSSL
push 0
call sub.ADVAPI32.DLL_RegisterEventSourceA
mov dword [ebp - 0x10], esi
mov ebx, eax
push eax
lea eax, [ebp - 0x10]
push 0
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push ebx
call sub.ADVAPI32.DLL_ReportEventA
push ebx
call sub.ADVAPI32.DLL_DeregisterEventSource
add esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
push 0x10
push str.OpenSSL:_FATAL
push esi
push 0
call sub.USER32.dll_MessageBoxA
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
push edx
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push ebx
push eax
call sub.msvcrt.dll_vfprintf
add esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x42bc70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
jle 0x42bd7d
mov ebx, edx
mov edi, eax
jmp 0x42bd04
xor edx, edx
xor eax, eax
mov dl, byte [esi]
mov al, byte [esi + 1]
shl eax, 8
shl edx, 0x10
or edx, eax
xor eax, eax
mov al, byte [esi + 2]
or edx, eax
mov eax, edx
shr eax, 0x12
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + 1], al
mov eax, edx
shr eax, 6
and edx, 0x3f
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + 2], al
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + 3], al
lea eax, [ebx + 4]
mov edx, eax
mov ecx, dword [ebp - 0x10]
sub edi, 3
add ecx, 4
mov ebx, eax
mov dword [ebp - 0x10], ecx
test edi, edi
jle 0x42bd7d
add esi, 3
cmp edi, 2
jg 0x42bc97
xor ecx, ecx
mov cl, byte [esi]
shl ecx, 0x10
cmp edi, 2
je 0x42bd44
mov eax, ecx
mov dl, 0x3d
shr eax, 0x12
shr ecx, 0xc
and ecx, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx], al
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + 1], al
lea eax, [ebx + 2]
mov byte [eax], dl
mov byte [eax + 1], 0x3d
lea edx, [eax + 2]
lea eax, [ebx + 4]
jmp 0x42bcef
xor edx, edx
mov dl, byte [esi + 1]
shl edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x12
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx], al
mov eax, edx
shr eax, 0xc
shr edx, 6
and eax, 0x3f
and edx, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + 1], al
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [ebx + 2]
jmp 0x42bd36
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x43b560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edx, dword [ebp + 8]
test edx, edx
je 0x43b5b4
mov al, byte [edx]
test al, al
je 0x43b5b4
mov ebx, edx
xor esi, esi
mov edi, 0x100
lea esi, [esi]
movsx eax, al
or eax, edi
mov edx, esi
mov esi, eax
mov ecx, eax
imul esi, eax
shr ecx, 2
add edi, 0x100
xor ecx, eax
mov al, byte [ebx + 1]
and ecx, 0xf
inc ebx
rol edx, cl
xor esi, edx
test al, al
jne 0x43b580
mov eax, esi
pop ebx
shr eax, 0x10
xor eax, esi
pop esi
pop edi
pop ebp
ret
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x44f280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
sub eax, 0x2a
dec esi
mov edi, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x44f300
cmp esi, 0x28
jg 0x44f2c2
sub esp, 0xc
push 0x33
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.00424150
xor eax, eax
add esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edi + 0x15]
mov byte [edi], 0
mov dword [ebp - 0x34], eax
call fcn.004519f0
push edx
push edx
push 0
push eax
push 0
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0045b100
add esp, 0x20
test eax, eax
jne 0x44f310
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push 0x2d
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x6e
jmp 0x44f2ac
lea eax, [edi + 1]
mov ebx, esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
sub ebx, eax
lea edx, [edi + 0x29]
push ecx
lea eax, [ebx - 0x29]
push eax
push 0
push edx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov byte [eax + ebx - 0x15], 1
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x14]
sub eax, esi
push ebx
mov ecx, dword [ebp + 0x10]
sub eax, 0x14
push ecx
push eax
call sub.msvcrt.dll_memcpy
pop eax
pop edx
push 0x14
mov eax, dword [ebp - 0x30]
push eax
call fcn.004271d0
add esp, 0x10
test eax, eax
jle 0x44f2ef
mov ebx, dword [ebp + 0xc]
push esi
sub ebx, 0x15
push 0x49
push str.external_openssl_crypto_rsa_rsa_oaep.c
push ebx
call fcn.00424980
add esp, 0x10
mov esi, eax
test eax, eax
je 0x44f3fa
sub esp, 0xc
mov edx, ebx
push 0x14
mov ecx, dword [ebp - 0x30]
call fcn.0044f030
add esp, 0x10
test eax, eax
js 0x44f2ef
xor edx, edx
mov al, byte [edx + esi]
xor byte [edx + edi + 0x15], al
inc edx
cmp edx, ebx
jne 0x44f3a0
sub esp, 0xc
mov edx, 0x14
lea eax, [ebp - 0x20]
push ebx
mov ecx, dword [ebp - 0x34]
call fcn.0044f030
add esp, 0x10
test eax, eax
js 0x44f2ef
mov al, byte [ebp - 0x20]
mov edx, 1
xor byte [edi + 1], al
mov al, byte [edx + ebp - 0x20]
xor byte [edx + edi + 1], al
inc edx
cmp edx, 0x14
jne 0x44f3d6
sub esp, 0xc
push esi
call fcn.00424ab0
mov eax, 1
add esp, 0x10
jmp 0x44f2ba
sub esp, 0xc
push 0x4c
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x44f2ac
Function at 0x44f640
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x14]
jne 0x44f65d
mov dl, byte [esi]
lea eax, [edx - 0x6a]
cmp al, 1
jbe 0x44f688
sub esp, 0xc
push 0x72
push str.external_openssl_crypto_rsa_rsa_x931.c
push 0x89
push pe_nt_image_headers32
push 4
call fcn.00424150
or esi, 0xffffffff
mov eax, esi
add esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [esi + 1]
cmp dl, 0x6b
je 0x44f6b2
lea esi, [ecx - 2]
cmp byte [ebx + esi], 0xcc
jne 0x44f705
push edx
push esi
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_memcpy
mov eax, esi
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ecx - 3]
test edi, edi
jle 0x44f71c
mov dl, byte [esi + 1]
cmp dl, 0xba
je 0x44f71c
cmp dl, 0xbb
jne 0x44f6ee
lea ebx, [esi + 2]
xor eax, eax
mov ecx, edi
jmp 0x44f6df
mov dl, byte [eax + esi + 1]
inc ebx
cmp dl, 0xba
je 0x44f6e8
cmp dl, 0xbb
jne 0x44f6ee
inc eax
cmp eax, ecx
jne 0x44f6d0
test eax, eax
je 0x44f71c
mov esi, edi
sub esi, eax
jmp 0x44f693
sub esp, 0xc
push 0x81
push str.external_openssl_crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x44f66c
sub esp, 0xc
push 0x93
push str.external_openssl_crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x44f66c
sub esp, 0xc
push 0x8a
push str.external_openssl_crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x44f66c
Function at 0x46ba60
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 8
mov ebx, dword [ebp + 8]
push 0x70
push 0
push ebx
call sub.msvcrt.dll_memset
mov dword [ebx], 0x6a09e667
mov dword [ebx + 4], 0xbb67ae85
mov dword [ebx + 8], 0x3c6ef372
mov dword [ebx + 0xc], 0xa54ff53a
mov dword [ebx + 0x10], 0x510e527f
mov dword [ebx + 0x14], 0x9b05688c
mov dword [ebx + 0x18], 0x1f83d9ab
mov dword [ebx + 0x1c], 0x5be0cd19
mov dword [ebx + 0x6c], 0x20
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x46bac0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 8
mov ebx, dword [ebp + 8]
push 0x70
push 0
push ebx
call sub.msvcrt.dll_memset
mov dword [ebx], 0xc1059ed8
mov dword [ebx + 4], 0x367cd507
mov dword [ebx + 8], 0x3070dd17
mov dword [ebx + 0xc], 0xf70e5939
mov dword [ebx + 0x10], 0xffc00b31
mov dword [ebx + 0x14], 0x68581511
mov dword [ebx + 0x18], 0x64f98fa7
mov dword [ebx + 0x1c], 0xbefa4fa4
mov dword [ebx + 0x6c], 0x1c
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x46bd00
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 0x46bdb0
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 0x479cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
cmp eax, edx
jl 0x479d92
mov edx, dword [ebp + 8]
mov ebx, esi
mov edi, ecx
cmp dword [edx + 8], eax
jl 0x479da4
mov eax, dword [edi + 4]
xor esi, esi
test eax, eax
jle 0x479d1b
mov ecx, dword [ebp + 8]
lea edx, [esi*4]
inc esi
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + edx]
xor eax, dword [ecx + edx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + edx], eax
cmp dword [edi + 4], esi
jg 0x479cf6
mov edx, dword [ebx + 4]
cmp esi, edx
jge 0x479d48
lea ecx, [esi*4]
lea esi, [esi]
mov edx, dword [ebp + 8]
inc esi
mov eax, dword [edx]
mov edx, dword [ebx]
mov edx, dword [edx + ecx]
mov dword [eax + ecx], edx
add ecx, 4
mov edx, dword [ebx + 4]
cmp edx, esi
jg 0x479d30
mov ecx, dword [ebp + 8]
test edx, edx
mov dword [ecx + 4], edx
mov ecx, 1
jle 0x479d88
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
sub eax, 4
lea eax, [eax + edx*4]
mov ecx, eax
mov eax, dword [eax]
test eax, eax
je 0x479d7a
jmp 0x479d7d
mov eax, dword [ecx - 4]
sub ecx, 4
test eax, eax
jne 0x479d7d
dec edx
jne 0x479d70
mov eax, dword [ebp + 8]
mov ecx, 1
mov dword [eax + 4], edx
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edx
mov edx, dword [ebp + 8]
mov ebx, ecx
mov edi, esi
cmp dword [edx + 8], eax
jge 0x479ced
push ecx
push ecx
push eax
push edx
call fcn.0041c700
add esp, 0x10
xor ecx, ecx
test eax, eax
jne 0x479ced
jmp 0x479d88
Function at 0x47c400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x138
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
push ecx
call fcn.0043a320
mov dword [ebp - 0x134], eax
add esp, 0x10
mov edx, dword [ebp - 0x134]
xor eax, eax
test edx, edx
js 0x47c5c5
sub esp, 0xc
lea eax, [ebp - 0x120]
push eax
call fcn.0048f560
mov edi, dword [ebp + 8]
add esp, 0x10
test edi, edi
je 0x47c5e9
cmp dword [ebp + 0xc], 0xffffffff
je 0x47c5f5
test ebx, ebx
je 0x47c5ae
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x130]
sub esp, 0xc
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x130]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x130]
shr eax, 8
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x130]
mov byte [ebp - 0xd], al
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048f630
add esp, 0x20
test eax, eax
je 0x47c5cd
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048f610
add esp, 0x10
test eax, eax
je 0x47c5cd
push eax
lea eax, [ebp - 0x10]
push 4
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048f610
add esp, 0x10
test eax, eax
je 0x47c5cd
push eax
lea eax, [ebp - 0x50]
push 0
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048f590
add esp, 0x10
test eax, eax
je 0x47c5cd
mov ebx, dword [ebp - 0x138]
cmp ebx, dword [ebp - 0x134]
jle 0x47c538
mov ebx, dword [ebp - 0x134]
lea eax, [ebp - 0x50]
push edi
push ebx
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
cmp dword [ebp + 0x18], 1
jle 0x47c592
mov edi, 1
lea eax, [ebp - 0x50]
push ecx
push 0
push eax
mov edx, dword [ebp - 0x134]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
call fcn.0048f8d0
add esp, 0x20
test ebx, ebx
jle 0x47c58c
xor edx, edx
nop
lea esi, [esi]
mov al, byte [edx + ebp - 0x50]
xor byte [edx + esi], al
inc edx
cmp edx, ebx
jne 0x47c580
inc edi
cmp edi, dword [ebp + 0x18]
jne 0x47c552
sub dword [ebp - 0x138], ebx
je 0x47c5ae
mov eax, dword [ebp - 0x130]
add esi, ebx
inc eax
mov dword [ebp - 0x130], eax
jmp 0x47c473
sub esp, 0xc
lea eax, [ebp - 0x120]
push eax
call fcn.0048f480
mov eax, 1
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
lea eax, [ebp - 0x120]
push eax
call fcn.0048f480
xor eax, eax
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp + 0xc], 0
jmp 0x47c458
sub esp, 0xc
mov esi, dword [ebp + 8]
push esi
call sub.msvcrt.dll_strlen
add esp, 0x10
mov dword [ebp + 0xc], eax
jmp 0x47c458