Function at 0x4fa790
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, edx
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x48]
cmp byte [ebp + 0x14], 0
jne 0x4fa801
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0xc]
jne 0x4fa7ef
lea eax, [ecx + ecx*2]
shr eax, 1
test ecx, ecx
mov edi, 0x20
cmovne edi, eax
cmp edi, ecx
jbe 0x4fa7fb
cmp edi, 0x3fffffff
ja 0x4fa7fb
lea eax, [edi*4]
push eax
push dword [ebp + 4]
call sym.fastboot.exe_OPENSSL_realloc
add esp, 8
test eax, eax
je 0x4fa7fb
mov dword [ebp + 4], eax
mov dword [ebp + 0xc], edi
mov ecx, dword [ebp + 8]
jmp 0x4fa7f2
mov eax, dword [ebp + 4]
mov dword [eax + ecx*4], esi
add dword [ebp + 8], 1
jmp 0x4fa801
mov word [ebp + 0x14], 0x101
push ebp
call sym.fastboot.exe_BN_CTX_get
add esp, 4
xor esi, esi
test eax, eax
je 0x4fa9b3
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x4fa868
cmp ebx, ebp
je 0x4fa872
mov edi, eax
mov ecx, eax
mov edx, ebx
mov eax, dword [esp + 0x48]
push eax
push ebp
mov ebp, eax
call fcn.004c6010
add esp, 8
test eax, eax
je 0x4fa9b3
mov dword [esp + 8], edi
mov eax, dword [edi + 4]
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov edx, eax
nop
test edx, edx
jle 0x4fa8c2
mov esi, dword [esp + 8]
mov edi, dword [esi]
lea esi, [edx - 1]
cmp dword [edi + edx*4 - 4], 0
mov edx, esi
je 0x4fa850
jmp 0x4fa8b6
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x48]
jmp 0x4fa8d6
mov ecx, dword [esp + 0x48]
push ecx
push ebp
mov ebp, ecx
push eax
mov edi, eax
call fcn.004c67d0
add esp, 0xc
test eax, eax
je 0x4fa9b3
mov dword [esp + 8], edi
mov eax, dword [edi + 4]
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov edx, eax
nop dword [eax]
test edx, edx
jle 0x4fa8c2
mov esi, dword [esp + 8]
mov edi, dword [esi]
lea esi, [edx - 1]
cmp dword [edi + edx*4 - 4], 0
mov edx, esi
je 0x4fa8a0
add esi, 1
mov eax, dword [esp + 8]
mov dword [eax + 4], esi
jmp 0x4fa8d6
mov edx, dword [esp + 8]
mov dword [edx + 4], ecx
test eax, eax
js 0x4fa8d6
mov ecx, edx
mov dword [edx + 0xc], 0
cmp byte [ebp + 0x14], 0
jne 0x4fa936
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0xc]
jne 0x4fa924
lea eax, [ecx + ecx*2]
shr eax, 1
test ecx, ecx
mov edi, 0x20
cmovne edi, eax
cmp edi, ecx
jbe 0x4fa930
cmp edi, 0x3fffffff
ja 0x4fa930
lea eax, [edi*4]
push eax
push dword [ebp + 4]
call sym.fastboot.exe_OPENSSL_realloc
add esp, 8
test eax, eax
je 0x4fa930
mov dword [ebp + 4], eax
mov dword [ebp + 0xc], edi
mov ecx, dword [ebp + 8]
jmp 0x4fa927
mov eax, dword [ebp + 4]
mov dword [eax + ecx*4], esi
add dword [ebp + 8], 1
jmp 0x4fa936
mov word [ebp + 0x14], 0x101
push ebp
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov ebx, eax
push ebp
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov esi, eax
push ebp
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov edi, eax
mov eax, dword [esp + 4]
test eax, eax
jne 0x4fa968
push ebp
call sym.fastboot.exe_BN_CTX_get
add esp, 4
movd xmm0, eax
movd xmm1, edi
punpckldq xmm1, xmm0
movd xmm0, esi
movd xmm2, ebx
punpckldq xmm2, xmm0
punpcklqdq xmm2, xmm1
pxor xmm0, xmm0
pcmpeqd xmm0, xmm2
movmskps edx, xmm0
mov ecx, esi
xor esi, esi
test edx, edx
je 0x4fa9d6
mov ebp, dword [esp + 0x48]
cmp byte [ebp + 0x14], 0
jne 0x4fa9cc
mov eax, dword [ebp + 8]
add eax, 0xffffffff
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + eax*4]
mov dword [ebp + 0x10], eax
cmp byte [ebp + 0x14], 0
jne 0x4fa9cc
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
lea edx, [ecx - 1]
mov dword [ebp + 8], edx
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp + 0x10], eax
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 8]
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
mov dword [esp + 0x18], eax
mov ebx, eax
mov dword [esp + 0x24], edx
cmovb ebx, edx
test ebx, ebx
mov dword [esp], esi
je 0x4faa51
xor eax, eax
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
mov edx, ebx
mov ebx, dword [edi + ecx*4]
mov esi, dword [esp]
mov ebp, dword [esi + ecx*4]
mov esi, edi
mov edi, ebx
sub edi, ebp
xor ebp, ebx
xor edi, ebx
or edi, ebp
xor edi, ebx
mov ebx, edx
sar edi, 0x1f
or edi, 1
test ebp, ebp
cmovne eax, edi
mov edi, esi
add ecx, 1
cmp edx, ecx
jne 0x4faa20
jmp 0x4faa53
xor eax, eax
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x24]
mov ecx, esi
mov ebp, dword [esp + 0x18]
sub ecx, ebp
jae 0x4faaa7
mov edx, ebp
sub edx, esi
xor eax, eax
mov ecx, esi
cmp edx, 8
jb 0x4fabd9
mov dword [esp + 0x14], edi
mov ecx, edx
and ecx, 0xfffffff8
lea eax, [ecx - 8]
mov edi, eax
shr edi, 3
add edi, 1
mov ebp, edi
and ebp, 3
mov dword [esp + 0x28], ebp
cmp eax, 0x18
jae 0x4faad2
pxor xmm0, xmm0
xor ebp, ebp
pxor xmm1, xmm1
jmp 0x4fab47
jbe 0x4faabd
xor eax, eax
cmp ecx, 8
jae 0x4fab9e
mov ebx, dword [esp + 4]
jmp 0x4fae12
mov ebx, dword [esp + 4]
mov edx, dword [esp + 0x1c]
test edx, edx
jns 0x4fac0a
jmp 0x4fae45
and edi, 0xfffffffc
mov eax, dword [esp]
lea eax, [eax + esi*4]
add eax, 0x70
pxor xmm0, xmm0
xor ebp, ebp
pxor xmm1, xmm1
nop dword [eax + eax]
movdqu xmm2, xmmword [eax + ebp*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [eax + ebp*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [eax + ebp*4 - 0x50]
movdqu xmm3, xmmword [eax + ebp*4 - 0x40]
movdqu xmm4, xmmword [eax + ebp*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [eax + ebp*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [eax + ebp*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [eax + ebp*4]
por xmm1, xmm2
add ebp, 0x20
add edi, 0xfffffffc
jne 0x4faaf0
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4fab7a
add ebp, esi
mov eax, dword [esp]
lea eax, [eax + ebp*4]
add eax, 0x10
shl ebx, 5
xor edi, edi
nop
movdqu xmm2, xmmword [eax + edi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [eax + edi]
por xmm1, xmm2
add edi, 0x20
cmp ebx, edi
jne 0x4fab60
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd eax, xmm0
cmp edx, ecx
jne 0x4fabcf
mov edi, dword [esp + 0x14]
jmp 0x4fabea
mov dword [esp + 0x14], edi
mov edx, ecx
and edx, 0xfffffff8
lea eax, [edx - 8]
mov edi, eax
shr edi, 3
add edi, 1
mov ebx, edi
and ebx, 3
cmp eax, 0x18
jae 0x4fad36
pxor xmm0, xmm0
xor ebp, ebp
pxor xmm1, xmm1
jmp 0x4fada7
add ecx, esi
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp]
nop dword [eax]
or eax, dword [ebx + ecx*4]
add ecx, 1
cmp ebp, ecx
jne 0x4fabe0
mov ecx, eax
not ecx
add eax, 0xffffffff
and eax, ecx
sar eax, 0x1f
not eax
mov edx, dword [esp + 0x1c]
or edx, eax
mov ebx, dword [esp + 4]
test edx, edx
js 0x4fae45
xor eax, eax
test esi, esi
cmovs eax, esi
mov ecx, esi
nop word cs:[eax + eax]
nop dword [eax]
test ecx, ecx
jle 0x4fac31
mov esi, dword [edi + ecx*4 - 4]
add ecx, 0xffffffff
test esi, esi
je 0x4fac20
jmp 0x4fac43
xor ecx, ecx
cmp dword [esp + 0x24], 0
jns 0x4facb1
mov esi, dword [edi + eax*4 - 4]
add eax, 0xffffffff
mov ecx, eax
shl ecx, 5
xor eax, eax
test esi, esi
setne al
mov edi, esi
shr edi, 0x10
xor ebx, ebx
cmp esi, 0x10000
cmovb edi, esi
setae bl
shl ebx, 4
mov esi, edi
shr esi, 8
xor edx, edx
cmp edi, 0x100
setae dl
mov dword [esp], edx
cmovb esi, edi
mov edi, esi
shr edi, 4
xor edx, edx
cmp esi, 0x10
setae dl
mov ebp, edx
cmovb edi, esi
mov esi, edi
shr esi, 2
xor edx, edx
cmp edi, 4
cmovb esi, edi
setae dl
or eax, ecx
or eax, ebx
mov ecx, dword [esp]
lea eax, [eax + ecx*8]
lea eax, [eax + ebp*4]
lea ecx, [eax + edx*2]
cmp esi, 2
sbb ecx, 0xffffffff
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x28]
add eax, eax
cmp eax, ecx
cmovle eax, ecx
mov ebx, eax
mov dword [esp], eax
cmp eax, dword [edx + 0x2c]
je 0x4faff8
mov ebp, dword [esp + 0x48]
cmp byte [ebp + 0x14], 0
jne 0x4faee0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0xc]
jne 0x4faece
lea eax, [ecx + ecx*2]
shr eax, 1
test ecx, ecx
mov edi, 0x20
cmovne edi, eax
cmp edi, ecx
jbe 0x4faeda
cmp edi, 0x3fffffff
ja 0x4faeda
lea eax, [edi*4]
push eax
push dword [ebp + 4]
call sym.fastboot.exe_OPENSSL_realloc
add esp, 8
test eax, eax
je 0x4faeda
mov dword [ebp + 4], eax
mov dword [ebp + 0xc], edi
mov ecx, dword [ebp + 8]
jmp 0x4faed1
and edi, 0xfffffffc
mov eax, dword [esp + 0x14]
lea eax, [eax + ebp*4]
add eax, 0x70
pxor xmm0, xmm0
xor ebp, ebp
pxor xmm1, xmm1
nop dword [eax]
movdqu xmm2, xmmword [eax + ebp*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [eax + ebp*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [eax + ebp*4 - 0x50]
movdqu xmm3, xmmword [eax + ebp*4 - 0x40]
movdqu xmm4, xmmword [eax + ebp*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [eax + ebp*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [eax + ebp*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [eax + ebp*4]
por xmm1, xmm2
add ebp, 0x20
add edi, 0xfffffffc
jne 0x4fad50
test ebx, ebx
je 0x4fadda
add ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea eax, [eax + ebp*4]
add eax, 0x10
shl ebx, 5
xor edi, edi
nop
movdqu xmm2, xmmword [eax + edi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [eax + edi]
por xmm1, xmm2
add edi, 0x20
cmp ebx, edi
jne 0x4fadc0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd eax, xmm0
cmp ecx, edx
jne 0x4fae06
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x4fae2a
add dword [esp + 0x18], edx
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
nop word [eax + eax]
or eax, dword [edi + ecx*4]
add ecx, 1
cmp esi, ecx
jne 0x4fae20
mov ecx, eax
not ecx
add eax, 0xffffffff
and eax, ecx
sar eax, 0x1f
and edx, eax
add edx, eax
add edx, 1
test edx, edx
jns 0x4fac0a
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], 0
mov dword [eax + 4], 0
mov esi, dword [esp + 8]
cmp ebx, esi
je 0x4faea0
push dword [esi + 4]
push ebx
call fcn.004b36f0
add esp, 8
test eax, eax
mov ebp, dword [esp + 0x48]
je 0x4fb154
mov eax, dword [esi + 4]
lea ecx, [eax*4]
test ecx, ecx
je 0x4fae95
push ecx
push dword [esi]
push dword [ebx]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
jmp 0x4faeac
test esi, esi
mov ebp, dword [esp + 0x48]
je 0x4fb154
mov esi, 1
cmp byte [ebp + 0x14], 0
jne 0x4fa9cc
mov eax, dword [ebp + 8]
add eax, 0xffffffff
mov dword [ebp + 8], eax
mov esi, 1
jmp 0x4fa9aa
mov eax, dword [ebp + 4]
mov dword [eax + ecx*4], esi
add dword [ebp + 8], 1
jmp 0x4faee0
mov word [ebp + 0x14], 0x101
push ebp
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov esi, eax
mov ebx, 0xffffffff
mov eax, dword [esp]
test eax, eax
js 0x4fafd4
test esi, esi
mov ecx, dword [esp + 0x44]
je 0x4fafd4
mov edi, eax
shr edi, 5
cmp dword [esi + 4], edi
jg 0x4fafa4
lea ebp, [edi + 1]
push ebp
push esi
call fcn.004b36f0
add esp, 8
test eax, eax
je 0x4fafd4
mov eax, dword [esi + 4]
mov ecx, edi
sub ecx, eax
jl 0x4faf96
lea edx, [ecx + 1]
and edx, 3
je 0x4faf4f
shl edx, 2
mov ebx, dword [esi]
mov dword [ebx + eax*4], 0
add eax, 1
add edx, 0xfffffffc
jne 0x4faf3e
cmp ecx, 3
jb 0x4faf96
mov ecx, edi
sub ecx, eax
add ecx, 1
shl eax, 2
xor edx, edx
mov ebx, dword [esi]
add ebx, eax
mov dword [ebx + edx*4], 0
mov ebx, dword [esi]
add ebx, eax
mov dword [ebx + edx*4 + 4], 0
mov ebx, dword [esi]
add ebx, eax
mov dword [ebx + edx*4 + 8], 0
mov ebx, dword [esi]
add ebx, eax
mov dword [ebx + edx*4 + 0xc], 0
add edx, 4
cmp ecx, edx
jne 0x4faf60
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp]
lea edx, [ecx + 0x14]
mov dword [esp + 0x18], edx
mov ebx, ecx
mov edx, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [esi]
or dword [ecx + edi*4], edx
push ebp
push ebx
push esi
push 0
push dword [esp + 0x28]
call sym.fastboot.exe_BN_div
add esp, 0x14
cmp eax, 1
sbb ebx, ebx
or ebx, dword [esp]
mov ebp, dword [esp + 0x48]
cmp byte [ebp + 0x14], 0
jne 0x4faff1
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
lea edx, [ecx - 1]
mov dword [ebp + 8], edx
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp + 0x10], eax
mov edx, dword [esp + 0x44]
mov dword [edx + 0x2c], ebx
xor esi, esi
cmp ebx, 0xffffffff
mov eax, dword [esp + 8]
je 0x4fa997
push dword [edx + 0x28]
push eax
mov ebx, dword [esp + 0x18]
push ebx
mov edi, edx
call sym.fastboot.exe_BN_rshift
add esp, 0xc
test eax, eax
je 0x4fa997
lea eax, [edi + 0x14]
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, ebx
push dword [esp + 0x48]
push eax
call fcn.004c6010
add esp, 8
test eax, eax
mov ebx, dword [esp + 4]
je 0x4fa997
mov eax, dword [edi + 4]
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov edx, eax
nop word cs:[eax + eax]
nop dword [eax]
test edx, edx
jle 0x4fb082
mov esi, dword [esp + 0xc]
mov edi, dword [esi]
lea esi, [edx - 1]
cmp dword [edi + edx*4 - 4], 0
mov edx, esi
je 0x4fb060
add esi, 1
mov edi, dword [esp + 0xc]
mov dword [edi + 4], esi
jmp 0x4fb094
mov edi, dword [esp + 0xc]
mov dword [edi + 4], ecx
test eax, eax
js 0x4fb094
mov dword [edi + 0xc], 0
mov ebp, dword [esp + 0x44]
mov eax, dword [esp]
sub eax, dword [ebp + 0x28]
push eax
push edi
push dword [esp + 0x28]
call sym.fastboot.exe_BN_rshift
add esp, 0xc
xor esi, esi
test eax, eax
je 0x4fa997
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], 0
mov ecx, edi
mov edx, ebp
push dword [esp + 0x48]
push eax
call fcn.004c6010
add esp, 8
test eax, eax
je 0x4fa997
mov eax, dword [edi + 4]
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov edx, eax
test edx, edx
jle 0x4fb108
mov esi, dword [esp + 0xc]
mov edi, dword [esi]
lea esi, [edx - 1]
cmp dword [edi + edx*4 - 4], 0
mov edx, esi
je 0x4fb0e6
add esi, 1
mov edx, dword [esp + 0xc]
mov dword [edx + 4], esi
jmp 0x4fb11a
mov edx, dword [esp + 0xc]
mov dword [edx + 4], ecx
test eax, eax
js 0x4fb11a
mov dword [edx + 0xc], 0
push edx
push dword [esp + 0xc]
push ebx
call fcn.004b4500
add esp, 0xc
test eax, eax
je 0x4fb154
mov eax, dword [ebx + 4]
xor edi, edi
test eax, eax
cmovs edi, eax
mov ecx, eax
test ecx, ecx
jle 0x4fb15b
mov esi, dword [ebx]
lea edx, [ecx - 1]
cmp dword [esi + ecx*4 - 4], 0
mov ecx, edx
je 0x4fb138
add edx, 1
mov dword [ebx + 4], edx
mov edi, edx
jmp 0x4fb169
xor esi, esi
jmp 0x4fa997
mov dword [ebx + 4], edi
test eax, eax
js 0x4fb169
mov dword [ebx + 0xc], 0
mov eax, dword [esp + 0x44]
mov dword [ebx + 0xc], 0
mov dword [esp + 0x1c], 0
mov edx, dword [ebx]
mov ecx, dword [eax]
mov dword [esp], ecx
mov eax, dword [eax + 4]
cmp edi, eax
mov dword [esp + 0x18], eax
mov ecx, edi
mov dword [esp + 0xc], edi
cmovb eax, edi
mov esi, 0
test eax, eax
je 0x4fb1d7
xor esi, esi
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
mov ebx, dword [edx + ecx*4]
mov edi, dword [esp]
mov ebp, dword [edi + ecx*4]
mov edi, ebx
sub edi, ebp
xor ebp, ebx
xor edi, ebx
or edi, ebp
xor edi, ebx
sar edi, 0x1f
or edi, 1
test ebp, ebp
cmovne esi, edi
add ecx, 1
cmp eax, ecx
jne 0x4fb1b0
mov dword [esp + 0x24], esi
mov ebx, dword [esp]
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0xc]
mov ebp, edi
mov esi, dword [esp + 0x18]
sub ebp, esi
jae 0x4fb22e
mov ecx, esi
sub ecx, edi
xor eax, eax
mov ebp, edi
cmp ecx, 8
jb 0x4fb320
mov dword [esp + 0x14], ecx
mov ebp, ecx
and ebp, 0xfffffff8
lea eax, [ebp - 8]
mov edi, eax
shr edi, 3
add edi, 1
mov edx, edi
and edx, 3
cmp eax, 0x18
jae 0x4fb259
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
jmp 0x4fb2c7
mov ecx, dword [esp + 0x10]
jbe 0x4fb248
xor eax, eax
cmp ebp, 8
jae 0x4fb34b
mov ebx, dword [esp + 4]
jmp 0x4fb444
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
jmp 0x4fb471
and edi, 0xfffffffc
mov eax, dword [esp + 0xc]
lea ecx, [ebx + eax*4]
add ecx, 0x70
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
movdqu xmm2, xmmword [ecx + eax*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + eax*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [ecx + eax*4 - 0x50]
movdqu xmm3, xmmword [ecx + eax*4 - 0x40]
movdqu xmm4, xmmword [ecx + eax*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ecx + eax*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + eax*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [ecx + eax*4]
por xmm1, xmm2
add eax, 0x20
add edi, 0xfffffffc
jne 0x4fb270
test edx, edx
mov edi, dword [esp + 0xc]
je 0x4fb2fa
add eax, edi
lea eax, [ebx + eax*4]
add eax, 0x10
shl edx, 5
xor ecx, ecx
nop dword [eax]
movdqu xmm2, xmmword [eax + ecx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [eax + ecx]
por xmm1, xmm2
add ecx, 0x20
cmp edx, ecx
jne 0x4fb2e0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd eax, xmm0
cmp dword [esp + 0x14], ebp
je 0x4fb32a
add ebp, edi
nop dword [eax]
or eax, dword [ebx + ebp*4]
add ebp, 1
cmp esi, ebp
jne 0x4fb320
mov ecx, eax
not ecx
add eax, 0xffffffff
and eax, ecx
sar eax, 0x1f
not eax
mov ecx, dword [esp + 0x24]
or ecx, eax
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 4]
jmp 0x4fb471
mov edx, ebp
and edx, 0xfffffff8
lea eax, [edx - 8]
mov ecx, eax
shr ecx, 3
add ecx, 1
mov edi, ecx
and edi, 3
cmp eax, 0x18
jae 0x4fb371
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
jmp 0x4fb3df
and ecx, 0xfffffffc
mov eax, dword [esp + 0x10]
lea ebx, [eax + esi*4]
add ebx, 0x70
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
movdqu xmm2, xmmword [ebx + eax*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [ebx + eax*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [ebx + eax*4 - 0x50]
movdqu xmm3, xmmword [ebx + eax*4 - 0x40]
movdqu xmm4, xmmword [ebx + eax*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ebx + eax*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ebx + eax*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [ebx + eax*4]
por xmm1, xmm2
add eax, 0x20
add ecx, 0xfffffffc
jne 0x4fb388
test edi, edi
je 0x4fb40e
add eax, esi
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax*4]
add eax, 0x10
shl edi, 5
xor ecx, ecx
movdqu xmm2, xmmword [eax + ecx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [eax + ecx]
por xmm1, xmm2
add ecx, 0x20
cmp edi, ecx
jne 0x4fb3f4
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd eax, xmm0
cmp ebp, edx
mov ebx, dword [esp + 4]
jne 0x4fb43a
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
jmp 0x4fb45a
add esi, edx
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
nop dword [eax + eax]
or eax, dword [ecx + esi*4]
add esi, 1
cmp edi, esi
jne 0x4fb450
mov ecx, eax
not ecx
add eax, 0xffffffff
and eax, ecx
sar eax, 0x1f
mov ecx, dword [esp + 0x24]
and ecx, eax
add ecx, eax
add ecx, 1
test ecx, ecx
mov ecx, dword [esp + 8]
js 0x4fb513
mov edi, dword [esp + 0x1c]
cmp edi, 3
mov eax, dword [esp + 0x44]
je 0x4fb557
push eax
push ebx
push ebx
call fcn.004b4500
add esp, 0xc
xor esi, esi
test eax, eax
je 0x4fa997
add edi, 1
mov dword [esp + 0x1c], edi
mov eax, dword [ebx + 4]
test eax, eax
mov ecx, 0
cmovs ecx, eax
mov edx, eax
nop dword [eax]
test edx, edx
jle 0x4fb4e2
mov edi, dword [esp + 4]
mov ebx, dword [edi]
lea edi, [edx - 1]
cmp dword [ebx + edx*4 - 4], 0
mov edx, edi
je 0x4fb4c0
add edi, 1
mov ebx, dword [esp + 4]
mov dword [ebx + 4], edi
jmp 0x4fb4f4
mov ebx, dword [esp + 4]
mov dword [ebx + 4], ecx
test eax, eax
js 0x4fb4f4
mov dword [ebx + 0xc], 0
push 1
push ebp
call sym.fastboot.exe_BN_add_word
add esp, 8
test eax, eax
je 0x4fa997
mov edi, dword [ebx + 4]
mov eax, dword [esp + 0x44]
jmp 0x4fb17c
test edi, edi
je 0x4fb576
xor edx, edx
mov eax, 0
cmp edi, 8
mov esi, dword [esp + 0x10]
jb 0x4fb63f
mov edx, edi
and edx, 0xfffffff8
lea eax, [edx - 8]
mov ecx, eax
shr ecx, 3
add ecx, 1
mov esi, ecx
and esi, 3
mov dword [esp], esi
cmp eax, 0x18
jae 0x4fb581
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
jmp 0x4fb5e9
push 0x142
push str.external_boringssl_src_crypto_fipsmodule_bn_exponentiation.c
push 0x65
push 0
push 3
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
xor esi, esi
jmp 0x4fa997
xor eax, eax
mov edx, dword [esp + 0x44]
jmp 0x4fb658
and ecx, 0xfffffffc
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
mov esi, dword [esp + 0x10]
movdqu xmm2, xmmword [esi + eax*4]
por xmm2, xmm0
movdqu xmm0, xmmword [esi + eax*4 + 0x10]
por xmm0, xmm1
movdqu xmm1, xmmword [esi + eax*4 + 0x20]
movdqu xmm3, xmmword [esi + eax*4 + 0x30]
movdqu xmm4, xmmword [esi + eax*4 + 0x40]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [esi + eax*4 + 0x50]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [esi + eax*4 + 0x60]
por xmm0, xmm4
movdqu xmm1, xmmword [esi + eax*4 + 0x70]
por xmm1, xmm2
add eax, 0x20
add ecx, 0xfffffffc
jne 0x4fb592
mov esi, dword [esp]
test esi, esi
je 0x4fb619
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax*4]
add eax, 0x10
shl esi, 5
xor ecx, ecx
movdqu xmm2, xmmword [eax + ecx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [eax + ecx]
por xmm1, xmm2
add ecx, 0x20
cmp esi, ecx
jne 0x4fb5ff
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd eax, xmm0
cmp edi, edx
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x10]
je 0x4fb649
or eax, dword [esi + edx*4]
add edx, 1
cmp edi, edx
jne 0x4fb63f
test eax, eax
mov edx, dword [esp + 0x44]
je 0x4fb656
mov eax, dword [ecx + 0xc]
jmp 0x4fb658
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [edx + 0xc]
xor eax, dword [ecx + 0xc]
mov dword [ebp + 0xc], eax
mov esi, 1
jmp 0x4fa997