joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b42fb20
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [0x6b62a1d0]
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
test ebx, ebx
je 0x6b42fbe0
lea eax, [esp + 0x24]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call sym.libcrypto_1_1.dll_BIO_lookup
mov ebx, eax
test eax, eax
je 0x6b42fc78
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_family
cmp eax, 2
je 0x6b42fcb0
mov dword [esp + 0x10], 0x28
xor ebx, ebx
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x6b
mov dword [esp + 4], 0x6a
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_free
jmp 0x6b42fc90
mov edx, 0x6b62a040
mov eax, ebx
mov ecx, 0x64
mov dword [0x6b62a1d0], 1
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 4], edx
mov dword [esp], 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
je 0x6b42fb50
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0x87
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], eax
mov dword [esp + 4], 9
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0x88
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x7a
mov dword [esp + 4], 0x70
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42fc90
mov dword [esp + 8], esi
mov dword [esp + 4], 0x6b5ce0bc
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_add_error_data
mov eax, dword [esp + 0x2c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b42fd12
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_address
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDR_rawaddress
mov ebx, eax
mov eax, dword [esp + 0x24]
test ebx, ebx
je 0x6b42fbd1
xor ebx, ebx
cmp dword [esp + 0x28], 4
jne 0x6b42fbd1
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_address
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDR_rawaddress
mov ebx, eax
mov eax, dword [esp + 0x24]
jmp 0x6b42fbd1
call sym.___stack_chk_fail
lea esi, [esi]
nop
Function at 0x6b42fd20
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x28], 0
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x2c], eax
xor eax, eax
test ebp, ebp
je 0x6b42fec0
mov ebx, dword [0x6b62a1d0]
test ebx, ebx
je 0x6b42fdf0
lea eax, [esp + 0x28]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], 0
call sym.libcrypto_1_1.dll_BIO_lookup
mov ebx, eax
test eax, eax
je 0x6b42fe88
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_family
cmp eax, 2
je 0x6b42fef0
mov dword [esp + 0x10], 0x49
xor ebx, ebx
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x8d
mov dword [esp + 4], 0x6b
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_free
jmp 0x6b42fea0
mov edx, 0x6b62a040
mov eax, ebx
mov ecx, 0x64
mov dword [0x6b62a1d0], 1
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 4], edx
mov dword [esp], 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
je 0x6b42fd58
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0x87
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], eax
mov dword [esp + 4], 9
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0x88
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x7a
mov dword [esp + 4], 0x70
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42fea0
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x6b5ce0bc
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_add_error_data
mov eax, dword [esp + 0x2c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b42ff20
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0x40
xor ebx, ebx
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x6b
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42fea0
mov eax, dword [esp + 0x28]
mov ebx, 1
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_address
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDR_rawport
movzx eax, ax
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi], ax
sub esp, 4
jmp 0x6b42fdd5
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]
Function at 0x6b42ff30
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x3c
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x2c], eax
xor eax, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], 4
mov dword [esp + 8], 0x1007
mov dword [esp + 4], 0xffff
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_getsockopt]
sub esp, 0x14
mov edx, eax
mov eax, dword [esp + 0x24]
test edx, edx
js 0x6b42ffa0
mov ecx, dword [esp + 0x2c]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b42ffa8
add esp, 0x3c
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x6b42ff88
call sym.___stack_chk_fail
lea esi, [esi]

Function at 0x6b42ffb0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
sub esp, 4
add esp, 0x1c
ret

Function at 0x6b42ffd0
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x6b62a1d0]
test eax, eax
je 0x6b42ffe0
mov eax, 1
ret
push edi
mov edx, 0x6b62a040
xor eax, eax
mov ecx, 0x64
mov edi, edx
sub esp, 0x28
mov dword [0x6b62a1d0], 1
rep stosd dword es:[edi], eax
mov dword [esp + 4], edx
mov dword [esp], 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
jne 0x6b430020
mov eax, 1
add esp, 0x28
pop edi
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0x87
mov dword [esp + 8], eax
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 4], 9
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0x88
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x7a
mov dword [esp + 4], 0x70
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, 0xffffffff
jmp 0x6b43001b

