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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0x1f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x14c]
mov dword [ebp - 4], eax
jne 0x10075178
push ebx
push esi
push edi
lea ebx, [eax + 0x1cb0]
lea edi, [eax + 0x1eb0]
mov dword [edi], ebx
cmp ebx, edi
jae 0x1007505f
mov byte [ebx], 0xff
inc dword [edi]
mov ecx, dword [edi]
jmp 0x10075061
mov ecx, ebx
cmp ecx, edi
jae 0x10075075
mov byte [ecx], 0xfa
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x10075075
mov byte [ecx], 0x1f
inc dword [edi]
movzx eax, word [eax + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1caa]
push eax
call esi
mov edx, dword [ebp + 0xc]
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x100750e0
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100750e0
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100750e0
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100750e0
shr ecx, 8
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100750e0
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100750e0
mov byte [eax], 0xf0
mov eax, dword [edi]
inc eax
mov esi, dword [ebp - 4]
mov dword [edi], ebx
mov edi, dword [ebp - 8]
mov dword [esi + 0x1eb4], eax
sub eax, ebx
sub eax, 2
push eax
lea eax, [esi + 0x1cb2]
push eax
push 0x3e
push edi
call fcn.10074850
add esp, 0x10
push 0
push 3
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx + 0x1b8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x10075133
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.100539c0
add esp, 0xc
push 4
lea eax, [esi + 0x1cb3]
push eax
push ebx
call fcn.10074f10
add esp, 0xc
lea eax, [esi + 0x1cb7]
push 0
push 2
push eax
push dword [ebx + 0x1b8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x10075175
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.100539c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100752d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x80
push 0
push eax
mov dword [ebp - 0x90c], edi
call fcn.10155de0
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.10155de0
mov ebx, dword [edi]
mov dword [ebp - 0x908], ebx
mov esi, dword [ebx + 0x14c]
mov eax, dword [esi + 0x1eb4]
sub eax, dword [esi + 0x1eb0]
add eax, 2
push eax
lea eax, [esi + 0x1cb0]
push eax
push 0x3c
push ebx
call fcn.10074850
mov eax, dword [esi + 0x1eb0]
add esp, 0x28
mov cl, byte [eax]
inc eax
mov dword [esi + 0x1eb0], eax
cmp cl, 0x18
je 0x100754b8
cmp cl, 0x23
je 0x10075492
cmp cl, 0x27
jne 0x10075546
push 0
push 0x27
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.10045db0
mov esi, dword [esi + 0x1cac]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x10075431
nop
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100753b7
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x1007541f
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push str._127_____127s
push edx
call fcn.1003dad0
add esp, 0x10
test eax, eax
je 0x1007541f
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.10045db0
add esp, 0x1c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x100753b0
mov ebx, dword [ebp - 0x908]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push str._c_c
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.10045db0
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [ebp - 0x904]
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0x1b8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1007548c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.100539c0
add esp, 0xc
push edi
jmp 0x10075534
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100754a0
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x100754d9
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100754c3
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x904]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.10045db0
add esp, 0x28
lea eax, [ebp - 0x904]
push 0
push esi
push eax
push dword [edi + 0x1b8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x10075530
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.100539c0
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x902]
push eax
push 0x3e
push ebx
call fcn.10074850
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10153588
mov esp, ebp
pop ebp
ret
Function at 0x10076260
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x378]
mov ebx, dword [eax]
lea esi, [edi + 0x15c]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x90], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi + 0x154]
push 0
add eax, 4
push eax
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi + 0x148], 0
mov dword [edi + 0x14c], eax
jne 0x100762f3
push dword [ebp - 0x90]
lea eax, [ebp - 0x84]
push eax
lea eax, [edi + 0xc8]
push eax
call fcn.10155f40
mov eax, dword [ebp - 0x90]
add esp, 0xc
mov dword [edi + 0x148], eax
mov edx, dword [edi + 0x14c]
cmp edx, 4
jge 0x10076326
push str.Received_too_short_packet
push ebx
call fcn.100539c0
add esp, 8
mov dword [edi + 0xc], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
push esi
call fcn.10075e60
movzx eax, ax
add esp, 4
mov dword [edi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x10076341
jmp dword [eax*4 + 0x10076498]
cmp edx, 4
jle case.0x10076341.4
push esi
call fcn.10075e40
movzx ecx, word [edi + 0x40]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x10076341.4
lea eax, [edx - 4]
push eax
mov eax, dword [esi]
mov esi, dword [ebp - 0x88]
add eax, 4
push eax
push 1
push esi
call fcn.10053910
add esp, 0x10
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x100763af
push 5
push edi
call fcn.10076ce0
mov eax, dword [ebp - 0x8c]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x98], eax
adc dword [ebx + 0x9c], edx
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
call fcn.1005bcd0
add esp, 0xc
jmp 0x10076466
mov eax, dword [esi]
lea esi, [edx - 4]
add eax, 4
mov dword [ebp - 0x8c], eax
lea eax, [edi + 0x15c]
push eax
call fcn.10075e40
push esi
push dword [ebp - 0x8c]
movzx eax, ax
mov dword [edi + 8], eax
call fcn.10075e10
add esp, 0xc
cmp eax, esi
jae case.0x10076341.4
push dword [ebp - 0x8c]
push str.TFTP_error:__s_n
push ebx
call fcn.10053aa0
jmp 0x1007645d
lea eax, [edx - 2]
push eax
mov eax, dword [esi]
add eax, 2
push eax
push edi
call fcn.10076010
add esp, 0xc
test eax, eax
je case.0x10076341.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x10184130
push ebx
call fcn.100539c0
add esp, 0xc
mov esi, dword [ebp - 0x88]
push esi
call fcn.1005bf90
add esp, 4
test eax, eax
je 0x10076313
push 5
push edi
call fcn.10076ce0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x2a
pop edi
pop esi
pop ebx
call fcn.10153588
mov esp, ebp
pop ebp
ret
Function at 0x10076ce0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x10076cf2
jmp dword [edx*4 + 0x10076d48]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10076780
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.100764b0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10076ef0
push str.TFTP_finished
push 0x101819c8
push eax
call fcn.10053aa0
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x10184130
push eax
call fcn.100539c0
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x1007df80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 8]
call fcn.1007e0a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1007e00a
push 0xaf
push str.g:copenssl_1.0.2ecrypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.10099cb0
push 0x10189fec
push esi
push 0x10189ff0
push dword [ebp + 8]
push str.fopen_
push 5
call fcn.10099080
call fcn.1015973a
mov edx, 2
mov ecx, dword [eax]
xor eax, eax
cmp ecx, 2
setne al
lea eax, [eax*2 + 0xb2]
push eax
push str.g:copenssl_1.0.2ecrypto_bio_bss_file.c
mov eax, 0x80
cmovne eax, edx
push eax
push 0x6d
push 0x20
call fcn.10099cb0
add esp, 0x40
xor eax, eax
pop edi
pop esi
pop ebp
ret
push 0x101f30a0
call fcn.1007e690
mov esi, eax
add esp, 4
test esi, esi
jne 0x1007e02c
push edi
call fcn.101639dd
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret
push 0
push esi
call fcn.1007e2b0
push edi
push 1
push 0x6a
push esi
call fcn.1007e2e0
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebp
ret
Function at 0x10096fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x43c], ebx
test edi, edi
je 0x100970e9
lea eax, [ebp - 0x434]
push eax
push edi
call fcn.1016314e
add esp, 8
test eax, eax
js 0x100970e9
sub esp, 8
lea eax, [ebp - 0x434]
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0x30
push eax
call fcn.10096ce0
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x100970e9
push 0x101e9a18
push edi
call fcn.10163679
add esp, 8
mov dword [ebp - 0x438], eax
test eax, eax
je 0x100970d6
mov edi, 0x400
test esi, esi
jle 0x10097062
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.101642a1
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x100970b1
movd xmm0, ebx
lea eax, [ebp - 0x404]
cvtdq2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push edi
push eax
call fcn.10096ce0
add dword [ebp - 0x43c], ebx
add esp, 0x10
mov eax, dword [ebp - 0x438]
test esi, esi
jle 0x10097054
sub esi, edi
test esi, esi
jg 0x10097054
push dword [ebp - 0x438]
call fcn.101639dd
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.100a4660
mov ebx, dword [ebp - 0x43c]
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10153588
mov esp, ebp
pop ebp
ret

