Function at 0x4d5050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [eax], 0
cmp dword [ecx + 0xc], 0
jne 0x4d508f
mov eax, dword [esp + 0x78]
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov edi, dword [eax + 4]
mov ecx, esi
mov edx, ebx
push edi
push ebp
call fcn.004cdee0
mov edx, dword [esp + 0x78]
add esp, 8
test eax, eax
js 0x4d50b3
push 0xae
push str.external_boringssl_src_crypto_fipsmodule_bn_gcd_extra.c
push 0x6b
push 0
push 3
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
xor ecx, ecx
mov eax, ecx
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], edi
test ebx, ebx
je 0x4d514f
xor eax, eax
mov ecx, 0
cmp ebx, 8
jb 0x4d5116
mov eax, ebx
and eax, 0xfffffff8
pxor xmm0, xmm0
xor ecx, ecx
pxor xmm1, xmm1
nop dword [eax]
movdqu xmm2, xmmword [esi + ecx*4]
por xmm0, xmm2
movdqu xmm2, xmmword [esi + ecx*4 + 0x10]
por xmm1, xmm2
add ecx, 8
cmp eax, ecx
jne 0x4d50e0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movd ecx, xmm1
jmp 0x4d511a
or ecx, dword [esi + eax*4]
inc eax
cmp ebx, eax
jne 0x4d5116
test ecx, ecx
je 0x4d514f
test ebx, ebx
jle 0x4d512f
test byte [esi], 1
jne 0x4d51f4
cmp dword [esp], 0
jle 0x4d513f
test byte [ebp], 1
jne 0x4d51f4
mov dword [edx], 1
push 0xc7
jmp 0x4d51e8
mov edi, dword [esp]
test edi, edi
je 0x4d51dd
mov eax, dword [esp + 0x78]
cmp dword [eax + 0xc], 0
jne 0x4d51dd
mov ecx, dword [ebp]
xor ecx, 1
cmp edi, 2
jl 0x4d51d9
mov eax, 1
cmp edi, 9
jb 0x4d51d0
lea edx, [edi - 1]
mov esi, edx
and esi, 0xfffffff8
lea eax, [esi + 1]
movd xmm1, ecx
pxor xmm0, xmm0
xor ecx, ecx
nop
movdqu xmm2, xmmword [ebp + ecx*4 + 4]
por xmm1, xmm2
movdqu xmm2, xmmword [ebp + ecx*4 + 0x14]
por xmm0, xmm2
add ecx, 8
cmp esi, ecx
jne 0x4d5190
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ecx, xmm0
cmp edx, esi
mov edx, dword [esp + 0x70]
je 0x4d51d9
nop dword [eax]
or ecx, dword [ebp + eax*4]
inc eax
cmp edi, eax
jne 0x4d51d0
test ecx, ecx
je 0x4d524e
mov dword [edx], 1
push 0xb7
push str.external_boringssl_src_crypto_fipsmodule_bn_gcd_extra.c
push 0x70
jmp 0x4d509b
mov edi, dword [esp + 0x7c]
mov eax, dword [esp]
cmp ebx, eax
cmovae ebx, eax
cmp byte [edi + 0x14], 0
jne 0x4d527b
mov ecx, dword [edi + 8]
mov ebp, dword [edi + 0x10]
cmp ecx, dword [edi + 0xc]
jne 0x4d526a
lea eax, [ecx + ecx*2]
shr eax, 1
test ecx, ecx
mov esi, 0x20
cmovne esi, eax
cmp esi, ecx
jbe 0x4d5275
cmp esi, 0x3fffffff
ja 0x4d5275
lea eax, [esi*4]
push eax
push dword [edi + 4]
call sym.fastboot.exe_OPENSSL_realloc
add esp, 8
test eax, eax
je 0x4d5275
mov dword [edi + 4], eax
mov dword [edi + 0xc], esi
mov ecx, dword [edi + 8]
jmp 0x4d526d
mov eax, dword [esp + 0x6c]
mov dword [eax + 0xc], 0
mov dword [eax + 4], 0
mov ecx, 1
jmp 0x4d50a9
mov eax, dword [edi + 4]
mov dword [eax + ecx*4], ebp
inc dword [edi + 8]
jmp 0x4d527b
mov word [edi + 0x14], 0x101
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x24], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x20], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x2c], 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 ebp, eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x30], eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov esi, eax
push edi
call sym.fastboot.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x38], ebp
movd xmm0, ebp
mov ecx, dword [esp + 0x30]
movd xmm1, ecx
punpckldq xmm0, xmm1
movd xmm1, esi
movd xmm2, eax
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movd xmm1, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
movd xmm2, ecx
punpckldq xmm2, xmm1
movd xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
movd xmm3, ecx
punpckldq xmm1, xmm3
punpcklqdq xmm2, xmm1
pxor xmm1, xmm1
pcmpeqd xmm2, xmm1
pcmpeqd xmm0, xmm1
packssdw xmm2, xmm0
pmovmskb edx, xmm2
xor ecx, ecx
test edx, edx
je 0x4d5354
mov edi, dword [esp + 0x7c]
cmp byte [edi + 0x14], 0
jne 0x4d50a9
jmp 0x4d54b3
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x24]
cmp ebp, esi
mov edi, dword [esp + 0x7c]
je 0x4d53a8
push dword [esi + 4]
push ebp
call fcn.004cb800
add esp, 8
test eax, eax
je 0x4d54a7
mov eax, dword [esi + 4]
lea ecx, [eax*4]
test ecx, ecx
je 0x4d539f
push ecx
push dword [esi]
push dword [ebp]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
push dword [esp + 0x78]
push dword [esp + 0x24]
call sym.fastboot.exe_BN_copy
add esp, 8
test eax, eax
je 0x4d54a7
push dword [esp + 0x2c]
call sym.fastboot.exe_BN_one
add esp, 4
test eax, eax
je 0x4d54a7
push dword [esp + 0x30]
call sym.fastboot.exe_BN_one
add esp, 4
test eax, eax
je 0x4d54a7
mov esi, dword [esp]
push esi
push ebp
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4d54a7
push esi
push dword [esp + 0x24]
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4d54a7
push esi
push dword [esp + 0x30]
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4d54a7
push esi
push dword [esp + 0x3c]
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4d54a7
push ebx
push dword [esp + 0x40]
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4d54a7
push ebx
push dword [esp + 0x34]
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4d54a7
mov esi, dword [esp]
push esi
push dword [esp + 0x14]
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4d54a7
push esi
push dword [esp + 0x50]
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4d6051
mov eax, ebx
shl eax, 5
lea ecx, [ebx + esi]
shl ecx, 5
mov dword [esp + 0x50], ecx
cmp ecx, eax
jae 0x4d54cf
push 0xf8
push str.external_boringssl_src_crypto_fipsmodule_bn_gcd_extra.c
push 0x66
jmp 0x4d6045
xor ecx, ecx
cmp byte [edi + 0x14], 0
jne 0x4d50a9
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, dword [edi + 8]
lea edx, [ecx - 1]
mov dword [edi + 8], edx
mov eax, dword [eax + ecx*4 - 4]
mov ecx, esi
mov dword [edi + 0x10], eax
jmp 0x4d50a9
cmp dword [esp + 0x50], 0
mov ebp, dword [esp + 0x10]
je 0x4d6003
lea eax, [ebx*4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp]
lea eax, [ecx*4]
mov dword [esp + 0x18], eax
mov eax, ecx
and eax, 0xfffffff8
mov dword [esp + 0x34], eax
mov eax, ebx
and eax, 0xfffffff8
mov dword [esp + 0x44], eax
xor esi, esi
jmp 0x4d5690
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ecx, dword [ecx]
mov edx, dword [ecx]
and edx, 1
dec edx
mov edi, dword [esi]
mov edi, dword [edi]
and edi, 1
dec edi
mov dword [esp + 8], edi
mov edi, edx
mov dword [esp + 0x14], edx
push dword [esp]
push eax
call fcn.004d7b50
add esp, 8
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov eax, dword [ecx]
and eax, 1
neg eax
mov esi, dword [esp + 0x3c]
mov edx, dword [esi]
mov edx, dword [edx]
and edx, 1
neg edx
or edx, eax
and edx, edi
mov edi, edx
push dword [esp]
push dword [ebp]
mov ebp, dword [esp + 0x80]
push dword [ebp]
call fcn.004d7da0
add esp, 0xc
mov dword [esp + 4], eax
mov ebp, esi
mov ecx, dword [esi]
mov edx, edi
push ebx
mov eax, dword [esp + 0x14]
push dword [eax]
mov edi, dword [esp + 0x7c]
push dword [edi]
call fcn.004d7da0
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [esp + 4]
mov edi, dword [esp]
push edi
mov eax, dword [esp + 0x14]
push dword [eax]
mov esi, dword [esp + 0x1c]
push esi
call fcn.004d8020
add esp, 0xc
mov ecx, dword [ebp]
mov edx, dword [esp + 0xc]
push ebx
mov eax, dword [esp + 0x14]
push dword [eax]
push esi
call fcn.004d8020
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov esi, dword [esp + 8]
mov edx, esi
push edi
mov ebp, edi
mov eax, dword [esp + 0x14]
push dword [eax]
call fcn.004d7b50
add esp, 8
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov eax, dword [ecx]
and eax, 1
neg eax
mov edi, dword [esp + 0x30]
mov edx, dword [edi]
mov edx, dword [edx]
and edx, 1
neg edx
or edx, eax
and edx, esi
mov esi, edx
push ebp
mov eax, dword [esp + 0x14]
push dword [eax]
mov eax, dword [esp + 0x80]
push dword [eax]
mov ebp, dword [esp + 0x1c]
call fcn.004d7da0
add esp, 0xc
mov dword [esp + 0x14], eax
mov ecx, dword [edi]
mov edx, esi
push ebx
push dword [ebp]
mov eax, dword [esp + 0x7c]
push dword [eax]
call fcn.004d7da0
add esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov esi, edi
mov edx, dword [esp + 0x14]
push dword [esp]
push dword [ebp]
mov edi, dword [esp + 0x10]
push edi
call fcn.004d8020
add esp, 0xc
mov ecx, dword [esi]
mov edx, dword [esp + 4]
push ebx
push dword [ebp]
push edi
call fcn.004d8020
add esp, 0xc
mov esi, dword [esp + 0x54]
inc esi
cmp esi, dword [esp + 0x50]
je 0x4d6003
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov ecx, dword [eax]
and ecx, 1
neg ecx
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
mov edi, dword [edx]
and edi, 1
neg edi
and edi, ecx
push dword [esp]
push eax
push edx
push dword [ebp]
call fcn.004cc380
add esp, 0x10
mov dword [esp + 0x1c], eax
dec eax
mov dword [esp + 0x28], edi
and eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp]
cmp dword [esp], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], esi
je 0x4d5706
mov edx, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 8], edx
not edx
mov dword [esp + 4], edx
cmp dword [esp], 8
jae 0x4d5715
mov edx, dword [esp]
mov eax, ecx
jmp 0x4d579a
mov edx, ebp
mov edi, ebp
mov edx, eax
mov eax, dword [esp + 0xc]
jmp 0x4d5821
mov edx, dword [esp + 0x18]
lea esi, [ecx + edx]
mov edi, dword [esp + 0xc]
cmp edi, esi
mov edx, dword [esp]
mov eax, ecx
mov ecx, dword [esp + 8]
jae 0x4d5737
mov esi, dword [esp + 0x18]
add esi, edi
cmp eax, esi
jb 0x4d579a
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movd xmm1, dword [esp + 4]
pshufd xmm1, xmm1, 0
xor ebp, ebp
mov esi, dword [esp + 0x34]
movdqu xmm2, xmmword [eax + ebp*4]
movdqu xmm3, xmmword [eax + ebp*4 + 0x10]
movdqu xmm4, xmmword [edi + ebp*4]
movdqu xmm5, xmmword [edi + ebp*4 + 0x10]
pand xmm2, xmm0
pand xmm3, xmm0
pand xmm4, xmm1
por xmm4, xmm2
pand xmm5, xmm1
por xmm5, xmm3
movdqu xmmword [edi + ebp*4], xmm4
movdqu xmmword [edi + ebp*4 + 0x10], xmm5
add ebp, 8
cmp esi, ebp
jne 0x4d5751
mov ebp, esi
mov edx, dword [esp]
cmp edx, esi
je 0x4d580f
mov edi, ebp
or edi, 1
test dl, 1
jne 0x4d57aa
mov ecx, dword [esp + 8]
jmp 0x4d57cb
mov edx, dword [eax + ebp*4]
mov ecx, dword [esp + 8]
and edx, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xc]
mov esi, dword [edx + ebp*4]
and esi, dword [esp + 4]
or esi, dword [esp + 0x48]
mov dword [edx + ebp*4], esi
mov ebp, edi
mov edx, dword [esp]
cmp edx, edi
mov edi, dword [esp + 0xc]
je 0x4d580f
mov esi, dword [eax + ebp*4]
and esi, ecx
mov edx, dword [edi + ebp*4]
mov ecx, eax
mov eax, dword [esp + 4]
and edx, eax
or edx, esi
mov dword [edi + ebp*4], edx
mov edx, dword [ecx + ebp*4 + 4]
and edx, dword [esp + 8]
mov esi, dword [edi + ebp*4 + 4]
and esi, eax
mov eax, ecx
or esi, edx
mov edx, dword [esp]
mov ecx, dword [esp + 8]
mov dword [edi + ebp*4 + 4], esi
add ebp, 2
cmp edx, ebp
jne 0x4d57d6
mov edi, dword [esp + 0x10]
mov edx, dword [edi]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, edx
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
neg ebp
mov esi, dword [esp]
push esi
push eax
push dword [edx]
push ecx
call fcn.004cc380
add esp, 0x10
mov edx, dword [esp + 0x28]
and edx, ebp
mov eax, dword [edi]
test esi, esi
mov dword [esp + 0x28], edx
je 0x4d5866
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx]
xor ebp, ebp
mov dword [esp + 8], edx
not edx
mov dword [esp + 4], edx
cmp esi, 8
jae 0x4d586d
mov edx, dword [esp]
jmp 0x4d58ec
mov ebp, edi
jmp 0x4d596a
mov edx, dword [esp + 0x18]
lea esi, [eax + edx]
cmp edi, esi
mov edx, dword [esp]
mov ecx, dword [esp + 8]
jae 0x4d5889
mov esi, dword [esp + 0x18]
add esi, edi
cmp eax, esi
jb 0x4d58ec
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movd xmm1, dword [esp + 4]
pshufd xmm1, xmm1, 0
xor ebp, ebp
mov esi, dword [esp + 0x34]
movdqu xmm2, xmmword [eax + ebp*4]
movdqu xmm3, xmmword [eax + ebp*4 + 0x10]
movdqu xmm4, xmmword [edi + ebp*4]
movdqu xmm5, xmmword [edi + ebp*4 + 0x10]
pand xmm2, xmm0
pand xmm3, xmm0
pand xmm4, xmm1
por xmm4, xmm2
pand xmm5, xmm1
por xmm5, xmm3
movdqu xmmword [edi + ebp*4], xmm4
movdqu xmmword [edi + ebp*4 + 0x10], xmm5
add ebp, 8
cmp esi, ebp
jne 0x4d58a3
mov ebp, esi
mov edx, dword [esp]
cmp edx, esi
je 0x4d5963
mov esi, ebp
or esi, 1
test dl, 1
jne 0x4d58fc
mov ecx, dword [esp + 8]
jmp 0x4d5923
mov edx, dword [eax + ebp*4]
mov ecx, dword [esp + 8]
and edx, ecx
mov dword [esp + 0x1c], edx
mov edx, edi
mov dword [esp + 0xc], esi
mov esi, dword [edi + ebp*4]
and esi, dword [esp + 4]
or esi, dword [esp + 0x1c]
mov dword [edi + ebp*4], esi
mov esi, dword [esp + 0xc]
mov ebp, esi
mov edx, dword [esp]
cmp edx, esi
je 0x4d5963
mov esi, dword [eax + ebp*4]
and esi, ecx
mov edx, dword [edi + ebp*4]
mov ecx, eax
mov eax, dword [esp + 4]
and edx, eax
or edx, esi
mov dword [edi + ebp*4], edx
mov edx, dword [ecx + ebp*4 + 4]
and edx, dword [esp + 8]
mov esi, dword [edi + ebp*4 + 4]
and esi, eax
mov eax, ecx
or esi, edx
mov edx, dword [esp]
mov ecx, dword [esp + 8]
mov dword [edi + ebp*4 + 4], esi
add ebp, 2
cmp edx, ebp
jne 0x4d592a
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
mov esi, dword [esp]
push esi
mov ecx, dword [esp + 0x3c]
push dword [ecx]
mov ecx, dword [esp + 0x34]
push dword [ecx]
push eax
call fcn.004cb890
add esp, 0x10
mov dword [esp + 8], eax
push esi
mov eax, dword [esp + 0x7c]
push dword [eax]
push dword [ebp]
mov edi, dword [esp + 0x58]
push dword [edi]
call fcn.004cc380
mov ecx, dword [esp + 0x18]
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp]
test esi, esi
mov dword [esp + 8], ecx
je 0x4d5cd9
mov edx, ecx
mov ecx, dword [edi]
xor ebp, ebp
mov edi, edx
not edi
mov dword [esp + 0xc], edi
cmp esi, 8
mov dword [esp + 4], edx
jb 0x4d5a54
mov edx, dword [esp + 0x18]
lea esi, [ecx + edx]
mov edx, dword [esp + 4]
cmp eax, esi
mov edi, dword [esp + 0xc]
jae 0x4d59f1
mov edx, dword [esp + 0x18]
lea esi, [eax + edx]
mov edx, dword [esp + 4]
cmp ecx, esi
jb 0x4d5a54
movd xmm0, edx
pshufd xmm0, xmm0, 0
movd xmm1, edi
pshufd xmm1, xmm1, 0
xor ebp, ebp
mov edx, dword [esp + 0x34]
movdqu xmm2, xmmword [eax + ebp*4]
movdqu xmm3, xmmword [eax + ebp*4 + 0x10]
movdqu xmm4, xmmword [ecx + ebp*4]
movdqu xmm5, xmmword [ecx + ebp*4 + 0x10]
pand xmm2, xmm0
pand xmm3, xmm0
pand xmm4, xmm1
por xmm4, xmm2
pand xmm5, xmm1
por xmm5, xmm3
movdqu xmmword [eax + ebp*4], xmm4
movdqu xmmword [eax + ebp*4 + 0x10], xmm5
add ebp, 8
cmp edx, ebp
jne 0x4d5a09
mov ebp, edx
cmp dword [esp], edx
mov edx, dword [esp + 4]
je 0x4d5ab0
mov edi, ebp
or edi, 1
test byte [esp], 1
je 0x4d5a78
mov esi, dword [eax + ebp*4]
and esi, edx
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + ebp*4]
and esi, dword [esp + 0xc]
or esi, dword [esp + 0x1c]
mov dword [eax + ebp*4], esi
mov ebp, edi
cmp dword [esp], edi
mov edi, dword [esp + 0xc]
je 0x4d5ab0
mov esi, dword [eax + ebp*4]
and esi, edx
mov edx, dword [ecx + ebp*4]
and edx, edi
or edx, esi
mov dword [eax + ebp*4], edx
mov edx, dword [eax + ebp*4 + 4]
and edx, dword [esp + 4]
mov esi, dword [ecx + ebp*4 + 4]
and esi, edi
or esi, edx
mov edx, dword [esp + 4]
mov dword [eax + ebp*4 + 4], esi
add ebp, 2
cmp dword [esp], ebp
jne 0x4d5a81
mov ebp, dword [esp + 0x28]
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov esi, ebp
not esi
mov dword [esp + 0xc], esi
cmp dword [esp], 8
jb 0x4d5b47
mov esi, dword [esp + 0x18]
add esi, edx
cmp ecx, esi
mov edi, dword [esp + 0xc]
jae 0x4d5ae8
mov esi, dword [esp + 0x18]
add esi, ecx
cmp edx, esi
jb 0x4d5b47
movd xmm0, ebp
pshufd xmm0, xmm0, 0
movd xmm1, edi
pshufd xmm1, xmm1, 0
xor eax, eax
mov esi, dword [esp + 0x34]
movdqu xmm2, xmmword [edx + eax*4]
movdqu xmm3, xmmword [edx + eax*4 + 0x10]
movdqu xmm4, xmmword [ecx + eax*4]
movdqu xmm5, xmmword [ecx + eax*4 + 0x10]
pand xmm2, xmm0
pand xmm3, xmm0
pand xmm4, xmm1
por xmm4, xmm2
pand xmm5, xmm1
por xmm5, xmm3
movdqu xmmword [ecx + eax*4], xmm4
movdqu xmmword [ecx + eax*4 + 0x10], xmm5
add eax, 8
cmp esi, eax
jne 0x4d5b00
mov eax, esi
cmp dword [esp], esi
je 0x4d5bab
mov esi, eax
or esi, 1
test byte [esp], 1
je 0x4d5b6d
mov edi, dword [edx + eax*4]
and edi, ebp
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + eax*4]
and esi, dword [esp + 0xc]
or esi, edi
mov dword [ecx + eax*4], esi
mov esi, dword [esp + 0x1c]
mov eax, esi
cmp dword [esp], esi
je 0x4d5bab
mov edi, edx
mov dword [esp + 4], ebp
mov esi, dword [edi + eax*4]
and esi, ebp
mov ebp, dword [ecx + eax*4]
mov edx, dword [esp + 0xc]
and ebp, edx
or ebp, esi
mov dword [ecx + eax*4], ebp
mov esi, dword [edi + eax*4 + 4]
and esi, dword [esp + 4]
mov ebp, dword [ecx + eax*4 + 4]
and ebp, edx
or ebp, esi
mov dword [ecx + eax*4 + 4], ebp
mov ebp, dword [esp + 4]
add eax, 2
cmp dword [esp], eax
jne 0x4d5b78
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov ebp, dword [ecx]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov dword [esp + 4], esi
mov edx, esi
not edx
mov dword [esp + 0xc], edx
cmp dword [esp], 8
jae 0x4d5bd4
xor eax, eax
jmp 0x4d5c56
mov esi, dword [esp + 0x18]
add esi, ecx
cmp ebp, esi
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov eax, 0
jae 0x4d5bf5
mov esi, dword [esp + 0x18]
add esi, ebp
cmp ecx, esi
jb 0x4d5c56
movd xmm0, edx
pshufd xmm0, xmm0, 0
movd xmm1, edi
pshufd xmm1, xmm1, 0
xor eax, eax
mov esi, dword [esp + 0x34]
movdqu xmm2, xmmword [ecx + eax*4]
movdqu xmm3, xmmword [ecx + eax*4 + 0x10]
movdqu xmm4, xmmword [ebp + eax*4]
movdqu xmm5, xmmword [ebp + eax*4 + 0x10]
pand xmm2, xmm0
pand xmm3, xmm0
pand xmm4, xmm1
por xmm4, xmm2
pand xmm5, xmm1
por xmm5, xmm3
movdqu xmmword [ebp + eax*4], xmm4
movdqu xmmword [ebp + eax*4 + 0x10], xmm5
add eax, 8
cmp esi, eax
jne 0x4d5c0d
mov eax, esi
cmp dword [esp], esi
je 0x4d5cd2
mov edi, eax
or edi, 1
test byte [esp], 1
jne 0x4d5c65
mov esi, eax
jmp 0x4d5c84
mov edx, dword [ecx + eax*4]
and edx, dword [esp + 4]
mov dword [esp + 0x48], edx
mov edx, ebp
mov esi, dword [ebp + eax*4]
and esi, dword [esp + 0xc]
or esi, dword [esp + 0x48]
mov dword [ebp + eax*4], esi
mov esi, edi
mov edx, dword [esp]
cmp edx, edi
mov edi, dword [esp + 4]
mov dword [esp + 0x1c], ecx
je 0x4d5cd2
mov eax, ebp
mov ecx, esi
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + ecx*4]
and esi, edi
mov ebp, dword [eax + ecx*4]
mov edi, edx
mov edx, dword [esp + 0xc]
and ebp, edx
or ebp, esi
mov dword [eax + ecx*4], ebp
mov esi, dword [edi + ecx*4 + 4]
and esi, dword [esp + 4]
mov ebp, dword [eax + ecx*4 + 4]
and ebp, edx
or ebp, esi
mov edx, dword [esp]
mov dword [eax + ecx*4 + 4], ebp
mov edi, dword [esp + 4]
add ecx, 2
cmp edx, ecx
jne 0x4d5c97
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
push ebx
mov ecx, dword [esp + 0x34]
push dword [ecx]
mov ecx, dword [esp + 0x44]
push dword [ecx]
push eax
call fcn.004cb890
add esp, 0x10
push ebx
mov eax, dword [esp + 0x78]
push dword [eax]
push dword [ebp]
mov edi, dword [esp + 0x58]
push dword [edi]
call fcn.004cc380
add esp, 0x10
mov eax, dword [ebp]
test ebx, ebx
mov esi, dword [esp + 0x20]
je 0x4d5ffa
mov edi, dword [edi]
mov edx, dword [esp + 8]
xor ebp, ebp
mov dword [esp + 8], edx
not edx
mov dword [esp + 4], edx
cmp ebx, 8
jb 0x4d5da8
mov edx, dword [esp + 0x40]
lea esi, [edi + edx]
cmp eax, esi
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
jae 0x4d5d4a
mov esi, dword [esp + 0x40]
add esi, eax
cmp edi, esi
jb 0x4d5da8
movd xmm0, edx
pshufd xmm0, xmm0, 0
movd xmm1, ecx
pshufd xmm1, xmm1, 0
xor ebp, ebp
mov edx, dword [esp + 0x44]
movdqu xmm2, xmmword [eax + ebp*4]
movdqu xmm3, xmmword [eax + ebp*4 + 0x10]
movdqu xmm4, xmmword [edi + ebp*4]
movdqu xmm5, xmmword [edi + ebp*4 + 0x10]
pand xmm2, xmm0
pand xmm3, xmm0
pand xmm4, xmm1
por xmm4, xmm2
pand xmm5, xmm1
por xmm5, xmm3
movdqu xmmword [eax + ebp*4], xmm4
movdqu xmmword [eax + ebp*4 + 0x10], xmm5
add ebp, 8
cmp edx, ebp
jne 0x4d5d62
mov ebp, edx
cmp ebx, edx
je 0x4d5e01
mov ecx, ebp
or ecx, 1
test bl, 1
je 0x4d5dc7
mov edx, dword [eax + ebp*4]
and edx, dword [esp + 8]
mov esi, dword [edi + ebp*4]
and esi, dword [esp + 4]
or esi, edx
mov dword [eax + ebp*4], esi
mov ebp, ecx
cmp ebx, ecx
mov edx, dword [esp + 8]
je 0x4d5e01
mov esi, dword [eax + ebp*4]
and esi, edx
mov edx, dword [edi + ebp*4]
mov ecx, dword [esp + 4]
and edx, ecx
or edx, esi
mov dword [eax + ebp*4], edx
mov edx, dword [eax + ebp*4 + 4]
and edx, dword [esp + 8]
mov esi, dword [edi + ebp*4 + 4]
and esi, ecx
or esi, edx
mov edx, dword [esp + 8]
mov dword [eax + ebp*4 + 4], esi
add ebp, 2
cmp ebx, ebp
jne 0x4d5dcf
mov edx, dword [esp + 0x28]
xor ebp, ebp
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov dword [esp + 0x28], edx
not edx
mov dword [esp + 4], edx
cmp ebx, 8
jb 0x4d5e98
mov edx, dword [esp + 0x40]
lea esi, [eax + edx]
cmp edi, esi
mov ecx, dword [esp + 0x28]
jae 0x4d5e38
lea esi, [edi + edx]
cmp eax, esi
jb 0x4d5e98
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movd xmm1, dword [esp + 4]
pshufd xmm1, xmm1, 0
xor ebp, ebp
mov edx, dword [esp + 0x44]
movdqu xmm2, xmmword [eax + ebp*4]
movdqu xmm3, xmmword [eax + ebp*4 + 0x10]
movdqu xmm4, xmmword [edi + ebp*4]
movdqu xmm5, xmmword [edi + ebp*4 + 0x10]
pand xmm2, xmm0
pand xmm3, xmm0
pand xmm4, xmm1
por xmm4, xmm2
pand xmm5, xmm1
por xmm5, xmm3
movdqu xmmword [edi + ebp*4], xmm4
movdqu xmmword [edi + ebp*4 + 0x10], xmm5
add ebp, 8
cmp edx, ebp
jne 0x4d5e52
mov ebp, edx
cmp ebx, edx
je 0x4d5efb
mov ecx, ebp
or ecx, 1
test bl, 1
je 0x4d5eb7
mov edx, dword [eax + ebp*4]
and edx, dword [esp + 0x28]
mov esi, dword [edi + ebp*4]
and esi, dword [esp + 4]
or esi, edx
mov dword [edi + ebp*4], esi
mov ebp, ecx
cmp ebx, ecx
mov ecx, dword [esp + 0x28]
je 0x4d5efb
mov dword [esp + 8], eax
mov esi, dword [eax + ebp*4]
and esi, ecx
mov edx, dword [edi + ebp*4]
mov eax, ecx
mov ecx, dword [esp + 4]
and edx, ecx
or edx, esi
mov dword [edi + ebp*4], edx
mov edx, dword [esp + 8]
mov edx, dword [edx + ebp*4 + 4]
and edx, eax
mov esi, dword [edi + ebp*4 + 4]
and esi, ecx
mov ecx, eax
mov eax, dword [esp + 8]
or esi, edx
mov dword [edi + ebp*4 + 4], esi
add ebp, 2
cmp ebx, ebp
jne 0x4d5ec3
mov edx, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x14], edx
not edx
mov dword [esp + 8], edx
cmp ebx, 8
jb 0x4d5f94
mov edx, dword [esp + 0x40]
lea esi, [ecx + edx]
cmp eax, esi
jae 0x4d5f2e
lea esi, [eax + edx]
cmp ecx, esi
jb 0x4d5f94
movd xmm0, dword [esp + 0x14]
pshufd xmm0, xmm0, 0
movd xmm1, dword [esp + 8]
pshufd xmm1, xmm1, 0
xor ebp, ebp
mov edx, dword [esp + 0x44]
movdqu xmm2, xmmword [ecx + ebp*4]
movdqu xmm3, xmmword [ecx + ebp*4 + 0x10]
movdqu xmm4, xmmword [eax + ebp*4]
movdqu xmm5, xmmword [eax + ebp*4 + 0x10]
pand xmm2, xmm0
pand xmm3, xmm0
pand xmm4, xmm1
por xmm4, xmm2
pand xmm5, xmm1
por xmm5, xmm3
movdqu xmmword [eax + ebp*4], xmm4
movdqu xmmword [eax + ebp*4 + 0x10], xmm5
add ebp, 8
cmp edx, ebp
jne 0x4d5f4a
mov ebp, edx
cmp ebx, edx
je 0x4d5510
mov edx, ebp
or edx, 1
test bl, 1
je 0x4d5fb3
mov edi, dword [ecx + ebp*4]
and edi, dword [esp + 0x14]
mov esi, dword [eax + ebp*4]
and esi, dword [esp + 8]
or esi, edi
mov dword [eax + ebp*4], esi
mov ebp, edx
cmp ebx, edx
mov edi, dword [esp + 0x14]
je 0x4d5510
mov esi, dword [ecx + ebp*4]
and esi, edi
mov edx, dword [eax + ebp*4]
mov edi, ecx
mov ecx, dword [esp + 8]
and edx, ecx
or edx, esi
mov dword [eax + ebp*4], edx
mov edx, dword [edi + ebp*4 + 4]
and edx, dword [esp + 0x14]
mov esi, dword [eax + ebp*4 + 4]
and esi, ecx
mov ecx, edi
or esi, edx
mov edi, dword [esp + 0x14]
mov dword [eax + ebp*4 + 4], esi
add ebp, 2
cmp ebx, ebp
jne 0x4d5fbf
jmp 0x4d5510
mov ecx, dword [esp + 0x24]
jmp 0x4d551f
push dword [esp + 0x24]
call sym.fastboot.exe_BN_is_one
add esp, 4
test eax, eax
je 0x4d602f
push dword [esp + 0x2c]
push dword [esp + 0x70]
call sym.fastboot.exe_BN_copy
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
jmp 0x4d5341
mov eax, dword [esp + 0x70]
mov dword [eax], 1
push 0x13f
push str.external_boringssl_src_crypto_fipsmodule_bn_gcd_extra.c
push 0x70
push 0
push 3
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
mov edi, dword [esp + 0x7c]
xor ecx, ecx
cmp byte [edi + 0x14], 0
jne 0x4d50a9
jmp 0x4d54b3