Function at 0x561600
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]
xorps xmm0, xmm0
movups xmmword [esp + 0xbc], xmm0
movups xmmword [esp + 0xac], xmm0
movups xmmword [esp + 0x5c], xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0x7c], xmm0
movups xmmword [esp + 0x6c], xmm0
cmp esi, 0x800
jb 0x561662
call sym.fastboot.exe_EVP_sha256
jmp 0x561667
call sym.fastboot.exe_EVP_sha1
mov ebp, eax
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 0x5616b4
xor edi, edi
cmp ebx, dword [esp + 0xec]
ja 0x561cfd
test ebx, ebx
je 0x5616b4
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
call sym.fastboot.exe_BN_CTX_new
test eax, eax
je 0x561bb7
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 0x561bab
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 0x561bab
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 0x561bc0
cmp dword [esp + 8], 0
sete byte [esp + 8]
jne 0x5617e9
push ebx
push edi
call sym.fastboot.exe_RAND_bytes
add esp, 8
test eax, eax
je 0x561cd4
test ebx, ebx
je 0x561832
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 0x561832
lea ecx, [eax - 1]
cmp eax, ebx
mov eax, ecx
jb 0x561820
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 0x561cd4
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 0x561cd4
test ebx, ebx
je 0x56191e
xor ecx, ecx
cmp ebx, 8
jb 0x561910
xor eax, eax
cmp ebx, 0x20
jb 0x5618da
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 0x5618a0
cmp ebx, ecx
je 0x56191e
mov ecx, dword [esp + 0x20]
mov eax, ecx
test bl, 0x18
je 0x561910
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 0x5618e0
mov ecx, edx
cmp ebx, edx
je 0x56191e
nop word cs:[eax + eax]
movzx eax, byte [esp + ecx + 0x6c]
xor byte [esp + ecx + 0x4c], al
inc ecx
cmp ebx, ecx
jne 0x561910
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 0x561cd4
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 0x561b84
push 0
push 2
push ebp
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x561cd4
push 0
push 3
push ebp
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x561cd4
xor eax, eax
mov esi, dword [esp]
test eax, eax
je 0x5619bc
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 0x561d0a
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 0x561a00
inc byte [esp + eax + 0x8c]
lea eax, [eax - 1]
je 0x5619f0
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 0x561cd4
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 0x561cd4
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 0x561cd4
push esi
mov esi, dword [esp + 8]
push esi
push esi
call sym.fastboot.exe_BN_add
add esp, 0xc
test eax, eax
je 0x561cd4
lea eax, [edi + 1]
cmp edi, dword [esp + 0x40]
mov edi, eax
jne 0x5619e0
push dword [esp + 0x30]
push esi
call sym.fastboot.exe_BN_mask_bits
add esp, 8
test eax, eax
je 0x561cd4
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 0x561bc9
push dword [esp + 0x10]
push ebp
push ebp
call sym.fastboot.exe_BN_add
add esp, 0xc
test eax, eax
je 0x561bc9
push dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push esi
call sym.fastboot.exe_BN_lshift1
add esp, 8
test eax, eax
je 0x561bc9
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 0x561bc9
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 0x561cd4
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 0x561cd4
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 0x561b63
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 0x561bd4
jne 0x561d0a
mov eax, dword [esp + 8]
inc eax
cmp eax, 0x1000
jne 0x5619a0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
jmp 0x5617b5
mov dword [esp + 8], 0
test eax, eax
lea edi, [esp + 0xac]
mov eax, dword [esp + 0x24]
je 0x5617b5
xor ebp, ebp
mov esi, dword [esp]
xor ecx, ecx
jmp 0x561cdb
xor edi, edi
xor ebp, ebp
mov esi, dword [esp]
jmp 0x561ce2
xor edi, edi
xor ebp, ebp
jmp 0x561cf4
xor ecx, ecx
xor ebp, ebp
jmp 0x561cd8
xor ebp, ebp
xor ecx, ecx
mov esi, edi
jmp 0x561cdb
push 1
push 2
push ebp
call sym.fastboot.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x561cd4
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 0x561cd4
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 0x561d0a
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 0x561cd4
push 2
push edi
call sym.fastboot.exe_BN_set_word
add esp, 8
test eax, eax
je 0x561dd4
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 0x561dd4
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 0x561d10
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 0x561ddf
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 0x561c89
jmp 0x561cdb
xor ebp, ebp
xor ecx, ecx
mov esi, dword [esp]
movzx edi, cl
test esi, esi
je 0x561cf4
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 0x561cdb
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 0x561dc6
mov esi, dword [esp + 0xe0]
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 [esi + 0xc]
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 + 4], eax
push dword [esp + 0x1c]
call sym.fastboot.exe_BN_dup
add esp, 4
mov dword [esi + 8], eax
push dword [esp + 0x18]
call sym.fastboot.exe_BN_dup
add esp, 4
mov dword [esi + 0xc], eax
cmp dword [esi + 4], 0
je 0x561dd4
mov ecx, dword [esp + 0xe0]
cmp dword [ecx + 8], 0
je 0x561dd4
test eax, eax
je 0x561dd4
cmp dword [esp + 0xf0], 0
je 0x561db3
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
cmp dword [esp + 0xf4], 0
je 0x561dc6
mov eax, dword [esp + 0xf4]
mov dword [eax], ebx
mov ebp, dword [esp + 4]
mov esi, dword [esp]
mov ecx, edi
jmp 0x561cdb
xor ecx, ecx
mov ebp, dword [esp + 4]
jmp 0x561cd8
xor ecx, ecx
jmp 0x561cdb