Function at 0x1009e020
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x10]
push eax
call fcn.10155de0
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 0x100a1a10
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x100a1a43
push 0x2e
push edi
call fcn.101554f0
add esp, 8
test eax, eax
je 0x100a1a41
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x100a58d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
xor ecx, ecx
push ebx
xor bl, bl
test edx, edx
je 0x100a5989
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp edx, 0x20
jb 0x100a5963
mov eax, dword [ebp + 8]
mov edi, edx
mov ebx, esi
and edi, 0xffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
sub ebx, eax
nop
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [esi + ecx + 0x10]
add ecx, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp ecx, edi
jb 0x100a5900
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd ebx, xmm2
cmp ecx, edx
jae 0x100a5981
mov edi, dword [ebp + 8]
sub esi, edi
sub edx, ecx
lea eax, [ecx + edi]
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or bl, cl
sub edx, 1
jne 0x100a5971
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x100aaf60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x14]
push eax
call fcn.10155de0
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
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret
Function at 0x100ac470
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.10155de0
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 0x100ac7b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.10155de0
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 0x100ad870
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 0x100ade00
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 0x100be1d0
Capabilities:
Encode data using xor

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x101f3040]
mov edi, eax
add esp, 4
test edi, edi
jne 0x100ef5cd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x100ef617
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 0x10], ebx
jmp 0x100ef61d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x100ef67b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop dword [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x100ef640
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x100ef6a7
mov eax, dword [esi + 4]
push 1
push str.6g:copenssl_1.0.2ecrypto_bn_bn_shift.c
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x101b148f
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x100ef680
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10100650
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x101006da
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10100669
cmp al, 0x6b
jne 0x101006da
inc ecx
cmp al, 0x6b
jne 0x101006ae
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x10100689
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x10100689
cmp dl, 0xbb
jne 0x101006a0
inc eax
cmp eax, esi
jl 0x10100677
sub esi, eax
test eax, eax
jne 0x101006b1
push 0x83
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_x931.c
push 0x8a
jmp 0x101006e6
push 0x7b
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_x931.c
push 0x8a
jmp 0x101006e6
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x101006c8
push 0x8b
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_x931.c
push 0x8b
jmp 0x101006e6
push esi
push ecx
push dword [ebp + 8]
call fcn.10155f40
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
push 0x70
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.10099cb0
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x101078b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 4], ecx
test edx, edx
jle 0x1010799a
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
inc edi
nop
movzx eax, byte [edi - 1]
cmp edx, 3
jl 0x10107923
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
mov cl, byte [ecx + 0x101b46a8]
mov byte [esi], cl
mov ecx, eax
shr ecx, 0xc
inc esi
and ecx, 0x3f
mov ebx, esi
mov cl, byte [ecx + 0x101b46a8]
mov byte [esi], cl
mov ecx, eax
and ecx, 0x3f
shr eax, 6
and eax, 0x3f
mov ch, byte [ecx + 0x101b46a8]
mov cl, byte [eax + 0x101b46a8]
jmp 0x1010796c
shl eax, 0x10
cmp edx, 2
jne 0x10107933
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
lea ebx, [esi + 1]
shr ecx, 0x12
mov cl, byte [ecx + 0x101b46a8]
mov byte [esi], cl
mov ecx, eax
shr ecx, 0xc
mov esi, ebx
and ecx, 0x3f
mov cl, byte [ecx + 0x101b46a8]
mov byte [ebx], cl
cmp edx, 1
jne 0x1010795e
mov cl, 0x3d
jmp 0x1010796a
shr eax, 6
and eax, 0x3f
mov cl, byte [eax + 0x101b46a8]
mov ch, 0x3d
lea eax, [esi + 2]
mov byte [ebx + 1], cl
mov byte [eax], ch
lea esi, [eax + 1]
mov ecx, dword [ebp - 4]
sub edx, 3
add ecx, 4
add edi, 3
mov dword [ebp - 4], ecx
test edx, edx
jg 0x101078d0
pop edi
mov byte [esi], 0
mov eax, ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov byte [eax], cl
mov eax, ecx
mov esp, ebp
pop ebp
ret