Function at 0x6b4300b0
Capabilities:
Set socket configuration

Disassembly:
push ebx
sub esp, 0x28
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x6b4300e8
add esp, 0x28
mov eax, ebx
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0xc3
mov dword [esp + 8], eax
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 4], 5
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x28
mov eax, ebx
pop ebx
ret
Function at 0x6b430120
Capabilities:
Initialize winsock library
Set socket configuration

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x2c], eax
xor eax, eax
lea eax, [esp + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], 0
mov dword [esp], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call sym.libcrypto_1_1.dll_BIO_parse_hostserv
test eax, eax
je 0x6b430350
mov ebx, dword [0x6b62a1d0]
test ebx, ebx
je 0x6b4302b0
lea eax, [esp + 0x28]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 1
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_lookup
test eax, eax
je 0x6b430220
mov ebx, 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_free
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0xe5
mov dword [esp + 4], str.crypto_bio_b_sock.c
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x24]
mov dword [esp + 8], 0xe6
mov dword [esp + 4], str.crypto_bio_b_sock.c
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x2c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b43035a
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_protocol
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_socktype
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_family
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_socket
mov ebx, eax
cmp eax, 0xffffffff
je 0x6b4301bb
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ADDRINFO_address
mov ecx, dword [esp + 0x44]
xor edx, edx
mov dword [esp], ebx
mov dword [esp + 4], eax
test ecx, ecx
setne dl
mov dword [esp + 8], edx
call sym.libcrypto_1_1.dll_BIO_listen
test eax, eax
jne 0x6b4301c0
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BIO_closesocket
jmp 0x6b4301bb
mov edx, 0x6b62a040
xor eax, eax
mov ecx, 0x64
mov dword [0x6b62a1d0], 1
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 4], edx
mov dword [esp], 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
je 0x6b430183
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0x87
mov ebx, 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 4], 9
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0x88
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x7a
mov dword [esp + 4], 0x70
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b430204
mov ebx, 0xffffffff
jmp 0x6b430204
call sym.___stack_chk_fail
nop
Function at 0x6b430360
Capabilities:
Set socket configuration

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], eax
xor eax, eax
mov eax, dword [esp + 0x70]
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x74]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_accept_ex
mov ebx, eax
cmp eax, 0xffffffff
je 0x6b4304d8
test esi, esi
je 0x6b4304b7
mov dword [esp], edi
mov dword [esp + 4], 1
call sym.libcrypto_1_1.dll_BIO_ADDR_hostname_string
mov dword [esp], edi
mov dword [esp + 4], 1
mov ebp, eax
call sym.libcrypto_1_1.dll_BIO_ADDR_service_string
mov edi, eax
test ebp, ebp
je 0x6b4303d1
test eax, eax
jne 0x6b430418
mov dword [esi], 0
mov dword [esp + 0x10], 0x104
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x65
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp], ebx
mov ebx, 0xffffffff
call sym.libcrypto_1_1.dll_BIO_closesocket
jmp 0x6b430487
mov dword [esp], ebp
call sym._strlen
mov dword [esp], edi
mov dword [esp + 0x2c], eax
call sym._strlen
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], 0xff
mov dword [esp + 4], str.crypto_bio_b_sock.c
lea eax, [edx + eax + 2]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_zalloc
mov dword [esi], eax
test eax, eax
je 0x6b4303d7
mov dword [esp + 4], ebp
mov dword [esp], eax
call sym._strcpy
mov edx, dword [esi]
mov dword [esp], edx
mov dword [esp + 0x2c], edx
call sym._strlen
mov edx, dword [esp + 0x2c]
mov ecx, 0x3a
mov word [edx + eax], cx
mov dword [esp + 4], edi
mov eax, dword [esi]
mov dword [esp], eax
call sym._strcat
mov dword [esp + 8], 0x10c
mov dword [esp + 4], str.crypto_bio_b_sock.c
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
mov dword [esp + 8], 0x10d
mov dword [esp + 4], str.crypto_bio_b_sock.c
mov dword [esp], edi
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x4c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b43054f
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0xffffffff
call sym.libcrypto_1_1.dll_BIO_sock_should_retry
test eax, eax
je 0x6b4304f0
mov ebx, 0xfffffffe
jmp 0x6b4304b7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0xf6
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0xf7
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x64
mov dword [esp + 4], 0x65
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b4304b7
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]
nop

