Function at 0x559a80
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xcc
mov eax, dword [esp + 0xe8]
mov dword [esp + 8], eax
mov esi, dword [esp + 0xe4]
cmp esi, 0x800
jb 0x559aab
call sym.fastboot.exe_EVP_sha256
jmp 0x559ab0
call sym.fastboot.exe_EVP_sha1
mov ebp, eax
xorps xmm0, xmm0
movups xmmword [esp + 0xbc], xmm0
movups xmmword [esp + 0xac], xmm0
push eax
call sym.fastboot.exe_EVP_MD_size
add esp, 4
mov ebx, eax
cmp esi, 0x201
mov eax, 0x200
cmovae eax, esi
mov esi, eax
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x559b10
xor edi, edi
cmp ebx, dword [esp + 0xec]
ja 0x55a17d
test ebx, ebx
je 0x559b10
lea eax, [esp + 0xac]
push ebx
push ecx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [esp + 0x5c], xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmmword [esp + 0x7c], xmm0
call sym.fastboot.exe_BN_CTX_new
test eax, eax
je 0x55a037
mov edi, eax
push eax
call sym.fastboot.exe_BN_CTX_start
add esp, 4
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x14], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x18], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 4], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x1c], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x28], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x3c], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp], edi
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
test eax, eax
je 0x55a02b
mov edi, esi
add edi, 0x3f
and edi, 0xffffffc0
mov esi, eax
call sym.fastboot.exe_BN_value_one
dec edi
push edi
push eax
mov dword [esp + 0x18], esi
push esi
call sym.fastboot.exe_BN_lshift
add esp, 0xc
test eax, eax
je 0x55a02b
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0xf8]
mov ecx, 0xcccccccd
mov dword [esp + 0x30], edi
mov eax, edi
mul ecx
shr edx, 7
mov dword [esp + 0x40], edx
mov eax, ebx
and eax, 0xffffffe0
mov dword [esp + 0x20], eax
mov eax, ebx
and eax, 0xfffffff8
mov dword [esp + 0x34], eax
lea eax, [ebx - 1]
mov dword [esp + 0x48], eax
lea eax, [ebx*8]
mov dword [esp + 0x44], eax
lea eax, [ebx - 2]
mov dword [esp + 0x38], eax
lea edi, [esp + 0xac]
xor eax, eax
mov esi, eax
push eax
push 0
push ebp
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x55a040
cmp dword [esp + 8], 0
sete byte [esp + 8]
jne 0x559c6c
push ebx
push edi
call sym.fastboot.exe_RAND_bytes
add esp, 8
test eax, eax
je 0x55a154
test ebx, ebx
je 0x559cb2
push ebx
push edi
lea eax, [esp + 0x94]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
push ebx
push edi
lea eax, [esp + 0x74]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x38]
nop word cs:[eax + eax]
inc byte [esp + eax + 0x8d]
jne 0x559cb2
lea ecx, [eax - 1]
cmp eax, ebx
mov eax, ecx
jb 0x559ca0
push 0
mov ebp, dword [esp + 0x30]
push ebp
push 0
lea eax, [esp + 0x58]
push eax
push ebx
push edi
call sym.fastboot.exe_EVP_Digest
add esp, 0x18
test eax, eax
je 0x55a154
push 0
push ebp
push 0
lea eax, [esp + 0x78]
push eax
push ebx
lea eax, [esp + 0xa0]
push eax
call sym.fastboot.exe_EVP_Digest
add esp, 0x18
test eax, eax
je 0x55a154
test ebx, ebx
je 0x559d9e
xor ecx, ecx
cmp ebx, 8
jb 0x559d90
xor eax, eax
cmp ebx, 0x20
jb 0x559d5a
xor eax, eax
mov ecx, dword [esp + 0x20]
nop word cs:[eax + eax]
movups xmm0, xmmword [esp + eax + 0x6c]
movups xmm1, xmmword [esp + eax + 0x7c]
movups xmm2, xmmword [esp + eax + 0x4c]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + eax + 0x5c]
xorps xmm0, xmm1
movups xmmword [esp + eax + 0x4c], xmm2
movups xmmword [esp + eax + 0x5c], xmm0
add eax, 0x20
cmp ecx, eax
jne 0x559d20
cmp ebx, ecx
je 0x559d9e
mov ecx, dword [esp + 0x20]
mov eax, ecx
test bl, 0x18
je 0x559d90
mov edx, dword [esp + 0x34]
nop
movsd xmm0, qword [esp + eax + 0x6c]
movsd xmm1, qword [esp + eax + 0x4c]
xorps xmm1, xmm0
movlps qword [esp + eax + 0x4c], xmm1
add eax, 8
cmp edx, eax
jne 0x559d60
mov ecx, edx
cmp ebx, edx
je 0x559d9e
nop word cs:[eax + eax]
movzx eax, byte [esp + ecx + 0x6c]
xor byte [esp + ecx + 0x4c], al
inc ecx
cmp ebx, ecx
jne 0x559d90
or byte [esp + 0x4c], 0x80
or byte [esp + ebx + 0x4b], 1
mov edi, dword [esp + 0x1c]
push edi
push ebx
lea eax, [esp + 0x54]
push eax
call sym.fastboot.exe_BN_bin2bn
add esp, 0xc
test eax, eax
je 0x55a154
inc esi
mov dword [esp + 0x24], esi
xor eax, eax
movzx ecx, byte [esp + 8]
mov al, cl
mov ebp, dword [esp + 0xf8]
push ebp
push eax
push dword [esp + 8]
push 0x32
push edi
call sym.fastboot.exe_BN_is_prime_fasttest_ex
add esp, 0x14
test eax, eax
jle 0x55a004
push 0
push 2
push ebp
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x55a154
push 0
push 3
push ebp
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x55a154
xor eax, eax
mov esi, dword [esp]
test eax, eax
je 0x559e3c
push eax
push 0
push ebp
mov edi, eax
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
mov eax, edi
je 0x55a18a
mov dword [esp + 8], eax
push dword [esp + 4]
call sym.fastboot.exe_BN_zero
add esp, 4
xor edi, edi
mov ebp, dword [esp + 0x2c]
nop word cs:[eax + eax]
mov eax, dword [esp + 0x48]
nop word cs:[eax + eax]
cmp eax, ebx
jae 0x559e80
inc byte [esp + eax + 0x8c]
lea eax, [eax - 1]
je 0x559e70
push 0
push ebp
push 0
lea esi, [esp + 0x58]
push esi
push ebx
lea eax, [esp + 0xa0]
push eax
call sym.fastboot.exe_EVP_Digest
add esp, 0x18
test eax, eax
je 0x55a154
mov eax, esi
mov esi, dword [esp + 0x14]
push esi
push ebx
push eax
call sym.fastboot.exe_BN_bin2bn
add esp, 0xc
test eax, eax
je 0x55a154
mov eax, dword [esp + 0x44]
imul eax, edi
push eax
push esi
push esi
call sym.fastboot.exe_BN_lshift
add esp, 0xc
test eax, eax
je 0x55a154
push esi
mov esi, dword [esp + 8]
push esi
push esi
call sym.fastboot.exe_BN_add
add esp, 0xc
test eax, eax
je 0x55a154
lea eax, [edi + 1]
cmp edi, dword [esp + 0x40]
mov edi, eax
jne 0x559e60
push dword [esp + 0x30]
push esi
call sym.fastboot.exe_BN_mask_bits
add esp, 8
test eax, eax
je 0x55a154
push esi
mov ebp, dword [esp + 0x2c]
push ebp
call sym.fastboot.exe_BN_copy
add esp, 8
test eax, eax
mov edi, dword [esp]
je 0x55a049
push dword [esp + 0x10]
push ebp
push ebp
call sym.fastboot.exe_BN_add
add esp, 0xc
test eax, eax
je 0x55a049
push dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push esi
call sym.fastboot.exe_BN_lshift1
add esp, 8
test eax, eax
je 0x55a049
push edi
push esi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
push 0
call sym.fastboot.exe_BN_div
add esp, 0x14
test eax, eax
je 0x55a049
call sym.fastboot.exe_BN_value_one
push eax
push ebp
push esi
call sym.fastboot.exe_BN_sub
add esp, 0xc
test eax, eax
je 0x55a154
push esi
push dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
push edi
call sym.fastboot.exe_BN_sub
add esp, 0xc
test eax, eax
je 0x55a154
push dword [esp + 0x10]
push edi
call sym.fastboot.exe_BN_cmp
add esp, 8
test eax, eax
mov ebp, dword [esp + 0xf8]
mov esi, dword [esp]
lea edi, [esp + 0xac]
js 0x559fe3
push ebp
push 1
push esi
push 0x32
push dword [esp + 0x1c]
call sym.fastboot.exe_BN_is_prime_fasttest_ex
add esp, 0x14
test eax, eax
jg 0x55a054
jne 0x55a18a
mov eax, dword [esp + 8]
inc eax
cmp eax, 0x1000
jne 0x559e20
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
jmp 0x559c38
mov dword [esp + 8], 0
test eax, eax
lea edi, [esp + 0xac]
mov eax, dword [esp + 0x24]
je 0x559c38
xor ebp, ebp
mov esi, dword [esp]
xor ecx, ecx
jmp 0x55a15b
xor edi, edi
xor ebp, ebp
mov esi, dword [esp]
jmp 0x55a162
xor edi, edi
xor ebp, ebp
jmp 0x55a174
xor ecx, ecx
xor ebp, ebp
jmp 0x55a158
xor ebp, ebp
xor ecx, ecx
mov esi, edi
jmp 0x55a15b
push 1
push 2
push ebp
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x55a154
call sym.fastboot.exe_BN_value_one
push eax
mov ebx, dword [esp + 0x10]
push ebx
mov edi, dword [esp + 0x18]
push edi
call sym.fastboot.exe_BN_sub
add esp, 0xc
test eax, eax
je 0x55a154
mov esi, dword [esp]
push esi
push dword [esp + 0x20]
push edi
push 0
push dword [esp + 0x24]
call sym.fastboot.exe_BN_div
add esp, 0x14
test eax, eax
je 0x55a18a
push esi
push ebx
call sym.fastboot.exe_BN_MONT_CTX_new_for_modulus
add esp, 8
mov dword [esp + 4], eax
test eax, eax
je 0x55a154
push 2
push edi
call sym.fastboot.exe_BN_set_word
add esp, 8
test eax, eax
je 0x55a251
push dword [esp + 4]
push dword [esp + 4]
push dword [esp + 0x14]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x2c]
call sym.fastboot.exe_BN_mod_exp_mont
add esp, 0x18
test eax, eax
je 0x55a251
mov ebx, 2
mov ebp, dword [esp + 4]
mov edi, dword [esp + 0x18]
mov esi, dword [esp]
push edi
call sym.fastboot.exe_BN_is_one
add esp, 4
test eax, eax
je 0x55a190
call sym.fastboot.exe_BN_value_one
push eax
mov edi, dword [esp + 0x14]
push edi
push edi
call sym.fastboot.exe_BN_add
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
je 0x55a25c
inc ebx
push ebp
push esi
push dword [esp + 0x14]
push eax
push edi
mov edi, dword [esp + 0x2c]
push edi
call sym.fastboot.exe_BN_mod_exp_mont
add esp, 0x18
xor ecx, ecx
test eax, eax
jne 0x55a109
jmp 0x55a15b
xor ebp, ebp
xor ecx, ecx
mov esi, dword [esp]
movzx edi, cl
test esi, esi
je 0x55a174
push esi
call sym.fastboot.exe_BN_CTX_end
add esp, 4
push esi
call sym.fastboot.exe_BN_CTX_free
add esp, 4
push ebp
call sym.fastboot.exe_BN_MONT_CTX_free
add esp, 4
mov eax, edi
add esp, 0xcc
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebp, ebp
xor ecx, ecx
jmp 0x55a15b
push 1
push 3
push dword [esp + 0x100]
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
setne al
mov edi, eax
je 0x55a243
mov esi, dword [esp + 0xe0]
push dword [esi]
call sym.fastboot.exe_BN_free
add esp, 4
push dword [esi + 4]
call sym.fastboot.exe_BN_free
add esp, 4
push dword [esi + 8]
call sym.fastboot.exe_BN_free
add esp, 4
push dword [esp + 0xc]
call sym.fastboot.exe_BN_dup
add esp, 4
mov dword [esi], eax
push dword [esp + 0x1c]
call sym.fastboot.exe_BN_dup
add esp, 4
mov dword [esi + 4], eax
push dword [esp + 0x18]
call sym.fastboot.exe_BN_dup
add esp, 4
mov dword [esi + 8], eax
cmp dword [esi], 0
je 0x55a251
mov ecx, dword [esp + 0xe0]
cmp dword [ecx + 4], 0
je 0x55a251
test eax, eax
je 0x55a251
cmp dword [esp + 0xf0], 0
je 0x55a230
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
cmp dword [esp + 0xf4], 0
je 0x55a243
mov eax, dword [esp + 0xf4]
mov dword [eax], ebx
mov ebp, dword [esp + 4]
mov esi, dword [esp]
mov ecx, edi
jmp 0x55a15b
xor ecx, ecx
mov ebp, dword [esp + 4]
jmp 0x55a158
xor ecx, ecx
jmp 0x55a15b