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

Disassembly:
mov eax, 0x54
call fcn.00557360
mov ecx, dword [esp + 0x5c]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x5c]
push esi
xor esi, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov edx, dword [ebp]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], eax
cmp edx, dword [ecx]
je 0x50ecae
push 0x246
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004cbfd0
add esp, 0x14
xor eax, eax
pop esi
pop ebp
add esp, 0x54
ret
push ebx
mov ebx, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x50ecd2
test ebx, ebx
jne 0x50ecd2
push ecx
push ebp
call fcn.004e35d0
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x54
ret
cmp dword [ebp + 0xc], eax
je 0x50ed2c
cmp dword [ebp + 0x20], eax
je 0x50ed2c
test edi, edi
je 0x50ecff
test ebx, ebx
jne 0x50ed2c
push dword [esp + 0x80]
push ebx
push edi
push ecx
push ebp
call fcn.0050e6c0
add esp, 0x14
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x54
ret
cmp ebx, 1
jne 0x50ed2c
push dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push dword [eax]
mov eax, dword [esp + 0x84]
push dword [eax]
push ecx
push ebp
call fcn.0050e6c0
add esp, 0x14
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x54
ret
mov eax, dword [esp + 0x78]
xor ecx, ecx
test ebx, ebx
je 0x50ed46
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x50eda7
mov eax, dword [esp + 0x78]
inc ecx
cmp ecx, ebx
jb 0x50ed36
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x50ed6a
call fcn.004dd3c0
mov dword [esp + 0x58], eax
mov dword [esp + 0x20], eax
test eax, eax
je 0x50f30d
test edi, edi
je 0x50ee6f
push ebp
call fcn.004caa70
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
test esi, esi
jne 0x50edcc
push 0x27a
push str..cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.004cbfd0
add esp, 0x14
xor ebx, ebx
jmp 0x50f267
push 0x26c
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004cbfd0
add esp, 0x14
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x54
ret
push 0x50ea90
push fcn.0050eb30
push 0x50eb00
push dword [ebp + 0x44]
call fcn.004e21c0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x50ee58
cmp dword [ebx + 8], 0
je 0x50ee58
mov ecx, dword [ebx + 0x10]
push dword [esp + 0x20]
push dword [ecx]
push esi
push ebp
call fcn.004e2ec0
add esp, 0x10
test eax, eax
jne 0x50ee58
mov esi, dword [ebx + 4]
push edi
mov dword [esp + 0x1c], esi
call fcn.004ddce0
xor edx, edx
mov ecx, dword [ebx + 0xc]
div esi
mov edx, dword [ebx + 8]
add esp, 4
lea esi, [eax + 1]
mov eax, 1
cmp esi, edx
cmova esi, edx
dec ecx
shl eax, cl
imul edx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x50], eax
cmp dword [ebx + 0x14], edx
je 0x50ee6b
push 0x299
push str..cryptoecec_mult.c
push 0x44
jmp 0x50ed91
mov esi, 1
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x74]
lea eax, [esi + ebx]
push 0x2a7
lea esi, [eax*4]
mov dword [esp + 0x34], eax
push str..cryptoecec_mult.c
push esi
call fcn.004d64b0
push 0x2a8
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x34], eax
call fcn.004d64b0
push 0x2aa
lea ecx, [esi + 4]
mov dword [esp + 0x44], eax
push str..cryptoecec_mult.c
push ecx
call fcn.004d64b0
push 0x2ab
mov ebx, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x40], ebx
call fcn.004d64b0
add esp, 0x30
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x50eedf
mov dword [ebx], 0
cmp dword [esp + 0x1c], 0
je 0x50f65d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x50f65d
test ebx, ebx
je 0x50f65d
test eax, eax
je 0x50f65d
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x3c], 0
lea ecx, [eax + edx]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x50f01b
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
sub ecx, edi
mov dword [esp + 0x48], ecx
sub eax, edi
mov ecx, esi
mov dword [esp + 0x4c], eax
sub ecx, edi
mov dword [esp + 0x60], ecx
cmp ebx, edx
jae 0x50ef59
push dword [eax + edi]
call fcn.004ddce0
mov esi, dword [esp + 0x74]
jmp 0x50ef63
mov esi, dword [esp + 0x70]
push esi
call fcn.004ddce0
add esp, 4
cmp eax, 0x7d0
jb 0x50ef74
mov ecx, 6
jmp 0x50efa4
cmp eax, 0x320
jb 0x50ef82
mov ecx, 5
jmp 0x50efa4
cmp eax, 0x12c
jb 0x50ef90
mov ecx, 4
jmp 0x50efa4
cmp eax, 0x46
jb 0x50ef9c
mov ecx, 3
jmp 0x50efa4
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 + 0x48]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x74]
jae 0x50efcd
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + edi]
jmp 0x50efcf
mov eax, esi
mov esi, dword [esp + 0x60]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.0050e4e0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x50f263
mov ecx, dword [esp + 0x2c]
cmp dword [esi], ecx
mov eax, dword [esp + 0x4c]
cmova ecx, dword [esi]
inc ebx
mov edx, dword [esp + 0x74]
add edi, 4
mov dword [esp + 0x2c], ecx
cmp ebx, dword [esp + 0x38]
jb 0x50ef47
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x50f1f0
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x50f058
cmp eax, 1
je 0x50f1f0
push 0x2d0
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004cbfd0
add esp, 0x14
jmp 0x50f263
mov dword [esp + 0x4c], 0
test eax, eax
je 0x50f06b
push 0x2d9
jmp 0x50f03d
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
mov dword [ecx + edx*4], eax
lea ecx, [esp + 0x4c]
push ecx
push eax
push edi
call fcn.0050e4e0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x50f263
mov edi, dword [esp + 0x4c]
cmp edi, dword [esp + 0x2c]
ja 0x50f0cc
mov esi, dword [esp + 0x74]
lea eax, [esi + 1]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [eax + esi*4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + esi*4 + 4], 0
mov eax, dword [esp + 0x28]
mov dword [eax + esi*4], edi
mov eax, dword [ebx + 0x10]
mov dword [ecx + esi*4], eax
jmp 0x50f1f0
mov eax, dword [esp + 0x18]
imul esi, eax
cmp edi, esi
jae 0x50f0fc
dec eax
xor edx, edx
add eax, edi
div dword [esp + 0x18]
cmp eax, dword [ebx + 8]
jbe 0x50f0ef
push 0x306
jmp 0x50f03d
mov esi, dword [esp + 0x74]
lea edx, [eax + esi]
mov dword [esp + 0x30], edx
jmp 0x50f104
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x10]
mov ebx, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
cmp esi, edx
jae 0x50f1e7
mov eax, dword [esp + 0x28]
dec edx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], ecx
lea esi, [eax + esi*4]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
nop
cmp ebx, edx
jae 0x50f152
mov dword [esi], eax
cmp edi, eax
jb 0x50f1d9
sub edi, eax
jmp 0x50f154
mov dword [esi], edi
push 0x320
mov dword [ecx + esi + 4], 0
push str..cryptoecec_mult.c
push dword [esi]
call fcn.004d64b0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x50f319
push dword [esi]
push dword [esp + 0x48]
push eax
call fcn.00555d00
mov ecx, dword [esp + 0x38]
add esp, 0xc
cmp dword [esi], ecx
mov eax, dword [esp + 0x4c]
cmova ecx, dword [esi]
mov dword [esp + 0x2c], ecx
cmp dword [eax], 0
je 0x50f23f
mov ecx, dword [esp + 0x60]
inc ebx
mov dword [ecx + esi], eax
add esi, 4
mov ecx, dword [esp + 0x50]
lea eax, [eax + ecx*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x44], eax
cmp ebx, dword [esp + 0x30]
jae 0x50f1e3
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
jmp 0x50f140
push 0x314
jmp 0x50f03d
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004d6430
add esp, 4
mov ebx, dword [esp + 0x3c]
push 0x33d
push str..cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004d64b0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x50f32a
push 0x33f
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004cbfd0
mov ebx, dword [esp + 0x24]
add esp, 0x14
xor esi, esi
jmp 0x50f26b
push 0x32b
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004cbfd0
push dword [esp + 0x48]
call fcn.004d6430
add esp, 0x18
mov ebx, dword [esp + 0x10]
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x50f27c
push eax
call fcn.004dd330
add esp, 4
test esi, esi
je 0x50f289
push esi
call fcn.004e3060
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x50f29a
push eax
call fcn.004d6430
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x50f2ab
push eax
call fcn.004d6430
add esp, 4
test ebx, ebx
je 0x50f2d3
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x50f2ca
push eax
call fcn.004d6430
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x50f2b7
push ebx
call fcn.004d6430
add esp, 4
test edi, edi
je 0x50f2fc
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x50f2f3
nop
push eax
call fcn.004e2e80
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x50f2e0
push edi
call fcn.004d6430
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x50f30d
push eax
call fcn.004d6430
add esp, 4
mov eax, dword [esp + 0x5c]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x54
ret
push 0x322
push str..cryptoecec_mult.c
push 0x41
jmp 0x50f24b
lea eax, [edi + ebx*4]
mov esi, edi
xor edx, edx
mov dword [eax], 0
mov edi, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
test edi, edi
je 0x50f3a9
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0x60], eax
mov dword [eax + ebx], esi
xor edi, edi
mov ecx, dword [ebx]
mov eax, 1
dec ecx
shl eax, cl
test eax, eax
je 0x50f391
push ebp
call fcn.004e3370
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x50f68a
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x50f368
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x60]
add ebx, 4
mov dword [esp + 0x50], edx
cmp edx, edi
jb 0x50f355
mov eax, dword [esp + 0x4c]
cmp esi, eax
je 0x50f3d7
push 0x350
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004cbfd0
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x50f26b
push ebp
call fcn.004e3370
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x50f699
xor ebx, ebx
test edi, edi
je 0x50f4bc
mov ecx, dword [esp + 0x24]
mov edi, ecx
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x1c]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], esi
cmp ebx, dword [esp + 0x74]
jae 0x50f41b
push dword [eax + edi]
jmp 0x50f41f
push dword [esp + 0x54]
mov eax, dword [edi]
push dword [eax]
call fcn.004e2f30
add esp, 8
test eax, eax
je 0x50f64c
cmp dword [esi + edi], 1
jbe 0x50f4aa
mov eax, dword [edi]
push dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push dword [eax]
push esi
push ebp
call fcn.004e2fa0
add esp, 0x10
test eax, eax
je 0x50f67d
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 0x50f4a6
lea esp, [esp]
push dword [esp + 0x20]
mov eax, dword [edi]
push dword [esp + 0x1c]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call fcn.004e2e00
add esp, 0x14
test eax, eax
je 0x50f64c
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x50f470
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x38]
jb 0x50f410
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push edi
push eax
push dword [esp + 0x44]
push ebp
call fcn.004e3630
add esp, 0x10
test eax, eax
je 0x50f64c
mov ecx, dword [esp + 0x2c]
mov ebx, 1
dec ecx
mov dword [esp + 0x3c], ecx
js 0x50f633
jmp 0x50f4f5
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
test ebx, ebx
jne 0x50f515
push edi
push esi
push esi
push ebp
call fcn.004e2fa0
add esp, 0x10
test eax, eax
je 0x50f64c
mov ecx, dword [esp + 0x3c]
xor ebp, ebp
cmp dword [esp + 0x30], ebp
jbe 0x50f60a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
sub edx, eax
mov edi, dword [esp + 0x24]
sub eax, edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], eax
lea esp, [esp]
add eax, edi
cmp dword [eax + edx], ecx
jbe 0x50f5f4
mov eax, dword [eax]
movsx esi, byte [eax + ecx]
test esi, esi
je 0x50f5f0
xor eax, eax
test esi, esi
sets al
test eax, eax
je 0x50f566
neg esi
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x50f59d
test ebx, ebx
jne 0x50f592
push dword [esp + 0x20]
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.004e3170
add esp, 0xc
test eax, eax
je 0x50f64c
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x40], eax
mov eax, dword [edi]
sar esi, 1
test ebx, ebx
je 0x50f5c9
push dword [eax + esi*4]
mov esi, dword [esp + 0x70]
push esi
call fcn.004e2f30
add esp, 8
test eax, eax
je 0x50f64c
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov edx, dword [esp + 0x54]
jmp 0x50f5f4
push dword [esp + 0x20]
push dword [eax + esi*4]
mov esi, dword [esp + 0x74]
push esi
push esi
push dword [esp + 0x78]
call fcn.004e2e00
add esp, 0x14
test eax, eax
je 0x50f64c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
jmp 0x50f5f4
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x60]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x30]
jb 0x50f540
mov edi, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x3c], ecx
jns 0x50f4f1
test ebx, ebx
jne 0x50f62f
cmp dword [esp + 0x40], ebx
je 0x50f644
push edi
push esi
push dword [esp + 0x70]
call fcn.004e3170
add esp, 0xc
jmp 0x50f640
mov ebp, dword [esp + 0x68]
push dword [esp + 0x6c]
push ebp
call fcn.004e35d0
add esp, 8
test eax, eax
je 0x50f64c
mov dword [esp + 0x5c], 1
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x50f26b
push 0x2b2
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004cbfd0
add esp, 0x14
jmp 0x50f267
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x50f26b
mov edi, dword [esp + 0x14]
xor esi, esi
mov ebx, dword [esp + 0x10]
jmp 0x50f26b
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x50f26b