Function at 0x6b430560
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x2c
lea eax, [esp + 0x34]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 1
mov dword [esp + 4], 6
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
sub esp, 0x14
test eax, eax
sete al
add esp, 0x2c
movzx eax, al
ret
Function at 0x6b4305a0
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebx
sub esp, 0x38
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x2c], eax
xor eax, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x6b4305f8
xor eax, eax
test ebx, ebx
sete al
mov edx, dword [esp + 0x2c]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b430628
add esp, 0x38
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0xc3
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], eax
mov dword [esp + 4], 5
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b4305dd
call sym.___stack_chk_fail
lea esi, [esi]

Function at 0x6b430630
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x3c
mov ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
test edx, edx
jne 0x6b4306e0
mov eax, dword [eax]
mov dword [esp + 0x28], 0x1c
mov dword [esp], eax
call sym._BIO_ADDR_sockaddr_noconst
lea edx, [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_getsockname]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x6b430710
cmp dword [esp + 0x28], 0x1c
mov eax, 1
jbe 0x6b4306c2
mov dword [esp + 0x10], 0x165
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x85
mov dword [esp + 4], 0x8d
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
nop
xor eax, eax
mov edx, dword [esp + 0x2c]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b43076f
add esp, 0x3c
ret
mov dword [esp + 0x10], 0x16b
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x8c
mov dword [esp + 4], 0x8d
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b4306c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0x160
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], eax
mov dword [esp + 4], 0x10
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0x161
mov dword [esp + 0xc], str.crypto_bio_b_sock.c
mov dword [esp + 8], 0x84
mov dword [esp + 4], 0x8d
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b4306c0
call sym.___stack_chk_fail
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x6b439ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym._openssl_fopen
mov dword [esp + 4], 0x62
mov dword [esp], ebx
mov edi, eax
call sym._strchr
cmp eax, 1
sbb esi, esi
and esi, 0x10
add esi, 1
test edi, edi
je 0x6b439f48
mov dword [esp], 0x6b5cfa20
call sym.libcrypto_1_1.dll_BIO_new
mov ebx, eax
test eax, eax
je 0x6b439ff0
mov dword [esp + 4], 0x8000
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_clear_flags
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0x6a
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BIO_ctrl
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], 0x45
mov dword [esp + 8], eax
mov dword [esp + 0xc], str.crypto_bio_bss_file.c
mov dword [esp + 4], 1
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x6b5cf946
mov dword [esp + 0xc], 0x6b5cf949
mov dword [esp + 8], ebp
mov dword [esp + 4], str.fopen_
mov dword [esp], 5
call sym.libcrypto_1_1.dll_ERR_add_error_data
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
cmp dword [eax], 2
je 0x6b439fb6
call ebx
cmp dword [eax], 6
jne 0x6b43a000
mov dword [esp + 0x10], 0x4c
xor ebx, ebx
mov dword [esp + 0xc], str.crypto_bio_bss_file.c
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x6d
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b439f3a
mov dword [esp], edi
call sym._fclose
jmp 0x6b439f3a
mov dword [esp + 0x10], 0x4e
xor ebx, ebx
mov dword [esp + 0xc], str.crypto_bio_bss_file.c
mov dword [esp + 8], 2
mov dword [esp + 4], 0x6d
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b439f3a
Function at 0x6b43a160
Capabilities:
Access the windows event log

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [esp + 0x80]
mov dword [esp + 8], 0xc7
mov dword [esp + 4], str.crypto_bio_bss_log.c
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x38], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x5c], eax
xor eax, eax
mov eax, dword [esp + 0x88]
add eax, 1
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
test eax, eax
je 0x6b43a2e8
mov esi, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebp, str.PANIC
mov dword [esp], esi
xor ebx, ebx
mov dword [esp + 8], eax
call sym._memcpy
mov eax, dword [esp + 0x88]
mov byte [esi + eax], 0
jmp 0x6b43a1e3
add ebx, 1
mov edi, dword [ebp - 4]
mov dword [esp + 4], ebp
add ebp, 0x14
mov dword [esp], esi
mov dword [esp + 8], edi
call sym._strncmp
test eax, eax
jne 0x6b43a1e0
mov eax, dword [esp + 0x38]
lea ecx, [esi + edi]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x6b43a2b2
lea eax, [ebx + ebx*4]
mov ebx, 2
mov eax, dword [eax*4 + 0x6b5cfab0]
cmp eax, 4
je 0x6b43a231
sub eax, 5
cmp eax, 3
sbb ebx, ebx
and ebx, 3
add ebx, 1
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [esp + 0x4c]
mov dword [esp + 4], str.__lu_
mov dword [esp], edx
mov dword [esp + 8], eax
call sym._sprintf
lea eax, [esp + 0x44]
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x4c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
sub esp, 0x24
mov dword [esp + 8], 0xd6
mov dword [esp + 4], str.crypto_bio_bss_log.c
mov dword [esp], esi
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x5c]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b43a318
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xc8
mov dword [esp + 0xc], str.crypto_bio_bss_log.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x9b
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
xor eax, eax
jmp 0x6b43a2d1
call sym.___stack_chk_fail
lea esi, [esi]
Function at 0x6b44c2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov eax, dword [ebx + 4]
mov edx, dword [esi + 4]
cmp eax, edx
jge 0x6b44c2d1
mov eax, edx
mov edx, ebx
mov ebx, esi
mov esi, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._bn_wexpand
test eax, eax
je 0x6b44c358
mov eax, dword [esi + 4]
test eax, eax
jle 0x6b44c368
mov eax, dword [esp + 0x30]
mov ebp, dword [ebx]
mov edi, dword [esi]
mov ecx, dword [eax]
xor eax, eax
lea esi, [esi]
nop
mov edx, dword [ebp + eax*4]
xor edx, dword [edi + eax*4]
mov dword [ecx + eax*4], edx
add eax, 1
cmp dword [esi + 4], eax
jg 0x6b44c300
mov edx, dword [ebx + 4]
cmp eax, edx
jge 0x6b44c338
mov edi, dword [esp + 0x30]
mov esi, dword [ebx]
mov ecx, dword [edi]
lea esi, [esi]
mov edx, dword [esi + eax*4]
mov dword [ecx + eax*4], edx
mov edx, dword [ebx + 4]
add eax, 1
cmp edx, eax
jg 0x6b44c328
mov eax, dword [esp + 0x30]
mov dword [eax + 4], edx
mov dword [esp], eax
call sym._bn_correct_top
add esp, 0x1c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x6b44c312
Function at 0x6b450020
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
cmp eax, edx
je 0x6b4500a9
mov esi, ecx
sub ecx, 1
mov edi, dword [eax + 4]
not esi
and esi, ecx
mov ecx, dword [edx + 4]
shr esi, 0x1f
sub esi, 1
xor ecx, edi
and ecx, esi
xor edi, ecx
mov dword [eax + 4], edi
mov edi, dword [eax + 0xc]
xor dword [edx + 4], ecx
mov ecx, dword [edx + 0xc]
xor ecx, edi
and ecx, esi
xor edi, ecx
mov dword [eax + 0xc], edi
mov edi, dword [eax + 0x10]
xor dword [edx + 0xc], ecx
mov ecx, dword [edx + 0x10]
xor ecx, edi
and ecx, esi
and ecx, 4
xor edi, ecx
mov dword [eax + 0x10], edi
xor dword [edx + 0x10], ecx
test ebx, ebx
jle 0x6b4500a9
mov eax, dword [eax]
mov edx, dword [edx]
lea edi, [eax + ebx*4]
lea esi, [esi]
mov ebx, dword [eax]
mov ecx, dword [edx]
add eax, 4
xor ecx, ebx
and ecx, esi
xor ebx, ecx
mov dword [eax - 4], ebx
xor dword [edx], ecx
add edx, 4
cmp edi, eax
jne 0x6b450090
pop ebx
pop esi
pop edi
ret