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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 4]
test edi, edi
jle 0x4dd24c
mov ebp, dword [esi]
mov ebx, dword [ebp]
test bl, 1
jne 0x4dd25a
push 0x37e
push str.external_boringssl_src_crypto_fipsmodule_bn_exponentiation.c
push 0x68
jmp 0x4dd2c2
cmp dword [esi + 0xc], 0
je 0x4dd26e
push 0x382
push str.external_boringssl_src_crypto_fipsmodule_bn_exponentiation.c
push 0x6d
jmp 0x4dd2c2
mov eax, dword [esp + 0x70]
cmp dword [eax + 0xc], 0
jne 0x4dd2b6
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
push edi
push ebp
call fcn.004d7620
add esp, 8
test eax, eax
js 0x4dd2da
push 0x386
push str.external_boringssl_src_crypto_fipsmodule_bn_exponentiation.c
push 0x6b
push 0
push 3
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
xor ebx, ebx
mov eax, ebx
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4dd571
xor edi, edi
mov ebx, ecx
test ecx, ecx
jne 0x4dd312
push dword [esp + 0xc]
push esi
call sym.fastboot.exe_BN_MONT_CTX_new_consttime
add esp, 8
mov ebx, eax
mov edi, eax
test eax, eax
je 0x4dd633
mov edx, dword [ebx + 0x18]
mov ecx, 6
mov esi, dword [esp + 0x20]
cmp esi, 0x1d
jg 0x4dd342
mov ecx, 5
cmp esi, 9
jg 0x4dd342
mov ecx, 4
cmp esi, 2
jg 0x4dd342
xor eax, eax
test esi, esi
setg al
lea ecx, [eax + eax]
inc ecx
mov ebp, 1
mov dword [esp + 0x14], ecx
shl ebp, cl
lea esi, [ebp + 2]
mov dword [esp + 0x1c], edx
imul esi, edx
lea eax, [esi*4 + 0x40]
shl esi, 2
push eax
call sym.fastboot.exe_OPENSSL_malloc
add esp, 4
test eax, eax
je 0x4dd599
mov dword [esp + 8], edi
mov edx, eax
neg edx
and edx, 0x3f
mov dword [esp + 0x28], eax
add edx, eax
test esi, esi
mov dword [esp], edx
je 0x4dd39a
push esi
push 0
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, dword [esp + 0xc]
add esp, 0xc
mov dword [esp + 4], esi
mov edi, dword [esp + 0x1c]
mov eax, edi
mov ecx, dword [esp + 0x14]
shl eax, cl
lea eax, [edx + eax*4]
mov dword [esp + 0x30], eax
lea eax, [eax + edi*4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x54], 2
mov dword [esp + 0x40], 2
lea esi, [esp + 0x30]
push dword [esp + 0xc]
mov dword [esp + 0x14], ebx
push ebx
push esi
call fcn.004dd7a0
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x4dd589
push edi
push esi
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4dd589
lea edi, [esp + 0x44]
push dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push eax
push eax
push dword [esp + 0x24]
push edi
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x4dd589
mov esi, dword [esp + 0x1c]
push esi
push edi
call sym.fastboot.exe_bn_resize_words
add esp, 8
test eax, eax
je 0x4dd589
lea ecx, [esp + 0x30]
mov edx, esi
push 0
mov edi, dword [esp + 4]
push edi
call fcn.004dd830
add esp, 8
lea ecx, [esp + 0x44]
mov edx, esi
lea esi, [esp + 0x30]
push 1
push edi
call fcn.004dd830
add esp, 8
cmp dword [esp + 0x14], 2
jb 0x4dd506
push dword [esp + 0xc]
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
push eax
push esi
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x4dd75e
mov ecx, esi
mov edx, dword [esp + 0x1c]
push 2
push dword [esp + 4]
call fcn.004dd830
add esp, 8
cmp ebp, 5
mov edi, 4
cmovae edi, ebp
mov ebp, 3
push dword [esp + 0xc]
push dword [esp + 0x14]
push esi
lea eax, [esp + 0x50]
push eax
push esi
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x4dd75e
mov ecx, esi
mov edx, dword [esp + 0x1c]
push ebp
push dword [esp + 4]
call fcn.004dd830
add esp, 8
inc ebp
cmp edi, ebp
jne 0x4dd4cf
mov ecx, dword [esp + 0x20]
shl ecx, 5
lea esi, [ecx - 1]
mov eax, esi
cdq
idiv dword [esp + 0x14]
xor ebx, ebx
test edx, edx
js 0x4dd652
add ecx, 0xfffffffe
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
lea ecx, [edx + 1]
xor eax, eax
jmp 0x4dd53f
or eax, edi
dec esi
dec ecx
test ecx, ecx
jle 0x4dd648
mov edi, eax
add edi, eax
mov eax, 0
test esi, esi
js 0x4dd533
mov ebp, esi
shr ebp, 5
mov edx, esi
mov esi, dword [esp + 0x24]
cmp ebp, dword [esi + 4]
mov esi, edx
jae 0x4dd533
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov ebp, dword [eax + ebp*4]
xor eax, eax
bt ebp, esi
setb al
jmp 0x4dd533
xor ebx, 1
cmp edi, 2
jb 0x4dd5aa
mov eax, 1
cmp edi, 9
jae 0x4dd5b0
mov ecx, dword [esp + 0x2c]
jmp 0x4dd602
mov esi, dword [esp + 4]
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp 0x4dd769
xor ebx, ebx
mov dword [esp + 0x28], 0
xor ebp, ebp
jmp 0x4dd769
mov ecx, dword [esp + 0x2c]
jmp 0x4dd60b
lea ecx, [edi - 1]
mov edx, ecx
and edx, 0xfffffff8
lea eax, [edx + 1]
movd xmm1, ebx
pxor xmm0, xmm0
xor esi, esi
movdqu xmm2, xmmword [ebp + esi*4 + 4]
por xmm1, xmm2
movdqu xmm2, xmmword [ebp + esi*4 + 0x14]
por xmm0, xmm2
add esi, 8
cmp edx, esi
jne 0x4dd5c5
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ebx, xmm0
cmp ecx, edx
mov ecx, dword [esp + 0x2c]
je 0x4dd60b
or ebx, dword [ebp + eax*4]
inc eax
cmp edi, eax
jne 0x4dd602
test ebx, ebx
je 0x4dd61b
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
jmp sym.fastboot.exe_BN_one
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], 0
mov ebx, 1
jmp 0x4dd2d0
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x28], 0
xor esi, esi
xor ebp, ebp
jmp 0x4dd769
mov esi, dword [esp + 0x20]
sub esi, dword [esp + 0x18]
jmp 0x4dd654
xor eax, eax
lea ecx, [esp + 0x30]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x14]
push eax
push dword [esp + 8]
call fcn.004dd940
add esp, 0xc
test eax, eax
mov edi, dword [esp + 8]
je 0x4dd762
test esi, esi
mov eax, dword [esp + 0x14]
js 0x4dd73e
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x20], ecx
xor ebx, ebx
xor edi, edi
xor ebp, ebp
jmp 0x4dd6a4
mov ebp, dword [esp + 0x18]
or ebp, eax
dec edi
mov eax, dword [esp + 0x14]
add eax, edi
je 0x4dd6fd
push dword [esp + 0xc]
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
push eax
push eax
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x4dd75e
lea ecx, [esi + edi]
mov eax, ebp
add eax, ebp
mov dword [esp + 0x18], 0
test ecx, ecx
js 0x4dd695
mov edx, ecx
shr edx, 5
mov ebp, dword [esp + 0x24]
cmp edx, dword [ebp + 4]
jae 0x4dd695
mov ebp, dword [esp + 0x24]
mov ebp, dword [ebp]
mov ebp, dword [ebp + edx*4]
xor edx, edx
bt ebp, ecx
setb dl
mov dword [esp + 0x18], edx
jmp 0x4dd695
lea esi, [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x1c]
push dword [esp + 0x14]
push ebp
push dword [esp + 8]
call fcn.004dd940
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x4dd75e
push dword [esp + 0xc]
push dword [esp + 0x14]
push esi
lea eax, [esp + 0x3c]
push eax
push eax
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
mov esi, dword [esp + 0x20]
jmp 0x4dd66d
push dword [esp + 0xc]
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x38]
call sym.fastboot.exe_BN_from_montgomery
add esp, 0x10
xor ebx, ebx
test eax, eax
setne bl
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
mov ebp, dword [esp]
push edi
call sym.fastboot.exe_BN_MONT_CTX_free
add esp, 4
test ebp, ebp
mov eax, dword [esp + 0x28]
je 0x4dd78c
test eax, eax
jne 0x4dd78c
push esi
push ebp
call sym.fastboot.exe_OPENSSL_cleanse
mov eax, dword [esp + 0x30]
add esp, 8
push eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
jmp 0x4dd2d0