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

Disassembly:
mov eax, 0x4c
call fcn.005c85a0
push ebx
mov ebx, dword [esp + 0x54]
xor eax, eax
push ebp
push esi
xor esi, esi
mov dword [esp + 0x4c], 0
push edi
push dword [ebx + 8]
mov dword [esp + 0x48], 0
xor ebp, ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
call fcn.004c04a0
mov edi, dword [esp + 0x6c]
add esp, 4
test eax, eax
jne 0x51cf0b
push dword [ebx + 0xc]
call fcn.004c04a0
add esp, 4
test eax, eax
jne 0x51cf0b
mov eax, dword [ebx + 8]
cmp edi, eax
je 0x51ced6
test edi, edi
je 0x51ceda
cmp dword [esp + 0x6c], esi
jne 0x51cf13
push dword [esp + 0x78]
push ebp
push edi
push dword [esp + 0x70]
push ebx
call fcn.0051c7f0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
jne 0x51cf13
cmp dword [esp + 0x6c], 1
jne 0x51cf0b
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x51cf0b
push dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push dword [eax]
push ecx
push dword [esp + 0x70]
push ebx
call fcn.0051c7f0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
je 0x51cffb
push ebx
call fcn.0048a8b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x51cf4f
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0x71
push 0x10
call fcn.004a9a30
add esp, 0x18
jmp 0x51d2b7
mov ebp, dword [ebx + 0x64]
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x51cfe8
cmp dword [ebp + 8], esi
je 0x51cfe8
mov eax, dword [ebp + 0x10]
push dword [esp + 0x78]
push dword [eax]
push ecx
push ebx
call fcn.004dbcd0
add esp, 0x10
test eax, eax
jne 0x51cfe8
mov esi, dword [ebp + 4]
push edi
mov dword [esp + 0x30], esi
call fcn.004c06d0
xor edx, edx
mov ecx, dword [ebp + 0xc]
div esi
mov esi, dword [ebp + 8]
dec ecx
add esp, 4
lea edx, [eax + 1]
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], eax
mov eax, esi
imul eax, dword [esp + 0x48]
cmp dword [ebp + 0x14], eax
je 0x51cfe1
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0103
push 0x10
call fcn.004a9a30
add esp, 0x18
xor ebp, ebp
jmp 0x51d2b7
cmp edx, esi
cmovbe esi, edx
jmp 0x51cff7
xor eax, eax
mov esi, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x6c]
add eax, esi
push 0
push 0x66fd1f
mov dword [esp + 0x28], eax
lea esi, [eax*4]
push esi
call fcn.004a53d0
push 0
push 0x66fd1f
push esi
mov dword [esp + 0x30], eax
call fcn.004a53d0
push 0
lea ecx, [esi + 4]
mov dword [esp + 0x40], eax
push 0x66fd1f
push ecx
call fcn.004a53d0
push 0
mov ebp, eax
push 0x66fd1f
push esi
mov dword [esp + 0x58], ebp
call fcn.004a53d0
add esp, 0x30
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x51d063
mov dword [ebp], 0
cmp dword [esp + 0x18], 0
je 0x51d898
mov esi, dword [esp + 0x24]
test esi, esi
je 0x51d898
test ebp, ebp
je 0x51d898
test eax, eax
je 0x51d898
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x3c], 0
lea ecx, [eax + edx]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x51d1a5
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x74]
sub ecx, edi
mov dword [esp + 0x4c], ecx
sub eax, edi
mov ecx, esi
mov dword [esp + 0x74], eax
sub ecx, edi
mov dword [esp + 0x58], ecx
nop dword [eax + eax]
mov esi, dword [esp + 0x68]
cmp ebp, edx
jae 0x51d0dd
mov eax, dword [eax + edi]
jmp 0x51d0df
mov eax, esi
push eax
call fcn.004c06d0
add esp, 4
cmp eax, 0x7d0
jb 0x51d0f6
mov ecx, 6
jmp 0x51d126
cmp eax, 0x320
jb 0x51d104
mov ecx, 5
jmp 0x51d126
cmp eax, 0x12c
jb 0x51d112
mov ecx, 4
jmp 0x51d126
cmp eax, 0x46
jb 0x51d11e
mov ecx, 3
jmp 0x51d126
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
mov eax, 1
dec ecx
shl eax, cl
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + edi + 4], 0
cmp ebp, dword [esp + 0x6c]
jae 0x51d14f
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + edi]
jmp 0x51d151
mov eax, esi
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.00523060
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x51d2b3
mov eax, dword [esi]
cmp eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
cmovbe eax, dword [esp + 0x1c]
inc ebp
mov ecx, eax
add edi, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
cmp ebp, dword [esp + 0x38]
jb 0x51d0d0
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x14], 0
je 0x51d49c
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x51d1ed
cmp eax, 1
je 0x51d49c
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0103
push 0x10
call fcn.004a9a30
add esp, 0x18
jmp 0x51d2b3
mov dword [esp + 0x30], 0
test eax, eax
jne 0x51d1c1
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
mov dword [ecx + edx*4], eax
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
call fcn.00523060
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x34], ebp
test ebp, ebp
je 0x51d2b3
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x1c]
ja 0x51d25a
mov edx, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [eax + edx*4], ebp
mov dword [eax + edx*4 + 4], 0
mov eax, dword [esp + 0x24]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
jmp 0x51d49c
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
imul eax, edi
cmp ecx, eax
jae 0x51d37b
lea eax, [edi - 1]
xor edx, edx
add eax, ecx
div edi
cmp eax, dword [esi + 8]
jbe 0x51d36f
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0103
push 0x10
call fcn.004a9a30
push 0
push 0x66fd1f
push ebp
call fcn.004a5400
add esp, 0x24
mov ebp, dword [esp + 0x10]
xor edi, edi
push dword [esp + 0x44]
call fcn.004dbf20
push 0
push 0x66fd1f
push dword [esp + 0x24]
call fcn.004a5400
push 0
push 0x66fd1f
push dword [esp + 0x3c]
call fcn.004a5400
mov ebx, dword [esp + 0x44]
add esp, 0x1c
test ebx, ebx
je 0x51d31f
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x51d30f
push 0
push 0x66fd1f
push eax
call fcn.004a5400
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x51d2f5
push 0
push 0x66fd1f
push ebx
call fcn.004a5400
add esp, 0xc
test edi, edi
je 0x51d353
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x51d343
nop dword [eax + eax]
push eax
call fcn.004dbc90
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x51d330
push 0
push 0x66fd1f
push edi
call fcn.004a5400
add esp, 0xc
push 0
push 0x66fd1f
push ebp
call fcn.004a5400
mov eax, dword [esp + 0x60]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x20], eax
jmp 0x51d383
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
mov edi, edx
mov ebp, dword [esi + 0x10]
cmp edx, eax
jae 0x51d489
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
lea esi, [ebx + edx*4]
mov edx, dword [esp + 0x28]
sub edx, ebx
sub eax, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], eax
nop
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
dec eax
cmp edi, eax
jae 0x51d3d3
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
cmp ecx, eax
jb 0x51d451
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x51d3d5
mov dword [esi], ecx
push 0
mov dword [edx + esi + 4], 0
push 0x66fd1f
push dword [esi]
call fcn.004a53d0
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x51d4ef
push dword [esi]
push dword [esp + 0x18]
push eax
call fcn.005c9520
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x1c]
cmovbe eax, dword [esp + 0x1c]
cmp dword [ebp], 0
mov ecx, eax
mov dword [esp + 0x1c], ecx
je 0x51d451
mov eax, dword [esp + 0x58]
inc edi
mov dword [eax + esi], ebp
add esi, 4
mov eax, dword [esp + 0x48]
lea ebp, [ebp + eax*4]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
cmp edi, dword [esp + 0x20]
jae 0x51d485
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
jmp 0x51d3b0
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0103
push 0x10
call fcn.004a9a30
push 0
push 0x66fd1f
push dword [esp + 0x54]
jmp 0x51d2ab
mov dword [esp + 0x1c], ecx
push 0
push 0x66fd1f
push dword [esp + 0x3c]
call fcn.004a5400
add esp, 0xc
mov ebp, dword [esp + 0x3c]
push 0
push 0x66fd1f
lea eax, [ebp*4 + 4]
push eax
call fcn.004a53d0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x51d511
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push edi
push 0x66fd1f
call fcn.004a9a20
push edi
push 0xc0100
push 0x10
call fcn.004a9a30
add esp, 0x18
mov ebp, dword [esp + 0x10]
jmp 0x51d2b9
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0100
jmp 0x51d46e
lea eax, [edi + ebp*4]
mov esi, edi
xor edx, edx
mov dword [eax], 0
mov edi, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
test edi, edi
je 0x51d596
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
sub eax, ebp
mov dword [esp + 0x58], eax
nop dword [eax]
mov dword [eax + ebp], esi
xor edi, edi
mov ecx, dword [ebp]
mov eax, 1
dec ecx
shl eax, cl
test eax, eax
je 0x51d57e
push ebx
call fcn.004dc370
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x51d8c4
mov ecx, dword [ebp]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x51d554
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x58]
add ebp, 4
mov dword [esp + 0x4c], edx
cmp edx, edi
jb 0x51d540
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x51d5ce
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0103
push 0x10
call fcn.004a9a30
add esp, 0x18
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x51d2b9
push ebx
call fcn.004dc370
mov ecx, eax
add esp, 4
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x51d8c4
xor ebp, ebp
test edi, edi
je 0x51d6bc
mov ecx, dword [esp + 0x10]
mov edi, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x18]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], esi
nop dword [eax]
cmp ebp, dword [esp + 0x6c]
jae 0x51d61b
push dword [eax + edi]
jmp 0x51d61f
push dword [esp + 0x50]
mov eax, dword [edi]
push dword [eax]
call fcn.004dbd80
add esp, 8
test eax, eax
je 0x51d8c4
cmp dword [esi + edi], 1
jbe 0x51d6aa
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x4c]
push ebx
call fcn.004dbe10
add esp, 0x10
test eax, eax
je 0x51d5c1
mov ecx, dword [esp + 0x34]
mov esi, 1
mov eax, esi
mov ecx, dword [ecx + edi]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x51d6a6
nop dword [eax + eax]
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x48]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebx
call fcn.004dbbd0
add esp, 0x14
test eax, eax
je 0x51d5c1
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x51d670
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x38]
jb 0x51d610
mov eax, dword [ebx]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x51d4e6
mov esi, dword [esp + 0x78]
push esi
push edi
push dword [esp + 0x44]
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x51d4e6
mov ecx, dword [esp + 0x1c]
mov ebp, 1
mov edi, dword [esp + 0x64]
sub ecx, ebp
mov dword [esp + 0x3c], ecx
js 0x51d875
nop
test ebp, ebp
jne 0x51d71c
push esi
push edi
push edi
push ebx
call fcn.004dbe10
add esp, 0x10
test eax, eax
je 0x51d5c1
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x4c], 0
jbe 0x51d82f
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub edx, eax
mov ebx, dword [esp + 0x10]
sub eax, ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], eax
nop word [eax + eax]
add eax, ebx
cmp dword [eax + edx], ecx
jbe 0x51d811
mov eax, dword [eax]
movsx esi, byte [eax + ecx]
test esi, esi
je 0x51d80d
mov eax, esi
shr eax, 0x1f
test eax, eax
je 0x51d774
neg esi
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x51d7a8
test ebp, ebp
jne 0x51d79d
push dword [esp + 0x78]
push edi
push dword [esp + 0x68]
call fcn.004dc080
add esp, 0xc
test eax, eax
je 0x51d5c1
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
sar esi, 1
mov eax, dword [eax + esi*4]
test ebp, ebp
je 0x51d7e7
push eax
push edi
call fcn.004dbd80
add esp, 8
test eax, eax
je 0x51d5c1
mov esi, dword [esp + 0x78]
push esi
push edi
push dword [esp + 0x68]
call fcn.004dccd0
add esp, 0xc
test eax, eax
je 0x51d853
mov ecx, dword [esp + 0x3c]
xor ebp, ebp
mov edx, dword [esp + 0x50]
jmp 0x51d811
mov esi, dword [esp + 0x78]
push esi
push eax
push edi
push edi
push dword [esp + 0x70]
call fcn.004dbbd0
add esp, 0x14
test eax, eax
je 0x51d5c1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
jmp 0x51d811
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
add ebx, 4
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
jb 0x51d750
mov ebx, dword [esp + 0x60]
sub ecx, 1
mov dword [esp + 0x3c], ecx
jns 0x51d700
test ebp, ebp
jne 0x51d875
cmp dword [esp + 0x40], ebp
je 0x51d883
push esi
push edi
push ebx
call fcn.004dc080
add esp, 0xc
jmp 0x51d87f
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xa3
jmp 0x51d5b7
push edi
push ebx
call fcn.004dc630
add esp, 8
test eax, eax
je 0x51d8c4
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x54], 1
jmp 0x51d2b9
call fcn.004a9920
push str.ossl_ec_wNAF_mul
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0100
push 0x10
call fcn.004a9a30
add esp, 0x18
jmp 0x51d2b3
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x51d2b9